multiple, different kernel images in one rootfs


Richard Leitner
 

Hi,
I'm currently using Jethro and like to include multiple, different
kernel (fit)images (with different source branches/versions) in one
RootFS. When booting such a system the bootloader (U-Boot) will decide
which kernel to load.

I've already done some searches on the Internet, but found only Bug
6945, which seems to be something similar. But I'm unable to find any
documentation on it, and the commits linked to the bugzilla [1] aren't
very helpful.

Furthermore a similar question on the mailing list in 2015 [2] wasn't
answered.

So does anybody of you know how to implement that or where/how I might
get started?

Thanks & regards,
Richard L

[1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=6945
[2] https://lists.yoctoproject.org/pipermail/yocto/2015-May/025031.html


Khem Raj
 

On 3/28/17 2:53 AM, Richard Leitner wrote:
Hi,
I'm currently using Jethro and like to include multiple, different
kernel (fit)images (with different source branches/versions) in one
RootFS. When booting such a system the bootloader (U-Boot) will decide
which kernel to load.
There is/was a way to build multiple kernels see something like this

https://git.digitalstrom.org/dss-oe/dss-oe/commit
/1e0c2307a910e8fc7e2482a757c52277c4f4e01e

might help you


I've already done some searches on the Internet, but found only Bug
6945, which seems to be something similar. But I'm unable to find any
documentation on it, and the commits linked to the bugzilla [1] aren't
very helpful.

Furthermore a similar question on the mailing list in 2015 [2] wasn't
answered.

So does anybody of you know how to implement that or where/how I might
get started?

Thanks & regards,
Richard L

[1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=6945
[2] https://lists.yoctoproject.org/pipermail/yocto/2015-May/025031.html


Richard Leitner
 

On 03/28/2017 08:17 PM, Khem Raj wrote:
On 3/28/17 2:53 AM, Richard Leitner wrote:
Hi,
I'm currently using Jethro and like to include multiple, different
kernel (fit)images (with different source branches/versions) in one
RootFS. When booting such a system the bootloader (U-Boot) will decide
which kernel to load.
There is/was a way to build multiple kernels see something like this

https://git.digitalstrom.org/dss-oe/dss-oe/commit
/1e0c2307a910e8fc7e2482a757c52277c4f4e01e

might help you
Thank you for your response.

So it seems they copied and renamed the kernel classes from poky.git and
let the second kernel image use the newly added class?
Am I understanding this correctly?

Is this the "preferred" way?