Jump to content
WrekLess

Error building kernel for rk3288_box

Recommended Posts

I am trying to build the rk3288_box from:

Source: https://bitbucket.org/TinkerBoard_Android/rk-device-rockchip-rk3288/src/a4ff9ca7d14c4ba5971ff54323c58be7302c1043/?at=sbc%2Ftinkerboard%2Frel%2FAndroid-7.1.2-14.01

Receive error when building kernel as follows:

$ make ARCH=arm rockchip_defconfig
$ make ARCH=arm rk3288-box.img -j8

Error shown in Terminal (CLI):

wrekless@Inkubator:~/Inkubator/Projects/Firmware/Asus/AvA_RoM_RC_02/kernel$ make ARCH=arm rk3288-box.img -j8
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK scripts/mod/devicetable-offsets.h
CHK include/generated/utsrelease.h
DTC arch/arm/boot/dts/rk3288-box.dtb
arch/arm/boot/dts/rk3288-box.dts:5:24: fatal error: lcd-box.dtsi: No such file or directory
#include "lcd-box.dtsi"
^
compilation terminated.
scripts/Makefile.lib:299: recipe for target 'arch/arm/boot/dts/rk3288-box.dtb' failed
make[1]: *** [arch/arm/boot/dts/rk3288-box.dtb] Error 1
arch/arm/Makefile:335: recipe for target 'rk3288-box.dtb' failed
make: *** [rk3288-box.dtb] Error 2

The rk3288-box.dts exists within:

kernel/arch/arm/arm/boot/dts

The lcd-box.dtsi does not exist in:

kernel/arch/arm/arm/boot/dts

I am able to build UBoot for rk3288_box as:

$ make rk3288_box_secure_defconfig
$ make -j8

If there is any additional information I can provide, please let me know.

Thanks.

Regards.

Share this post


Link to post
Share on other sites

Hello,

I tried to modify the original post to update the post with the error I am seeing now, but did not see a way to do so. Instead, I am forced to reply to the original post with the error I receive now. Any help is appreciated.

After resolving Error building kernel for rk3288_box, I encountered the following error:

wrekless@Inkubator:~/Inkubator/Projects/Firmware/Asus/AvA_RoM_RC_02/kernel$ make ARCH=arm rk3288-box.img -j8
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK scripts/mod/devicetable-offsets.h
CHK include/generated/utsrelease.h
DTC arch/arm/boot/dts/rk3288-box.dtb
Error: ./arch/arm/boot/dts/include/lcd-box.dtsi:7.18-27 syntax error
FATAL ERROR: Unable to parse input tree
scripts/Makefile.lib:299: recipe for target 'arch/arm/boot/dts/rk3288-box.dtb' failed
make[1]: *** [arch/arm/boot/dts/rk3288-box.dtb] Error 1
arch/arm/Makefile:335: recipe for target 'rk3288-box.dtb' failed
make: *** [rk3288-box.dtb] Error 2

Can anyone advise on a solution to this error?

Thank you.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...