From: s.hauer@pengutronix.de (Sascha Hauer) Date: Thu, 24 Oct 2013 10:06:24 +0200 Subject: [Ksummit-2013-discuss] ARM topic: Is DT on ARM the solution, or is there something better? In-Reply-To: <20131023185435.GD32563@obsidianresearch.com> References: <20131022093923.GC15640@ulmo.nvidia.com> <20131022150426.GF29341@beef> <20131022171346.GE4061@obsidianresearch.com> <20131023080630.GA14413@netboy> <20131023172955.GA17145@obsidianresearch.com> <20131023180108.GA23728@roeck-us.net> <20131023182502.GC32563@obsidianresearch.com> <20131023183041.GH5208@netboy> <20131023185435.GD32563@obsidianresearch.com> Message-ID: <20131024080624.GV30088@pengutronix.de> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, Oct 23, 2013 at 12:54:35PM -0600, Jason Gunthorpe wrote: > On Wed, Oct 23, 2013 at 08:30:42PM +0200, Richard Cochran wrote: > > On Wed, Oct 23, 2013 at 12:25:02PM -0600, Jason Gunthorpe wrote: > > > > On ARM the package of 'stuff' can very reasonably include dtb. Distro > > > scripts can package modules+DTB+vmlinuz into something the bootloader > > > can understand. (The next pain point will be to standardize that) > > > > > > The DTB doesn't have to be 'outside' the distro/kernel to give users a > > > seamless upgrade experience. > > > > How can a distro possibly provide me a DTB? > > > > They don't know what hardware I am using. Only I know that. > > I'm not sure what you are asking? Treat DTBs like kernel drivers. If > you make hardware and you want distros to run on it, you have to > provide the DTB for that hardware to mainline+distros. > > Remember, there are two ways to view DTB: > a) It comes from the firmware and you have to live with whatever > crap the firmware does > b) It comes from the kernel, must match the kernel, and we don't > have to tolerate crap in the DTB. c) It comes from the firmware and is at least good enough to bring up a kernel to install a better devicetree. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |