mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Alexander Shiyan <shc_work@mail.ru>
Cc: barebox@lists.infradead.org
Subject: Re: New dt-only arm/mach
Date: Sun, 10 Mar 2013 15:52:06 +0100	[thread overview]
Message-ID: <20130310145206.GO1906@pengutronix.de> (raw)
In-Reply-To: <1362924823.394544173@f371.mail.ru>

Hi Alexander,

On Sun, Mar 10, 2013 at 06:13:43PM +0400, Alexander Shiyan wrote:
>  Hello All.
> 
> I want to add new arch into barebox. n the kernel this arch is dt-only.
> I talking about mach-sunxi. So, how we should handle such platform
> in the barebox? We need always provide dtb to the kernel, then where
> it should be in barebox?

You asked me privatly whether we should put dtc and friends into
barebox, by that time I answered it needs some more time. Maybe this
time has come now. I currently have a branch in the making to add dtc
support and also integration into barebox.

With this we are able to compile a dts(p) and link the binary into
barebox, so...

> I think about dtb-file in /env, but not sure...

...you could provide a dtb in the binary *)

Furthermore you could probe barebox itself from the devicetree.

I'm still not sure whether we should add fullblown devicetrees into
barebox or stripped down versions with only the devices barebox needs.
I think time will tell.

Give me some hours time, I think then I can post a first version of the
patches.

Sascha


*) This of course shouldn't mean it can't be overwritten with another
dtb during runtime.

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2013-03-10 14:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-10 14:13 Alexander Shiyan
2013-03-10 14:52 ` Sascha Hauer [this message]
2013-03-10 15:05   ` Re[2]: " Alexander Shiyan
2013-03-10 20:52 ` Maxime Ripard
2013-03-12 17:50   ` Re[2]: " Alexander Shiyan
2013-03-12 18:37     ` Maxime Ripard
2013-03-12 21:04     ` Sascha Hauer
2013-03-13  4:39       ` Re[2]: " Alexander Shiyan
2013-03-11 11:04 ` Jean-Christophe PLAGNIOL-VILLARD

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=20130310145206.GO1906@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=shc_work@mail.ru \
    /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