[meta-freescale] Question about adding new device trees

kongling k870818319 at outlook.com
Wed Aug 27 01:03:43 PDT 2014


Hi,
    I want to build dtb with my dts file.
    In document "Software Development for i.MX Application Processors", section "Yocto Project Build: Adding new device trees" discribes these steps:

1. Create device tree in kernel source arch/arm/boot/dts
2. Update machine configuration files with new name
• Note that device tree source is extension dts
• Binary device tree is extension dtb
− KERNEL_DEVICETREE = “<new device tree.dtb>“
3. Build kernel
• bitbake -c compile -f linux-imx
• bitbake -c deploy -f linux-imx
• New device tree should be in tmp/deply/images/<machine>
4. Update uboot
• Change the fdt_file parameter to the new device tree.dtb 

    I copy my dts file to "~/fsl-arm-yocto-bsp/build/tmp/work/imx6qsabresd-poky-linux-gnueabi/linux-imx/3.10.17-r0/image/usr/src/kernel/arch/arm/boot/dts",add  "KERNEL_DEVICETREE = "my.dtb"", then run "bitbake linux-imx" and get a error "could not find my.dts".

Question :  where shoud I copy my dts file to?

Best regard,

kongling
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20140827/fc372c6b/attachment.html>


More information about the meta-freescale mailing list