Difference between revisions of "SDK Overview"

From Lindenis Wiki
Jump to: navigation, search
(Components)
(Layout)
Line 38: Line 38:
 
│   ├── cuckoo
 
│   ├── cuckoo
 
│   ├── eagle                    # Allwinner V5 platform
 
│   ├── eagle                    # Allwinner V5 platform
│   │   ├── boards              # board's relative files
+
│   │   ├── boards              # Board's relative files
 
│  │   │   ├── allwinner-dvb  # Allwinner dvb
 
│  │   │   ├── allwinner-dvb  # Allwinner dvb
 
│  │   │   └── lindeni-v5    # Lindenis V5 SBC
 
│  │   │   └── lindeni-v5    # Lindenis V5 SBC

Revision as of 05:22, 1 August 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
│   │   │       └── rootfs     # Lindenis V5 SBC board rootfs overlay
│   │   ├── bootloader          # Allwinner V5 Bootloader relative files
│   │   ├── configs             # Allwinner V5 platform configurations
│   │   └── 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