devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dirk Brandewie <dirk.brandewie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Thierry Reding
	<thierry.reding-RM9K5IK7kjKj5M59NBduVrNAH6kLmebB@public.gmane.org>
Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org,
	x86-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
	Rob Herring <rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org>,
	Ingo Molnar <mingo-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
	"H. Peter Anvin" <hpa-YMNOUZJC4hwAvxtiuMwx3w@public.gmane.org>,
	Thomas Gleixner <tglx-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org>,
	Sebastian Andrzej Siewior
	<bigeasy-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org>
Subject: Re: bootloader support for DTB on x86
Date: Tue, 22 May 2012 09:17:33 -0700	[thread overview]
Message-ID: <4FBBBC1D.9080307@gmail.com> (raw)
In-Reply-To: <20120522125622.GA21187-RM9K5IK7kjIQXX3q8xo1gnVAuStQJXxyR5q1nwbD4aMs9pC9oP6+/A@public.gmane.org>

On 05/22/2012 05:56 AM, Thierry Reding wrote:
> Hi,
>
> I was looking at booting an x86-based platform using DT. However I wasn't
> able to find a bootloader that supports this. There also doesn't seem to be a
> method to append the DTB to the zImage (which I wouldn't want to use anyway).
> Does anybody know of a bootloader that supports this?

>
> I'm currently using syslinux (specifically extlinux) and was looking at
> perhaps adding the support myself based on the information given in
> Documentation/x86/boot.txt. However I'm not overly familiar with syslinux
> code and this could prove more difficult than I anticipate.
>
> The only x86 platforms that use DT seem to be OLPC and CE4100 and according
> to the web the OLPC has a complete OF implementation. Does anyone know which
> bootloader the CE4100 uses?

The falcon falls CE4100 based board we used to do the DT support uses redboot
The code is available at git://gitorious.org/driver-work/redboot.git

I never got to the point where the bootloader was loading the FDT from storage.
I linked the FDT blobs(s) into the kernel and used a kernel command line option 
to specify the compat string for the blob the kernel should use.

You can see a snapshot of what I was using at:
https://gitorious.org/driver-work/linux/commits/base-ce4100.public

The command line parameter stuff did not get merged linking the DTB(s)
into the kernel did
aab9433 of: Add support for linking device tree blobs into vmlinux


>
> Thierry
>
>
>
> _______________________________________________
> devicetree-discuss mailing list
> devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org
> https://lists.ozlabs.org/listinfo/devicetree-discuss

  parent reply	other threads:[~2012-05-22 16:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-22 12:56 bootloader support for DTB on x86 Thierry Reding
     [not found] ` <20120522125622.GA21187-RM9K5IK7kjIQXX3q8xo1gnVAuStQJXxyR5q1nwbD4aMs9pC9oP6+/A@public.gmane.org>
2012-05-22 16:17   ` Dirk Brandewie [this message]
2012-05-22 19:51   ` Sebastian Andrzej Siewior
     [not found]     ` <20120522195107.GA17501-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org>
2012-05-22 21:53       ` H. Peter Anvin
2012-07-10 12:27   ` Simon Glass
     [not found]     ` <CAPnjgZ2OwarbF+=SZkXYgszhES94Y6=-9wq+BdNHuo+PrZsYWA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-07-10 12:35       ` Thierry Reding

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=4FBBBC1D.9080307@gmail.com \
    --to=dirk.brandewie-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=bigeasy-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org \
    --cc=devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org \
    --cc=hpa-YMNOUZJC4hwAvxtiuMwx3w@public.gmane.org \
    --cc=mingo-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org \
    --cc=tglx-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org \
    --cc=thierry.reding-RM9K5IK7kjKj5M59NBduVrNAH6kLmebB@public.gmane.org \
    --cc=x86-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    /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;
as well as URLs for NNTP newsgroup(s).