This is the recommended method of flashing the Libre Computer eMMC modules. This method offers the fastest flashing speed for eMMC modules and can be used to flash in bulk. Our distributors offer cost effective bulk eMMC flashing service as well so please reach out to them if you need that service.
Requirements
Proper Power Supply
eMMC module attached
MicroSD card
Display or UART connection
Network Connection or USB flash drive with image
Steps
Flash a MicroSD card with any Linux image.
Download or copy the image to your OS.
Extract the image using xz -d IMAGE.xz.
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 via xz -cd IMAGE.xz | sudo dd of=/dev/mmcblk0 bs=1M. Replace IMAGE.xz with the path to the compressed image.
Bulk Flashing Hot-Plug eMMC Modules
eMMC modules can be hot-plugged to boards. After hot-plugging, you need to unbind and bind the eMMC so it detects the new module via the steps below:
How to force Le Potato to boot from uSD instead of eMMC?
I have previously flashed raspbian 11 to eMMC and it has been working well from that for a long while. Now I am trying to get raspbian 12 onto eMMC, and I’ve written raspbian 12 to a uSD and inserted it, but the potato always boots up into raspbian 11 on the eMMC.
But how do I boot from uSD if eMMC is also bootable? Can I force the potato to try uSD boot before eMMC boot? Or is there a boot selector that can be included by default in the eMMC image?
Le Potato does not have SPI flash for a bootloader so it has a fixed search sequence that is dumped onto UART. If you want to skip a certain device, remove the bootloader from the device via bs=512 seek=1 count=2047. This will wipe everything but the MBR table so you can maintain your data.
Hi!
I have the Solitude AML-S905D3-CC board.
I have the same problem, I already have a system on the eMMC, but I want to boot from an SD card. Can somebody help?
Thx
I’ve just done this and have the following workflow tips:
I was able to create a micro SD card to boot a Le Potato, and then added images to that card for both the Le Potato and also Renegade. Then I could create eMMC cards for both types of system from just one.
I also had problems getting the system to boot from the uSD card. My workaround was to remove the eMMC so that the only thing it could boot was the uSD card. Once booted, I “hot plugged” the eMMC - then did the unbind and bind so that the eMMC was seen by the system. After that I could flash it. I did not use the wiring tool mentioned on this page, but rather the command lines that are documented if you follow the “unbind and bind” link above.
If you are using Ubuntu Desktop, I recommend not to attach an Ethernet cable to the computer when you boot the uSD card. The first thing you will need to do is to install the system, and the unattended upgrade process will seriously get in the way. Once the system is installed, and then you reboot, wait for the first run programs to pop up and dismiss them. Don’t update yet. Once those are dismissed, then plug in the Ethernet and run the fix for the libretech keyring:
After that you can upgrade - but I skipped that on the uSD card because it was only gong to be used long enough to flash the eMMC
But the same goes for the first boot on the eMMC if it’s Ubuntu desktop. It will go much quicker if you don’t attach to a network while you install.