<?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>1636</bug_id>
          
          <creation_ts>2011-10-04 22:16:35 +0000</creation_ts>
          <short_desc>Upgrade to EFI</short_desc>
          <delta_ts>2012-03-14 22:47:51 +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>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>(P2)(QA Testing Completed) (Done)</status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>1.2 M4</target_milestone>
          
          <blocked>1919</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Song Liu">song.liu</reporter>
          <assigned_to name="Darren Hart">dvhart</assigned_to>
          <cc>dvhart</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>jiajun.xu</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>tom.zanussi</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>16707</commentid>
    <comment_count>0</comment_count>
    <who name="Song Liu">song.liu</who>
    <bug_when>2011-10-04 22:16:35 +0000</bug_when>
    <thetext>Where possible, update our existing BSPs to boot using EFI. This will support development of efilinux as well as help us prepare for the newer boards which will be EFI only.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17144</commentid>
    <comment_count>1</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2011-11-07 06:46:28 +0000</bug_when>
    <thetext>As for Design. We need to replace syslinux and GRUB on systems that support EFI with an EFI boot loader. I&apos;m proposing efilinux as it is small and supports our embedded model well. It does not have a menu system like elilo or egrub, but every EFI BIOS I have used to date allows for the use of a startup.nsh script which allows for modification of boot behavior.

We have initial recipes for gnu-efi and efilinux (thanks Paul E.). They now build, but the resulting binary doesn&apos;t work. It is possible this is related to building with gcc 4.6 as Matt Fleming (efilinux author) has not built with 4.6 himself.

Next steps include resolving the build issue, then auditing all the supported BSPs to determine which can boot over EFI. Following that, updating the dependencies and the README.hardware to reflect booting via EFI will complete the process.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17145</commentid>
    <comment_count>2</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2011-11-07 06:47:15 +0000</bug_when>
    <thetext>Tom, would you mind provide a &quot;Design Review&quot; of Comment 1 and let me know if you have any concerns with this approach.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17209</commentid>
    <comment_count>3</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2011-11-15 08:13:37 +0000</bug_when>
    <thetext>efilinux now builds and boots EFI enabled kernels successfully.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17303</commentid>
    <comment_count>4</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-11-21 17:55:26 +0000</bug_when>
    <thetext>For EFI testing, I suppose to define a BSP list, by defining which BSP will have EFI and legacy BIOS support, which BSP will only have EFI support. Then QA will test if these BSPs image could boot with EFI or legacy BIOS.
Moreover, QA will check if EFI and PCBIOS flags are set correct for these BSPs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18047</commentid>
    <comment_count>5</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-01-10 08:06:04 +0000</bug_when>
    <thetext>We now have full boot support for EFI integrated into bootimg. What remains is to make the installer EFI aware.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18214</commentid>
    <comment_count>6</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-01-18 11:24:09 +0000</bug_when>
    <thetext>Marking as resolved, will open a new bug for creating the installer.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18223</commentid>
    <comment_count>7</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-01-18 12:25:49 +0000</bug_when>
    <thetext>Bug 1919 has been opened to track the EFI installer.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18483</commentid>
    <comment_count>8</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2012-02-05 07:50:01 +0000</bug_when>
    <thetext>EFI is workable in 1.2 M2 testing.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>