Skip to content
XiNGRZ edited this page Mar 20, 2017 · 6 revisions

Build

export ARCH=arm

# arm-linux-androideabi-4.9 is not compatible with PIE
export CROSS_COMPILE=arm-eabi-
export PATH=$PATH:/path/to/your/arm/arm-eabi-4.8/bin

# only macOS need this
export C_INCLUDE_PATH=/path/to/your/external/elfutils/libelf

make firefly-rk3288_defconfig
make -j8 zImage dtbs

Pack as Rockchip images

# kernel.img
mkkrnlimg arch/arm/boot/zImage kernel.img

# resource.img
resource_tool arch/arm/boot/dts/firefly-rk3288.dtb logo.bmp logo_kernel.bmp
Clone this wiki locally