From: Matthias Kaehlcke <matthias@kaehlcke.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] building and updating u-boot on redboot based board
Date: Sun, 21 Feb 2010 11:21:20 +0100 [thread overview]
Message-ID: <20100221102120.GR20201@darwin> (raw)
In-Reply-To: <b178b0fc1002201731md5a0937wf063864ee7f9e4f2@mail.gmail.com>
Hi,
El Sat, Feb 20, 2010 at 05:31:48PM -0800 Vipul Jain ha dit:
> 1. How to know if u-boot image I have build is build correctly?
the image is build correctly if the file u-boot.bin is
generated. another question is if this image is appropriate for your
board
> 2. I have redboot on my EP9302 SOC (Cirrus logic), can I load u-boot in
> memory and test if it works? What will be the memory address I need to
> download the image?
in order to start U-Boot from RAM you must define
CONFIG_SKIP_LOWLEVEL_INIT and CONFIG_SKIP_RELOCATE_UBOOT. the memory
address depends on your board. for a edb9302 try 0x01000000, for
edb9302a 0xc1000000
be aware that even if the U-Boot image starts from RAM this doesn't
mean automatically that it will boot on your board. when booting from
RAM low-level initialization is skipped (i.e. the environment set up
by redboot is used), when U-Boot boots from flash it is in charge to
do the low-level init.
> 3. How can I burn the u-boot image if I find every thing ok?
if your board is a Cirrus Logic edb9302, refer to the paragraph
"Download Utility" in chapter 7 of the technical reference
manual. otherwise consult the manual provided by your board
manufacturer.
i think you could skip step 2 (try to load U-Boot from RAM), as you
can always restore your RedBoot bootloader using the same procedure as
for flashing the U-Boot image
btw, which version of U-Boot are you using, the current development
version or a custom one?
best regards
--
Matthias Kaehlcke
Embedded Linux Developer
Barcelona
The book of nature is written in the language of mathematics
(Galileo Galilei)
.''`.
using free software / Debian GNU/Linux | http://debian.org : :' :
`. `'`
gpg --keyserver pgp.mit.edu --recv-keys 47D8E5D4 `-
prev parent reply other threads:[~2010-02-21 10:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-21 1:31 [U-Boot] building and updating u-boot on redboot based board Vipul Jain
2010-02-21 10:21 ` Matthias Kaehlcke [this message]
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=20100221102120.GR20201@darwin \
--to=matthias@kaehlcke.net \
--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