Skip to content

1. Update Image

Johan Vandegriff edited this page Sep 2, 2022 · 6 revisions

Update BBB Image

Mac OS

  1. diskutil list
  2. diskutil unmountDisk /dev/diskN
  3. sudo dd bs=1m if=path_of_your_image.img of=/dev/rdiskN; sync
  4. sudo diskutil eject /dev/rdiskN
  5. Remove and replace sdcard
  6. Open a Linux VM, mount the sdcard and
    vim  /boot/uEnv.txt
    
    Change:
    ##enable BBB: eMMC Flasher:
    #cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh
    
    To:
    ##enable BBB: eMMC Flasher:
    cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh
    
  7. Update: for the newer image the uEnv.txt did not exist, so just rename bbb-uEnv.txt to uEnv.txt instead of the above process.
  8. cd /opt/scripts/
    git pull
    
  9. Insert sdcard into BBB.
  10. With BBB powered off, hold down the boot button, apply power.
    When the flashing is complete, all 4 USRx LEDs will be steady on or off. The latest Debian flasher images automatically power down the board upon completion. This can take up to 45 minutes. Power-down your board, remove the SD card and apply power again to finish.
  11. Remove sdcard and power on
  12. Check version cat /etc/dogtag or sudo /opt/scripts/tools/version.sh
  13. Update the system, as directed here, or run this script, which also sets up a lot more stuff for development.
sudo /opt/scripts/tools/update_kernel.sh
sudo apt update
sudo apt upgrade
cd /var/lib/cloud9
git pull

References

Clone this wiki locally