If you want or need to flash the micro SD Card image to the eMMC on the BBB, you can use that script that someone put together. I think @RobertCNelson threw it together for people to flash their eMMC from micro SD Card on the BBB (am335x supported SoC/SiP board).
Anyway, I think your questions is HOW to use it.
- try…
a.enable-beagle-flasheron the command line - If that does not work…
b.sudo enable-beagle-flasheron the command line - If that does not work…
c.sudo apt install beagle-flasher
and…
From what I can tell, the enable-beagle-flasher command works on a reboot into the system. You might also try:
beagle-flasher as a command to just copy the data from disk to eMMC.
I just picked this up from DigiKey…
When Debian 11.x (Bullseye) came out, i took some time to re-write the flasher’s… This was back ported to 20.04, and should be pre-installed on your image…
ubuntu@ubuntu:~$ dpkg --list | grep bb-beagle-flasher
ii bb-beagle-flasher 1.20220202.3-0~focal+20220301 armhf beagleboard.org beagle-flasher
There are two commands…
sudo enable-beagle-flasher
“enable-beagle-flasher” sets up the media to flash the ‘other’ media on the next reboot.
So, if you boot from microSD, that script would enable the microSD to flash the eMMC on the next boot.
The other:
sudo beagle-flasher
This is standalone and just copies the media over to the other media…
So, if you booted from microSD, it would directly copy that over to the eMMC… It’s not 100% safe, like the other, as you are running directly from it, but it’s good enough for most users. (if you have xorg/etc use the other…)…
So if your already running from the eMMC, i’d stick in a blank microSD and run:
sudo beagle-flasher
Once done, i’d then bootup ‘once’ with the microSD and run:
sudo enable-beagle-flasher
sudo systemctl poweroff
Now that microSD is setup for auto-flashing every board booted with it…
Regards,
That may be of help. That bit of info can be found here:
I am not even sure if those ideas are around still… Be careful!