<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>12320</bug_id>
          
          <creation_ts>2017-11-08 03:54:00 +0000</creation_ts>
          <short_desc>Enable multiple kernels and multiple kernel command lines in systemd-boot, grub-efi menu</short_desc>
          <delta_ts>2026-08-13 15:10:39 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>2.5</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>6.99</target_milestone>
          <dependson>11363</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tim Orling">tim.orling</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>78047</commentid>
    <comment_count>0</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2017-11-08 03:54:00 +0000</bug_when>
    <thetext>The multiple-kernel built and deployed in one image from BZ#11363 leads to the next enhancement request: 
enabling multiple kernels in systemd-boot or grub-efi (or other) boot menu. 

This is fairly common in mainline Linux distributions and an increasingly frequent request from our customers, especially during development and integration.

In addition to enabling the multiple kernels, while we are at it we should enable multiple kernel command lines in the menu (different options for the same kernel binary).

An example use case is to compare latency/performance of (1) &quot;standard&quot; (e.g. 4.9.47), (2)&quot;stable preempt_rt&quot; (e.g. 4.9.47-rt37) and (3) &quot;rt-devel&quot; (e.g. 4.13.10-rt3) kernels (different binaries) without and with (4,5,6) debug enabled (command line argument).

The three kernels (1,2,3) should be discoverable at image creation time (using, e.g. KERNEL_PACKAGE_NAME[]) and the boot menu should be able to be &quot;auto&quot; populated. The additional command line argument entries (4,5,6) would clearly need to be manually configured by a different mechanism.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86716</commentid>
    <comment_count>1</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2020-03-12 16:05:21 +0000</bug_when>
    <thetext>The kernels and the kernel modules need to be installed into the EFI System Partition (ESP) [1], so that they are available early in booting. The current implementation from BZ#11363 indeed allows multiple kernels to be installed into the rootfs, but they are not available until after the system has booted and mounted that partition.

[1] https://en.wikipedia.org/wiki/EFI_system_partition</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96791</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-10-24 14:24:19 +0000</bug_when>
    <thetext>Bulk move from 4.99 or 0.00 to 5.99</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>