* [UBoot] Hows to boot Linux Kernel from USB
@ 2008-09-30 11:30 thaoth
2008-09-30 11:50 ` Paul Mundt
0 siblings, 1 reply; 2+ messages in thread
From: thaoth @ 2008-09-30 11:30 UTC (permalink / raw)
To: linux-sh
Hi All,
I would like to know how to boot linux kernel from USB. I have
ported UBoot
(support serial, USB driver) but didn't support CF card.
Would you please tell me how to boot Linux Kernel from USB Flash memory?
I have
many guide could help hows to boot Linux kernel from CF card or network
but I
didn't see help for USB Flash memory.
Here is step by step I did but didn't work.
- First initialization USB
=> usb start
- List file on USB Flash memory
=> fatls usb 0:1
3876248 vmlinux.srec
1348231 vmlinux
2207942 vmlinux.bin
.
1277956 zimage
- load zImage into SDRAM memory at base address 0x8c000000 + 200000
=> fatload usb 0:1 200000 zimage
reading zimage
.
.
.
.
......................................................
..........................
............................................
1277956 bytes read
=> bootm
Wrong Image Format for bootm command
ERROR: can't get kernel image!
This seems here is wrong command. I should load uImage (not zImage)
into SDRAM
memory. Google booting kernel from USB on the internet but I
didn't see any help. :(
Thank you for answer
Best regards,
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [UBoot] Hows to boot Linux Kernel from USB
2008-09-30 11:30 [UBoot] Hows to boot Linux Kernel from USB thaoth
@ 2008-09-30 11:50 ` Paul Mundt
0 siblings, 0 replies; 2+ messages in thread
From: Paul Mundt @ 2008-09-30 11:50 UTC (permalink / raw)
To: linux-sh
On Tue, Sep 30, 2008 at 11:30:09AM +0000, thaoth wrote:
> => usb start
>
> - List file on USB Flash memory
>
> => fatls usb 0:1
> 3876248 vmlinux.srec
> 1348231 vmlinux
> 2207942 vmlinux.bin
> .
> 1277956 zimage
>
> - load zImage into SDRAM memory at base address 0x8c000000 + 200000
>
> => fatload usb 0:1 200000 zimage
> reading zimage
> .
> .
> .
> .
> ......................................................
> ..........................
> ............................................
>
> 1277956 bytes read
>
> => bootm
> Wrong Image Format for bootm command
> ERROR: can't get kernel image!
>
> This seems here is wrong command. I should load uImage (not zImage)
> into SDRAM
> memory. Google booting kernel from USB on the internet but I
> didn't see any help. :(
>
You can certainly boot the zImage from SDRAM. Once it's loaded, you can
just 'go <load address>' and hit the decompressor. The uImage tends to be
handier in that it has more information on hand, but there is nothing
stopping you from using other formats.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-09-30 11:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-30 11:30 [UBoot] Hows to boot Linux Kernel from USB thaoth
2008-09-30 11:50 ` Paul Mundt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox