[meta-freescale] Question about adding new device trees
kongling
k870818319 at outlook.com
Wed Aug 27 23:29:37 PDT 2014
Hi,
Thanks for your reply!
It worked!
Thanks a lot!
BR,
kongling
> Date: Wed, 27 Aug 2014 06:52:53 -0400
> From: rfindley at usa.net
> To: k870818319 at outlook.com; meta-freescale at yoctoproject.org
> Subject: Re: [meta-freescale] Question about adding new device trees
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20140828/d49ce806/attachment.html>
More information about the meta-freescale
mailing list