* Re: Question about adding new device trees
@ 2014-08-27 10:52 Robin Findley
2014-08-28 6:29 ` kongling
0 siblings, 1 reply; 3+ messages in thread
From: Robin Findley @ 2014-08-27 10:52 UTC (permalink / raw)
To: kongling, meta-freescale
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@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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Question about adding new device trees
2014-08-27 10:52 Question about adding new device trees Robin Findley
@ 2014-08-28 6:29 ` kongling
0 siblings, 0 replies; 3+ messages in thread
From: kongling @ 2014-08-28 6:29 UTC (permalink / raw)
To: Robin Findley, meta-freescale
[-- Attachment #1: Type: text/plain, Size: 1790 bytes --]
Hi,
Thanks for your reply!
It worked!
Thanks a lot!
BR,
kongling
> Date: Wed, 27 Aug 2014 06:52:53 -0400
> From: rfindley@usa.net
> To: k870818319@outlook.com; meta-freescale@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@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
>
[-- Attachment #2: Type: text/html, Size: 2400 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Question about adding new device trees
@ 2014-08-27 8:03 kongling
0 siblings, 0 replies; 3+ messages in thread
From: kongling @ 2014-08-27 8:03 UTC (permalink / raw)
To: meta-freescale
[-- Attachment #1: Type: text/plain, Size: 1043 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 1378 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-08-28 6:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-27 10:52 Question about adding new device trees Robin Findley
2014-08-28 6:29 ` kongling
-- strict thread matches above, loose matches on Subject: below --
2014-08-27 8:03 kongling
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.