https://wiki.radxa.com/mw/index.php?title=Rockpi4/install/android-NVME&feed=atom&action=history
Rockpi4/install/android-NVME - Revision history
2024-03-28T23:03:55Z
Revision history for this page on the wiki
MediaWiki 1.23.3
https://wiki.radxa.com/mw/index.php?title=Rockpi4/install/android-NVME&diff=5246&oldid=prev
Hipboi at 07:29, 15 June 2020
2020-06-15T07:29:43Z
<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 07:29, 15 June 2020</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 3:</td>
<td colspan="2" class="diff-lineno">Line 3:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>{{Languages|rockpi4/install/android-NVME}}</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>{{Languages|rockpi4/install/android-NVME}}</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>[[rockpi4 | ROCK Pi 4]] > [[rockpi4/android-install | Install]] > [[rockpi4/install/android-NVME | Install on M.2 NVME SSD]]</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">    </ins>[[rockpi4 | ROCK Pi 4]] > [[rockpi4/android-install | Install]] > [[rockpi4/install/android-NVME | Install on M.2 NVME SSD]]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>==== Requirements ====</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>==== Requirements ====</div></td></tr>
</table>
Hipboi
https://wiki.radxa.com/mw/index.php?title=Rockpi4/install/android-NVME&diff=4478&oldid=prev
Ahren at 01:36, 9 January 2020
2020-01-09T01:36:53Z
<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 01:36, 9 January 2020</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 75:</td>
<td colspan="2" class="diff-lineno">Line 75:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* Plug the USB Male A to Male A cable to ROCK Pi 4 OTG port (the upper USB3 port), the other side to PC</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* Plug the USB Male A to Male A cable to ROCK Pi 4 OTG port (the upper USB3 port), the other side to PC</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* Power on the board</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>* Power on the board</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">* unconnect PIN23 and PIN25</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div><br></div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div><br></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
</table>
Ahren
https://wiki.radxa.com/mw/index.php?title=Rockpi4/install/android-NVME&diff=4200&oldid=prev
Ahren at 11:19, 2 December 2019
2019-12-02T11:19:29Z
<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 11:19, 2 December 2019</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 50:</td>
<td colspan="2" class="diff-lineno">Line 50:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>[[File:linux_etcher_show_complete.png]]</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>[[File:linux_etcher_show_complete.png]]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>Done! Now you have successfully installed the OS image on <del class="diffchange diffchange-inline">microSD card</del>.</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>Done! Now you have successfully installed the OS image on <ins class="diffchange diffchange-inline">M.2 NVME SSD</ins>.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div><br></div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div><br></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>==== Other ====</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>==== Other ====</div></td></tr>
</table>
Ahren
https://wiki.radxa.com/mw/index.php?title=Rockpi4/install/android-NVME&diff=4198&oldid=prev
Ahren: Created page with "{{rockpi4_header}} {{Languages|rockpi4/install/android-NVME}} ROCK Pi 4 > Install > rockpi4/install/android-NVME | Install on M..."
2019-12-02T10:15:08Z
<p>Created page with "{{rockpi4_header}} {{Languages|rockpi4/install/android-NVME}} <a href="/Rockpi4" title="Rockpi4"> ROCK Pi 4</a> > <a href="/Rockpi4/android-install" title="Rockpi4/android-install"> Install</a> > rockpi4/install/android-NVME | Install on M..."</p>
<p><b>New page</b></p><div>{{rockpi4_header}}<br />
<br />
{{Languages|rockpi4/install/android-NVME}}<br />
<br />
[[rockpi4 | ROCK Pi 4]] > [[rockpi4/android-install | Install]] > [[rockpi4/install/android-NVME | Install on M.2 NVME SSD]]<br />
<br />
==== Requirements ====<br />
This page describe how to download and install the android9 gpt image on a M.2 NVME SSD and boot on ROCK Pi 4. You need at least the following.<br />
<br />
* ROCK Pi 4 board with power supply<br />
* a M.2 NVME SSD<br />
* a PC/laptop running Windows or Linux or MacOS <br />
<br><br />
==== Etcher in Linux/Windows ====<br />
Etcher is the tool we use to write image. Download the right Etcher for your PC from [[Rockpi4/downloads]] page and install it. <br />
<br />
Check [[https://www.balena.io/etcher/ Etcher website]] for more info about Etcher. <br />
<br />
<br><br />
===== Step1: Download necessary tools and image =====<br />
Choose the image you want to install may be from [[Rockpi4/downloads]] page and unzip it. The unzipped image name is like below:<br />
<br />
rockpi-4b-*-gpt.img<br />
<br />
We will use it for the writing.<br />
<br />
<br><br />
===== Step2: Write the image to M.2 NVME SSD =====<br />
<br />
1. Insert the M.2 NVME to USB breakout board, which connects to host computer. <br />
<br />
2. Run the application, for example, by executing the command on Ubuntu 16.04:<br />
<br />
$ /bin/bash etcher-etcher-electron-1.4.5-x86_64.AppImage<br />
<br />
3. In the etcher window, we click button Select image.<br />
<br />
[[File:linux_etcher_select_image.png]]<br />
<br />
4. In the etcher window, we click button Select Drive.<br />
<br />
[[File:linux_etcher_select_driver.png]]<br />
<br />
5. In the etcher window, we click button Flash.<br />
<br />
[[File:linux_etcher_select_flash_button.png]]<br />
<br />
6. In the etcher window, it shows us Flash Complete!<br />
<br />
[[File:linux_etcher_show_complete.png]]<br />
<br />
Done! Now you have successfully installed the OS image on microSD card.<br />
<br><br />
==== Other ====<br />
Here's an easy way to do it on Linux<br />
<code bash><br />
radxa$ sudo chmod 777 /dev/<Your M.2 SSD device>*<br />
radxa$ umount /dev/<Your M.2 SSD device>*<br />
radxa$ dd if=rockdev/Image/rockpi-4b-*-gpt.img of=/dev/<Your M.2 SSD device> bs=4M status=progress<br />
radxa$ sync<br />
</code><br />
<br />
==== Write SPI Flash ====<br />
1. Boot To Maskrom Mode.<br />
<br><br />
Case 1: Empty SPI flash<br />
* Power off the board and '''remove any bootable storage media''', remove microSD card<br />
* Plug the USB Male A to Male A cable to ROCK Pi 4 OTG port (the upper USB3 port), the other side to PC<br />
* Power on the board<br />
<br><br />
Case 2: Bootable SPI flash<br><br />
[[File:Spi_clk_gnd.jpg | 400px]]<br><br />
* Use cable to connect PIN23 and PIN25<br />
* Power off the board and '''remove any bootable storage media''', remove microSD card<br />
* Plug the USB Male A to Male A cable to ROCK Pi 4 OTG port (the upper USB3 port), the other side to PC<br />
* Power on the board<br />
<br><br />
<br />
2. Write support android boot loader,uboot to spi flash.<br><br />
[https://github.com/radxa/manifests/releases/download/RockPi-android9-20190719_1734/rk3399_loader_spinor_v1.22.114.bin RockPi 4 Loader]<br><br />
[https://github.com/radxa/manifests/releases/download/RockPi-android9-20190719_1734/uboot-trust-spi.img RockPi 4 u-boot]<br><br />
<br />
Use upgrade_tool on Linux. [[ Android/upgrage_tool | Configuration upgrade_tool. ]]<br />
<code><br />
upgrade_tool db $(path)/rk3399_loader_spinor_v1.22.114.bin<br />
upgrade_tool wl 0 $(path)/uboot-trust-spi.img<br />
upgrade_tool rd<br />
</code><br />
3. Now the device should boot from the SPI flash now.<br />
<br />
==== FAQs ====<br />
<br><br />
===== 1. Erase images on SPI device =====<br />
To erase images on SPI device, just need the following steps.<br />
<br />
Firstly, follow '''Boot To Maskrom Mode -> Case2''' to boot ROCK Pi 4 to maskrom mode.<br />
<br />
Secondly, on your Linux PC, create zero.img.<br />
<code><br />
dd if=/dev/zero of=./zero.img bs=1M count=4<br />
</code><br />
Thirdly, flash zero.img to SPI device.<br />
<code><br />
rkdeveloptool db rk3399_loader_spinor_v1.15.114.bin<br />
rkdeveloptool wl 0 zero.img<br />
rkdeveloptool rd # will output: Reset Device OK.<br />
</code><br />
Finally, on your Linux PC, '''lsusb''' command show show the following usb devices<br />
<code><br />
Bus 003 Device 005: ID 2207:330c<br />
</code><br />
It means the SPI image is erased successfully.</div>
Ahren