<?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>8719</bug_id>
          
          <creation_ts>2015-11-24 00:02:44 +0000</creation_ts>
          <short_desc>Ensure bootable images can be supported by wic for all reference BSPs</short_desc>
          <delta_ts>2017-01-17 09:49:55 +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>Scripts and Tools</component>
          <version>2.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugzilla.yoctoproject.org/show_bug.cgi?id=10593</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>LET</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>2.3 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Ed Bartosh">eduard.bartosh</assigned_to>
          <cc>benjamin.esquivel</cc>
    
    <cc>dvhart</cc>
    
    <cc>kexin.hao</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>ross.burton</cc>
    
    <cc>sgw</cc>
    
    <cc>tom.zanussi</cc>
    
    <cc>yi.zhao</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>56716</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2015-11-24 00:02:44 +0000</bug_when>
    <thetext>Ideally we want one standard method to produce bootable images for all of the reference boards, and wic ought to be the tool to support this. In practice what this will mean is ensuring README.hardware specifies wic as the primary way (if not the only way) to produce images for all of the supported devices.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56727</commentid>
    <comment_count>1</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2015-11-24 09:30:28 +0000</bug_when>
    <thetext>Where can I find a list of reference BSPs?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56728</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2015-11-24 10:14:50 +0000</bug_when>
    <thetext>The machines defined in meta-yocto-bsp.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58442</commentid>
    <comment_count>3</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2016-02-02 13:16:58 +0000</bug_when>
    <thetext>I&apos;m still puzzled with this bug. The description is too generic to me.

Does this bug means that I need to generate bootable images for all boards mentioned here http://git.yoctoproject.org/cgit.cgi/meta-yocto/tree/README.hardware and change image instructions in that file?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58469</commentid>
    <comment_count>4</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2016-02-02 19:39:29 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; Does this bug means that I need to generate bootable images for all boards
&gt; mentioned here
&gt; http://git.yoctoproject.org/cgit.cgi/meta-yocto/tree/README.hardware and
&gt; change image instructions in that file?

Yes, that&apos;s what I meant.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59783</commentid>
    <comment_count>5</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2016-03-08 09:30:49 +0000</bug_when>
    <thetext>Moving to 2.2 as I will not have time for this in 2.1 time frame.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66246</commentid>
    <comment_count>6</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2016-09-16 14:46:01 +0000</bug_when>
    <thetext>As a first step we&apos;ll try to make wic images produced by default for reference BSPs. I&apos;m going to start with genericx86 and genericx86_64.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66353</commentid>
    <comment_count>7</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2016-09-20 09:31:29 +0000</bug_when>
    <thetext>Enabled wic images for genericx86* BSPs: https://lists.yoctoproject.org/pipermail/poky/2016-September/010692.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66467</commentid>
    <comment_count>8</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2016-09-22 08:19:26 +0000</bug_when>
    <thetext>Enabled building of wic images for Beaglebone BSP: https://lists.yoctoproject.org/pipermail/poky/2016-September/010714.html

Successfully tested on BBB(Beaglebone Black).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66470</commentid>
    <comment_count>9</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2016-09-22 09:08:32 +0000</bug_when>
    <thetext>So far I was able to test wic images on generic x86-64(my desktop) and Beaglebone hardware. There are 2 more reference BSPs mentioned in README.hardware that I don&apos;t have:
- Freescale MPC8315E-RDB
- Ubiquiti Networks EdgeRouter Lite

Can you suggest how should I proceed with this bug further without having access to the hardware?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66471</commentid>
    <comment_count>10</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2016-09-22 09:17:43 +0000</bug_when>
    <thetext>Well, they have both of those in London AFAIK, obviously that&apos;s still some distance away but you could get one of the folks there to help. Aside from that README.hardware and the BSP should cover the basics of how these devices should be set up to boot.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66727</commentid>
    <comment_count>11</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2016-09-29 15:38:30 +0000</bug_when>
    <thetext>We need to update the README.hardware file to remove the older Intel hardware and include at least the standard NUC and MB hardware, not sure if we should include any other hardware</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67084</commentid>
    <comment_count>12</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2016-10-10 08:53:33 +0000</bug_when>
    <thetext>Status update.

Set of wic fixes related to this bug were accepted recently to oe-core master:

Added support for PARTUUID for MBR partitions: http://lists.openembedded.org/pipermail/openembedded-core/2016-October/127339.html

Updated kernel command line in wks files:
http://lists.openembedded.org/pipermail/openembedded-core/2016-October/127361.html
http://lists.openembedded.org/pipermail/openembedded-core/2016-October/127380.html
http://lists.openembedded.org/pipermail/openembedded-core/2016-October/127418.html


There are also some patches under review:

 Usage of GPT table in all EFI .wks files: http://lists.openembedded.org/pipermail/openembedded-core/2016-October/127419.html

 Produce EFI images for genericx86* machines: https://lists.yoctoproject.org/pipermail/poky/2016-October/010742.html

 Update for README.hardware: https://lists.yoctoproject.org/pipermail/poky/2016-October/010741.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67173</commentid>
    <comment_count>13</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2016-10-12 11:02:40 +0000</bug_when>
    <thetext>Updated instructions for Beaglebone: https://lists.yoctoproject.org/pipermail/poky/2016-October/010749.html

