2 Replies Latest reply on Sep 27, 2014 3:18 PM by Evinrude

    Build Intel Edison Yocto Image From Scratch

    Evinrude

      Hello,

       

      Not sure if this has already been asked, but I would like to know how to build an Intel Edison Yocto image from scratch and deploy it to the Intel Edison.

       

      I do not see an Intel Edison Board Support Package in the Yocto. "daisy" branch.

       

      Any help or "how to" is appreciated.

        • 1. Re: Build Intel Edison Yocto Image From Scratch
          nildeen

          I've done this using the Intel(R) Edison Board Support Package document Intel® Edison BSP User Guide

           

          Note that this document refers to a tar file which it does not point to.  I searched and found the file at Intel® Download Center File name: edison-src-weekly-68.tgz

           

          <edit>

          Ok, I've installed the custom built image onto the Edison now.

           

          After the build I ran the post build script:

          > ../utils/flash/postBuild.sh

          Then in the newly created toFlash directory I ran the script flashall.sh

           

          I rebooted the Edison and the image installed.

           

          > ./flashall.sh

          Using U-Boot target: edison-blank

          Now waiting for dfu device 8087:0a99

          Please plug and reboot the board

          Flashing IFWI

          ##################################################] finished!

          ##################################################] finished!

          Flashing U-Boot

          ##################################################] finished!

          Flashing U-Boot Environment

          ##################################################] finished!

          Flashing U-Boot Environment Backup

          ##################################################] finished!

          Flashing boot partition (kernel)

          ##################################################] finished!

          Flashing rootfs, (it can take up to 5 minutes... Please be patient)

          ##################################################] finished!

          Rebooting

          U-boot & Kernel System Flash Success...

          Your board needs to reboot twice to complete the flashing procedure, please do not unplug it for 2 minutes.

           

          After booting I checked that it was running my image:

           

          root@edison:~# dmesg | grep Linux

          [    0.000000] Linux version 3.10.17-poky-edison+ (dgriego@bls-dev) (gcc version 4.8.2 (GCC) ) #1 SMP PREEMPT Fri Sep 26 15:53:10 MST 2014

           

          Done :-)

          • 2. Re: Build Intel Edison Yocto Image From Scratch
            Evinrude

            Excellent!

             

            I have done the same and I now have a Yocto dev environment that I can use to customize the Linux side of the Edison.

             

            Thanks!