How to flash onboard emmc on rock pi 4

Is there a guide?

I’m guessing I have to use some jumpers and some software to flash the onboard non-removable emmc?

Also I’m guessing this is done over one of the USB ports?

Thanks.

Check the wiki
https://wiki.radxa.com/Rockpi4

The emmc is removable.
Did you buy it together with the board?

you can try to boot from sd card and then flash img to emmc using dd command

It’s not removable

I’ll try that thanks, is there a guide anywhere?

no guide, just use this command

# mmcblkX is the name of emmc
dd if=/path/to/img of=/dev/mmcblkX bs=16M 

a bit unrelated should this image work on rock 4a?
https://dl.radxa.com/rockpi4/images/debian/rockpi4b_debian_buster_xfce4_arm64_20210608_1321-gpt.img.gz

i don’t know. i don’t have any rock 4 board. you can try to flash it to a tf card and boot from this tf card to konw if it works.

Yes, this one can work on rock 4a.

I think I got it copied over to the emmc but is there a way to enable ssh before I restart to boot off the emmc? I used raspberry pi imager on the micro sd to enable ssh.

rock@rockpi4b:/mnt/share/nmshare$ sudo bash -c ‘pv -ptera < rockpi4b_debian_buster_xfce4_arm64_2 0210608_1321-gpt.img | dd of=/dev/mmcblk1 obs=512’
0:06:52 [6.93MiB/s] [6.93MiB/s] [============================================>] 100%
5859375+0 records in
5859375+0 records out
3000000000 bytes (3.0 GB, 2.8 GiB) copied, 415.983 s, 7.2 MB/s

@Joeddox - Not sure what you’re asking?

You install an image (Operating System) on the EMMC chip of the board. You let it boot.
You can then install the SSH service on this board with your keyboard (terminal)?

There are certain images/OS (DietPi) that will (I think) allow you to auto-start an ssh server at boot by creating an “ssh” file in the boot folder of the image.

touch /boot/ssh

Nothing is stopping you from setting up your own SSH server.

Sorry I was trying not to hook up a monitor and keyboard.