• Stars
    star
    356
  • Rank 119,446 (Top 3 %)
  • Language
    Shell
  • License
    GNU General Publi...
  • Created over 7 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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:

More Repositories

1

orangepi-build

Orange Pi build for H2+, H3, H5, H6, H616, RK3328, RK3399 and RK3588(s)
Shell
690
star
2

wiringOP

wiringPi for Orange Pi
C
402
star
3

linux-orangepi

C
196
star
4

openwrt

For Orange Pi R1 Plus/R1 Plus LTS
C
114
star
5

u-boot-orangepi

C
80
star
6

wiringOP-Python

Python
61
star
7

OrangePiRDA_kernel

The Linux kernel source code for OrangePi 2G-IOT
C
21
star
8

toolchain

This repository is used to hold the toolchain for Orange Pi linux SDK, Each branch corresponds to a specific version of the toolchain
C++
19
star
9

firmware

Orange Pi specific firmware
Makefile
18
star
10

OrangePiRDA_uboot

The uboot source code of OrangePi 2G-IOT
C
12
star
11

OrangePiH6_kernel

C
12
star
12

rk-rootfs-build

Deb packages for gpu and vpu
11
star
13

OrangePiA64_kernel

The Linux kernel for OrangePi A64
C
11
star
14

scripts

The scripts for Orange Pi Linux SDK
Shell
11
star
15

OrangePiH3_uboot

The uboot of OrangePi H3
C
10
star
16

OrangePiRK3399_kernel

C
7
star
17

OrangePiRK3399_scripts

Shell
7
star
18

OrangePiRDA_scripts

The Common scripts for OrangePi 2G-IOT
Shell
7
star
19

external

The external files for OrangePi Linux SDK
Shell
6
star
20

chromiumos-orangepi

chromiumos for orangepi
Shell
6
star
21

OrangePi_Camera

OrangePi_Camera
C
5
star
22

OrangePi3G-iot_external

C
5
star
23

OrangePiA64_uboot

The Uboot for OrangePi A64
C
5
star
24

OrangePiRDA_external

The externall file for OrangePi RDA
C
4
star
25

OrangePi4G-iot_external

Perl
4
star
26

OrangePiRK3399_external

C
4
star
27

OrangePi3G-iot_scripts

Shell
3
star
28

OrangePiRK3399_uboot

C
3
star
29

OrangePi3G-iot_kernel

C
3
star
30

OrangePi3G-iot_toolchain

C
3
star
31

rk3399_gst_xserver_libs

HTML
3
star
32

OrangePiA64_scripts

The scripts for OrangePi A64
Shell
3
star
33

OrangePi4G-iot_bootloader

C
2
star
34

OrangePi2MicrosoftAzure

Microsoft Azure on OrangePi
C
2
star
35

OrangePi4G-iot_scripts

Shell
2
star
36

OrangePi4G-iot_toolchain

C
1
star
37

OrangePi3G-iot_bootloader

C
1
star
38

MarkdownPicture

1
star
39

OrangePiRK3399_toolchain

HTML
1
star
40

OrangePi4G-iot_kernel

C
1
star