All of lore.kernel.org
 help / color / mirror / Atom feed
From: thaoth <thaoth@cybersoft-vn.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [UBoot] Hows to boot Linux Kernel from USB
Date: Wed, 1 Oct 2008 18:38:19 -0700 (PDT)	[thread overview]
Message-ID: <19772124.post@talk.nabble.com> (raw)
In-Reply-To: <48E340C8.5000501@gandalf.sssup.it>


I think I made a mistake; I didn?t describe my problem clearly. So, now I fix
it.
My purpose is: find out a way to boot a Linux Kernel from USB (FAT16). 

Here are the steps I?ve made:

 1. Get some kernel images (zImage, uImage) which I built (kernel version
2.6.22.11).
 2. Go to the board (T-Engine/SH7727) which is ported U-boot and try some
commands:
     a. usb start
     b. fatload usb 0:1 0x00200000 uimage
     c. bootm 0x00200000

And I always get this error:
Wrong Image Format for bootm command
ERROR: can't get kernel image!

I didn?t set ?bootargs? and root file system because I think they will have
no effect 
NOTE: 
CFG_SDRAM_BASE = 0x8c000000
CFG_LOAD_ADDR = 0x8e000000
Some results, I checked: 
>> [root at twiki boot]# file uImage 
>> uImage: PPCBoot image
		
I also tried: mkimage -A sh -O linux -T kernel -C gzip -a 0x8e000000 -e
0x8e000000 -n Linux  -d linux.bin.gz uImage

best regards

-- 
View this message in context: http://www.nabble.com/-UBoot--Hows-to-boot-Linux-Kernel-from-USB-tp19740267p19772124.html
Sent from the Uboot - Users mailing list archive at Nabble.com.

  reply	other threads:[~2008-10-02  1:38 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-30 11:28 [U-Boot] [UBoot] Hows to boot Linux Kernel from USB thaoth
2008-09-30 11:33 ` Albert ARIBAUD
2008-09-30 11:39   ` thaoth
2008-09-30 12:49     ` Albert ARIBAUD
2008-10-01  6:28       ` thaoth
2008-10-01  6:32         ` Nobuhiro Iwamatsu
2008-10-01  6:39           ` thaoth
2008-10-01  7:17             ` Nobuhiro Iwamatsu
2008-10-01  7:22               ` michael
2008-10-01  9:03                 ` Wolfgang Denk
2008-10-01  9:20                   ` michael
2008-10-02  1:38                     ` thaoth [this message]
2008-10-02 11:21                       ` thaoth
2008-10-03  1:43                         ` thaoth
2008-10-03  5:33                           ` michael
2008-10-03  6:54                             ` thaoth
2008-10-01  7:10         ` Albert ARIBAUD
2008-09-30 14:21 ` Markus Klotzbücher

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=19772124.post@talk.nabble.com \
    --to=thaoth@cybersoft-vn.com \
    --cc=u-boot@lists.denx.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.