Difference between revisions of "BSP Linux on Orange Pi 4"
| Line 12: | Line 12: | ||
{{Warning|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 devices|ARM device]]). The repository is usable only as a learning material.}} | {{Warning|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 devices|ARM device]]). The repository is usable only as a learning material.}} | ||
| − | {{Info|The build tool is designed to be executed on Ubuntu (preferably 18.04 Bionic) on a x86_64 machine.}} | + | {{Info|1= |
| + | The build tool is designed to be executed on Ubuntu (preferably 18.04 Bionic) on a x86_64 machine. | ||
| + | |||
| + | Best option is to use [[vagrant]] and run the build OS virtually. If you by any chance run Ubuntu, feel free to ignore the vagrant-related instructions and run the other commands directly on your machine. | ||
| + | }} | ||
The build tool is using these repositories: | The build tool is using these repositories: | ||
| Line 21: | Line 25: | ||
* [https://github.com/orangepi-xunlong/toolchain toolchain] | * [https://github.com/orangepi-xunlong/toolchain toolchain] | ||
| − | === | + | === Vagrant setup === |
| − | + | {{code-block|1= | |
| − | + | vagrant init hashicorp/bionic64 | |
| + | vagrant up | ||
| + | }} | ||
=== Build Tools === | === Build Tools === | ||
Revision as of 19:09, 31 March 2020
BSP Linux used on an Orange Pi 4
(!) Xunlong's provided Linux is an older 4.4 series kernel.
Contents
Installing Pre-Built Images
(!) Pre-Built kernel doesn't have support for CIFS (Samba file sharing)
- Download compressed *.img files from the vendor's page
- Extract the image files
- 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.
The build tool is using these repositories:
Vagrant setup
vagrant init hashicorp/bionic64
vagrant up
Build Tools
git clone https://github.com/orangepi-xunlong/OrangePi_Build.git
cd OrangePi_Build
./Build_OrangePi.sh
Enter your (sudo) password, let it download the repositories (listed above). Then change to the resulting directory: cd ../OrangePiRK3399
Kernel
TODO: Work out how to use the vendor's tools
- Compilation scripts: [1]
External Links
- Official sources
- Downloads page: [2]
- Wiki: [3]
- GIT repository: github.com/orangepi-xulong
- Build Tools repository: [4]