From: Paul Mundt <lethal@linux-sh.org>
To: linux-sh@vger.kernel.org
Subject: Re: [UBoot] Hows to boot Linux Kernel from USB
Date: Tue, 30 Sep 2008 11:50:16 +0000 [thread overview]
Message-ID: <20080930115016.GA11774@linux-sh.org> (raw)
In-Reply-To: <loom.20080930T111336-805@post.gmane.org>
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.
prev parent reply other threads:[~2008-09-30 11:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-30 11:30 [UBoot] Hows to boot Linux Kernel from USB thaoth
2008-09-30 11:50 ` Paul Mundt [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080930115016.GA11774@linux-sh.org \
--to=lethal@linux-sh.org \
--cc=linux-sh@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox