3. Compile Source
3.1 Unzip source
unzip the source and config the board
tar xvf xx.tar.bz2
cd xx
./build.sh lunch //config the board
Print out as follow. Select 2
Pick a defconfig:
1. rockchip_defconfig
2. rockchip_rk3288w_evb_act8846_defconfig
3. rockchip_rk3288w_evb_rk808_defconfig
4. rockchip_rk3288w_firefly_defconfig
Which would you like? [1]: 2
switching to defconfig: //home/liuyuan/opt/EM3288/linux_5.10/device/rockchip/.chip/rockchip_rk3288w_evb_act8846_defconfig
3.2 Compile uboot, kernel, recovery
./build.sh uboot //compile uboot
./build.sh kernel //compile kernel
If only configure the kernel, please complied kernel as follow
cd kernel
make ARCH=arm menuconfig
The reconfig kernel file is located in .config
by default. Please update the modified content to /arch/arm/configs/rockchip_linux_defconfig
, and then recompile the kernel to make it take effect.
./build.sh recovery //compile recovery
3.3 Compile Buildroot
./build.sh buildroot //compile Buildroot
build update image
./build.sh firmware //generate and check firmware
./build.sh updateimg //build update image
Images
and update.img
are generated in rockdev/