From: Ian Jeffray <ijeffray@a2etech.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Two U-Boot versions on same device
Date: Fri, 05 Mar 2010 12:45:27 +0000 [thread overview]
Message-ID: <4B90FCE7.5000604@a2etech.com> (raw)
In-Reply-To: <b438ee181003050409q6d3a7d6dgfa9b8765544d2b47@mail.gmail.com>
On 05/03/2010 12:09, Rishi Dhupar wrote:
> Strange question but I am using an OMAP 3530 and the boot process currently
> is from TI's X-Loader to U-Boot to Linux.
>
> What I want is to have two different versions of U-Boot, an extremely
> optimized and small one (to reduce boot time) but then also a debug version
> that has a built in device test suite and allows updating of the Linux
> kernel.
>
> The optimized version would boot first and then check if a GPIO is set, if
> so then it would boot into the debug U-Boot to perform tests or software
> updates.
>
> Anyone do anything like this or is it even possible?
Certainly possible. Fairly trivial. Just put two builds in your flash
and ramload the larger one when required - just like when testing a new
version of U-Boot before committing to flash.
But is it really worth the hassle? Is the network code really that
large, or startup time really significantly longer in your 'debug'
version?
I.
prev parent reply other threads:[~2010-03-05 12:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-05 12:09 [U-Boot] Two U-Boot versions on same device Rishi Dhupar
2010-03-05 12:31 ` Matthias Kaehlcke
2010-03-05 19:14 ` Rishi Dhupar
2010-03-05 20:16 ` Nishanth Menon
2010-03-05 12:45 ` Ian Jeffray [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=4B90FCE7.5000604@a2etech.com \
--to=ijeffray@a2etech.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