range Pi 用户手册 深圳市迅龙软件有限公司版权所有
www.orangepi.cn 118 www.xunlong.tv
5. Linux SDK instructions
Linux SDK The compilation of the Linux SDK is performed on a PC or virtual
machine (VirtualBox or VMware) with Ubuntu 18.04 installed. Please do not use other
versions of the Ubuntu system or compile the Linux SDK on WSL
5.1. Get the source code of linux sdk
5.1.1. Download orangepi-build from github
1) First download the code of orangepi-build. The code of orangepi-build is modified
based on the armbian build system. At present, the H3 series development boards already
support the legacy branch and the current branch.
test@test:~$ sudo apt update
test@test:~$ sudo apt install git
test@test:~$ git clone https://github.com/orangepi-xunlong/orangepi-build.git
To download the code of orangepi-build through the git clone command, you do not
need to enter the username and password of the github account (the other codes in this
manual are also the same), if you enter the git clone command, the Ubuntu PC prompts
the user who needs to enter the github account Name and password, usually the address
of the orangepi-build warehouse behind git clone is entered incorrectly. First of all, please
check the spelling of the command carefully, instead of thinking that we forgot to provide
the username and password of the github account.
2) The legacy branch uses the BSP version of the kernel. The current branch generally
uses the u-boot and kernel close to the mainline version. The u-boot and linux kernel
currently used by the H3 series development boards are as follows
3) After orangepi-build is downloaded, it will contain the following files and folders
a. build.sh: Compile the startup script
b. external: Contains the configuration files needed to compile the image, specific