There are 2 ways to flash the eMMC. The two methods below require a MicroSD card. For the other methods that does not need a MicroSD card, please see eMMC Flashing from Linux.
Requirements
- Proper Power Supply
- eMMC module attached
- MicroSD card
- Display or UART connection
Method 1: Flashing via u-boot UMS
- USB Type A to USB Type A cable
- USB Keyboard or UART connection
- Flash a MicroSD card with one of our images or libretech-flash-tool.
- Interrupt u-boot by pressing any key when you see
Hit any key to stop autoboot:
- Emulate a USB flash drive with the eMMC by interrupting u-boot and running:
ums 0 mmc 0
- Plug the USB Type A to USB Type A cable from the top USB port next to Ethernet into a computer’s USB Type A port. The eMMC device should appear as a flash drive.
- Use a bit-accurate flash tool to write an image to the eMMC.
Method 2: Flashing via Linux
- Network Connection or USB flash drive with image
- Flash a MicroSD card with Raspbian or Ubuntu.
- Download or copy the image to your OS.
- Extract the image.
- Use dd or Gnome Disk Utility to flash the eMMC. The eMMC should show up as
/dev/mmcblk0
. For dd,sudo dd if=IMAGE of=/dev/mmcblk0 bs=1M
. Replace IMAGE with the name of the extracted file. You can also dd the compressed image directly viaxz -cd IMAGE.xz | sudo dd of=/dev/mmcblk0 bs=1M
. Replace IMAGE.xz with the path to the compressed image.