From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Thu, 1 Jan 2015 23:17:00 +0100 Subject: [Buildroot] [PATCH 2/7] linux: add option to rely on a bootloader-provided DTB In-Reply-To: <20150101215845.GK4360@free.fr> References: <20150101222449.18453adb@free-electrons.com> <20150101214435.GJ4360@free.fr> <20150101225102.64944ac5@free-electrons.com> <20150101215845.GK4360@free.fr> Message-ID: <20150101231700.75d142fd@free-electrons.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net 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