From: Detlev Zundel <dzu@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] U-boot SPL direct Linux boot
Date: Fri, 01 Jul 2011 15:28:57 +0200 [thread overview]
Message-ID: <m21uyann8m.fsf@ohwell.denx.de> (raw)
In-Reply-To: <BANLkTim0_xgpgme1BTv-C3=18viPr=5jHQ@mail.gmail.com> (Simon Schwarz's message of "Fri, 1 Jul 2011 11:17:33 +0200")
Hi Simon,
> 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.
> 2. Have ATAGS config in board config file and init it at compile time
> 3. Doing it like Heiko and copy the ATAGS config done by u-boot
>
> 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...
>
> Comments?
Just a probably dumb side question, but will ATAGS be deprecated once we
have the flat device tree also on ARM? As I understand, fdt is certainly
the way to go forward, so maybe we can already start with that? In that
case, the fdt blob will be another binary blob to be passed to the
kernel and as such should be independant of U-Boot. So ideally in
U-Boot we have a pointer to the fdt but the fdt itself can be updated
independantly.
Just a thought.
Detlev
--
When you loosen yourself from all the obvious delusions - religion,
ideology, Communism - you're still left with the myth of your own
goodness. Which is the final delusion.
-- Philip Roth
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de
next prev parent reply other threads:[~2011-07-01 13:28 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 [this message]
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
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=m21uyann8m.fsf@ohwell.denx.de \
--to=dzu@denx.de \
--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