[Buildroot] [PATCH 2/7] linux: add option to rely on a bootloader-provided DTB
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Thu Jan 1 22:17:00 UTC 2015
Dear Yann E. MORIN,
On Thu, 1 Jan 2015 22:58:45 +0100, Yann E. MORIN wrote:
> However, I beg to disagree on that last part: I think we should have
> this as an option in Buildroot.
>
> The reason is that some platforms can be built with or without support
> for the device tree. The Raspberry Pi is but one such platform; there
> are others. Their defconfig do not always enable USE_OF by default, it
> must be a volunteer selection from the user.
>
> In that case, your opinion is to delegate to the user the responsibility
> to enable that on his own, right? So, it would no longer be possible to
> use in-tree defconfigs for those boards, for example.
Well, to me this is a slippery slope. There are gazillions of kernel
options that do platform-specific stuff. So far, we really tried hard
to limit how much Buildroot modifies the kernel options, and tried to
limit that to cases related to userspace components enabled by the user
that really need some feature in the kernel.
Let's see what Peter thinks about this, he might very well have a
different opinion on this.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list