From: hendrik <hendrik.vastech@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] can't update U-boot when booting with BDI2000
Date: Wed, 04 Feb 2009 16:34:58 +0200 [thread overview]
Message-ID: <4989A792.2080503@gmail.com> (raw)
Hi
Im new to U-boot and need help. I am using U-boot-2009.10 and a MPC8548
board with 512MB DDR and 128Mb nor Flash(using cfi)
I am booting the board using a BDI2000 by loading my u-boot.bin file to
the bootregion in my memory map (FFF80000) and running from the reset
vector. Uboot starts up and works fine. I am able to unprotected the
flash ( confirmed with flinfo) and can erase sectors other than the
bootsector. I have placed the output below.
UBoot=> protect off all
Un-Protect Flash Bank # 1
UBoot=> erase fff80000 ffffffff
.. done
Erased 2 sectors
UBoot=>
When I look at the erased memory using md the u-boot image that was
loaded into memory by the bdi is shown at the bootsector address fff80000
UBoot=> md fff80000
fff80000: 00300030 552d426f 6f742032 3030392e .0.0U-Boot 2009.
fff80010: 30312d30 30323236 2d673663 36653034 01-00226-g6c6e04
if i reboot the board not using the BDI the bootregion shows the old
uboot image and was not erased.
I think the sram is mapped over the flash boot region and when i try to
erase and cp to the bootreagion the commands and date gets lost. Can
anyone help me find the problem?
thanks Hendrik
next reply other threads:[~2009-02-04 14:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-04 14:34 hendrik [this message]
2009-02-04 15:43 ` [U-Boot] can't update U-boot when booting with BDI2000 Wolfgang Denk
2009-02-05 9:07 ` Pieter
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=4989A792.2080503@gmail.com \
--to=hendrik.vastech@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox