New dt-only arm/mach

Sascha Hauer s.hauer at
Sun Mar 10 10:52:06 EDT 2013

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... 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


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

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

More information about the barebox mailing list