Difference between revisions of "SDK概述"
Csjamesdeng (talk | contribs) (Created page with "en:SDK_Overview == 特性 ==") |
Csjamesdeng (talk | contribs) |
||
Line 1: | Line 1: | ||
[[en:SDK_Overview]] | [[en:SDK_Overview]] | ||
== 特性 == | == 特性 == | ||
+ | |||
+ | * 支持Debian 9 | ||
+ | * 支持Linux 4.9 (官方版本) | ||
+ | * 支持U-Boot 2014.07 | ||
+ | * 支持交叉编译 | ||
+ | * 完整的构建脚本 | ||
+ | |||
+ | == 核心组件 == | ||
+ | |||
+ | === 文件系统 === | ||
+ | |||
+ | SDK默认的根文件系统格式是Ext4。它包含了应用、框架、库和驱动等文件,内核启动后自动挂载。 | ||
+ | |||
+ | 根文件系统基于Debian基础系统创建,可以通apt-get命令安装所需要的软件。 | ||
+ | |||
+ | === 内核 === | ||
+ | |||
+ | 包含所需的驱动。 | ||
+ | |||
+ | === 工具链 === | ||
+ | |||
+ | 用来为目标机器编译内核,库和应用。 | ||
+ | |||
+ | == 目录结构 == | ||
+ | |||
+ | <pre> | ||
+ | ├── build # Build scripts | ||
+ | ├── build.sh # Top level build script | ||
+ | ├── debian # Debian based rootfs build scripts | ||
+ | │ ├── overlay # Overlay of system | ||
+ | │ └── stretch-alip.tar.gz # A Debian basic root file system | ||
+ | ├── device # Platforms relative files | ||
+ | │ ├── cuckoo | ||
+ | │ ├── eagle # Allwinner V5 platform | ||
+ | │ │ ├── boards # Board's relative files | ||
+ | │ │ │ ├── allwinner-dvb # Allwinner dvb | ||
+ | │ │ │ └── lindeni-v5 # Lindenis V5 SBC | ||
+ | │ │ │ ├── configs # Lindenis V5 SBC board configurations, sys_config.fex etc. | ||
+ | │ │ │ └── rootfs # Lindenis V5 SBC board rootfs overlay | ||
+ | │ │ ├── bootloader # Allwinner V5 Bootloader relative files | ||
+ | │ │ ├── configs # Allwinner V5 platform configurations, env.cfg, sys_partition.fex, etc. | ||
+ | │ │ └── rootfs # Allwinner V5 platform rootfs overlay | ||
+ | │ └── petrel | ||
+ | ├── kernel # Kernel source code | ||
+ | ├── out # Building output | ||
+ | ├── tools # Tools for building and packing | ||
+ | │ ├── build | ||
+ | │ │ └── toolchain # Cross toolchain | ||
+ | └── u-boot # U-Boot source code | ||
+ | </pre> | ||
+ | |||
+ | * 根文件系统overlay优先级 | ||
+ | : 构建脚本按以下顺序拷贝overlay: | ||
+ | :: debian/overlay | ||
+ | :: device/PLATFORM/rootfs | ||
+ | :: device/PLATFORM/boards/BOARD/rootfs |
Latest revision as of 08:29, 24 October 2018
特性
- 支持Debian 9
- 支持Linux 4.9 (官方版本)
- 支持U-Boot 2014.07
- 支持交叉编译
- 完整的构建脚本
核心组件
文件系统
SDK默认的根文件系统格式是Ext4。它包含了应用、框架、库和驱动等文件,内核启动后自动挂载。
根文件系统基于Debian基础系统创建,可以通apt-get命令安装所需要的软件。
内核
包含所需的驱动。
工具链
用来为目标机器编译内核,库和应用。
目录结构
├── build # Build scripts ├── build.sh # Top level build script ├── debian # Debian based rootfs build scripts │ ├── overlay # Overlay of system │ └── stretch-alip.tar.gz # A Debian basic root file system ├── device # Platforms relative files │ ├── cuckoo │ ├── eagle # Allwinner V5 platform │ │ ├── boards # Board's relative files │ │ │ ├── allwinner-dvb # Allwinner dvb │ │ │ └── lindeni-v5 # Lindenis V5 SBC │ │ │ ├── configs # Lindenis V5 SBC board configurations, sys_config.fex etc. │ │ │ └── rootfs # Lindenis V5 SBC board rootfs overlay │ │ ├── bootloader # Allwinner V5 Bootloader relative files │ │ ├── configs # Allwinner V5 platform configurations, env.cfg, sys_partition.fex, etc. │ │ └── rootfs # Allwinner V5 platform rootfs overlay │ └── petrel ├── kernel # Kernel source code ├── out # Building output ├── tools # Tools for building and packing │ ├── build │ │ └── toolchain # Cross toolchain └── u-boot # U-Boot source code
- 根文件系统overlay优先级
- 构建脚本按以下顺序拷贝overlay:
- debian/overlay
- device/PLATFORM/rootfs
- device/PLATFORM/boards/BOARD/rootfs