<?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>11446</bug_id>
          
          <creation_ts>2017-05-03 12:53:53 +0000</creation_ts>
          <short_desc>Flexibility and configurability to boot from any partition</short_desc>
          <delta_ts>2017-05-31 08:13:57 +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>BSPs</product>
          <component>bsps-configuration</component>
          <version>2.4</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>OBSOLETE</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>2.4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Chin Kooi KHOR">chin.kooi.khor</reporter>
          <assigned_to name="sweeaun">swee.aun.khor</assigned_to>
          <cc>mei.yeen.ng</cc>
    
    <cc>mikko.ylinen</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>yp.bsp.watcher</cc>
    
    <cc>yp.watcher</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>72997</commentid>
    <comment_count>0</comment_count>
    <who name="Chin Kooi KHOR">chin.kooi.khor</who>
    <bug_when>2017-05-03 12:53:53 +0000</bug_when>
    <thetext>Default boot is from second partition. Request to provide flexibility and configurability to boot from any partition.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73192</commentid>
    <comment_count>1</comment_count>
    <who name="Mikko Ylinen">mikko.ylinen</who>
    <bug_when>2017-05-11 14:51:53 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt; Default boot is from second partition. Request to provide flexibility and
&gt; configurability to boot from any partition.

FYI: Ed is working on a related topic in bug 10073. 

Can you be more specific in which configuration the default is &apos;second partition&apos;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73224</commentid>
    <comment_count>2</comment_count>
    <who name="sweeaun">swee.aun.khor</who>
    <bug_when>2017-05-12 01:32:54 +0000</bug_when>
    <thetext>
Miko,

Thanks for remind Ed&apos;s work on bug 10073. 

Just to clarify, it should be &quot;Default boot is from first partition&quot; instead of &quot;Default boot is from second partition&quot;

This bug is to provide flexibility to boot from other partition instead of first partition.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73228</commentid>
    <comment_count>3</comment_count>
    <who name="Mikko Ylinen">mikko.ylinen</who>
    <bug_when>2017-05-12 03:29:44 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt;
&gt; 
&gt; This bug is to provide flexibility to boot from other partition instead of
&gt; first partition.

What kind of flexibility? An option in the bootloader menu or a build time setting?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73229</commentid>
    <comment_count>4</comment_count>
    <who name="sweeaun">swee.aun.khor</who>
    <bug_when>2017-05-12 07:21:04 +0000</bug_when>
    <thetext>Based on our investigation so far, system-boot doesn&apos;t allow to boot from another partition. 
At this point, we thought of trying to change the startup.nsh file which happened before system-boot. We still on the investigation stage to find a way for this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73232</commentid>
    <comment_count>5</comment_count>
    <who name="Mikko Ylinen">mikko.ylinen</who>
    <bug_when>2017-05-12 11:43:25 +0000</bug_when>
    <thetext>(In reply to comment #4)
&gt; Based on our investigation so far, system-boot doesn&apos;t allow to boot from
&gt; another partition. 

Is this with refkit or with core-image? If it&apos;s the latter, it&apos;s possible to install multiple labels that show in the boot menu.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73271</commentid>
    <comment_count>6</comment_count>
    <who name="sweeaun">swee.aun.khor</who>
    <bug_when>2017-05-16 01:43:40 +0000</bug_when>
    <thetext>It is with core-image-minimal. 

We tried to add multiple labels that show in the boot menu(add more conf file in entries directory), but that only allow boot Images that within the partition. 

We added startup.nsh script in the boot partition and that allow us to boot Images from different partition. We are double checking with requester about this requirement before do implementation.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73436</commentid>
    <comment_count>7</comment_count>
    <who name="sweeaun">swee.aun.khor</who>
    <bug_when>2017-05-22 23:17:49 +0000</bug_when>
    <thetext>we able to boot from other boot partition by using EFI script (startup.nsh) at EFI boot partition. 
However, requestor decided not to pursue this implementation as they will redefine the requirement.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73579</commentid>
    <comment_count>8</comment_count>
    <who name="sweeaun">swee.aun.khor</who>
    <bug_when>2017-05-31 08:13:57 +0000</bug_when>
    <thetext>This requirement is not valid now.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>