public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Albert ARIBAUD <albert.u.boot@aribaud.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] ARM: rpi_b: set $fdtfile in default environment
Date: Thu, 13 Feb 2014 15:02:22 +0100	[thread overview]
Message-ID: <20140213150222.3a8403ac@lilith> (raw)
In-Reply-To: <1390974110-4752-1-git-send-email-swarren@wwwdotorg.org>

Hi Stephen,

On Tue, 28 Jan 2014 22:41:50 -0700, Stephen Warren
<swarren@wwwdotorg.org> wrote:

> U-Boot names the Raspberry Pi board rpi_b. This means that the common
> expression for DTB filename ${soc}-${board}.dtb expands to
> bcm2835-rpi_b.dtb. However, the DTB generated by the Linux kernel is
> bcm2835-rpi-b.dtb. Set $fdtfile in U-Boot's environment so that scripts
> look for the correct DTB filename.
> 
> An alternative would be to rename the U-Boot board to rpi-b. However,
> that change would be far more invasive, and end up affecting users (i.e
> they'd have to change their U-Boot build commands).
> 
> Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
> ---
>  include/configs/rpi_b.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/configs/rpi_b.h b/include/configs/rpi_b.h
> index 0b7add7..976ceaa 100644
> --- a/include/configs/rpi_b.h
> +++ b/include/configs/rpi_b.h
> @@ -123,6 +123,7 @@
>  	"scriptaddr=0x00000000\0" \
>  	"kernel_addr_r=0x01000000\0" \
>  	"fdt_addr_r=0x02000000\0" \
> +	"fdtfile=bcm2835-rpi-b.dtb\0" \
>  	"ramdisk_addr_r=0x02100000\0" \
>  	"boot_targets=mmc0\0" \
>  	\

Applied to u-boot-arm/master, thanks!

Amicalement,
-- 
Albert.

      parent reply	other threads:[~2014-02-13 14:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-29  5:41 [U-Boot] [PATCH] ARM: rpi_b: set $fdtfile in default environment Stephen Warren
2014-02-05  2:20 ` Stephen Warren
2014-02-11  5:46   ` Stephen Warren
2014-02-11 12:38     ` Albert ARIBAUD
2014-02-13 14:02 ` Albert ARIBAUD [this message]

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=20140213150222.3a8403ac@lilith \
    --to=albert.u.boot@aribaud.net \
    --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