[Buildroot] [PATCH 2/7] linux: add option to rely on a bootloader-provided DTB

Peter Korsgaard peter at korsgaard.com
Thu Jan 1 23:15:24 UTC 2015


>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at free-electrons.com> writes:

Hi,

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

I must say I'm with Thomas on this one. Let's not fiddle with the kernel
.config unless we really _HAVE_ to.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list