Hi all,
I have a waysmall 200. I reflashed the bootloader with we-boot bootloader but never reflashed the file system (hopefully).
Now, I'm trying to return to the u-boot but I ended up with "Bad Magic Number."
First, I reflashed with an older version of u-boot, then reflashed with the latest. Still getting the "Bad Magic Number"!
Here's the log from HyperTerminal:



U-Boot 1.1.4 (Aug  1 2006 - 10:47:14)

*** Welcome to Gumstix ***

U-Boot code: A3F00000 -> A3F25D1C  BSS: -> A3F5AE38
RAM Configuration:
Bank #0: a0000000 64 MB
Flash:  4 MB
Using default environment

SMC91C1111-0
Net:   SMC91C1111-0
Hit any key to stop autoboot:  0
Instruction Cache is ON
### JFFS2 loading 'boot/uImage' to 0xa2000000
Scanning JFFS2 FS:  done.
find_inode failed for name=boot
load: Failed to find inode
### JFFS2 LOAD ERROR<0> for boot/uImage!
GUM> loadb a2000000
## Ready for binary (kermit) download to 0xA2000000 at 115200 bps...
## Total Size      = 0x000273a8 = 160680 Bytes
## Start Addr      = 0xA2000000
GUM> protect off all
Un-Protect Flash Bank # 1
................................ done
GUM> erase 1:0-1
Erase Flash Sectors 0-1 in Bank # 1
.. done
GUM> cp.b a2000000 0 ${filesize}
Copy to Flash... done
GUM> reset
resetting ...


U-Boot 1.2.0 (Dec 21 2007 - 13:28:00) - 200 MHz - 1578M

*** Welcome to Gumstix ***

DRAM:  64 MB
Flash:  4 MB
Using default environment

SMC91C1111-0
Net:   SMC91C1111-0
Hit any key to stop autoboot:  0
Instruction Cache is ON
Copying kernel to 0xa2000000 from 0x00300000 (length 0x00100000)...done
## Booting image at a2000000 ...
Bad Magic Number
GUM> reset
resetting ...


U-Boot 1.2.0 (Dec 21 2007 - 13:28:00) - 200 MHz - 1578M

*** Welcome to Gumstix ***

DRAM:  64 MB
Flash:  4 MB
Using default environment

SMC91C1111-0
Net:   SMC91C1111-0
Hit any key to stop autoboot:  0
Instruction Cache is ON
Copying kernel to 0xa2000000 from 0x00300000 (length 0x00100000)...done
## Booting image at a2000000 ...
Bad Magic Number
GUM> loadb a2000000
## Ready for binary (kermit) download to 0xA2000000 at 115200 bps...
## Total Size      = 0x000273b0 = 160688 Bytes
## Start Addr      = 0xA2000000
GUM> protect off all
Un-Protect Flash Bank # 1
................................ done
GUM> erase 1:0-1
Erase Flash Sectors 0-1 in Bank # 1
.. done
GUM> cp.b a2000000 0 ${filesize}
Copy to Flash... done
GUM> reset
resetting ...


U-Boot 1.2.0 (May 10 2008 - 07:13:04) - 200 MHz - 1604

*** Welcome to Gumstix ***

DRAM:  64 MB
Flash:  4 MB
Using default environment

SMC91C1111-0
Net:   SMC91C1111-0
Hit any key to stop autoboot:  0
Instruction Cache is ON
Copying kernel to 0xa2000000 from 0x00300000 (length 0x00100000)...done
## Booting image at a2000000 ...
Bad Magic Number

Here's what I did the first place with the original out-of-the-box unit:

1. Connect Hyperterminal to the FF uart port (Stuart little or other).
2. Set to 115200 N,8,1.
3. Bring up u-boot.
4. Issue the following u-boot command "loadb"
5. Use Hyperterminal's Transfer->send file and select the Kermit protocol.
6. Browse and select the we-bootXXX.nb0 file.
7. This will do a binary image load of the we-boot boot loader into Gumstix RAM at A2000000.
8. Issue the following u-boot commands to flash the image into Gumstix at 0:
    a. protect off all
   
b. era 1:0-2
    c. cp.b a2000000 0 40000
    d. Reset

I used to have Windiws Embedded CE and boot from an MMC resident image.

Your help is
deeply appreciate !

Thanks & Best Regards,
Ed