9 Replies Latest reply on Sep 25, 2016 9:10 PM by zhenyangwu

    Build image from source 20160606

    Andrey_Krizkiy

      Hi.

       

      I want to build the image for custom board. My steps:

      1. Download archive of sources http://iotdk.intel.com/src/3.5/edison/iot-devkit-yp-poky-edison-20160606.zip

      2. Extract archive (for me is /home/user/work/edison35).

      Selection_002.png

      3. Change directory to /home/user/work/edison35/iot-devkit-yp-poky-edison-20160606/poky/ and set environment vairables

      $ cd /home/user/work/edison35/iot-devkit-yp-poky-edison-20160606/poky/
      $ ~/work/edison35/iot-devkit-yp-poky-edison-20160606/poky$ source oe-init-build-env ../build_edison/
      ### Shell environment set up for builds. ###
      
      
      You can now run 'bitbake <target>'
      
      
      Common targets are:
          core-image-minimal
          core-image-sato
          meta-toolchain
          adt-installer
          meta-ide-support
      
      
      You can also run generated qemu images with a command like 'runqemu qemux86'
      user@user-virtual-machine:~/work/edison35/iot-devkit-yp-poky-edison-20160606/build_edison$
      
      
      
      
      
      
      

       

      4. Run bitbake build

      $ ~/work/edison35/iot-devkit-yp-poky-edison-20160606/build_edison$ bitbake edison-image u-boot
      

       

      Selection_003.png

       

      Question:

      1. Why build has warning and error? What must I do?

      2. Where can i read actual pdf about "building custom image edison from latest sources" ?