Difference between revisions of "SDK Overview"

From Lindenis Wiki
Jump to: navigation, search
(Layout)
(Layout)
Line 41: Line 41:
 
│  │   │   ├── allwinner-dvb  # Allwinner dvb
 
│  │   │   ├── allwinner-dvb  # Allwinner dvb
 
│  │   │   └── lindeni-v5    # Lindenis V5 SBC
 
│  │   │   └── lindeni-v5    # Lindenis V5 SBC
│  │   │      ├── configs    # Lindenis V5 SBC board configurations
+
│  │   │      ├── configs    # Lindenis V5 SBC board configurations, sys_config.fex etc.
 
│  │   │      └── rootfs    # Lindenis V5 SBC board rootfs overlay
 
│  │   │      └── rootfs    # Lindenis V5 SBC board rootfs overlay
 
│   │   ├── bootloader          # Allwinner V5 Bootloader relative files
 
│   │   ├── bootloader          # Allwinner V5 Bootloader relative files
│   │   ├── configs            # Allwinner V5 platform configurations
+
│   │   ├── configs            # Allwinner V5 platform configurations, env.cfg, sys_partition.fex, etc.
 
│   │   └── rootfs              # Allwinner V5 platform rootfs overlay
 
│   │   └── rootfs              # Allwinner V5 platform rootfs overlay
 
│   └── petrel
 
│   └── petrel
Line 54: Line 54:
 
└── u-boot                      # U-Boot source code
 
└── u-boot                      # U-Boot source code
 
</pre>
 
</pre>
 +
 +
* Rootfs overlay
 +
: The build scripts copy overlay as follows:
 +
:: debian/overlay
 +
:: device/PLATFORM/rootfs
 +
:: device/PLATFORM/boards/BOARD/rootfs

Revision as of 01:29, 2 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, 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