Updating image on emmc w/o reaader

Hi all
I have lost the emmc to microsd adapter / reader. To move to Volumio 2, I would need to get the downloaded Volumio image onto the emmc card. Is there any way to do this w/o having an emmc to microsd adapter / reader.
Thanks a lot

Odroid?

1 Like

Yes, Odroid C2

1 Like

you have a PM

EDIT: Would you be able to at least flash an sd card?

When you can flash an SD card, this will work.

With a C2 the boot sequence is fixed, so we need to disable u-boot on the emmc (if it still boots from there)
We can cripple u-boot by overwriting the first few MBs.

  • boot from emmc, ssh into the C2 (or use a terminal session if you have ubuntu, debian or some other distro image) and do

sudo dd if=/dev/zero of=/dev/mmcblk0 bs=1M count=50 sync
Now u-boot has been destroyed, so it will not boot from emmc, next attempt will be SD card.

When done (or when emmc did not boot anyway)

  • flash Volumio 2 to the SD card
  • boot from SD
  • ssh into C2 and do

sudo dd if=/dev/mmcblk0 of=/dev/mmcblk1 bs=4M sync

reboot et voilà

-Gé-

That sound brilliant, gkkpch. First time I heard you need to break something to make something work. But it sounds plausible.
All the other solutions I found in various forums were quite complex and involved (I’m a relative noob when it comes to Unix).
I’ll give it a go and let you know.
Thanks a lot