[meta-xilinx] rel-v2018.03: openamp-image-minimal build fails due to kernel config
Jiaying Liang
jliang at xilinx.com
Mon Dec 17 09:37:47 PST 2018
Hi William,
From: William A. Mills [mailto:wm.a.mills at gmail.com]
Sent: Sunday, December 16, 2018 11:10 AM
To: meta-xilinx at yoctoproject.org; Jiaying Liang <jliang at xilinx.com>
Subject: rel-v2018.03: openamp-image-minimal build fails due to kernel config
Wendy & all,
I am trying to build the openamp-image-minimal for my Ultra96 board. I am using the rel-v2018.3 release from the Xilinx yocto-manifests. My desktop machine is Ubuntu 16.04 64 bit. I have no Xilinx SDKs or design tools installed.
When I build this image the resulting kernel does not have the needed modules and this results in a failed do_rootfs.
I am using the zcu100-zynqmp machine. Is there a different machine that works for this image? I see the linux-%.bbapend in the openamp layer. Do I need to manually add the distro features to my local.conf? Do I need to use a different kernel as the base?
I can probably hack this up so it works but I would like to understand how it is supposed to work.
$ MACHINE=zcu100-zynqmp bitbake -k openamp-image-minimal
bill at rocky:~/w/proj/ultra-96/oe-v2018.3/build/tmp/log/cooker/zcu100-zynqmp$<mailto:bill at rocky:~/w/proj/ultra-96/oe-v2018.3/build/tmp/log/cooker/zcu100-zynqmp$> cat console-latest.log
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.36.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "aarch64-xilinx-linux"
MACHINE = "zcu100-zynqmp"
DISTRO = "petalinux"
DISTRO_VERSION = "2018.3"
TUNE_FEATURES = "aarch64"
TARGET_FPU = ""
meta
meta-poky = "HEAD:3be15ed93e52d797250ad90467760eb1fd7eca56"
meta-perl
meta-python
meta-filesystems
meta-gnome
meta-multimedia
meta-networking
meta-webserver
meta-xfce
meta-initramfs
meta-oe = "HEAD:83fbd5d5d605de13f47263fab680d910375e1f95"
meta-browser = "HEAD:c5ff301787ef76eec57ca500ec9d1ccf0f74b488"
meta-qt5 = "HEAD:f7e16aeeaa58cd7cc166f16d8537a8b3627e0397"
meta-xilinx-bsp
meta-xilinx-contrib = "HEAD:7922f16dfa5308fb5419a80f513bb07c0384f95e"
meta-xilinx-tools = "HEAD:b286943d7d468e9ff10b9f9662767e8c71f104d1"
meta-petalinux = "HEAD:254edec8368c3d30676135365734abe06e596881"
meta-virtualization = "HEAD:df7b7937b9c91eeea05665c0b69ddcf435cddbcb"
meta-openamp = "HEAD:fb5fbc77fa5595ed291b886abe9555a91e67d241"
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Running task 2788 of 3326 (/home/bill/w/proj/ultra-96/oe-v2018.3/sources/core/../meta-openamp/recipes-openamp/images/openamp-image-minimal.bb:do_rootfs)
NOTE: recipe openamp-image-minimal-1.0-r0: task do_rootfs: Started
ERROR: openamp-image-minimal-1.0-r0 do_rootfs: Could not invoke dnf. Command '/home/bill/w/proj/ultra-96/oe-v2018.3/build/tmp/work/zcu100_zynqmp-xilinx-linux/openamp-image-minimal/1.0-r0/recipe-sysroot-native/usr/bin/dnf -y -c /home/bill/w/proj/ultra-96/oe-v2018.3/build/tmp/work/zcu100_zynqmp-xilinx-linux/openamp-image-minimal/1.0-r0/rootfs/etc/dnf/dnf.conf --setopt=reposdir=/home/bill/w/proj/ultra-96/oe-v2018.3/build/tmp/work/zcu100_zynqmp-xilinx-linux/openamp-image-minimal/1.0-r0/rootfs/etc/yum.repos.d --repofrompath=oe-repo,/home/bill/w/proj/ultra-96/oe-v2018.3/build/tmp/work/zcu100_zynqmp-xilinx-linux/openamp-image-minimal/1.0-r0/oe-rootfs-repo --installroot=/home/bill/w/proj/ultra-96/oe-v2018.3/build/tmp/work/zcu100_zynqmp-xilinx-linux/openamp-image-minimal/1.0-r0/rootfs --setopt=logdir=/home/bill/w/proj/ultra-96/oe-v2018.3/build/tmp/work/zcu100_zynqmp-xilinx-linux/openamp-image-minimal/1.0-r0/temp --nogpgcheck install packagegroup-base-extended kernel-module-virtio-ring kernel-module-virtio-rpmsg-bus libmetal kernel-module-remoteproc libopen-amp0 run-postinsts kernel-module-uio-pdrv-genirq packagegroup-core-boot kernel-module-virtio' returned 1:
Added oe-repo repo from /home/bill/w/proj/ultra-96/oe-v2018.3/build/tmp/work/zcu100_zynqmp-xilinx-linux/openamp-image-minimal/1.0-r0/oe-rootfs-repo
Last metadata expiration check: 0:00:01 ago on Sun 16 Dec 2018 06:39:23 PM UTC.
No package kernel-module-virtio-ring available.
No package kernel-module-remoteproc available.
No package kernel-module-virtio available.
[Wendy] Did you enable those modules from Linux kernel configuration?
Maybe, the openamp-image-minimal, can have a kernel bbappend to enable those kernel modules in recipes-kernel/linux/openamp-kmeta/cfg/ of meta-openamp.
Best Regards,
Wendy
Error: Unable to find a match
ERROR: openamp-image-minimal-1.0-r0 do_rootfs: Function failed: do_rootfs
ERROR: Logfile of failure stored in: /home/bill/w/proj/ultra-96/oe-v2018.3/build/tmp/work/zcu100_zynqmp-xilinx-linux/openamp-image-minimal/1.0-r0/temp/log.do_rootfs.32610
NOTE: recipe openamp-image-minimal-1.0-r0: task do_rootfs: Failed
ERROR: Task (/home/bill/w/proj/ultra-96/oe-v2018.3/sources/core/../meta-openamp/recipes-openamp/images/openamp-image-minimal.bb:do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3317 tasks of which 3316 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
Thanks,
Bill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-xilinx/attachments/20181217/4a8a8564/attachment-0001.html>
More information about the meta-xilinx
mailing list