How-To Flash Beaglebone Black using Debian/Linux

Step 1

  • Download an image from the lastest images.

  • Extract the downloaded file.

    # xz -dk bone-debian-10.3-iot-armhf-*.img.xz
    

Step 2

  • Attach the SD Card and check it's device name (/dev/sdX).

    # sudo dmesg
    
  • Write the image to the SD Card.

    # sudo dd if=bone-debian-10.3-iot-armhf-*.img of=/dev/sdX bs=1M
    

Step 3

  • Insert SD Card in BBB.
  • Power ON BBB (Boots from SD Card).
  • Login and modify /boot/uEnv.txt file. Uncomment the cmdline option where it sets init as flashing script.
  • Save, Sync and Reboot.

Step 4

  • After flashing is done, Boot from SD Card.
  • Login and mount emmc device.
  • Revert the change made to /boot/uEnv.txt in emmc.
  • Save, Sync and PowerOff.
  • Remove SD Card.

130 Words

2023-01-06