• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: Boot from Flash Stick  (Read 928 times)
wstupar
Newbie
*

Karma: 0
Posts: 33


View Profile
« on: June 17, 2009, 05:45:50 PM »

I think I am almost there to boot the Sheeva from a USB stick. Here is the stick info:

Marvell>> usb start
(Re)start USB...
USB:   scanning bus for devices... 2 USB Device(s) found
       scanning bus for storage devices... 1 Storage Device(s) found
Marvell>> usb info
1: Hub,  USB Revision 2.0
 - Marvell EHCI
 - Class: Hub
 - PacketSize: 64  Configurations: 1
 - Vendor: 0x0000  Product 0x0000 Version 1.0
   Configuration: 1
   - Interfaces: 1 Self Powered 0mA
     Interface: 0
     - Alternate Settings 0, Endpoints: 1
     - Class Hub
     - Endpoint 1 In Interrupt MaxPacket 8 Interval 255ms

2: Mass Storage,  USB Revision 2.0
 -          USB DISK 20X     07531C9032DF
 - Class: (from Interface) Mass Storage
 - PacketSize: 64  Configurations: 1
 - Vendor: 0x0d7d  Product 0x1600 Version 1.0
   Configuration: 1
   - Interfaces: 1 Bus Powered 200mA
     Interface: 0
     - Alternate Settings 0, Endpoints: 3
     - Class Mass Storage, Transp. SCSI, Bulk only
     - Endpoint 1 In Bulk MaxPacket 512
     - Endpoint 2 Out Bulk MaxPacket 512
     - Endpoint 3 In Interrupt MaxPacket 64 Interval 4ms

Here is the partition table:

Marvell>> usb part
print_part of 0

Partition Map for USB device 0  --   Partition Type: DOS

Partition     Start Sector     Num Sectors     Type
    1                   32            5088       6
    2                 5120         1960960      83

That is uImage in partition 0:1, and root in partition 0:2
Here are the environment variables:

bootcmd=usb start; fatload usb 0:1 0x8000000 uImage; bootm 0x8000000; reset
bootargs_usb=console=ttyS0,=115200 ro root=/dev/sda1 rootdelay=10

But this is what I get when I try to boot:

Hit any key to stop autoboot:  0
(Re)start USB...
USB:   scanning bus for devices... 2 USB Device(s) found
       scanning bus for storage devices... 1 Storage Device(s) found
reading uImage
................................................................................
................................................................................
......................

1869708 bytes read
## Booting image at 08000000 ...
Bad Magic Number

Where am I going wrong?

Wes
Logged

Pages: [1]
Print
Jump to: