All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonas Dietsche <maillist@fsforth.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] booting from USB
Date: Wed, 02 Feb 2005 16:15:25 +0100	[thread overview]
Message-ID: <4200EE8D.3020901@fsforth.de> (raw)
In-Reply-To: <20050201183838.56F2AC108D@atlas.denx.de>

Hallo Wolfgang,

>>I'm interested in booting a linux image from a USB memory stick.
>>I configured u-boot (version 1.1.2) to provide me with the usb commands.
>>I try to load the image with the following commands.
>>usb rest
> 
> 
> rest or reset?
reset, of course. Just a typo ;-)

>>Loading from USB device 0, partition 1: Name: usbda1
>>   Type: U-Boot
>>First Block: 32,  # of blocks: 255456, Block Size: 512
>>
>>** Bad Magic Number **
> 
> 
> Ummm... the number of blocks is obviously bogus -  255456  blocks  is
> 124  MB;  I  don't  think  that's the real size of your kernel image.
> Probably you made some error when storing the image to the USB stick.
Just played around with my usb stick and reduced the size of the first 
partition. When I now try the usbboot command the number of blocks is 
exact the size of the partition.
Is there a special way of creating the image or can I use the same I use 
with the tftp command?

> How did you write the image to the USB stick?
I tried to follow DULG -booting from IDE, Compact Flash. Maybe it was 
not a good idea...
Copied it from my host to the stick. This is not the proper way?

Can you tell me which fs to use? I tried it with dos.

Mit freundlichem Gru?,
Jonas

  reply	other threads:[~2005-02-02 15:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-01 16:55 [U-Boot-Users] booting from USB Jonas Dietsche
2005-02-01 18:38 ` Wolfgang Denk
2005-02-02 15:15   ` Jonas Dietsche [this message]
2005-02-02 17:10     ` Wolfgang Denk
2005-02-03 11:27       ` Jonas Dietsche
2005-02-03 12:02         ` Wolfgang Denk
2005-02-03 15:12           ` Jonas Dietsche
2005-02-03 15:24             ` Wolfgang Denk
  -- strict thread matches above, loose matches on Subject: below --
2005-02-04  8:10 Jonas Dietsche

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=4200EE8D.3020901@fsforth.de \
    --to=maillist@fsforth.de \
    --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.