All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Khem Raj" <raj.khem@gmail.com>
To: sathishmls@yahoo.com
Cc: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [OE-core] Initramfs with OpenSBI for a RISCV SoC
Date: Mon, 12 Apr 2021 12:44:25 -0700	[thread overview]
Message-ID: <CAMKF1spF-OQ6Q5GnK89tD0KhgnerwOcDLyOPDQ_Zmn963hsxUw@mail.gmail.com> (raw)
In-Reply-To: <D3Uc.1618248485581174676.TPEa@lists.openembedded.org>

On Mon, Apr 12, 2021 at 10:28 AM sathishmls via lists.openembedded.org
<sathishmls=yahoo.com@lists.openembedded.org> wrote:
>
> 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)
>

you can try to build just the kernel which should build the initramfs
image too or build any other image than 'core-image-minimal-initramfs.

bitbake core-image-minimal

e.g.

> 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
> 
>

  reply	other threads:[~2021-04-12 19:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-12 17:28 Initramfs with OpenSBI for a RISCV SoC sathishmls
2021-04-12 19:44 ` Khem Raj [this message]
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=CAMKF1spF-OQ6Q5GnK89tD0KhgnerwOcDLyOPDQ_Zmn963hsxUw@mail.gmail.com \
    --to=raj.khem@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=sathishmls@yahoo.com \
    /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.