Skip to contentSkip to conversation

booting from USB

U-Boot-Users Jonas Dietsche 1 participant 1 message Feb 4, 2005

lore
Share & tools
lore
#0 lore raw
Quoted 1 line

I think you must be doing something wrong.

Probably...

Quoted 3 lines

Which exact commands did you use to put the image into the boot partition?

dd if=/tftpboot/uImage of=/dev/sda1
2234+1 records in
2234+1 records out
1144016 bytes transferred in 0.585176 seconds (1954995 bytes/sec)

A9M9750 # usb reset
(Re)start USB...
USB: scanning bus for devices... 2 USB Devices found
A9M9750 # usb scan
Scan for storage device:
scanning bus for storage devices...
Device 0: Vendor: USB 2.0 Prod.: Mobile Disk Rev: 2.00
Type: Removable Hard Disk
Capacity: 125.0 MB = 0.1 GB (256000 x 512)

A9M9750 # usbboot 10000 0:1

Loading from USB device 0, partition 1: Name: usbda1
Type: U-Boot
First Block: 32, # of blocks: 10208, Block Size: 512

** Bad Magic Number **

And with usb read it looks like:

A9M9750 # usb read 10000 20 8BB

USB read: device 0 block # 32, count 2235 ...
...............................................................................................................
2235 blocks read: OK
A9M9750 # bootm
## Booting image at 00010000 ...

    Image Name:   Linux-2.6.10-fs1
    Created:      2005-02-02  13:23:01 UTC
    Image Type:   ARM Linux Kernel Image (uncompressed)
    Data Size:    1144056 Bytes =  1.1 MB
    Load Address: 00008000
    Entry Point:  00008000
    Verifying Checksum ... OK

OK

Starting kernel ...

Regards,
Jonas