From Rockchip open source Document
Revision as of 09:45, 16 March 2017 by Kever (talk | contribs)
Jump to: navigation, search

Download ARM Trusted Firmware

Get the source code from github:

git clone

Supported Devices[edit]

Upstream ARM Trusted Firmware support Rockchip SoCs:


Build ATF

Here is a script to build ATF.

$ cat 


make realclean

CFLAGS='-gdwarf-2' \
CROSS_COMPILE=aarch64-linux-gnu- \
make PLAT=rk3399 DEBUG=1 ERROR_DEPRECATED=1 bl31

Because there is a blob of code for cortex-M0, so you need a compiler for it. Install it by:

sudo apt-get install gcc-arm-none-eabi