Saturday, February 4, 2017

Flash BeagleBone (Black Rev C) eMMC with Debian Jessie IoT


  • Download the latest image,

wget https://debian.beagleboard.org/images/bone-debian-8.6-iot-armhf-2016-12-09-4gb.img.xz

  • Then write the image in to your SD card,

xzcat bone-debian-8.6-iot-armhf-2016-12-09-4gb.img.xz | sudo dd of=/dev/sdc
sync

  • After the image is written to the SD card, mount the rootfs partition.
  • Then change directory to boot directory
  • vi uEnv.txt file and find below lines,

##enable Generic eMMC Flasher:
##make sure, these tools are installed: dosfstools rsync
#cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh

  • uncomment below line, save and exit

cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh


  • Enter the SD card in to the Beaglebone and connect the power. The OS will be flashed in to the eMMC for about 20 minutes and then all the LEDs will be turned off.
  • Remove the power code, then remove the SD card and connect the power again.