Compilation Error by Linux RT Patch with Lamobo R1 Board

yudopplyr

New Member
Credits
15
The current kernel version of the board is 4.9.7, and I am trying to update it to 5.9 with the Real Time Kernel patch.

For compilation I first got the default sunxi config as follows:
Code:
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- sunxi_defconfig
After that I enabled Expert Mode to be able to select the Preempt RT option in General Options of the make menuconfig.

After that I started compiling, and after a while I got the following error:
Code:
DTC     arch/arm/boot/dts/sun4i-a10-a1000.dtb
In file included from arch/arm/boot/dts/sun4i-a10-a1000.dts:46:0:
    arch/arm/boot/dts/sun4i-a10.dtsi:44:41: fatal error: dt-bindings/thermal/thermal.h: No such file or directory**
     #include <dt-bindings/thermal/thermal.h>
It would be really helpful If someone could point me on what the reason could be for this include file error or tell me how to correctly install RT for this board. As I am not familiar with this board I do not know if the latest kernel version should work with this board and the RT Patch.
 


f33dm3bits

Gold Member
Gold Supporter
Credits
6,098
arch/arm/boot/dts/sun4i-a10.dtsi:44:41: fatal error: dt-bindings/thermal/thermal.h: No such file or directory**
I looked that file(thermal.h) up on my system, it seems to come with kernel-devel. So I would think you need to install the development kernel on your machine in order to fix that compiliation error.
 


Members online

No members online now.

Latest posts

Top