From: Jonas Dietsche <maillist@fsforth.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] booting from USB
Date: Thu, 03 Feb 2005 16:12:51 +0100 [thread overview]
Message-ID: <42023F73.3090209@fsforth.de> (raw)
In-Reply-To: <20050203120301.06E8CC108D@atlas.denx.de>
Hallo Wolfgang,
>>A9M9750 # usbboot 10000 0:1
>>
>>Loading from USB device 0, partition 1: Name: usbda1
>> Type: U-Boot
>>First Block: 1, # of blocks: 10239, Block Size: 512
>>
>>** Bad Magic Number **
>>
>>Ok, let me see if the image on the stick is corrupt. I loaded it with
>>the fatload command.
>
>
> fatload? FATLOAD??? You mean you have a FAT filesystem on that partition???
:-O hope you havn't got a heart attack...
> Than why do you try using usbboot? usbboot like diskboot try to load
> an U-Boot image from a RAW partition, i. e. without any filesystem on
> it.
I thought you told me that you tested it with a FS.... Maybe I
misunderstood something.
Ok, put my image to the RAW partiton and executed usbboot again. Still
the same problem like above...
Copied the image into RAM with usb read (hope it is correct) and then
bootm. That works.
Then I removed the "if (hdr->ih_magic == IH_MAGIC)" in common/cmd_usb.c,
set cnt to a suitable value and tested usbboot again. This works, too.
Perhaps I find out how to solve that.
Thanks for your help!
Regards,
Jonas
next prev parent reply other threads:[~2005-02-03 15:12 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
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 [this message]
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=42023F73.3090209@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox