Difference between revisions of "BSP Linux on Orange Pi 4"

From Dejvino's Knowledge Base
Jump to navigation Jump to search
Line 20: Line 20:
 
* [https://github.com/orangepi-xunlong/OrangePiRK3399_external OrangePiRK3399_external]
 
* [https://github.com/orangepi-xunlong/OrangePiRK3399_external OrangePiRK3399_external]
 
* [https://github.com/orangepi-xunlong/toolchain toolchain]
 
* [https://github.com/orangepi-xunlong/toolchain toolchain]
 +
 +
=== Base OS Packages ===
 +
* [[whiptail]] (provided by 'newt' on [[Arch Linux]])
 +
 +
=== Build Tools ===
 +
{{code-block|1=
 +
git clone https://github.com/orangepi-xunlong/OrangePi_Build.git
 +
cd OrangePi_Build
 +
./Build_OrangePi.sh
 +
}}
  
 
=== Kernel ===
 
=== Kernel ===

Revision as of 18:25, 31 March 2020

BSP Linux used on an Orange Pi 4

(!) Xunlong's provided Linux is an older 4.4 series kernel.

Installing Pre-Built Images

(!) Pre-Built kernel doesn't have support for CIFS (Samba file sharing)

  1. Download compressed *.img files from the vendor's page
  2. Extract the image files
  3. Flash the image to an SD Card

Building Custom Images

(!) Supplied build scripts use Rockchip's closed source binary toolkit rkbin/tools. This makes it unusable for running on the Orange Pi 4 (or any ARM device). The repository is usable only as a learning material.

[i] The build tool is designed to be executed on Ubuntu (preferably 18.04 Bionic) on a x86_64 machine.

The build tool is using these repositories:

Base OS Packages

Build Tools

git clone https://github.com/orangepi-xunlong/OrangePi_Build.git cd OrangePi_Build ./Build_OrangePi.sh

Kernel

TODO: Work out how to use the vendor's tools

  • Compilation scripts: [1]

External Links