Please, review.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67257</commentid>
    <comment_count>14</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2016-10-14 08:52:55 +0000</bug_when>
    <thetext>Edgerouter changes submitted for review
[poky] [PATCH] edgerouter.conf: produce wic images for Edgerouter
https://lists.yoctoproject.org/pipermail/poky/2016-October/010754.html

[poky] [PATCH] README.hardware: update Edgerouter section
https://lists.yoctoproject.org/pipermail/poky/2016-October/010755.html

Saul, thank you for the help!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67718</commentid>
    <comment_count>15</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2016-10-28 11:55:08 +0000</bug_when>
    <thetext>Moving to 2.3M1 as there work for Freescale MPC8315E-RDB hardware is not done yet.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68574</commentid>
    <comment_count>16</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2016-11-24 14:46:09 +0000</bug_when>
    <thetext>Configured wic image building for qemux86* machines: http://lists.openembedded.org/pipermail/openembedded-core/2016-November/129219.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68594</commentid>
    <comment_count>17</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2016-11-25 13:03:31 +0000</bug_when>
    <thetext>Status update:
 All BSPs except of Freescale MPC8315 have been successfully tested
 machine configurations have been updated to produce wic images by default for genericx86_64, genericx86, beaglebone and edgerouter machines

Freescale MPC8315 machine I&apos;ve got seem to be dead. I couldn&apos;t get into u-boot prompt on serial console. The only way to get it back to live I know about is to cold flash it using CodeWarrior flasher. However, this requires to use USB TAP device similar to this one http://uk.farnell.com/freescale-semiconductor/cwh-ctp-base-he/kit-codeworrior-tap-usb-eth/dp/2279949?MER=sy-me-pd-mi-acce which I don&apos;t have.

I need a suggestion how to proceed further with this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68595</commentid>
    <comment_count>18</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2016-11-25 13:26:47 +0000</bug_when>
    <thetext>A bit more details about MPC 8315:

I&apos;ve tried to reflash it with IC2 bootloader embedded into the device.

kermit u-boot transfers u-boot.bin successfully, but after that device u-boot failed to erase flash.
Here is what I see on the screen:

---

## DONE binary (kermit) download

Serial Download Done

Flash Init Done

detected flash



...... done

Flash not Erased

The write error has occured and flash cann&apos;t be written

---

I tried to flash recent and original u-boot.bin but the error was always the same.

I&apos;d appreciate any help with this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68809</commentid>
    <comment_count>19</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2016-12-02 11:09:33 +0000</bug_when>
    <thetext>With a great help from Yi Zhao we had some progress with MPC8315. Now the process is much more simple, i.e. it doesn&apos;t require dealing with NFS root.
The work is still in progress, but almost finished. You can see details in bug 10593.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69034</commentid>
    <comment_count>20</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2016-12-12 12:18:35 +0000</bug_when>
    <thetext>Moving to M2 as work on MPC8315 is still ongoing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69188</commentid>
    <comment_count>21</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2016-12-16 17:26:55 +0000</bug_when>
    <thetext>Added wks file for MPC8315: http://lists.openembedded.org/pipermail/openembedded-core/2016-December/130296.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69345</commentid>
    <comment_count>22</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2016-12-22 21:18:06 +0000</bug_when>
    <thetext>Added beaglebone.wks to meta-yocto-bsp/wic/ https://lists.yoctoproject.org/pipermail/poky/2016-December/010848.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69508</commentid>
    <comment_count>23</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2017-01-05 10:07:18 +0000</bug_when>
    <thetext>enabled producing wic images for MPC8315: https://lists.yoctoproject.org/pipermail/poky/2016-December/010847.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69631</commentid>
    <comment_count>24</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2017-01-09 18:58:20 +0000</bug_when>
    <thetext>Added edgerouter.wks to meta-yocto-bsp/wic/: https://lists.yoctoproject.org/pipermail/poky/2017-January/010860.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69636</commentid>
    <comment_count>25</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2017-01-09 20:42:37 +0000</bug_when>
    <thetext>Added flashing instructions for MPC8315E-RDB: https://lists.yoctoproject.org/pipermail/poky/2017-January/010861.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69637</commentid>
    <comment_count>26</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2017-01-09 21:59:26 +0000</bug_when>
    <thetext>Added genericx86.wks to meta-yocto-bsp/wic: https://lists.yoctoproject.org/pipermail/poky/2017-January/010863.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69666</commentid>
    <comment_count>27</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2017-01-10 18:25:58 +0000</bug_when>
    <thetext>All patches have been sent for review.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69847</commentid>
    <comment_count>28</comment_count>
    <who name="Ed Bartosh">eduard.bartosh</who>
    <bug_when>2017-01-17 09:49:55 +0000</bug_when>
    <thetext>All changes have been accepted to poky master.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>