Dear Meta TI Team,
I am trying to create fit image for my beaglebone with meta-ti layer. All other image formats work just fine.
I am using the beaglebone.conf provided inside the meta-ti layer. I have added below changes in the machine.conf file to generate fit image.
beaglebone.conf
--------------
# fit image
KERNEL_CLASSES += "kernel-fitimage"
KERNEL_IMAGETYPE = "fitImage"
--------------
I get below error
----------------------
ERROR: bbb-image-play-1.0-r0 do_rootfs: Could not invoke dnf. Command '/media/workdir/bbb/yocto/beaglebone/build/tmp/work/beaglebone-poky-linux-gnueabi/bbb-image-play/1.0-r0/recipe-sysroot-native/usr/bin/dnf -v --rpmverbosity=info -y -c /media/workdir/bbb/yocto/beaglebone/build/tmp/work/beaglebone-poky-linux-gnueabi/bbb-image-play/1.0-r0/rootfs/etc/dnf/dnf.conf --setopt=reposdir=/media/workdir/bbb/yocto/beaglebone/build/tmp/work/beaglebone-poky-linux-gnueabi/bbb-image-play/1.0-r0/rootfs/etc/yum.repos.d --installroot=/media/workdir/bbb/yocto/beaglebone/build/tmp/work/beaglebone-poky-linux-gnueabi/bbb-image-play/1.0-r0/rootfs --setopt=logdir=/media/workdir/bbb/yocto/beaglebone/build/tmp/work/beaglebone-poky-linux-gnueabi/bbb-image-play/1.0-r0/temp --repofrompath=oe-repo,/media/workdir/bbb/yocto/beaglebone/build/tmp/work/beaglebone-poky-linux-gnueabi/bbb-image-play/1.0-r0/oe-rootfs-repo --nogpgcheck install dosfstools e2fsprogs e2fsprogs-mke2fs hello-application libhello-lib0 libhiredis0.13 initscript kernel-devicetree kernel-image-zimage kernel-module-i2cplay kernel-module-mcp320x libgpiod libstdc++6 openssh packagegroup-core-boot rauc redis run-postinsts u-boot-fw-utils util-linux-mkfs' returned 1:
DNF version: 4.1.0
cachedir: /media/workdir/bbb/yocto/beaglebone/build/tmp/work/beaglebone-poky-linux-gnueabi/bbb-image-play/1.0-r0/rootfs/var/cache/dnf
Added oe-repo repo from /media/workdir/bbb/yocto/beaglebone/build/tmp/work/beaglebone-poky-linux-gnueabi/bbb-image-play/1.0-r0/oe-rootfs-repo
repo: using cache for: oe-repo
not found other for:
not found modules for:
not found deltainfo for:
not found updateinfo for:
oe-repo: using metadata from Tue 23 Jun 2020 06:41:05 AM UTC.
Last metadata expiration check: 0:00:01 ago on Tue 23 Jun 2020 06:41:06 AM UTC.
No module defaults found
No match for argument: kernel-image-zimage
Error: Unable to find a match
ERROR: bbb-image-play-1.0-r0 do_rootfs:
ERROR: bbb-image-play-1.0-r0 do_rootfs: Function failed: do_rootfs
ERROR: Logfile of failure stored in: /media/workdir/bbb/yocto/beaglebone/build/tmp/work/beaglebone-poky-linux-gnueabi/bbb-image-play/1.0-r0/temp/log.do_rootfs.21662
ERROR: Task (/media/workdir/bbb/yocto/beaglebone/meta-sysplay/images/bbb-image-play.bb:do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3146 tasks of which 3144 didn't need to be rerun and 1 failed.
----------------------
if I try below changes
KERNEL_IMAGETYPE = "zImage fitImage"
then I get below error
ERROR: linux-ti-staging-rt-5.4.28+gitAUTOINC+c3dd64420d-r22a do_package: QA Issue: kernel-image-zimage is listed in PACKAGES multiple times, this leads to packaging errors. [packages-list]
ERROR: linux-ti-staging-rt-5.4.28+gitAUTOINC+c3dd64420d-r22a do_package: QA Issue: kernel-image-fitimage is listed in PACKAGES multiple times, this leads to packaging errors. [packages-list]
Please suggest what is the correct way to get fitimage (kernel + DTB) with meta-ti layer.
Thanks for your support.