My steps for a successful and speedy Yocto Edison build and flash for all the other newbies out there like me:
- Fresh install of Ubuntu Desktop 14.04.1 LTS
- Refresh the repository lists with the command "sudo apt-get update"
- Update your OS install with the command "sudo apt-get dist-upgrade"
- Get the necessary developer applications and tools with the command "sudo apt-get install build-essential git diffstat gawk chrpath texinfo libtool gcc-multilib"
- 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
- Configure your git user email with the command "git config --global user.email you@somedomain.whatever"
- Get the Edison Linux source files archive here
- Untar the archive. I put it in my home directory.
- cd to the edison-src/device-software directory and run ./setup.sh
- Get the number of processor cores available in your system with the following command: "
getconf _NPROCESSORS_ONLN"
Edit the ./build/conf/local.conf file by setting BB_NUMBER_THREADS equal to the number returned in step #10 multiplied by 2
- Set the number after PARALLEL_MAKE equal to the number returned in step #10 multiplied by 1.5 and then save the file
- Run command "source poky/oe-init-build-env"
- Run command "bitbake edison-image"
- 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.
- cd to /edison-src/device-software/utils/flash and run the commannd "./postBuild.sh"
- You may get some errors about "No such file or directory" which can be ignored
- cd to /edison-src/build/toFlash
- Install the DFU utilities with the command "sudo apt-get install dfu-util"
- If your Edison is plugged into your Linux system then unplug both USB cables from it so your Edison is powered off
- 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.
- Flashing will take awhile and the Edison will be reset twice so be patient
- Open a serial terminal connection to your Edison and log in as root with no password
- 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.