* Deploying linux-ti-staging initramfs kernel into /boot
@ 2015-04-29 6:07 Craig McQueen
2015-05-01 19:57 ` Denys Dmytriyenko
0 siblings, 1 reply; 3+ messages in thread
From: Craig McQueen @ 2015-04-29 6:07 UTC (permalink / raw)
To: meta-ti@yoctoproject.org
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?
--
Craig McQueen
^ permalink raw reply [flat|nested] 3+ messages in thread
* Deploying linux-ti-staging initramfs kernel into /boot
@ 2015-04-30 4:54 Craig McQueen
0 siblings, 0 replies; 3+ messages in thread
From: Craig McQueen @ 2015-04-30 4:54 UTC (permalink / raw)
To: yocto@yoctoproject.org
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?
--
Craig McQueen
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Deploying linux-ti-staging initramfs kernel into /boot
2015-04-29 6:07 Deploying linux-ti-staging initramfs kernel into /boot Craig McQueen
@ 2015-05-01 19:57 ` Denys Dmytriyenko
0 siblings, 0 replies; 3+ messages in thread
From: Denys Dmytriyenko @ 2015-05-01 19:57 UTC (permalink / raw)
To: Craig McQueen; +Cc: meta-ti@yoctoproject.org
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-05-01 19:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-29 6:07 Deploying linux-ti-staging initramfs kernel into /boot Craig McQueen
2015-05-01 19:57 ` Denys Dmytriyenko
-- strict thread matches above, loose matches on Subject: below --
2015-04-30 4:54 Craig McQueen
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.