No existing image in FLASH.
So I program the FLASH again, but I can't boot uclinux. What I do is:
U-Boot> loadb 0x22000000 ## Ready for binary (kermit) download to 0x22000000 at 115200 bps...
(Back at localhost.localdomain)
---------------------------------------------------- C-Kermit 8.0.211, 10 Apr 2004, for Linux Copyright (C) 1985, 2004, Trustees of Columbia University in the City of New York. Type ? or HELP for help. (/home/pablo/) C-Kermit>send /bin /tftpboot/ub.config.img (/home/pablo/) C-Kermit>connect Connecting to /dev/ttyUSB0, speed 115200 Escape character: Ctrl-\ (ASCII 28, FS): enabled Type the escape character followed by C to get back, or followed by ? to see other options.
---------------------------------------------------- ## Total Size = 0x000003eb = 1003 Bytes ## Start Addr = 0x22000000 U-Boot> autoscr $(fileaddr) ## Executing script at 00000000 Bad magic number U-Boot> autoscr $(fileaddr) ## Executing script at 22000000 PetaLogix MicroBlaze-Auto Board Configuration
--------------------------------------------- Network Configuration: MTD Configuration: Clobber DRAM Configuration: Bootloader Configuration: Kernel Configuration: Boot Configuration: Saving Configurations... Saving Environment to Flash... Un-Protected 2 sectors Erasing Flash... .. done Erased 2 sectors Writing to Flash... done Protected 2 sectors Configuration Completed U-Boot> loadb $(clobstart) ## Ready for binary (kermit) download to 0x22000000 at 115200 bps...
(Back at localhost.localdomain)
---------------------------------------------------- (/home/pablo/) C-Kermit>send /tftpboot/u-boot-s.bin (/home/pablo/) C-Kermit>connect Connecting to /dev/ttyUSB0, speed 115200 Escape character: Ctrl-\ (ASCII 28, FS): enabled Type the escape character followed by C to get back, or followed by ? to see other options.
---------------------------------------------------- ## Total Size = 0x00018f58 = 102232 Bytes ## Start Addr = 0x22000000 U-Boot> protect off $(bootstart) + $(bootsize) Usage: protect - enable or disable FLASH write protection
U-Boot> erase $(bootstart) + $(bootsize) Usage: erase - erase FLASH memory
U-Boot> cp.b $(fileaddr) $(bootstart) $(filesize) Usage: cp - memory copy
U-Boot> loadb $(clobstart) ## Ready for binary (kermit) download to 0x22000000 at 115200 bps...
(Back at localhost.localdomain)
---------------------------------------------------- (/home/pablo/) C-Kermit>send /tftpboot/image.ub (/home/pablo/) C-Kermit>connect Connecting to /dev/ttyUSB0, speed 115200 Escape character: Ctrl-\ (ASCII 28, FS): enabled Type the escape character followed by C to get back, or followed by ? to see other options.
---------------------------------------------------- ## Total Size = 0x002ee040 = 3072064 Bytes ## Start Addr = 0x22000000 U-Boot> protect off $(kernstart) + $(kernsize) Usage: protect - enable or disable FLASH write protection
U-Boot> erase $(kernstart) + $(kernsize) Usage: erase - erase FLASH memory
U-Boot> cp.b $(fileaddr) $(kernstart) $(filesize) Usage: cp - memory copy