Difference between revisions of "SDK Overview"

From Lindenis Wiki
Jump to: navigation, search
 
Line 1: Line 1:
[[zh:SDK概览]]
+
[[zh:SDK概述]]
 
== Features ==
 
== Features ==
  

Latest revision as of 02:08, 24 October 2018

Features

  • Supports Debian 9
  • Linux kernel 4.4 (official version)
  • U-Boot 2014.07
  • ARM GCC based cross toolchain
  • Integrated build system

Main Components

File system

Ext4 file system is used as default root file system. This includes all the files, libraries, drivers, nodes and others entries, that will be mounted in the target board when Linux finishes to boot up.

For Linbian OS, the rootfs created from a Debian base system (only support armel architectures currently, armhf architectures will be supported in the near future). It's easy to install packages via apt-get.

Kernel

This includes all drivers.

Bootloader

The bootloader loads kernel.

Toolchain

Used to build kernel, libraries and applications for the target hardware.

Layout

├── 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
  • Rootfs overlay
The build scripts copy overlay as follows:
debian/overlay
device/PLATFORM/rootfs
device/PLATFORM/boards/BOARD/rootfs

Documents

For the sample mentioned in the documentation, please visit mpp_sample.