Flashing eMMC

From wiki.ferrari.mo.it
Jump to navigation Jump to search

Flashing Beaglebone Black industrial eMMC[edit]

1. Download bone-eMMC-flasher-debian-10.3-iot-armhf-2020-04-06-4gb.img.xz file and extract the bone-eMMC-flasher-debian-10.3-iot-armhf-2020-04-06-4gb.img file inside it.

2. Use Balena Etcher (https://www.balena.io/etcher/) to flash it into a 4+GB flash card.

3. Put the flash card into the board, then press the "user boot" button (the on on the other side compared to the power). Keep it pressed after connecting the power, for at least 5 seconds.

4. Connect the debug pins. From the power connector, pin 1 = GND, pin 4 = RX (RX of debug USB device) and pin 5 = TX (RX of debug USB device).

5. Install CH340 driver (on Windows 10 it shoud be already present).

6. Check the COM port from Windows system devices. Connect it with 115200 BAUD rate.

7. If the setup is correct, it should automatically flash the eMMC (see logs in the debug) and shut down.

8. Remove the SD card and restart the board. If the board boots in less then a minute, don't worry about the

[    9.600479] musb-hdrc musb-hdrc.1: Babble
[    9.604548] musb-hdrc musb-hdrc.1: Babble
[    9.959551] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[    9.966227] usb usb1-port1: unable to enumerate USB device

errors in the console.

9. Login is debian / temppwd. If you connect the ethernet, 'ip addr' should show the ip address (default is DHCP).