1 2 3 Previous Next 38 Replies Latest reply on Nov 26, 2014 1:11 PM by AlexT_Intel

    Sharing information about compiling Edison OS with Yocto.


      NOTE: Original post from Paul.Guermonprez on an internal forum.


      As I noticed many of us were interested in compiling Edison OS, I'm sharing here the procedure I follow to compile Yocto from the sources provided.

      Hope this helps some of us.



      # Compiling Edison OS


      using source files posted in theEdison - Software Downloads

      vim ./build/conf/local.conf (specify BB_NUMBER_THREAD and PARALLEL_MAKE (number of cores * 3) (96 in my case))
      source poly/oe-init-build-env
      bitbake edison-image


      Time: ~45 minutes (RAM 64GB, 32-core Xeon Phi)



      # Booting on the resulting image


      in device-software/utils/flash:




      to prepare for flashing (will gather files from images and flashing tools in the same folder)


      - all files you need for flashing are in build/toFlash

      - flash your device as described in reference doc.


      ./flashall.sh -b



      # Building the cross compile toolchain



      source poky/oe-init-build-env
      bitbake edison-image -c populate_sdk


      Time: ~40 minutes (RAM 64GB, 32-core Xeon Phi).


      Run the resulting script from /deploy/sdk/**.sh

      Keep default values (press enter)

      SDK is install in /opt/poky-edison/1.6/

      you can chroot sysroot/core2-32-poky-linux  and/or compile directly with gcc


      source /opt/poky-edison/1.6/environ***
      compile with ${CC} or ${CXX}



      # Custom version of Edison OS



      After you compiled everything once, I notice that the menu config option is available to customize your kernel.


      bitbake linux-yocto -c menuconfig
      bitbake edison-image


      NB: Do not exceed the default image size. Edison is formatted to receive a ~500MB system image.



        1 2 3 Previous Next