From: Ladislav Michl <Ladislav.Michl@seznam.cz>
To: u-boot@lists.denx.de
Subject: [U-Boot] u-boot on ARM PIC?
Date: Wed, 13 Jan 2010 23:23:37 +0100 [thread overview]
Message-ID: <20100113222337.GB1987@localhost.localdomain> (raw)
In-Reply-To: <87ockyqoio.fsf@macbook.be.48ers.dk>
On Wed, Jan 13, 2010 at 11:37:19AM +0100, Peter Korsgaard wrote:
> Hi,
>
> I'll soon start an ARM based project (at91sam9g45), and am looking into
> booting options. I normally use PPC, so I'm not really familiar with the
> finer details of U-Boot on ARM. I would like to use a failsafe setup
> with 2x U-Boot images in NOR flash, and a mini bootloader (probably
> at91bootstrap based) to decide which to use. For that to work nicely,
> U-Boot would have to be PIC (pre-relocation).
Take a look at board/netstar/crcek.S as exactly that is solved there
(you may want to apply NetStar patches I sent to mailing list two weeks ago,
which are being ignored as usual, so this is an usual rant). There are two
images in NOR and only one can be written from Linux. This is done on update
and then board is rebooted. 'Crcek' then verifies images and runs more recent
version. It is up to u-boot to copy itself into lower location.
> I see there's CONFIG_SKIP_RELOCATE_UBOOT + CONFIG_LOWLEVEL_INIT. Can
> someone confirm that U-Boot is PIC on at91 if those two aren't defined,
> E.G. will it boot from any location in NOR?
It boots from any NOR location on OMAP, so it should be the same for AT91.
Best regards,
ladis
prev parent reply other threads:[~2010-01-13 22:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-13 10:37 [U-Boot] u-boot on ARM PIC? Peter Korsgaard
2010-01-13 20:50 ` Wolfgang Denk
2010-01-13 20:54 ` Peter Korsgaard
2010-01-13 22:23 ` Ladislav Michl [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=20100113222337.GB1987@localhost.localdomain \
--to=ladislav.michl@seznam.cz \
--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.