![theobroma systems RK3399-Q7 Скачать руководство пользователя страница 26](http://html.mh-extra.com/html/theobroma-systems/rk3399-q7/rk3399-q7_user-manual_1101597026.webp)
• Debian 8 “Jessie”
We recommend Ubuntu 16.04 “Xenial”. Please install the following packages to set up the common build infrastructure:
sudo apt install device
-
tree
-
compiler u
-
boot
-
tools build
-
essential git bc debootstrap qemu
-
user
-
static
4.2.1 Cortex-M Compiler
The “GNU Embedded Toolchain for ARM” is suitable for compiling the Cortex-M0 power management firmware. It can
be downloaded from https://developer.arm.com/open-source/gnu-toolchain/gnu-rm/downloads .
Direct link to the file:
https://developer.arm.com/-/media/Files/downloads/gnu-rm/6_1-2017q1/gcc-arm-none-eabi-6-2017-q1-update-linux.
tar.bz2
Extract the tar.bz2 archibe to /opt:
sudo tar
-
xf gcc
-
arm
-
none
-
eabi
-
6
-
2017
-
q1
-
update
-
linux
.
tar
.
bz2
-
C
/
opt
4.2.2 Cortex-A Compiler
The Linaro aarch64-linux-gnu toolchain is suitable for compiling all other parts of the BSP. It is also suitable for compiling
user-space applications.
You can download ready-to-use binaries from Linaro: https://releases.linaro.org/components/
toolchain/binaries/6.3-2017.02/aarch64-linux-gnu/ .
Direct link to the file:
https://releases.linaro.org/components/toolchain/binaries/6.3-2017.02/aarch64-linux-gnu/gcc-linaro-6.3.1-2017.02-x86_
64_aarch64-linux-gnu.tar.xz
Extract the tar.xz archive to /opt:
sudo tar
-
xf gcc
-
linaro
-
6.3
.
1
-
2017.02
-
x86_64_aarch64
-
linux
-
gnu
.
tar
.
xz
-
C
/
opt
4.3 Compile the Cortex-M0 power management firmware
The Cortex-M0 firmware runs inside a microcontroller embedded in the CPU IC. It implements power-management func-
tionality and helpers (e.g. DRAM frequency switching support).
Release v0.2-3-g574c114
Page
22
Содержание RK3399-Q7
Страница 2: ......