Orange pi: Difference between revisions
Jump to navigation
Jump to search
Line 61: | Line 61: | ||
= Armbian = | = Armbian = | ||
* [https://youtu.be/vui4cpcDH4A Orange Pi 5 Plus review with Armbian] (4k | * [https://youtu.be/vui4cpcDH4A Orange Pi 5 Plus review with Armbian] (4k) 12/13/2023 | ||
** How to build armbian | |||
** Use 'Disks' utility to write an image to SD card | |||
** Game testing | |||
** [https://github.com/ptitSeb/box64 box64] was used to run x86_64 Linux programs (such as games) on non-x86_64 Linux systems, like ARM. [https://en.wikipedia.org/wiki/H-Craft_Championship H-craft], [https://en.wikipedia.org/wiki/Colin_McRae_Rally_and_Dirt Colin McRae Rally], GTA3. | |||
** wine, TrackMania Nations Forever | |||
** RetroPie/emulationstation | |||
* [https://youtu.be/_7jQrXn8Yb0 The Orange Pi 5 just got a Great OS. Armbian Linux] 1/3/2023 | * [https://youtu.be/_7jQrXn8Yb0 The Orange Pi 5 just got a Great OS. Armbian Linux] 1/3/2023 | ||
= Tips = | = Tips = | ||
* [http://www.orangepi.org/orangepibbsen/forum.php?mod=viewthread&tid=144646 How to disable automatic login on latest Debian OPI 5] | * [http://www.orangepi.org/orangepibbsen/forum.php?mod=viewthread&tid=144646 How to disable automatic login on latest Debian OPI 5] |
Revision as of 11:22, 17 December 2023
Orange pi 5 plus
- Orange Pi 5 Plus (4GB/8GB/16GB)
- Wiki for Orange Pi 5 Plus.
- Orange pi 5 plus vs Orange pi 5. Orange pi 5 uses RK3588S & Gigabit ethernet but Orange Pi 5 plus uses RK3588 & 2.5G ethernet.
- RK3588 vs RK3588S
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
- Need help with Orange Pi 5 Plus emmc
- Need help with orange pi 5 plus emmc boot. Use Josha's image. No Maskrom. rkdeveloptool & MiniLoaderAll.bin
- 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. Full list of videos from leepsvideo.
- Armbian Orangepi 5B can not boot from emmc
- Using Windows VM on a Linux
- RKDevTool/rkdeveloptool by radxa.com.
Booting from NVME
- The instruction on wiki 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
sudo nand-sata-install # select 7 Install/Update ther bootloader on SPI Flash
- use 'dd' to clear the NVMe SSD & burn the linux image to NVME SSD
- burn the u-boot image into the SPI Flash
- 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.
- Booting directly from a USB or NVMe requires flashing U-Boot to the SPI.
- How to boot Orange pi 5 from SATA m.2 SSD (for Orange pi OS and Armbian)
- Change SD card’s rootfs UUID method. Orange Pi 5 NVMe/SATA SSD Boot Guide.
SPI flash, non-volatile memory
- SPI Flash in a Single Board Computer (SBC) refers to a type of flash memory that uses the Serial Peripheral Interface (SPI) for communication. This is a common type of non-volatile memory used in SBCs and other embedded systems.
- Many embedded systems, including SBCs, use non-volatile memory to store boot code, configuration parameters, and other data that persist when the system is powered down. Common Flash technologies include Parallel or SPI NOR flash, SLC NAND, and eMMC devices.
- In the context of system booting, the processor starts executing at the reset vector and attempts to execute the first code. Some processors have a small internal boot ROM that can be programmed at manufacturing time. The boot ROM can also detect where the bootloader was stored; for example, in an external NOR or NAND flash device.
- If a NOR Flash device is used to store the bootloader, the processor can directly run off the Flash device. This method is commonly called eXecute In Place (XIP). If a NAND or eMMC device is used, boot code first needs to be copied to the system’s RAM. Then the processor can jump to the RAM space and execute. This method is called shadowing or Store-and-Download (SnD).
- For example, the ROCKPro64 SBC has a 128Mbit SPI Flash, and the Odroid N2+ SBC features an 8MB SPI flash with a boot select switch and Petitboot app.
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.
- The Android OS image is not optimized for a large screen. So it is better to use Orange Pi OS (Droid) instead.
Armbian
- Orange Pi 5 Plus review with Armbian (4k) 12/13/2023
- How to build armbian
- Use 'Disks' utility to write an image to SD card
- Game testing
- box64 was used to run x86_64 Linux programs (such as games) on non-x86_64 Linux systems, like ARM. H-craft, Colin McRae Rally, GTA3.
- wine, TrackMania Nations Forever
- RetroPie/emulationstation