bb-beagle-flasher loop: microSD card keeps flashing eMMC on every boot instead of normal booting

Hi everyone,

I am using a BeagleBone Black running the latest Debian 13 (Trixie) image. I recently used the pre-installed bb-beagle-flasher tool to turn my microSD card into an auto-flasher to copy my setup over to the eMMC.

To do this, I booted from the eMMC with a blank microSD card inserted and ran:
sudo beagle-flasher

Once that completed, I booted from the microSD card once and ran:
sudo enable-beagle-flasher
sudo systemctl poweroff

The Issue:
The flashing process works perfectly. However, the microSD card is now stuck in a permanent flashing loop. Whenever I insert this microSD card and try to boot from it normally, it immediately starts flashing the eMMC all over again instead of booting into the OS.

I want this microSD card to function as a normal bootable card again now that the eMMC flashing is finished.

My Questions:

  1. How do I disable or clear the persistent auto-flash script/flag on the microSD card so it boots normally?

  2. Which file or environment variable (e.g., in uEnv.txt) do I need to comment out or delete to stop the init-beagle-flasher script from triggering on every boot?

Any guidance on how to safely revert the card back to a standard bootable state would be greatly appreciated!

Thanks in advance.

What happens if you remove the sd card, and then power in the board? What I suspect is in current mode, it boots from the sd card, before trying the emmc. As the sd card has something it can start, that is what takes priority. Anyway if you remove the sd card, then as the machine can’t boot from there, it will then try the emmc. Iirc there is a switch somewhere that changes the boot sequence, must have been a decade of more since I last used it - so it’s not fresh in my mind. Robert will know …

If you boot from the eMMC and plug the microSD in afterwards, can’t everything on it be accessed via a file mount. Is there anything valuable on the microSD that needs to be moved off it and backed up? Ideally, I’d want back up the image and reflash the card, or even reformat it.

when im booting from eMMC memory. and try to create or edit file at /etc/ssh/sshd_config.d/ location. im getting “NOT having space to write” message and not able to save the file. that’s why im trying to boot from SD card so can do the changes, but automatically its going to emmc flasher

Comment out the last line in uEnv.txt that calls init flasher directly.