Orange pi: Difference between revisions

From 太極
Jump to navigation Jump to search
Line 5: Line 5:
* [https://wiki.radxa.com/Rock5/RK3588_vs_RK3588S RK3588 vs RK3588S]
* [https://wiki.radxa.com/Rock5/RK3588_vs_RK3588S RK3588 vs RK3588S]


== Booting from eMMC or NVME ==
== Booting from NVME ==
* The instruction on wiki [http://www.orangepi.org/orangepiwiki/index.php/Orange_Pi_5_Plus#The_method_of_using_the_dd_command_to_burn How to burn Linux image to SPIFlash+NVMe SSD->The method of using the dd command to burn] works when I tested on Debian 11 KDE Plasma installed on a SD card.
*# burn the u-boot image into the SPI Flash <syntaxhighlight lang='sh'>
sudo nand-sata-install
# select 7 Install/Update ther bootloader on SPI Flash
</syntaxhighlight>
*# use 'dd' to clear the NVMe SSD & burn the linux image to NVME SSD
* The NVME speed is 2046 MB/s by using the command '''sudo hdparm -t --direct /dev/nvme0n1p2''' . The NVME is inland TN450 (500GB).
* What is '''/dev/mtdblock0'''
** In the context of the Orange Pi 5 Plus, the /dev/mtdblock0 partition is used to store the bootloader.
** [https://github.com/Joshua-Riek/ubuntu-rockchip/wiki/Orange-Pi-5-Plus Booting directly from a USB or NVMe requires flashing U-Boot to the SPI].
** [https://forum.armbian.com/topic/26136-guide-how-to-boot-orange-pi-5-from-sata-m2-ssd-for-orange-pi-os-and-armbian/ How to boot Orange pi 5 from SATA m.2 SSD (for Orange pi OS and Armbian)]
 
== Booting from eMMC ==
* If you want to boot from eMMC on the Orange Pi 5 Plus, you would need to clear the '''/dev/mtdblock0''' partition. This is because the /dev/mtdblock0 partition typically contains the bootloader, and clearing it allows you to install a new bootloader that can boot from the eMMC.
** Here is a general guide on how you can do this: Boot Armbian from an SD card.
** Clear the SPI flash memory by running the following command in the terminal: '''sudo dd if=/dev/zero of=/dev/mtdblock0 bs=1M count=1'''
 
* [https://github.com/openFyde/overlay-orangepi5-openfyde OpenFyde]
 
* [https://opensource.rock-chips.com/wiki_Rkdeveloptool rkdeveloptool]
 
* [https://www.reddit.com/r/OrangePI/comments/15f6his/comment/k224a05/ Need help with Orange Pi 5 Plus emmc]
* [https://www.reddit.com/r/OrangePI/comments/15f6his/comment/k224a05/ Need help with Orange Pi 5 Plus emmc]
* [https://www.reddit.com/r/OrangePI/comments/189ecpm/need_help_with_orange_pi_5_plus_emmc_boot/ Need help with orange pi 5 plus emmc boot]. Use Josha's image. No Maskrom. '''rkdeveloptool''' & '''MiniLoaderAll.bin'''
* [https://www.reddit.com/r/OrangePI/comments/189ecpm/need_help_with_orange_pi_5_plus_emmc_boot/ Need help with orange pi 5 plus emmc boot]. Use Josha's image. No Maskrom. '''rkdeveloptool''' & '''MiniLoaderAll.bin'''
* [https://youtu.be/5q_tytwmseg?si=S7gAMeY7ke2OBVTV&t=589 NEW Orange Pi 5B. Installing Custom Ubuntu to eMMC drive]. Windows OS is required. RKDevTool is needed. 1. install a driver (DriverAssistant). Run DriverInstall.exe, 2. Run RKDevTool.exe. [https://www.youtube.com/playlist?list=PLMJAjiTgBtFn7JSmTE73mj9u_r_6ijuqj Full list of videos] from leepsvideo.  
* [https://youtu.be/5q_tytwmseg?si=S7gAMeY7ke2OBVTV&t=589 NEW Orange Pi 5B. Installing Custom Ubuntu to eMMC drive]. Windows OS is required. RKDevTool is needed. 1. install a driver (DriverAssistant). Run DriverInstall.exe, 2. Run RKDevTool.exe. [https://www.youtube.com/playlist?list=PLMJAjiTgBtFn7JSmTE73mj9u_r_6ijuqj Full list of videos] from leepsvideo.  
* [https://github.com/Joshua-Riek/ubuntu-rockchip/wiki/Orange-Pi-5-Plus Booting directly from a USB or NVMe requires flashing U-Boot to the SPI].
* Armbian [https://forum.armbian.com/topic/28035-orangepi-5b-can-not-boot-from-emmc/ Orangepi 5B can not boot from emmc]
* Armbian [https://forum.armbian.com/topic/28035-orangepi-5b-can-not-boot-from-emmc/ Orangepi 5B can not boot from emmc]
* Using [https://youtu.be/A4dggxf-smU?si=vO2OJdeweO_f9V1n&t=1414 Windows VM on a Linux]
* Using [https://youtu.be/A4dggxf-smU?si=vO2OJdeweO_f9V1n&t=1414 Windows VM on a Linux]
* [https://wiki.radxa.com/Rock3/install/rockchip-flash-tools RKDevTool/rkdeveloptool] by radxa.com.
* [https://wiki.radxa.com/Rock3/install/rockchip-flash-tools RKDevTool/rkdeveloptool] by radxa.com.

Revision as of 20:39, 5 December 2023

Orange pi 5 plus

Booting from NVME

Booting from eMMC

  • If you want to boot from eMMC on the Orange Pi 5 Plus, you would need to clear the /dev/mtdblock0 partition. This is because the /dev/mtdblock0 partition typically contains the bootloader, and clearing it allows you to install a new bootloader that can boot from the eMMC.
    • Here is a general guide on how you can do this: Boot Armbian from an SD card.
    • Clear the SPI flash memory by running the following command in the terminal: sudo dd if=/dev/zero of=/dev/mtdblock0 bs=1M count=1