From: Denys Dmytriyenko <denys@ti.com>
To: Craig McQueen <craig.mcqueen@innerrange.com>
Cc: "meta-ti@yoctoproject.org" <meta-ti@yoctoproject.org>
Subject: Re: Deploying linux-ti-staging initramfs kernel into /boot
Date: Fri, 1 May 2015 15:57:01 -0400 [thread overview]
Message-ID: <20150501195701.GD29290@edge> (raw)
In-Reply-To: <5500469A22567C4BAF673A6E86AFA3A402227F4FA9C6@IR-CENTRAL.corp.innerrange.com>
On Wed, Apr 29, 2015 at 04:07:51PM +1000, Craig McQueen wrote:
> I'm using linux-ti-staging kernel 3.14.x with Yocto dizzy, for a build for
> BeagleBone Black based system.
>
> I'd like to use initramfs in my kernel. So I've set INITRAMFS_IMAGE in my
> linux-ti-staging_3.14.bbappend, and INITRAMFS_IMAGE_BUNDLE = "1" in
> local.conf. Now in build dir tmp/deploy/images/<boardname> I'm getting
> zImage-initramfs-<boardname>.bin being built fine.
>
> However, I'm not getting an initramfs image being deployed to /boot, but
> just a plain zImage without an initramfs.
>
> Looking in the build directory
> tmp/work/<boardname>-poky-linux-gnueabi/linux-ti-staging/3.14.39-r22b+gitrAUTOINC+ba552b4bc7/packages-split/kernel-image/boot
> I see there is:
>
> zImage-3.14.39
> zImage-initramfs-<boardname>.bin
>
> --however the zImage-initramfs-<boardname>.bin file isn't being included in
> deploy-rpms/<boardname>/kernel-image-3.14.39-3.14.39-r22b+gitrAUTOINC+ba552b4bc7.<boardname>.rpm
> for some reason.
>
> But, if I change my linux-ti-staging_3.14.bbappend to include any one of the
> following lines, then the kernel-image .rpm file _does_ include both zImage
> files:
>
> RDEPENDS_kernel-base = ""
> RDEPENDS_kernel-base = "kernel-devicetree"
> RDEPENDS_kernel-base = "kernel-image"
>
> But if I put:
>
> RDEPENDS_kernel-base = "kernel-image kernel-devicetree"
>
> --then there is no zImage-initramfs-<boardname>.bin in the kernel-image
> .rpm. This seems very confusing.
>
> Why would zImage-initramfs-<boardname>.bin disappear from the kernel-image
> package when the linux-ti-staging RDEPENDS_kernel-base specifies both
> kernel-image and kernel-devicetree, but not other cases?
This all sounds like a very weird bug somewhere. Have you tried opkg instead
of rpm? See if it's specific to one or another package manager...
--
Denys
next prev parent reply other threads:[~2015-05-01 19:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-29 6:07 Deploying linux-ti-staging initramfs kernel into /boot Craig McQueen
2015-05-01 19:57 ` Denys Dmytriyenko [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-04-30 4:54 Craig McQueen
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=20150501195701.GD29290@edge \
--to=denys@ti.com \
--cc=craig.mcqueen@innerrange.com \
--cc=meta-ti@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.