Help! need to go back to Linux

Oct 24, 2008 at 7:31 PM
Hi all,
I have Win CE 6.0 on my Basix. I used to boot from an MMC resident image.
Now I need to go back to Linux.

I followed these steps exactly:

1. Connect HyperTerminal to the FF uart port (Stuart little or other).
2. Set to 115200 N,8,1.
3. Bring up we-boot.
4. 9                          :edit memory
5. f a2000000 ffffffff 98304  :fill 98304 DWORDS (3 blocks) at address a2000000 with ffffffff (flash erased value)
6. x                          :quit
7. 6                          :select the FFUART (SRecord) as the primary download device
8. d                          :download image now
9. >A2000000                  :offset of A2000000 when added to the base address of 00000000 (examine the u-boot.srec file to verify base address, you may need different numbers here. Addresses are in the 5th - 12th character positions of the S3 records) wraps to become a destination load address of A2000000 which is the RAM buffer
10. Hit return and you should see:
Download SRecord file with offset A2000000
Waiting for SRecord file...
Error com timeout.
Waiting for SRecord file...
Select "Transfer" and "Send Text File..." from the Hyperterminal menu bar.
Select the *.* file type, browse and select the u-boot.srec file.
File should load printing "." across the screen.
When finished:
11. u                         :Unlock boot blocks (3.1 and up)
2. 9                         :edit memory
13. e 0 3                     :erase first 3 flash blocks
14. p 0 a2000000 768          :program 768 sectors (512 bytes/sector which is 3 blocks or 393216 bytes) starting at sector 0 (reset location) using buffer at a2000000
15. x                         :quit
16. r                         :reset

Unfortunately, I ended up with an error:

Scanning JFFS2 FS: . done.
find_inode failed for name=boot
load: Failed to find inode
### JFFS2 LOAD ERROR<0> for boot/uImage!
GUM>

Lately, I re-loaded we-boot over u-boot and I'm now running Win CE 6.0 image from MMC.

I suspect I made made some mistake here:
9. >A2000000                  :offset of A2000000 when added to the base address of 00000000 (examine the u-boot.srec file to verify base address, you may need different numbers here. Addresses are in the 5th - 12th character positions of the S3 records) wraps to become a destination load address of A2000000 which is the RAM buffer
I did not understand this step completely. I made no changes in (u-boot_1_1_4 offset a2000000.srec) I just sent it there as is.

Any help this problem is deeply appreciated.

Best Regards,
Ed

Coordinator
Oct 31, 2008 at 10:38 PM
no, if you got to the JFFS2 prompt U-Boot has been re-loaded OK.

The upper memory locations of flash just are not formatted to support the linux file system.
I believe there are some commands in uboot to reformat.

DV
Nov 1, 2008 at 11:12 AM
Hi Dave,
I reformatted the rest of the flash, and everything went OK.

Slightly off topic,
What if I have a Verdex, do I use the same SRecord file? if No, then how do I go back to u-boot?


Thanks,
Ed