public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] A simple howto boot sequoia (ARCH=powerpc) using flattened device tree (FDT)
Date: Fri, 23 May 2008 14:29:42 +0200	[thread overview]
Message-ID: <200805231429.42728.sr@denx.de> (raw)
In-Reply-To: <4836B4AA.5050600@ge.com>

On Friday 23 May 2008, Jerry Van Baren wrote:
> > Correct. And when the "chosen" node exists, the "bootm" doesn't override
> > the bootargs. There are three ways to change this behavior:
> >
> > a) Delete the chosen node from the dts
> > b) Run "fdt chosen" in U-Boot before booting Linux
> > c) Change U-Boot to enable overwriting the chosen node upon Linux
> >    booting without needing to call "fdt chosen"
> >
> > Currently I usually use a) if possible. So I won't add a chosen node when
> > I create a new board port. But I would like to see c) implemented too for
> > "older" arch/powerpc board ports (like Sequoia) that have a chosen node
> > in their dts. Anyone care to send a patch for this? :)
>
> Note: the difference between b) and c) is that "bootm" doesn't set the
> "force" flag but "fdt chosen" does, so "fdt chosen" overrides all
> /chosen property settings (that u-boot knows about).

Yes, I noticed this some time ago.

> It would be relatively easy to do c) by creating Yet Another Config
> Variable that bootm used for the "force" flag rather than hardcoding it.
>   I'm not wild about creating YACV.  Adding Yet Another Parameter to
> bootm is probably as bad or worse.  Hmmmm.

I'm wondering who really wants to *not* override the chosen bootargs property? 
I'm probably missing something here, but for me it just makes no sense to not 
override the bootargs property with the U-Boot bootargs env variable.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

  reply	other threads:[~2008-05-23 12:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-14 20:54 [U-Boot-Users] A simple howto boot sequoia (ARCH=powerpc) using flattened device tree (FDT) Niklaus Giger
2008-05-22 16:58 ` Larry Johnson
2008-05-23  8:04   ` Stefan Roese
2008-05-23 12:12     ` Jerry Van Baren
2008-05-23 12:29       ` Stefan Roese [this message]
2008-05-23 12:57         ` Jerry Van Baren
2008-05-23 13:36           ` Stefan Roese
2008-05-23 15:10           ` 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=200805231429.42728.sr@denx.de \
    --to=sr@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