Re[2]: New dt-only arm/mach
Alexander Shiyan
shc_work at mail.ru
Tue Mar 12 13:50:26 EDT 2013
> Le 10/03/2013 15:13, Alexander Shiyan a écrit :
> > Hello All.
> >
> > I want to add new arch into barebox. n the kernel this arch is
> > dt-only. I talking about mach-sunxi.
>
> Wow, that would be great :)
>
> I've been thinking about doing this for quite some time now, but I don't
> have so much time to do both the kernel and barebox ports, so it didn't
> go further than "it would be cool".
>
> > 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?
>
> There's no strong requirements here. It can be anywhere as long as
> barebox knows how and where to find it, basically like the kernel image,
> so it can be from a MMC, TFTP, etc.
>
> But really, the fact that sunxi is only bootable through device tree
> doesn't change a thing compared to other platforms with device tree
> support: the bootloader has to load the kernel image, the dtb and that's it.
>
> > I think about dtb-file in /env, but not sure... Thanks.
>
> It can be done as well I guess, but that doesn't sound that familiar
> from what I've seen in the other barebox boards.
Kernel no contain any board for mach-sunxi.
This mean than all stuff is described via DT.
In the barebox we should have "mach" & "board", so I think we
should create empty (fake) board for architectures like this.
Any other opinions?
---
More information about the barebox
mailing list