User Manual Orange Pi Zero 3

  Features   |  Use   |  Linux   |    Linux SDK     |  Android   |  Android SRC   |

RU          EN  

Chapt 4. Linux SDK - orangepi-build instruction
Страница:   124    125    126    127    128    129    130    131    132  


4.2.3. orangepi-build complete directory structure description

  • 1) The orangepi-build repository does not contain the source code of the linux kernel, u-boot, and cross-compilation toolchain after downloading. The source code of the linux kernel and u-boot is stored in an independent git repository

    a. The git warehouse where the linux kernel source code is stored is as follows, pay attention to switch the branch of the linux-orangepi warehouse to

    b. The git warehouse where the u-boot source code is stored is as follows, pay attention to switch the branch of the u-boot-orangepi warehouse to

  • 2) When orangepi-build runs for the first time, it will download the cross-compilation toolchain, u-boot and linux kernel source code. After successfully compiling a linux image, the files and folders that can be seen in orangepi-build are:

      a. build.sh: Compile the startup script

      b. external: Contains the configuration files needed for compiling the image, scripts for specific functions, and the source code of some programs. The rootfs compressed package cached during the compiling process is also stored in external

      c. kernel: Store the source code of the linux kernel

      d. LICENSE: GPL 2 license file

      e. README.md: orangepi-build documentation

      f. output: Store compiled u-boot, linux and other deb packages, compilation logs, and compiled images and other files

      g. scripts: General script for compiling linux images

      h. toolchains: Store the cross-compilation toolchain

      i. u-boot: Store the source code of u-boot

      j. userpatches: Store the configuration files needed to compile the script

    test@test:~/orangepi-build$ ls
    build.sh external kernel LICENSE output README.md scripts toolchains u-boot userpatches

     <         > 


  • Страница:   124    125    126    127    128    129    130    131    132