GithubHelp home page GithubHelp logo

nj-sunjiawei / orangepi_build Goto Github PK

View Code? Open in Web Editor NEW

This project forked from orangepi-xunlong/orangepi_build

0.0 0.0 0.0 88 KB

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

License: GNU General Public License v2.0

Shell 100.00%

orangepi_build's Introduction

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:

orangepi_build's People

Contributors

leeboby avatar orangepi-xunlong avatar baiywt avatar chen3135 avatar arthav24 avatar aivaras-s avatar dejvino avatar 0pcom avatar i3ima avatar matze-m avatar alenon avatar cbbc avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.