Farmbot OS build

Build firmware (under Ubuntu 16.04)



Build RPi Image
./scripts/build_firmware.sh rpi3
./scripts/clone_system.sh rpi3
./scripts/build_system.sh rpi3
./scripts/build_release_images.sh rpi3 5.0.6
# ./scripts/sign_release.sh # skip for now

Issue may occur: 
  • vi ./nerves/NERVES_SYSTEM_rpi3/host/usr/bin/automake
  • go to line 3936
  • replace “{“ with “\{“
  • replace “}” with “\}”
  • save file and run ./build_system.sh rpi3 again.

Issue may occur: 

  • According the discussion, there is a compression issue before 0.13.8, but Farmbot used 0.5.x for development. Therefore I decided to use the newest version. By modify the following file, we’ll be able to skip the problem.

  • open ~/farmbot/os/scripts/clone_system.sh and mark line 14

# git checkout $NERVES_SYSTEM_BR_COMMIT




  • study nerves
  • study buildtool


測試中~ 仍然失敗!!

Farmbot OS build:
1. Install VirtualBox
2. Install Ubuntu 16.10 on VirtualBox
3. CPU set to 4
4. Use command line --
wget https://packages.erlang-solutions.com/erlang-solutions_1.0_&& sudo dpkg -i erlang-solutions_1.0_all.deb 
sudo apt-get update 
sudo apt-get install esl-erlang 
sudo apt-get install elixir
sudo apt-get install ssh-askpass