public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Jerry Van Baren <gerald.vanbaren@ge.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Trouble "booting using board info"
Date: Tue, 30 Jun 2009 14:51:26 -0400	[thread overview]
Message-ID: <4A4A5EAE.2060903@ge.com> (raw)
In-Reply-To: <97dd5fd20906301138v33450ed9y148b4423409de4ed@mail.gmail.com>

Mikhail Zaturenskiy wrote:
>> Got it... thanks to
>> "http://www.mail-archive.com/u-boot-users at lists.sourceforge.net/msg05111.html".
>> I added the following to the very end of
>> "u-boot-2009.03/board/ep88x/ep88x.c":
>>
>> #if defined(CONFIG_OF_LIBFDT) && defined(CONFIG_OF_BOARD_SETUP)
>> void ft_board_setup(void *blob, bd_t *bd)
>> {
>>        ft_cpu_setup(blob, bd);
>> }
>> #endif /* defined(CONFIG_OF_LIBFDT) && defined(CONFIG_OF_BOARD_SETUP) */
>>
> Forgot to mention that this function got u-boot to update my device
> tree properly, I had to make only minimal changes to my device tree
> "linux-2.6-denx/arch/powerpc/boot/dts/ep88xc.dts", correcting some
> addresses to match the IMMR set in my
> "u-boot-2009.03/include/configs/EP88x.h".
> 
> I didn't even need to use /chosen/linux,stdout-path in my DTS, just
> used "console=ttyCPM0,9600n8" in my boot args.

Hi Mikhail,

The /chosen node should be created and populated by the fdt support to 
reflect the board's hardware.  If you run the "fdt chosen" command, you 
should see what is created.  If it isn't created, you are missing a 
setup piece in your board support customization.

Having a /chosen node in the DTS is deprecated.

Best regards,
gvb

  reply	other threads:[~2009-06-30 18:51 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-24 17:23 [U-Boot] Trouble "booting using board info" Mikhail Zaturenskiy
2009-06-25 11:40 ` Detlev Zundel
2009-06-25 15:46   ` Mikhail Zaturenskiy
2009-06-25 16:11     ` Detlev Zundel
2009-06-25 17:00       ` Mikhail Zaturenskiy
2009-06-26 11:58         ` Detlev Zundel
2009-06-26 13:59           ` Mikhail Zaturenskiy
2009-06-29 18:37             ` Mikhail Zaturenskiy
2009-06-29 19:03               ` Jerry Van Baren
2009-06-29 20:19                 ` Mikhail Zaturenskiy
2009-06-30 18:30                   ` Mikhail Zaturenskiy
2009-06-30 18:38                     ` Mikhail Zaturenskiy
2009-06-30 18:51                       ` Jerry Van Baren [this message]
     [not found] ` <4A42FBC2.8050406@tataelxsi.co.in>
2009-06-25 14:23   ` [U-Boot] "Bad Data CRC" after ramdisk size increase Mikhail Zaturenskiy
2009-06-25 14:36     ` Detlev Zundel

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=4A4A5EAE.2060903@ge.com \
    --to=gerald.vanbaren@ge.com \
    --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