[oe] initramfs howto?

Sledz, Steffen sledz at DResearch.DE
Wed Apr 22 07:45:38 UTC 2009


I'll try to sort my thoughts a little bit. Our final target is this constellation:

* Kernel-A with Rootfs-A on an UBIFS (without initramfs) shall be able to start Kernel-B using kexec.

* Kernel-B with Rootfs-B on initramfs shall be able to start Kernel-A using kexec.

Both kernels do have associated modules.

As i understand OE i have to build two images (for Rootfs-A and Rootfs-B). But ...

(a) How do i tell those images which kernels (and as a consequence which modules) are associated with it?

(b) How do i build Kernel-B with it's initramfs?

The mentioned initramfs-kexecboot-image looks to me like a target to build an initramfs. But this does not contain any modules. So it does not involve one of the main questions.

The sample recipe code from Tom looks like a solution for (b) which expects another recipy myinitramfs-image for building myinitramfs.tar. But the answer to (a) is still unclear to me.

Steffen

PS: The kexec stuff is no problem.




More information about the Openembedded-devel mailing list