From: Igor Grinberg <grinberg@compulab.co.il>
To: u-boot@lists.denx.de
Subject: [U-Boot] U-boot SPL direct Linux boot
Date: Fri, 01 Jul 2011 20:04:25 +0300 [thread overview]
Message-ID: <4E0DFE19.3010400@compulab.co.il> (raw)
In-Reply-To: <BANLkTim0_xgpgme1BTv-C3=18viPr=5jHQ@mail.gmail.com>
On 07/01/11 12:17, Simon Schwarz wrote:
> Ok, topic ATAGS:
> I see three ways doing ATAGS init for SPL:
> 1. use bootm.c which means init bd correctly and add a bunch of #ifdef
> CONFIG_PRELOADER to it - maybe also to some others i don't have on the
> radar yet.
While this is not clean, it might work good.
> 2. Have ATAGS config in board config file and init it at compile time
This is a problematic approach, because memory size, board revision,
serial number and may be some others are only known in runtime.
> 3. Doing it like Heiko and copy the ATAGS config done by u-boot
This one is probably the most clean way.
> My favourite here is number 2 because it would be faster than 1 and
> won't take so much work and won't clutter the standard u-boot code
> with #ifdefs. Also it is simpler to use than 3. the downside is that
> the section for ATAGS config would be huge and the code could diverge
> over time...
Regarding the device tree on ARM, it is still not fully functional.
Nevertheless, currently there is an attempt ([1] and [2]) to make kernel
work with both, device tree and ATAGS and if I understood correctly,
the ATAGS will have precedence over the DT, so closed source
boot loaders will still work.
[1] - http://www.spinics.net/lists/arm-kernel/msg128172.html
[2] - http://www.spinics.net/lists/arm-kernel/msg129270.html
--
Regards,
Igor.
next prev parent reply other threads:[~2011-07-01 17:04 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-30 10:32 [U-Boot] U-boot SPL direct Linux boot Simon Schwarz
2011-06-30 11:37 ` Heiko Schocher
2011-06-30 13:44 ` Simon Schwarz
2011-07-03 20:42 ` Wolfgang Denk
2011-07-01 9:17 ` Simon Schwarz
2011-07-01 13:28 ` Detlev Zundel
2011-07-01 13:57 ` Simon Schwarz
2011-07-01 16:42 ` Simon Schwarz
2011-07-04 6:34 ` Grant Likely
2011-07-05 12:44 ` Simon Schwarz
2011-07-03 20:37 ` Wolfgang Denk
2011-07-01 15:45 ` Wolfgang Denk
2011-07-01 17:04 ` Igor Grinberg [this message]
2011-07-01 17:36 ` Simon Schwarz
2011-07-01 17:40 ` Simon Schwarz
2011-07-03 20:51 ` Wolfgang Denk
2011-07-03 20:49 ` Wolfgang Denk
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=4E0DFE19.3010400@compulab.co.il \
--to=grinberg@compulab.co.il \
--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.