Re[2]: New dt-only arm/mach

Alexander Shiyan shc_work at
Sun Mar 10 11:05: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
The previous question was about the architecture that can be loaded
without dtb. Now a little another. :)

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

OK. Np. I just want to tell that we already have dt-only archs.

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

Or provide dts in /env and compile it in runtime.


More information about the barebox mailing list