[OE-core] [meta-xilinx] Generating device tree for building linux-xilinx kernel

Adrian Alonso aalonso00 at gmail.com
Fri Jun 1 22:23:54 UTC 2012


Great,

I used this instructions to generate the device tree file for the project

http://xilinx.wikidot.com/device-tree-generator

Regards

On Fri, Jun 1, 2012 at 5:17 PM, Elvis Dowson <elvis.dowson at gmail.com> wrote:
> Hi Adrian,
>
> On Jun 1, 2012, at 11:18 PM, Elvis Dowson wrote:
>
>> I've created a hardware bsp project using Xilinx SDK 14.1, and used the xilinx-ml507-update project, (after updating it to XPS 14.1 format).
>>
>> Now the script in meta-xilinx/classes/xilinx-kernel.bbclass is looking for a *.dts file, but I don't see that being created anywhere, in my bsp projects.
>
> Ok, got past that error, the *.dts file doesn't get created if I choose Wind River GPP 2.0.
>
> If I switch the distro to Monta Vista 5.0, it generates a ml507.dts file.
>
> Now when I execute bitbake linux-xilinx, it picks up the ml507.dts file correctly and builds the linux image.
>
> NOTE: Running task 521 of 867 (ID: 6, /tool/yocto/meta-xilinx/recipes-kernel/linux/linux-xilinx_git.bb, do_configure)
> NOTE: package linux-xilinx-2.6.37.1+git1+86c81ccd7c8e895904bfff95bd4f87c9615f7fba-r15: task do_configure: Started
> NOTE: package linux-xilinx-2.6.37.1+git1+86c81ccd7c8e895904bfff95bd4f87c9615f7fba-r15: task do_configure: Succeeded
> NOTE: Running task 857 of 867 (ID: 7, /tool/yocto/meta-xilinx/recipes-kernel/linux/linux-xilinx_git.bb, do_compile)
> NOTE: package linux-xilinx-2.6.37.1+git1+86c81ccd7c8e895904bfff95bd4f87c9615f7fba-r15: task do_compile: Started
> NOTE: package linux-xilinx-2.6.37.1+git1+86c81ccd7c8e895904bfff95bd4f87c9615f7fba-r15: task do_compile: Succeeded
> NOTE: Running task 858 of 867 (ID: 10, /tool/yocto/meta-xilinx/recipes-kernel/linux/linux-xilinx_git.bb, do_compile_kernelmodules)
> NOTE: Running task 859 of 867 (ID: 9, /tool/yocto/meta-xilinx/recipes-kernel/linux/linux-xilinx_git.bb, do_sizecheck)
> NOTE: Running task 860 of 867 (ID: 8, /tool/yocto/meta-xilinx/recipes-kernel/linux/linux-xilinx_git.bb, do_uboot_mkimage)
> NOTE: package linux-xilinx-2.6.37.1+git1+86c81ccd7c8e895904bfff95bd4f87c9615f7fba-r15: task do_compile_kernelmodules: Started
> NOTE: package linux-xilinx-2.6.37.1+git1+86c81ccd7c8e895904bfff95bd4f87c9615f7fba-r15: task do_sizecheck: Started
> NOTE: package linux-xilinx-2.6.37.1+git1+86c81ccd7c8e895904bfff95bd4f87c9615f7fba-r15: task do_sizecheck: Succeeded
> NOTE: package linux-xilinx-2.6.37.1+git1+86c81ccd7c8e895904bfff95bd4f87c9615f7fba-r15: task do_uboot_mkimage: Started
> NOTE: package linux-xilinx-2.6.37.1+git1+86c81ccd7c8e895904bfff95bd4f87c9615f7fba-r15: task do_uboot_mkimage: Succeeded
> NOTE: package linux-xilinx-2.6.37.1+git1+86c81ccd7c8e895904bfff95bd4f87c9615f7fba-r15: task do_compile_kernelmodules: Succeeded
> NOTE: Running task 861 of 867 (ID: 2, /tool/yocto/meta-xilinx/recipes-kernel/linux/linux-xilinx_git.bb, do_install)
> NOTE: package linux-xilinx-2.6.37.1+git1+86c81ccd7c8e895904bfff95bd4f87c9615f7fba-r15: task do_install: Started
> NOTE: package linux-xilinx-2.6.37.1+git1+86c81ccd7c8e895904bfff95bd4f87c9615f7fba-r15: task do_install: Succeeded
> NOTE: Running task 862 of 867 (ID: 13, /tool/yocto/meta-xilinx/recipes-kernel/linux/linux-xilinx_git.bb, do_package)
> NOTE: Running task 863 of 867 (ID: 11, /tool/yocto/meta-xilinx/recipes-kernel/linux/linux-xilinx_git.bb, do_deploy)
> NOTE: Running task 864 of 867 (ID: 3, /tool/yocto/meta-xilinx/recipes-kernel/linux/linux-xilinx_git.bb, do_populate_sysroot)
> NOTE: package linux-xilinx-2.6.37.1+git1+86c81ccd7c8e895904bfff95bd4f87c9615f7fba-r15: task do_package: Started
> NOTE: package linux-xilinx-2.6.37.1+git1+86c81ccd7c8e895904bfff95bd4f87c9615f7fba-r15: task do_deploy: Started
> NOTE: package linux-xilinx-2.6.37.1+git1+86c81ccd7c8e895904bfff95bd4f87c9615f7fba-r15: task do_populate_sysroot: Started
> NOTE: package linux-xilinx-2.6.37.1+git1+86c81ccd7c8e895904bfff95bd4f87c9615f7fba-r15: task do_deploy: Succeeded
> NOTE: package linux-xilinx-2.6.37.1+git1+86c81ccd7c8e895904bfff95bd4f87c9615f7fba-r15: task do_populate_sysroot: Succeeded
> NOTE: package linux-xilinx-2.6.37.1+git1+86c81ccd7c8e895904bfff95bd4f87c9615f7fba-r15: task do_package: Succeeded
> NOTE: Running task 865 of 867 (ID: 15, /tool/yocto/meta-xilinx/recipes-kernel/linux/linux-xilinx_git.bb, do_package_write_rpm)
> NOTE: package linux-xilinx-2.6.37.1+git1+86c81ccd7c8e895904bfff95bd4f87c9615f7fba-r15: task do_package_write_rpm: Started
> NOTE: package linux-xilinx-2.6.37.1+git1+86c81ccd7c8e895904bfff95bd4f87c9615f7fba-r15: task do_package_write_rpm: Succeeded
> NOTE: Running noexec task 866 of 867 (ID: 12, /tool/yocto/meta-xilinx/recipes-kernel/linux/linux-xilinx_git.bb, do_package_write)
> NOTE: Running noexec task 867 of 867 (ID: 5, /tool/yocto/meta-xilinx/recipes-kernel/linux/linux-xilinx_git.bb, do_build)
> NOTE: Tasks Summary: Attempted 867 tasks of which 855 didn't need to be rerun and all succeeded.
>
> Best regards,
>
> Elvis Dowson
>



-- 
Saludos
Adrian Alonso
http://aalonso.wordpress.com




More information about the Openembedded-core mailing list