Openembedded Core Discussions
 help / color / mirror / Atom feed
From: sathishmls@yahoo.com
To: openembedded-core@lists.openembedded.org
Subject: Initramfs with OpenSBI for a RISCV SoC
Date: Mon, 12 Apr 2021 10:28:05 -0700	[thread overview]
Message-ID: <D3Uc.1618248485581174676.TPEa@lists.openembedded.org> (raw)

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

Hi,

i pulled openembedded-core, meta-openembedded, meta-riscv layers
In build/local/auto.conf, added INITRAMFS_IMAGE = "core-image-minimal-initramfs" and INITRAMFS_IMAGE_BUNDLE = "1"
I created core-image-minimal-initramfs.bbappend with adding riscv to COMPATIBLE_HOST

trying to build with "bitbake riscv-initramfs-image"

(without adding INITRAMFS_IMAGE in build/local/auto.conf, able to get successfully the kernel Image files, dtbs, riscv-initramfs-image-mach1-???????.rootfs.cpio.gz, except initramfs is NOT bundled along with the kernel Image which i want)

getting the following circular dependency error

Identifying dependency loops (this may take a short while)...

ERROR:
Dependency loop #1 found:
Task /media/meta-mach1/recipes-kernel/linux/linux-mainline_5.11.bb:do_bundle_initramfs (dependent Tasks ['linux-mainline_5.11.bb:do_install', 'core-image-minimal-initramfs.bb:do_image_complete'])
Task /media/meta-mach1/recipes-kernel/linux/linux-mainline_5.11.bb:do_deploy (dependent Tasks ['linux-mainline_5.11.bb:do_bundle_initramfs', 'pigz_2.6.bb:do_populate_sysroot', 'linux-mainline_5.11.bb:do_packagedata', 'depmodwrapper-cross_1.0.bb:do_populate_sysroot', 'linux-mainline_5.11.bb:do_populate_sysroot'])
Task /media/openembedded-core/meta/recipes-bsp/opensbi/opensbi_0.9.bb:do_compile (dependent Tasks ['linux-mainline_5.11.bb:do_deploy', 'opensbi_0.9.bb:do_configure'])
Task /media/openembedded-core/meta/recipes-bsp/opensbi/opensbi_0.9.bb:do_install (dependent Tasks ['opensbi_0.9.bb:do_compile', 'pseudo_git.bb:do_populate_sysroot'])
Task /media/openembedded-core/meta/recipes-bsp/opensbi/opensbi_0.9.bb:do_populate_sysroot (dependent Tasks ['opensbi_0.9.bb:do_install', 'binutils-cross_2.36.bb:do_populate_sysroot'])
Task /media/openembedded-core/meta/recipes-core/images/core-image-minimal-initramfs.bb:do_image_complete (dependent Tasks ['opensbi_0.9.bb:do_populate_sysroot', 'core-image-minimal-initramfs.bb:do_image_cpio', 'core-image-minimal-initramfs.bb:do_image'])

ERROR: Command execution failed: 1

Please suggest

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

             reply	other threads:[~2021-04-12 17:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-12 17:28 sathishmls [this message]
2021-04-12 19:44 ` [OE-core] Initramfs with OpenSBI for a RISCV SoC Khem Raj
2021-04-15  3:12   ` sathishmls
2021-04-15  4:30     ` [OE-core] " Khem Raj
2021-04-16 13:20       ` Sathish Kumar

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=D3Uc.1618248485581174676.TPEa@lists.openembedded.org \
    --to=sathishmls@yahoo.com \
    --cc=openembedded-core@lists.openembedded.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox