lanseyujie/tn3399_v3

dts编译报错与U-boot编译后无法使用

Closed this issue · 2 comments

dts在编译报错如下:

arch/arm/dts/rk3399-rock960.dtb: ERROR (duplicate_label): /thermal-zones/cpu: Duplicate label 'cpu_thermal' on /thermal-zones/cpu and /thermal-zones/cpu-thermal
arch/arm/dts/rk3399-rock960.dtb: ERROR (duplicate_label): /thermal-zones/cpu/trips/cpu_alert0: Duplicate label 'cpu_alert0' on /thermal-zones/cpu/trips/cpu_alert0 and /thermal-zones/cpu-thermal/trips/cpu_alert0
arch/arm/dts/rk3399-rock960.dtb: ERROR (duplicate_label): /thermal-zones/cpu/trips/cpu_alert1: Duplicate label 'cpu_alert1' on /thermal-zones/cpu/trips/cpu_alert1 and /thermal-zones/cpu-thermal/trips/cpu_alert1
arch/arm/dts/rk3399-rock960.dtb: ERROR (duplicate_label): /thermal-zones/cpu/trips/cpu_crit: Duplicate label 'cpu_crit' on /thermal-zones/cpu/trips/cpu_crit and /thermal-zones/cpu-thermal/trips/cpu_crit
ERROR: Input tree has errors, aborting (use -f to force output)

推测是rk3399.dtsi内的cpu-thermal定义和tn3399-linux.dts内重复了,把tn3399-linux.dts内的thermal节点删了就好了。

u-boot源码使用的是v2022.07,使用2023的最新源码貌似无法引导armbian。按照流程编译之后,刷写进开发板。tty输出日志如下:

U-Boot TPL 2022.07 (Feb 23 2023 - 11:31:49)
sdram_init: LPDDR3-800MHz failed!
rk3399_dmc_init DRAM init failed -22
Missing DTB

请问uboot的这个问题有什么好的解决方法嘛?

请问uboot的这个问题有什么好的解决方法嘛?

你好 请问你解决了吗 我移植2024.01依然出现这个问题