[U-Boot] [PATCH 02/14] arm: Optionally use existing atags in bootm.c

Pali Rohár pali.rohar at gmail.com
Wed Jan 25 23:03:57 CET 2012


On Wednesday 25 January 2012 22:55:25 Marek Vasut wrote:
> > On Wednesday 25 January 2012 22:28:38 Marek Vasut wrote:
> > > > On Wednesday 25 January 2012 21:55:53 Marek Vasut wrote:
> > > > > must can reuse? Anyway, that's nonsense, why won't u-boot be able to
> > > > > craft those atags?
> > > > 
> > > > Maemo 5 (default OS in Nokia N900) cannot work if kernel does not have
> > > > proper atags from NOLO. So if U-Boot does not reuse it, then Maemo
> > > > will
> > > > not boot...
> > > 
> > > U-Boot CAN GENERATE THEM
> > 
> > Yes, you can parse atags from NOLO and then generate new from existing...
> > But why? Better and easier is copy exising and use it.
> 
> Because eventually, someone will replace nolo with u-boot and what then?
> 

Then we will know what is NOLO doing and how NOLO generating atags...

Temporary solution will be to dump atags for specified N900 HW revision and 
hard-code it into u-boot... But in one atag is stored boot reason (power key, 
watchdog reset, normal reset, alarm clock, charger connected, ...) - so we 
will do not have feature to know why was Maemo started.

Or if someone replace NOLO, he will use other system/kernel which do not 
depend on non standard atags... (Debian, Kubuntu, Mer or Android working 
without NOLO atags on N900).

-- 
Pali Rohár
pali.rohar at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120125/d5f06a0f/attachment.pgp>


More information about the U-Boot mailing list