public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Anatolij Gustschin <agust@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] How to test a new u-boot image over network?
Date: Wed, 7 Dec 2011 20:58:57 +0100	[thread overview]
Message-ID: <20111207205857.786ffaca@wker> (raw)
In-Reply-To: <629D989C137DD040A0A994BD21888F1E75E81D17@MX29A.corp.emc.com>

Hi,

On Wed, 7 Dec 2011 12:41:38 -0500
<vikas.sontakke@emc.com> wrote:
...
> 
> uboot-sources-EMC/u-boot-2009.01> file u-boot.bin
> u-boot.bin: u-boot/PPCBoot image
> 
> uboot-sources-EMC/u-boot-2009.01> mkimage -d u-boot.bin u-boot.bin.load
> Image Name:
> Created:      Wed Dec  7 12:08:45 2011
> Image Type:   PowerPC Linux Kernel Image (gzip compressed)
> Data Size:    393216 Bytes = 384.00 kB = 0.38 MB
> Load Address: 0x00000000
> Entry Point:  0x00000000
> uboot-sources-EMC/u-boot-2009.01>
> 
> 
> I then tftp the image "u-boot.bin.load" and bootm it but I am getting following error.
> Error: Bad gzipped data
> GUNZIP: uncompress or overwrite error - must RESET board to recover

Did you read the documentation? Why are you trying to
boot U-Boot image using 'bootm' command? 'bootm' command is
used for booting operating system images.

If you want to update U-Boot on the board, you need to write
it into the flash memory used for booting. Do you have a
JTAG debugger for the case updating U-Boot image goes wrong
for some reason?

> I have tried many different load addresses such as 0x40.0000,
> 0x400.0000, 0x800.0000, 0x1000.0000.  with exactly the same
> behaviour.  What am I missing?

Please read U-Boot documentation [1] to understand which
command is used for which purpose. Updating U-Boot is
also described in the U-Boot documentation.

HTH,
Anatolij

[1] http://www.denx.de/wiki/view/DULG/UBoot

  reply	other threads:[~2011-12-07 19:58 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-07 17:41 [U-Boot] How to test a new u-boot image over network? vikas.sontakke at emc.com
2011-12-07 19:58 ` Anatolij Gustschin [this message]
2011-12-07 20:14   ` vikas.sontakke at emc.com
2011-12-07 20:12 ` Wolfgang Denk
2011-12-07 20:29   ` vikas.sontakke at emc.com
2011-12-07 20:52     ` Wolfgang Denk
2011-12-07 22:13       ` vikas.sontakke at emc.com
2011-12-08  7:30         ` Stefan Roese
2011-12-08 16:25           ` vikas.sontakke at emc.com
2011-12-08 16:51             ` Stefan Roese

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=20111207205857.786ffaca@wker \
    --to=agust@denx.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