From: Matthias Kaehlcke <matthias@kaehlcke.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] Two U-Boot versions on same device
Date: Fri, 5 Mar 2010 13:31:20 +0100 [thread overview]
Message-ID: <20100305123120.GD17414@darwin> (raw)
In-Reply-To: <b438ee181003050409q6d3a7d6dgfa9b8765544d2b47@mail.gmail.com>
El Fri, Mar 05, 2010 at 07:09:11AM -0500 Rishi Dhupar ha dit:
> 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?
i think it should be possible, but i wonder if you really need
this. do you have hard data that suggest that the test suite or
allowing to update the linux slows down U-Boot significantly?
in my environment i use scripts stored in environment variables to
update the kernel and the rootfs, afaik this doesn't add any overhead
at all.
the test suite you mentioned might be a different issue depending on
its size, as it has to be copied from flash to RAM at boot time. if
it's just adds a few kB i think it shouldn't be relevant, especially
on your high-profile system
best regards
--
Matthias Kaehlcke
Embedded Linux Developer
Barcelona
There is no passion to be found playing small - in settling
for a life that is less than the one you are capable of living
(Nelson Mandela)
.''`.
using free software / Debian GNU/Linux | http://debian.org : :' :
`. `'`
gpg --keyserver pgp.mit.edu --recv-keys 47D8E5D4 `-
next prev parent reply other threads:[~2010-03-05 12:31 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 [this message]
2010-03-05 19:14 ` Rishi Dhupar
2010-03-05 20:16 ` Nishanth Menon
2010-03-05 12:45 ` Ian Jeffray
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=20100305123120.GD17414@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