[yocto] undocumented/inconsistent use of KERNEL_DEVICETREE variable

Chris Larson clarson at kergoth.com
Thu Oct 24 08:38:44 PDT 2013


On Thu, Oct 24, 2013 at 8:27 AM, Robert P. J. Day <rpjday at crashcourse.ca>wrote:

>   simple observation -- the KERNEL_DEVICETREE variable is not
> mentioned in the ref manual variable glossary.
>
>   more weirdly, though, i've always been used to seeing it used this
> way, like in the meta-yocto-bsp layer (that is, referring to the .dts
> *source* files):
>
> beagleboard.conf:KERNEL_DEVICETREE =
> "${S}/arch/arm/boot/dts/omap3-beagle.dts
> ${S}/arch/arm/boot/dts/omap3-beagle-xm.dts"
> mpc8315e-rdb.conf:KERNEL_DEVICETREE =
> "${S}/arch/powerpc/boot/dts/mpc8315erdb.dts"
>
>   but i just noticed this in the meta-fsl-asm layer:
>
> meta-fsl-arm/conf/machine/imx23evk.conf:KERNEL_DEVICETREE = "imx23-evk.dtb"
> meta-fsl-arm/conf/machine/imx6dlsabresd.conf:KERNEL_DEVICETREE =
> "imx6dl-sabresd.dtb"
> meta-fsl-arm/conf/machine/imx6dlsabreauto.conf:KERNEL_DEVICETREE =
> "imx6dl-sabreauto.dtb"
> meta-fsl-arm/conf/machine/imx6qsabresd.conf:KERNEL_DEVICETREE =
> "imx6q-sabresd.dtb"
>
> where the variable contains references to the .dtb *blob* files.
>
>   is there a standard? recommended? either way fine?
>

The behavior changed a couple months back.
See 03b3e4b62f22a8ef435252c0401c5369defabe71 in poky, aka “linux-dtb: Use
kernel build system to generate the dtb files”. The new style is the dtb
filename, the others likely need updating, unless those bsp layers override
the default linux-dtb behavior, afaik.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20131024/94520c76/attachment.html>


More information about the yocto mailing list