Quantcast
Channel: Intel Communities: Message List
Viewing all articles
Browse latest Browse all 18089

Re: Sharing information about compiling Edison OS with Yocto.

$
0
0

My steps for a successful and speedy Yocto Edison build and flash for all the other newbies out there like me:

  1. Fresh install of Ubuntu Desktop 14.04.1 LTS
  2. Refresh the repository lists with the command "sudo apt-get update"
  3. Update your OS install with the command "sudo apt-get dist-upgrade"
  4. Get the necessary developer applications and tools with the command "sudo apt-get install build-essential git diffstat gawk chrpath texinfo libtool gcc-multilib"
  5. Configure your git user name with the command "git config --global user.name "Your git user name"" No quotes are needed around your user name
  6. Configure your git user email with the command "git config --global user.email you@somedomain.whatever"
  7. Get the Edison Linux source files archive here
  8. Untar the archive. I put it in my home directory.
  9. cd to the edison-src/device-software directory and run ./setup.sh
  10. Get the number of processor cores available in your system with the following command: "getconf _NPROCESSORS_ONLN"
  11. Edit the ./build/conf/local.conf file by setting BB_NUMBER_THREADS equal to the number returned in step #10 multiplied by 2
  12. Set the number after PARALLEL_MAKE equal to the number returned in step #10 multiplied by 1.5 and then save the file
  13. Run command "source poky/oe-init-build-env"
  14. Run command "bitbake edison-image"
  15. Sit back and let your system pull the necessary files and compile them, mine took 35 minutes but most systems will take a few hours.
  16. cd to /edison-src/device-software/utils/flash and run the commannd "./postBuild.sh"
  17. You may get some errors about "No such file or directory" which can be ignored
  18. cd to /edison-src/build/toFlash
  19. Install the DFU utilities with the command "sudo apt-get install dfu-util"
  20. If your Edison is plugged into your Linux system then unplug both USB cables from it so your Edison is powered off
  21. Flash your Edison with your newly compiled firmware with the command "sudo ./flashall.sh" which will prompt you to plug in your Edison board with the two USB connections.
  22. Flashing will take awhile and the Edison will be reset twice so be patient
  23. Open a serial terminal connection to your Edison and log in as root with no password
  24. Configure some basic settings on your Edison with the command "configure-edison --setup" which should now allow you to connect to your Edison over WiFi with SSH.

Viewing all articles
Browse latest Browse all 18089

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>