Copy Radxa debian image to emmc on a rock 5b+

Hi, my 5B+ got delivered yesterday and I want to use the Radxa provided debian image to see how stable the system is. I got the image loaded on my sd card and was able to boot it that way. Is there an easy way to transfer this OS to the emmc? The documentation hasn’t been updated and it’s geared towards the older 5B which had a detachable emmc that you could plug into a computer with an adapter. Is there any command in the radxa image similar to armbian-install that can do this?

If You got that yesterday - just boot into mask room and flash system to eMMC or boot into desktop from SD and run balena to flash it.

Moving system is probably not supported, but You can do same thing as armbian install does - dd/resize2fs/update uuids, maybe regenerate ssh keys too. It’s not hard, you don’t need to update SPI for that.

You can remount your sd card as read only and dd the whole thing to the eMMC. I did this even without remounting as ro and never had any problems. Then just fix the backup GPT and resize the partition (can be done in gparted).

Thank you both for your suggestions. It is easy enough to remount the sd card as ro and copy over the data.

What I ended up doing was slightly more lazy. I booted from the sd card, downloaded the image and dd-ed into the emmc from the running distro. Something roughly similar to this:

wget https://github.com/radxa-build/rock-5b-plus/releases/download/rsdk-b2/rock-5b-plus_bookworm_kde_b2.output.img.xz
xz -d rock-5b-plus_bookworm_kde_b2.output.img.xz | dd of=/dev/mmcblk0 bs=4M status=progress

This is the best way to flash to eMMC indeed. I thought you had a reason to copy your system from the sd card.