[meta-freescale] Question about adding new device trees

Robin Findley rfindley at usa.net
Wed Aug 27 03:52:53 PDT 2014


kongling,

You must also include your .dtb file in the Makefile in the dts source folder,
in the CONFIG_ARCH_MXC section.

-Robin


------ Original Message ------
Received: 04:04 AM EDT, 08/27/2014
From: kongling <k870818319 at outlook.com>
Subject: [meta-freescale] Question about adding new device trees

> 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



More information about the meta-freescale mailing list