|
【技术讨论】
ubuntu 内核编译 添加mipi 配置 编译失败
发表于 2020-4-6 13:51:53
浏览:5850
|
回复:3
打印
只看该作者
[复制链接]
楼主
想添加mipi 显示, 按照官网的wiki:
1. 在arch/arm/configs/firefly_linux_defconfig 中添加了三个mipi的配置,
2. 复制 kernel/include/dt-bindings/display/screen-timing/lcd-h546dlb01-mipi.dtsi 到arch/arm/boot/dts/ 路径下
3. 在rk3288-firefly.dts 中添加了 #include "lcd-h546dlb01-mipi.dtsi ",
在没有添加mipi配置的时候, 编译都正常,编译的ubuntu系统可以运行,
添加mipi时, 编译kernel的时候信息:
============Start build kernel============
TARGET_ARCH =arm
TARGET_KERNEL_CONFIG =firefly_linux_defconfig
TARGET_KERNEL_DTS =rk3288-firefly
==========================================
#
# configuration written to .config
#
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CHK scripts/mod/devicetable-offsets.h
make[1]: 'include/generated/mach-types.h' is up to date.
DTC arch/arm/boot/dts/rk3288-firefly.dtb
Error: arch/arm/boot/dts/lcd-h546dlb01-mipi.dtsi:50.17-30 syntax error
FATAL ERROR: Unable to parse input tree
scripts/Makefile.lib:320: recipe for target 'arch/arm/boot/dts/rk3288-firefly.dtb' failed
make[1]: *** [arch/arm/boot/dts/rk3288-firefly.dtb] Error 1
arch/arm/Makefile:339: recipe for target 'rk3288-firefly.dtb' failed
make: *** [rk3288-firefly.dtb] Error 2
make: *** 正在等待未完成的任务....
CHK include/generated/timeconst.h
CHK include/generated/bounds.h
CHK include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
====Build kernel failed!====
|
|