Skip to content

orangepi-xunlong/OrangePi_Build

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

1. Orange Pi build system supports:

Allwinner A64

  • OrangePi Win

  • OrangePi Win Plus

Rockchip RK3399

  • OrangePi RK3399

RDA8810

  • OrangePi I96

  • OrangePi 2G-IOT

MT6572

  • OrangePi 3G-IOT

MT6737

  • OrangePi 4G-IOT

2. Compile environment

  • Only support Ubuntu 18.04. So you need to have a PC or virtual machine installed with Ubuntu 18.04.

3. Download the source code

  • First download the OrangePi_Build, which can be used to download all the linux sdk for the Orange Pi development board.
git clone https://github.com/orangepi-xunlong/OrangePi_Build.git
  • Enter the OrangePi_Build and run Build_OrangePi.sh.
$ cd OrangePi_Build
$ ./Build_OrangePi.sh
  • First, you need to enter the root password for your ubuntu18.04.

Note that you are not entering root, but the password for root.

  • Follow the prompts to continue, and finally select the model of your Orange Pi development board.

  • If more than one kernel is supported for the Orange Pi board, you will also be prompted to select the kernel version for the board.

  • Press enter key, OrangePi_Build will download the corresponding linux sdk based on your choice. It may take some time, so please be patient. After this finishes, you will get a new folder outside the OrangePi_Build:
Board model Folder name
OrangePi Win/WinPlus OrangePiA64
OrangePi OrangePi RK3399 OrangePiRK3399
OrangePi 2G-IOT/I96 OrangePiRDA
OrangePi 3G-IOT OrangePi3G-iot
OrangePi 4G-IOT OrangePi4G-iot
  • This new folder is the downloaded linux sdk, mainly contains:
build.sh -> scripts/build.sh    Start the compile and select different features
external                        Sys_config.fex and the rootfs configuration files and others
kernel                          Linux kernel source directory
scripts                         Directory of all compiled scripts
toolchain                       Cross-compile toolchains
uboot                           U-boot source directory

4. Build u-boot/linux/rootfs/iamges for your Orange Pi

  • Run build.sh script.
$ cd OrangePiH3   //For different sdk, the name will be different.
$ ./build.sh
  • Choose the model of Orange Pi. (Here is an example of Allwinner H3)

  • Select the operation you want to perform, such as compiling the kernel or u-boot.

5. The download address of the images and other resources

6 Maintain Orange Pi

We provide a separate git repository for each folder in the linux sdk. If you find any bugs or add new features, welcome to patch them, more details:

About

The official build system for Orange Pi, support A64, RDA, RK3399

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages