Skip to main content

Erase eMMC or SPI Flash

Enter to Maskrom Mode

Disconnect the board power and remove the microSD card.

Detailed steps:

① If the board has SPI Flash, connect the corresponding SPI Flash pins to GND

② Use a USB Type-A to USB Type-A cable to connect the board and computer

③ Press and hold the Maskrom button before powering the board

④ Power the board using the power adapter

⑤ Release the Maskrom button after the board is powered

rock 4 maskrom button

If the board power LED stays solid green, it indicates successful entry into Maskrom mode.

Erase eMMC

  1. Generate zero.img

    dd if=/dev/zero of=./zero.img bs=1M count=64
  2. Make sure the host recognises Maskrom

    sudo rkdeveloptool ld
    DevNo=1 Vid=0x2207,Pid=0x350a,LocationID=109 Maskrom
  3. Flash Loader

sudo rkdeveloptool db rk3399_loader_spinor_v1.15.114.bin

  1. Erase eMMC
sudo rkdeveloptool wl 0 zero.img
  1. Reboot
sudo rkdeveloptool rd

Erase SPI Flash

  1. Make sure the host recognises Maskrom

    sudo rkdeveloptool ld
    DevNo=1 Vid=0x2207,Pid=0x350a,LocationID=109 Maskrom
  2. Flash Loader

sudo rkdeveloptool db rk3588_spl_loader_v1.15.113.bin

  1. Erase SPI Flash
sudo rkdeveloptool ef
  1. Reboot
sudo rkdeveloptool rd

    You need to be logged into GitHub to post a comment. If you are already logged in, please ignore this message.

    Radxa-docs © 2026 by Radxa Computer (Shenzhen) Co.,Ltd. is licensed under CC BY 4.0