CHAPTER
FOUR
SOFTWARE GUIDE
This chapter provides instructions for compiling and deploying the BSP (Board Support Package) software to the Q7 mod-
ule.
4.1 Architecture Overview
The BSP consists of several parts. They run on different parts of the CPU and each play their role in the boot process.
Because the CPU contains cores running different instruction sets (Cortex-M and Cortex-A), two different compilers are
needed. The table below list the parts and their instruction set.
BSP Part
Instruction set
Cortex-M0 power management firmware
Cortex-M
ATF (ARM Trusted Firmware)
Cortex-A
U-Boot bootloader
Cortex-A
The Linux kernel
Cortex-A
Debian user-space
Cortex-A
The next section explains how to install suitable cross-compilers for both instruction sets.
The section “Compiling Linux Applications” provides guidance for compiling user-space applications for the RK3399.
4.2 Prerequisites
You need a recent x86_64 Linux installation to run the cross-compiler on and at least 10GB of disk space. The cross-compiler
requires libc version 2.2.5. Distributions shipping this version are, among others:
• Ubuntu 16.04 “Xenial”
RK3399-Q7 User Manual
© Theobroma Systems Design und Consulting GmbH
Release v0.2-3-g574c114
Page
21
Содержание RK3399-Q7
Страница 2: ......