On Tue, Jun 21, 2011 at 11:31 AM, David Long dave.long@linaro.org wrote:
Hi,
WRT to .dtb files: I see sources in the kernel tree but they don't appear to be built as part of the kernel build. How are these produced and how can I build a modified one for some testing?
Nicolas' linaro-2.6.39 tree has the patch which supports building the .dtb files directly from make. I've not pushed that patch to mainline since it is still the .dts files are probably going to be kept in an external repo with the DT binding documentation, but I've not created that repo yet.
To build them from Nicolas' tree, just do: make <filename>.dtb. For some configs, "make dtbs" will also work.
g.
On 07/27/2011 08:44 PM, Somebody in the thread at some point said:
Hi -
Shawn Guo helped me before with this magic required sequencing to get the dtbs built:
$ make ARCH=arm O=panda omap4_defconfig $ make ARCH=arm O=panda menuconfig [ensure CONFIG_USE_OF is enabled] $ make ARCH=arm O=panda CROSS_COMPILE=arm-linux-gnueabi- zImage [dtc will be built out in panda/scripts/dtc/] $ make ARCH=arm O=panda dtbs
-Andy
On Wed, 2011-07-27 at 21:45 +0100, Andy Green wrote:
Shawn Guo helped me before with this magic required sequencing to get the dtbs built:
Thanks. The problem was that flattened device tree was not set in my config file. I really thought we had this set in the panda default config file, but apparently not.
-dl