Buildroot

From Rockchip open source Document
Jump to: navigation, search

Getting the Sources

The rockchip linux SDK source tree is located in multi Git repository hosted by Github.
The SDK uses repo to sync down source code.

Create an empty directory to hold your working files

mkdir rk-buildroot-bsp
cd rk-buildroot-bsp

To initialize Buildroot SDK source tree

repo init --repo-url=https://github.com/rockchip-linux/repo -u https://github.com/rockchip-linux/manifests -b buildroot
repo sync



Build buildroot rootfs

You can use following integrative cmds and scripts to build firmware:

cd buildroot && make rockchip_rk3399_defconfig && cd .. && ./build_all.sh
&& ./mkfirmware.sh


Generate the rootfs.img in out/ directory.