Orange pi

From 太極
Revision as of 10:27, 10 December 2023 by Brb (talk | contribs) (→‎Tips)
Jump to navigation Jump to search

Orange pi 5 plus

Booting from eMMC

  • Enable to boot from eMMC is more convenient since it asks to clear SPIflash. Therefore, we can easily to switch to boot from eMMC or SD card.
    • By default SD card has a higher priority to boot than eMMC.
    • I can use eMMC as the main OS storage and use SD card to play with different OSs.
    • Even I follow the instruction to use RKDevTool to put a Linux image onto eMMC, I still cannot boot from eMMC until I clear SPIflash.
    • eMMC is /dev/mmcblk1, speed is 271 MB/s (sudo hdparm -t --direct /dev/mmcblk1p2 )
    • SD is /dev/mmcblk0, speed is 62 MB/s (sudo hdparm -t --direct /dev/mmcblk0p2 )
  • From Linux
$ ls -l /dev/mtdblock0
brw-rw---- 1 root disk 31, 0 Dec 10 06:00 /dev/mtdblock0
  • 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

Booting from NVME

Android OS

  • For enhanced security, it is recommended to install the SDDiskTool on a virtual machine or a non-critical Windows system. This precautionary measure can help mitigate potential security risks. I experienced a blue screen error during my initial use of the software, which underscores the importance of this safety advice..
  • The instructions provided for installing onto an SD card work. However, to successfully boot from the SD card, it is necessary to remove the eMMC first.

Tips