[yocto] undocumented/inconsistent use of KERNEL_DEVICETREE variable

Robert P. J. Day rpjday at crashcourse.ca
Thu Oct 24 08:27:21 PDT 2013


  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?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================



More information about the yocto mailing list