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

Elvis Dowson elvis.dowson at gmail.com
Fri Jun 1 21:18:41 UTC 2012


Hi Adrian,

On May 31, 2012, at 11:13 PM, Adrian Alonso wrote:

>>> That's a second process that you need todo with xilinx EDK to export
>>> and launch xilinx SDK
>>> from there create a new device tree project which will parse the "mhs"
>>> hardware descriptor file
>>> and from there generate the device tree according to the hwd settings...

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.

The XPS SDK project is generated into the following location from your XPS system.mhs project:

/project/xilinx-sdk-workspace (which contains two subfolders linux_2_6_bsp_0, and xilinx-ml507_hw_platform)

Your XPS project is located in

/project/xilinx-ml507-updated

and my local.conf settings are 

XILINX_BSP_PATH ?= "/project/xilinx-ml507-updated"

is that the correct BSP path location? 

When I try to build the linux-xilinx recipe, I get the following errors:

NOTE: package linux-xilinx-2.6.37.1+git1+86c81ccd7c8e895904bfff95bd4f87c9615f7fba-r15: task do_unpack: Started
NOTE: package linux-xilinx-2.6.37.1+git1+86c81ccd7c8e895904bfff95bd4f87c9615f7fba-r15: task do_unpack: Succeeded
NOTE: Running task 854 of 867 (ID: 1, /tool/yocto/meta-xilinx/recipes-kernel/linux/linux-xilinx_git.bb, do_patch)
NOTE: package linux-xilinx-2.6.37.1+git1+86c81ccd7c8e895904bfff95bd4f87c9615f7fba-r15: task do_patch: Started
NOTE: package linux-xilinx-2.6.37.1+git1+86c81ccd7c8e895904bfff95bd4f87c9615f7fba-r15: task do_patch: Succeeded
NOTE: Running task 855 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
ERROR: Function failed: do_configure (see /tool/yocto/poky/build/tmp/work/virtex5-poky-linux/linux-xilinx-2.6.37.1+git1+86c81ccd7c8e895904bfff95bd4f87c9615f7fba-r15/temp/log.do_configure.30845 for further information)
ERROR: Logfile of failure stored in: /tool/yocto/poky/build/tmp/work/virtex5-poky-linux/linux-xilinx-2.6.37.1+git1+86c81ccd7c8e895904bfff95bd4f87c9615f7fba-r15/temp/log.do_configure.30845
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: Executing shell function do_configure
| ERROR: Function failed: do_configure (see /tool/yocto/poky/build/tmp/work/virtex5-poky-linux/linux-xilinx-2.6.37.1+git1+86c81ccd7c8e895904bfff95bd4f87c9615f7fba-r15/temp/log.do_configure.30845 for further information)
| ERROR: No device tree found, missing hardware ref design?
NOTE: package linux-xilinx-2.6.37.1+git1+86c81ccd7c8e895904bfff95bd4f87c9615f7fba-r15: task do_configure: Failed
ERROR: Task 6 (/tool/yocto/meta-xilinx/recipes-kernel/linux/linux-xilinx_git.bb, do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 856 tasks of which 852 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /tool/yocto/meta-xilinx/recipes-kernel/linux/linux-xilinx_git.bb, do_configure
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

Best regards,

Elvis Dowson



More information about the Openembedded-core mailing list