<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.radxa.com/mw/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.radxa.com/mw/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=9R</id>
		<title>Radxa Wiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.radxa.com/mw/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=9R"/>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Special:Contributions/9R"/>
		<updated>2026-06-13T09:18:54Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.23.3</generator>

	<entry>
		<id>https://wiki.radxa.com/Rockpi4/dev/spi-install</id>
		<title>Rockpi4/dev/spi-install</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Rockpi4/dev/spi-install"/>
				<updated>2022-11-12T08:25:59Z</updated>
		
		<summary type="html">&lt;p&gt;9R: add link to location of maskrom button&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{rockpi4_header}}&lt;br /&gt;
{{Languages|rockpi4/dev/spi-install}}&lt;br /&gt;
    [[rockpi4 | ROCK Pi 4]] &amp;gt; [[rockpi4/dev | Development]] &amp;gt; [[rockpi4/dev/spi-install | Write image to SPI flash from USB OTG port]]&lt;br /&gt;
&lt;br /&gt;
== Write image to SPI flash from USB OTG port ==&lt;br /&gt;
ROCK Pi 4 supports Maskrom mode, which is a special operation mode for CPU to wait for USB OTG port command. The Linux/macOS PC tool we use to communicate with ROCK Pi 4  in Maskrom mode are the '''rkdeveloptool''' and '''RKDevTool'''. We use tool rkdeveloptool in Linux/macOS and RKDevTool tool under Windows.&lt;br /&gt;
&lt;br /&gt;
=== Requirement ===&lt;br /&gt;
* ROCK (Pi) 4 mainboard&lt;br /&gt;
** ROCK (Pi) 4A, 4B, 4C&lt;br /&gt;
** ROCK 4 SE, 4A Plus, 4B Plus is not supported since no SPI Flash on the board &lt;br /&gt;
* Power adapter&lt;br /&gt;
* '''USB Male A to Male A cable'''(important) USB-C has been seen as not working, an adaptor for USB-C to USB-A has worked. [https://forum.radxa.com/t/otg-flashing-not-working/717 See discussion].&lt;br /&gt;
&lt;br /&gt;
=== Install Tools&amp;amp;Drivers ===&lt;br /&gt;
Please check this guide, [[rockpi4/install/rockchip-flash-tools | Install rockchip flash tools,  rkdeveloptool/RKDevTool, under Windows/Linux/MacOS PC]].&lt;br /&gt;
&lt;br /&gt;
=== Boot the board to maskrom mode ===&lt;br /&gt;
&lt;br /&gt;
==== Case 1: Empty SPI flash ====&lt;br /&gt;
&lt;br /&gt;
To boot ROCK Pi 4 into maskrom mode is simple, you don't need to press any key&lt;br /&gt;
&lt;br /&gt;
* Power off the board and '''remove any bootable storage media''', remove microSD card, remove eMMC module.&lt;br /&gt;
* Plug the USB Male A to Male A cable to ROCK Pi 4 OTG port (the upper USB3 port), the other side to PC&lt;br /&gt;
* Power on the board&lt;br /&gt;
&lt;br /&gt;
==== Case 2: Update SPI flash with bootloader inside ====&lt;br /&gt;
&lt;br /&gt;
If the SPI flash already contains a bootable bootloader, you need to disable the SPI flash at boot time by shortcut the SPI1_CLK to GND. Use wire to connect PIN '''23''' and '''25'''. Checkout the [https://wiki.radxa.com/Rockpi4/hardware/rockpi4#gpio Pinout]. &lt;br /&gt;
&lt;br /&gt;
Shown as following:&lt;br /&gt;
&lt;br /&gt;
[[File:Spi_clk_gnd.jpg | 500px]]&lt;br /&gt;
&lt;br /&gt;
* Use cable to connect PIN23 and PIN25&lt;br /&gt;
* Power off the board&lt;br /&gt;
* Remove any bootable storage media microSD card&lt;br /&gt;
* Remove/Disable eMMC module&lt;br /&gt;
** In case of eMMC is not on board: Remove eMMC module&lt;br /&gt;
** In case of eMMC is on board: Press and hold the Maskrom button to disable eMMC (Location of the button is described [https://wiki.radxa.com/Rockpi4/dev/usb-install#Boot_the_board_to_maskrom_mode here])&lt;br /&gt;
* Plug the USB Male A to Male A cable to ROCK Pi 4 OTG port (the upper USB3 port), the other side to PC&lt;br /&gt;
* Power on the board&lt;br /&gt;
* Release Maskrom button only when eMMC is on board&lt;br /&gt;
* '''Remove the cable and disconnect PIN23 and PIN25'''&lt;br /&gt;
&lt;br /&gt;
Now on your Linux PC, '''lsusb''' command show show the following usb devices&lt;br /&gt;
&lt;br /&gt;
    Bus 003 Device 005: ID 2207:330c&lt;br /&gt;
&lt;br /&gt;
It means the device is in '''maskrom mode''' now.&lt;br /&gt;
&lt;br /&gt;
* Now we can proceed the next step to flash.&lt;br /&gt;
&lt;br /&gt;
=== Step 3: Write to SPI flash via USB ===&lt;br /&gt;
On your PC, run the rkdeveloptool&lt;br /&gt;
&lt;br /&gt;
    rkdeveloptool ld        # List the device&lt;br /&gt;
    DevNo=1	Vid=0x2207,Pid=0x330c,LocationID=305	Maskrom&lt;br /&gt;
&lt;br /&gt;
Download the '''SPI loader''' (flash helper, important) to init the ram and prepare the flashing environment etc. If you don't have it, you can download it from [https://dl.radxa.com/rockpi/images/loader/spi/ here] downlad the rk3399_loader_spinor_v1.15.114.bin&lt;br /&gt;
&lt;br /&gt;
According to [https://forum.radxa.com/t/spi-nor-loader-flashing-doesnt-work-on-v1-72/7709 this thread] boards with v1.72 like the Rock 4C Plus require v1.20.126 of the SPI loader.bin, that can be found in [https://github.com/radxa/rkbin/blob/master/bin/rk33/rk3399_loader_spinor_v1.20.126.bin this git repo].&lt;br /&gt;
&lt;br /&gt;
    sudo rkdeveloptool db /path/to/rk3399_loader_spinor_v1.15.114.bin  # will output: Downloading bootloader succeeded.&lt;br /&gt;
&lt;br /&gt;
Write the packed SPI image of u-boot and trust.img, start to write from offset '''0'''. If you don't have it, you can download it from [https://dl.radxa.com/rockpi/images/loader/spi/ here] download the SPI Bootloader image.&lt;br /&gt;
&lt;br /&gt;
The latest version is '''2017.09-2697-ge41695afe3_20201219'''.&lt;br /&gt;
&lt;br /&gt;
* For ROCK Pi 4A&lt;br /&gt;
&lt;br /&gt;
    sudo rkdeveloptool wl 0 /path/to/rockpi4a-uboot-trust-spi_2017.09-2697-ge41695afe3_20201219.img    # will output: Write LBA from file (100%)&lt;br /&gt;
&lt;br /&gt;
* For ROCK Pi 4B&lt;br /&gt;
&lt;br /&gt;
    sudo rkdeveloptool wl 0 /path/to/rockpi4b-uboot-trust-spi_2017.09-2697-ge41695afe3_20201219.img    # will output: Write LBA from file (100%)&lt;br /&gt;
&lt;br /&gt;
* For ROCK Pi 4C&lt;br /&gt;
&lt;br /&gt;
    sudo rkdeveloptool wl 0 /path/to/rockpi4c-uboot-trust-spi_2017.09-2697-ge41695afe3_20201219.img    # will output: Write LBA from file (100%)&lt;br /&gt;
&lt;br /&gt;
Notes that writing SPI Bootloader image will take at least 15 seconds. If it goes fast, less than 3 seconds, there is something wrong with SPI Flash. Maybe need to change the SPI Flash.&lt;br /&gt;
&lt;br /&gt;
Reboot the device&lt;br /&gt;
&lt;br /&gt;
    sudo rkdeveloptool rd    # will output: Reset Device OK.&lt;br /&gt;
&lt;br /&gt;
Now the device should boot from the SPI flash now.&lt;br /&gt;
&lt;br /&gt;
=== FAQs ===&lt;br /&gt;
&lt;br /&gt;
==== Erase SPI flash on Windows PC ====&lt;br /&gt;
&lt;br /&gt;
When ROCK (Pi) 4 is in Maskrom, before flashing, please make sure that '''PIN23 and PIN25 on 40-PIN header is not connected.'''&lt;br /&gt;
&lt;br /&gt;
Double click the '''RKDevTool.exe''' and click button &amp;quot;Advanced Function&amp;quot; to get into '''Advanced Function''' window.&lt;br /&gt;
&lt;br /&gt;
[[File:Rockpi-4-erase-spi-nor-flash-1.png  | 1000px]]&lt;br /&gt;
&lt;br /&gt;
===== Step 1: Confirm &amp;quot;Found One Maskrom  Device&amp;quot; =====&lt;br /&gt;
If your ROCK (Pi) 4 is in Maskrom mode and connects to PC, you can see that RKDevTool shows '''Found one MASKROM Device'''.&lt;br /&gt;
&lt;br /&gt;
===== Step 2: Download RK3399 Loader =====&lt;br /&gt;
Choose loader rk3399_loader_spinor_v1.15.114.bin and download it.&lt;br /&gt;
&lt;br /&gt;
[[File:Rockpi-4-erase-spi-nor-flash-2.png  | 1000px]]&lt;br /&gt;
&lt;br /&gt;
===== Step 3: Erase device =====&lt;br /&gt;
Click button &amp;quot;EraseAll&amp;quot; to erase device.&lt;br /&gt;
&lt;br /&gt;
[[File:Rockpi-4-erase-spi-nor-flash-3.png  | 1000px]]&lt;br /&gt;
&lt;br /&gt;
===== Step 4: Reset device =====&lt;br /&gt;
Click button &amp;quot;ResetDevice&amp;quot; to reset device.&lt;br /&gt;
&lt;br /&gt;
[[File:Rockpi-4-erase-spi-nor-flash-4.png  | 1000px]]&lt;br /&gt;
&lt;br /&gt;
Erasing job is done.&lt;br /&gt;
&lt;br /&gt;
==== Erase images on SPI flash on Linux/macOS PC ====&lt;br /&gt;
&lt;br /&gt;
To erase images on SPI device, it's the same as writing the image to SPI flash, just the image we write is empty.&lt;br /&gt;
&lt;br /&gt;
Firstly, follow '''Step 1''' and  '''Step 2: Boot the board to maskrom mode, Case 2: Update SPI flash with bootloader inside''' above&lt;br /&gt;
to boot ROCK (Pi) 4 to maskrom mode.&lt;br /&gt;
&lt;br /&gt;
Secondly, on your Linux PC, create zero.img.&lt;br /&gt;
&lt;br /&gt;
    dd if=/dev/zero of=./zero.img bs=1M count=4&lt;br /&gt;
&lt;br /&gt;
Thirdly, flash zero.img to SPI device.&lt;br /&gt;
&lt;br /&gt;
    rkdeveloptool db rk3399_loader_spinor_v1.15.114.bin&lt;br /&gt;
    rkdeveloptool wl 0 zero.img&lt;br /&gt;
    rkdeveloptool rd    # will output: Reset Device OK.&lt;br /&gt;
&lt;br /&gt;
Finally, on your Linux PC, '''lsusb''' command show show the following usb devices&lt;br /&gt;
&lt;br /&gt;
    Bus 003 Device 005: ID 2207:330c&lt;br /&gt;
&lt;br /&gt;
It means the SPI image is erased successfully.&lt;br /&gt;
&lt;br /&gt;
==== Erase images on SPI flash on ROCK (Pi) 4 ====&lt;br /&gt;
&lt;br /&gt;
If you could boot into Linux and you have /dev/mtd* device available, you can use the following to erase the SPI flash.&lt;br /&gt;
&lt;br /&gt;
* For ROCK (Pi) 4A&lt;br /&gt;
&lt;br /&gt;
    sudo /usr/local/sbin/rockpi4a_erase_spi_flash.sh #related package: rockpi4a-rk-u-boot-latest&lt;br /&gt;
&lt;br /&gt;
* For ROCK (Pi) 4B&lt;br /&gt;
&lt;br /&gt;
    sudo /usr/local/sbin/rockpi4b_erase_spi_flash.sh #related package: rockpi4b-rk-u-boot-latest&lt;br /&gt;
&lt;br /&gt;
* For ROCK (Pi) 4C&lt;br /&gt;
&lt;br /&gt;
    sudo /usr/local/sbin/rockpi4c_erase_spi_flash.sh #related package: rockpi4c-rk-u-boot-latest&lt;br /&gt;
&lt;br /&gt;
=== Troubleshooting ===&lt;br /&gt;
&lt;br /&gt;
* If you have issue with flashing via USB OTG, start a new post on the forum. https://forum.radxa.com/c/dev&lt;/div&gt;</summary>
		<author><name>9R</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/Rockpi4/dev/spi-install</id>
		<title>Rockpi4/dev/spi-install</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/Rockpi4/dev/spi-install"/>
				<updated>2022-11-12T08:25:33Z</updated>
		
		<summary type="html">&lt;p&gt;9R: add link to SPI loader for v1.72  boards&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{rockpi4_header}}&lt;br /&gt;
{{Languages|rockpi4/dev/spi-install}}&lt;br /&gt;
    [[rockpi4 | ROCK Pi 4]] &amp;gt; [[rockpi4/dev | Development]] &amp;gt; [[rockpi4/dev/spi-install | Write image to SPI flash from USB OTG port]]&lt;br /&gt;
&lt;br /&gt;
== Write image to SPI flash from USB OTG port ==&lt;br /&gt;
ROCK Pi 4 supports Maskrom mode, which is a special operation mode for CPU to wait for USB OTG port command. The Linux/macOS PC tool we use to communicate with ROCK Pi 4  in Maskrom mode are the '''rkdeveloptool''' and '''RKDevTool'''. We use tool rkdeveloptool in Linux/macOS and RKDevTool tool under Windows.&lt;br /&gt;
&lt;br /&gt;
=== Requirement ===&lt;br /&gt;
* ROCK (Pi) 4 mainboard&lt;br /&gt;
** ROCK (Pi) 4A, 4B, 4C&lt;br /&gt;
** ROCK 4 SE, 4A Plus, 4B Plus is not supported since no SPI Flash on the board &lt;br /&gt;
* Power adapter&lt;br /&gt;
* '''USB Male A to Male A cable'''(important) USB-C has been seen as not working, an adaptor for USB-C to USB-A has worked. [https://forum.radxa.com/t/otg-flashing-not-working/717 See discussion].&lt;br /&gt;
&lt;br /&gt;
=== Install Tools&amp;amp;Drivers ===&lt;br /&gt;
Please check this guide, [[rockpi4/install/rockchip-flash-tools | Install rockchip flash tools,  rkdeveloptool/RKDevTool, under Windows/Linux/MacOS PC]].&lt;br /&gt;
&lt;br /&gt;
=== Boot the board to maskrom mode ===&lt;br /&gt;
&lt;br /&gt;
==== Case 1: Empty SPI flash ====&lt;br /&gt;
&lt;br /&gt;
To boot ROCK Pi 4 into maskrom mode is simple, you don't need to press any key&lt;br /&gt;
&lt;br /&gt;
* Power off the board and '''remove any bootable storage media''', remove microSD card, remove eMMC module.&lt;br /&gt;
* Plug the USB Male A to Male A cable to ROCK Pi 4 OTG port (the upper USB3 port), the other side to PC&lt;br /&gt;
* Power on the board&lt;br /&gt;
&lt;br /&gt;
==== Case 2: Update SPI flash with bootloader inside ====&lt;br /&gt;
&lt;br /&gt;
If the SPI flash already contains a bootable bootloader, you need to disable the SPI flash at boot time by shortcut the SPI1_CLK to GND. Use wire to connect PIN '''23''' and '''25'''. Checkout the [https://wiki.radxa.com/Rockpi4/hardware/rockpi4#gpio Pinout]. &lt;br /&gt;
&lt;br /&gt;
Shown as following:&lt;br /&gt;
&lt;br /&gt;
[[File:Spi_clk_gnd.jpg | 500px]]&lt;br /&gt;
&lt;br /&gt;
* Use cable to connect PIN23 and PIN25&lt;br /&gt;
* Power off the board&lt;br /&gt;
* Remove any bootable storage media microSD card&lt;br /&gt;
* Remove/Disable eMMC module&lt;br /&gt;
** In case of eMMC is not on board: Remove eMMC module&lt;br /&gt;
** In case of eMMC is on board: Press and hold the Maskrom button to disable eMMC&lt;br /&gt;
* Plug the USB Male A to Male A cable to ROCK Pi 4 OTG port (the upper USB3 port), the other side to PC&lt;br /&gt;
* Power on the board&lt;br /&gt;
* Release Maskrom button only when eMMC is on board&lt;br /&gt;
* '''Remove the cable and disconnect PIN23 and PIN25'''&lt;br /&gt;
&lt;br /&gt;
Now on your Linux PC, '''lsusb''' command show show the following usb devices&lt;br /&gt;
&lt;br /&gt;
    Bus 003 Device 005: ID 2207:330c&lt;br /&gt;
&lt;br /&gt;
It means the device is in '''maskrom mode''' now.&lt;br /&gt;
&lt;br /&gt;
* Now we can proceed the next step to flash.&lt;br /&gt;
&lt;br /&gt;
=== Step 3: Write to SPI flash via USB ===&lt;br /&gt;
On your PC, run the rkdeveloptool&lt;br /&gt;
&lt;br /&gt;
    rkdeveloptool ld        # List the device&lt;br /&gt;
    DevNo=1	Vid=0x2207,Pid=0x330c,LocationID=305	Maskrom&lt;br /&gt;
&lt;br /&gt;
Download the '''SPI loader''' (flash helper, important) to init the ram and prepare the flashing environment etc. If you don't have it, you can download it from [https://dl.radxa.com/rockpi/images/loader/spi/ here] downlad the rk3399_loader_spinor_v1.15.114.bin&lt;br /&gt;
&lt;br /&gt;
According to [https://forum.radxa.com/t/spi-nor-loader-flashing-doesnt-work-on-v1-72/7709 this thread] boards with v1.72 like the Rock 4C Plus require v1.20.126 of the SPI loader.bin, that can be found in [https://github.com/radxa/rkbin/blob/master/bin/rk33/rk3399_loader_spinor_v1.20.126.bin this git repo].&lt;br /&gt;
&lt;br /&gt;
    sudo rkdeveloptool db /path/to/rk3399_loader_spinor_v1.15.114.bin  # will output: Downloading bootloader succeeded.&lt;br /&gt;
&lt;br /&gt;
Write the packed SPI image of u-boot and trust.img, start to write from offset '''0'''. If you don't have it, you can download it from [https://dl.radxa.com/rockpi/images/loader/spi/ here] download the SPI Bootloader image.&lt;br /&gt;
&lt;br /&gt;
The latest version is '''2017.09-2697-ge41695afe3_20201219'''.&lt;br /&gt;
&lt;br /&gt;
* For ROCK Pi 4A&lt;br /&gt;
&lt;br /&gt;
    sudo rkdeveloptool wl 0 /path/to/rockpi4a-uboot-trust-spi_2017.09-2697-ge41695afe3_20201219.img    # will output: Write LBA from file (100%)&lt;br /&gt;
&lt;br /&gt;
* For ROCK Pi 4B&lt;br /&gt;
&lt;br /&gt;
    sudo rkdeveloptool wl 0 /path/to/rockpi4b-uboot-trust-spi_2017.09-2697-ge41695afe3_20201219.img    # will output: Write LBA from file (100%)&lt;br /&gt;
&lt;br /&gt;
* For ROCK Pi 4C&lt;br /&gt;
&lt;br /&gt;
    sudo rkdeveloptool wl 0 /path/to/rockpi4c-uboot-trust-spi_2017.09-2697-ge41695afe3_20201219.img    # will output: Write LBA from file (100%)&lt;br /&gt;
&lt;br /&gt;
Notes that writing SPI Bootloader image will take at least 15 seconds. If it goes fast, less than 3 seconds, there is something wrong with SPI Flash. Maybe need to change the SPI Flash.&lt;br /&gt;
&lt;br /&gt;
Reboot the device&lt;br /&gt;
&lt;br /&gt;
    sudo rkdeveloptool rd    # will output: Reset Device OK.&lt;br /&gt;
&lt;br /&gt;
Now the device should boot from the SPI flash now.&lt;br /&gt;
&lt;br /&gt;
=== FAQs ===&lt;br /&gt;
&lt;br /&gt;
==== Erase SPI flash on Windows PC ====&lt;br /&gt;
&lt;br /&gt;
When ROCK (Pi) 4 is in Maskrom, before flashing, please make sure that '''PIN23 and PIN25 on 40-PIN header is not connected.'''&lt;br /&gt;
&lt;br /&gt;
Double click the '''RKDevTool.exe''' and click button &amp;quot;Advanced Function&amp;quot; to get into '''Advanced Function''' window.&lt;br /&gt;
&lt;br /&gt;
[[File:Rockpi-4-erase-spi-nor-flash-1.png  | 1000px]]&lt;br /&gt;
&lt;br /&gt;
===== Step 1: Confirm &amp;quot;Found One Maskrom  Device&amp;quot; =====&lt;br /&gt;
If your ROCK (Pi) 4 is in Maskrom mode and connects to PC, you can see that RKDevTool shows '''Found one MASKROM Device'''.&lt;br /&gt;
&lt;br /&gt;
===== Step 2: Download RK3399 Loader =====&lt;br /&gt;
Choose loader rk3399_loader_spinor_v1.15.114.bin and download it.&lt;br /&gt;
&lt;br /&gt;
[[File:Rockpi-4-erase-spi-nor-flash-2.png  | 1000px]]&lt;br /&gt;
&lt;br /&gt;
===== Step 3: Erase device =====&lt;br /&gt;
Click button &amp;quot;EraseAll&amp;quot; to erase device.&lt;br /&gt;
&lt;br /&gt;
[[File:Rockpi-4-erase-spi-nor-flash-3.png  | 1000px]]&lt;br /&gt;
&lt;br /&gt;
===== Step 4: Reset device =====&lt;br /&gt;
Click button &amp;quot;ResetDevice&amp;quot; to reset device.&lt;br /&gt;
&lt;br /&gt;
[[File:Rockpi-4-erase-spi-nor-flash-4.png  | 1000px]]&lt;br /&gt;
&lt;br /&gt;
Erasing job is done.&lt;br /&gt;
&lt;br /&gt;
==== Erase images on SPI flash on Linux/macOS PC ====&lt;br /&gt;
&lt;br /&gt;
To erase images on SPI device, it's the same as writing the image to SPI flash, just the image we write is empty.&lt;br /&gt;
&lt;br /&gt;
Firstly, follow '''Step 1''' and  '''Step 2: Boot the board to maskrom mode, Case 2: Update SPI flash with bootloader inside''' above&lt;br /&gt;
to boot ROCK (Pi) 4 to maskrom mode.&lt;br /&gt;
&lt;br /&gt;
Secondly, on your Linux PC, create zero.img.&lt;br /&gt;
&lt;br /&gt;
    dd if=/dev/zero of=./zero.img bs=1M count=4&lt;br /&gt;
&lt;br /&gt;
Thirdly, flash zero.img to SPI device.&lt;br /&gt;
&lt;br /&gt;
    rkdeveloptool db rk3399_loader_spinor_v1.15.114.bin&lt;br /&gt;
    rkdeveloptool wl 0 zero.img&lt;br /&gt;
    rkdeveloptool rd    # will output: Reset Device OK.&lt;br /&gt;
&lt;br /&gt;
Finally, on your Linux PC, '''lsusb''' command show show the following usb devices&lt;br /&gt;
&lt;br /&gt;
    Bus 003 Device 005: ID 2207:330c&lt;br /&gt;
&lt;br /&gt;
It means the SPI image is erased successfully.&lt;br /&gt;
&lt;br /&gt;
==== Erase images on SPI flash on ROCK (Pi) 4 ====&lt;br /&gt;
&lt;br /&gt;
If you could boot into Linux and you have /dev/mtd* device available, you can use the following to erase the SPI flash.&lt;br /&gt;
&lt;br /&gt;
* For ROCK (Pi) 4A&lt;br /&gt;
&lt;br /&gt;
    sudo /usr/local/sbin/rockpi4a_erase_spi_flash.sh #related package: rockpi4a-rk-u-boot-latest&lt;br /&gt;
&lt;br /&gt;
* For ROCK (Pi) 4B&lt;br /&gt;
&lt;br /&gt;
    sudo /usr/local/sbin/rockpi4b_erase_spi_flash.sh #related package: rockpi4b-rk-u-boot-latest&lt;br /&gt;
&lt;br /&gt;
* For ROCK (Pi) 4C&lt;br /&gt;
&lt;br /&gt;
    sudo /usr/local/sbin/rockpi4c_erase_spi_flash.sh #related package: rockpi4c-rk-u-boot-latest&lt;br /&gt;
&lt;br /&gt;
=== Troubleshooting ===&lt;br /&gt;
&lt;br /&gt;
* If you have issue with flashing via USB OTG, start a new post on the forum. https://forum.radxa.com/c/dev&lt;/div&gt;</summary>
		<author><name>9R</name></author>	</entry>

	</feed>