
Hallo Jonas,
in message 41FFB499.1060804@fsforth.de you wrote:
I'm interested in booting a linux image from a USB memory stick. I configured u-boot (version 1.1.2) to provide me with the usb commands. I try to load the image with the following commands. usb rest
rest or reset?
usb scan usbboot 10000 0:1
The usbboot command ends up with Loading from USB device 0, partition 1: Name: usbda1 Type: U-Boot First Block: 32, # of blocks: 255456, Block Size: 512
** Bad Magic Number **
Ummm... the number of blocks is obviously bogus - 255456 blocks is 124 MB; I don't think that's the real size of your kernel image. Probably you made some error when storing the image to the USB stick.
The image is the same I download with the tftp command. Should I create the image in a different way?
How did you write the image to the USB stick?
You can also try looking at the image data, something like this:
=> tft 100000 uImage => md 100000 => usb read 200000 20 10 => md 200000
Do you see any difference?
Viele Grüße,
Wolfgang Denk