[meta-xilinx] Error while compiling latest code

Nathan Rossi nathan at nathanrossi.com
Fri Oct 20 04:47:38 PDT 2017


On 20 October 2017 at 10:33, Manjukumar Harthikote Matha
<MANJUKUM at xilinx.com> wrote:
> Hi Nathan,
>
> Getting the below error while running
>
> MACHINE=zcu102-zynqmp bitbake core-image-minimal
>
> | ERROR: could not find file ktypes/standard/standard.scc, included from /workspaces2/manjukum/meta-xilinx-master/build/tmp/work/zcu102_zynqmp-poky-linux/linux-xlnx/4.9-xilinx-v2017.3+gitAUTOINC+f1b1e077d6-r0/xilinx-kmeta/bsp/xilinx/zynqmp-standard.scc
> | ERROR: could not process input files: /workspaces2/manjukum/meta-xilinx-master/build/tmp/work/zcu102_zynqmp-poky-linux/linux-xlnx/4.9-xilinx-v2017.3+gitAUTOINC+f1b1e077d6-r0/xilinx-kmeta/bsp/xilinx/zynqmp-standard.scc /workspaces2/manjukum/meta-xilinx-master/build/tmp/work/zcu102_zynqmp-poky-linux/linux-xlnx/4.9-xilinx-v2017.3+gitAUTOINC+f1b1e077d6-r0/defconfig
> |        See /tmp/tmp.2CfQaIdKMA for details
> | ERROR: Could not generate configuration queue for zynqmp.
> | WARNING: /workspaces2/manjukum/meta-xilinx-master/build/tmp/work/zcu102_zynqmp-poky-linux/linux-xlnx/4.9-xilinx-v2017.3+gitAUTOINC+f1b1e077d6-r0/temp/run.do_kernel_metadata.1536:1 exit 1 from 'exit 1'
> | ERROR: Function failed: do_kernel_metadata (log file is located at /workspaces2/manjukum/meta-xilinx-master/build/tmp/work/zcu102_zynqmp-poky-linux/linux-xlnx/4.9-xilinx-v2017.3+gitAUTOINC+f1b1e077d6-r0/temp/log.do_kernel_metadata.1536)
>
> Seems like this is due to
> https://github.com/Xilinx/meta-xilinx/blob/master/recipes-kernel/linux/linux-xlnx.inc#L40

That is odd, it should not be trying to add bsp definition includes
like that. Since KMACHINE should be defaulting to the name of the
machine (in this case zcu102-zynqmp), of which there is no definition
for.

I've double checked a clean build here, and I'm not seeing it do this.
The only config included in the kernel metadata is the defconfig.

linux-zcu102_zynqmp-standard-build/source/.kernel-meta/meta-series:
----
#
# scc v0.8
# processed: Fri Oct 20 19:28:06 AEST 2017
#
# This is a scc output file, do not edit
#
# _reloc_dir /mnt/storagedisk/nathan/build/mx-testing/tmp-glibc/work/zcu102_zynqmp-oe-linux/linux-xlnx/4.9-xilinx-v2017.1+gitAUTOINC+68e6869cfb-r0
# _reloc_dir /mnt/storagedisk/nathan/build/mx-testing/tmp-glibc/work/zcu102_zynqmp-oe-linux/linux-xlnx
kconf /mnt/storagedisk/nathan/build/mx-testing/tmp-glibc/work/zcu102_zynqmp-oe-linux/linux-xlnx/4.9-xilinx-v2017.1+gitAUTOINC+68e6869cfb-r0/defconfig
# non-hardware
----

Note: I'm testing master specially here, which is why its kernel
v2017.1. I see the same behavior with the nrossi/next branch which
includes the v2017.3 kernel though.

Can you check what layer versions you are using, and what the
meta-series output is. Also check if KMACHINE is being set somewhere
outside of meta-xilinx.

>
> Maybe restrict it to microblazeel or just have it as a cfg for microblazeel?

Its nice to have the kmeta stuff work, since it is also used for the
zybo-linux-bd machine.

Thanks,
Nathan



More information about the meta-xilinx mailing list