radxa / meta-rockchip

Yocto BSP layer for the Rockchip SOC boards
MIT License
24 stars 14 forks source link

How to flash Rock 4 SE #5

Closed przemoch-dev closed 1 year ago

przemoch-dev commented 1 year ago

Hello,

project README says it was tested on rk3399 rock 4 se board. However, there is no instruction how to boot Rock 4 SE in maskrom mode. I'm trying to follow this instruction for Rock 4, but on SE there are no maskrom key. There is only some switch below USB port (on the other side of the PCB). I've been playing with this switch together with shorting SPI1_CLK to ground, without success.

I'm able to run the board in maskrom mode (I see it under lsusb) only when I completely remove SD card and eMMC module, but I would like to flash image to this emmc :)

Is there a way to flash image to eMMC or SD card on Rock 4 SE? Thanks.

RadxaStephen commented 1 year ago

1.Boot the board to maskrom mode

You will see maskrom device

rkdeveloptool ld

2.Flash the image to eMMC

rkdeveloptool db loader.bin
rkdeveloptool wl 0 core-image-minimal-rockchip-rk3399-rock-4se.wic
rkdeveloptool rd
przemoch-dev commented 1 year ago

Ok, it works. Thank you!