All of lore.kernel.org
 help / color / mirror / Atom feed
From: rohitpai77@gmail.com
To: meta-ti@lists.yoctoproject.org
Subject: Fit Image creation for beagle-bone with Meta TI layer
Date: Mon, 22 Jun 2020 23:51:08 -0700	[thread overview]
Message-ID: <nOqE.1592895068258132101.5v0z@lists.yoctoproject.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 3456 bytes --]

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.

[-- Attachment #2: Type: text/html, Size: 4540 bytes --]

                 reply	other threads:[~2020-06-23  6:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=nOqE.1592895068258132101.5v0z@lists.yoctoproject.org \
    --to=rohitpai77@gmail.com \
    --cc=meta-ti@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.