SoC에 대한 업스트림 지원 u-boot 및 buildroot를 시도하고 있으며 공급업체 BSP의 일부 변경 사항을 마스터에 병합하고 있으며 해당 dts에 몇 가지 문제가 있습니다.
[machinehum@whitebox u-boot]$ make
CFGCHK u-boot.cfg
OFCHK .config
UPD include/generated/timestamp_autogenerated.h
ENVC include/generated/env.txt
ENVP include/generated/env.in
ENVT include/generated/environment.h
CC cmd/version.o
AR cmd/built-in.o
CC env/common.o
AR env/built-in.o
CC lib/efi_loader/dtbdump.o
LD lib/efi_loader/dtbdump_efi.so
OBJCOPY lib/efi_loader/dtbdump.efi
CC lib/efi_loader/initrddump.o
LD lib/efi_loader/initrddump_efi.so
OBJCOPY lib/efi_loader/initrddump.efi
LD u-boot
OBJCOPY u-boot.srec
OBJCOPY u-boot-nodtb.bin
DTC arch/arm/dts/sun8iw12p1-soc.dtb
arch/arm/dts/sun8iw12p1-soc.dtb: ERROR (path_references): /aliases: Reference to non-existent node or label "mmc0"
arch/arm/dts/sun8iw12p1-soc.dtb: ERROR (path_references): /aliases: Reference to non-existent node or label "mmc2"
ERROR: Input tree has errors, aborting (use -f to force output)
Check /home/machinehum/projects/u-boot/arch/arm/dts/.sun8iw12p1-soc.dtb.pre.tmp for errors
make[2]: *** [scripts/Makefile.lib:337: arch/arm/dts/sun8iw12p1-soc.dtb] Error 1
make[1]: *** [dts/Makefile:44: arch-dtbs] Error 2
make: *** [Makefile:1150: dts/dt.dtb] Error 2
파일이 추가되었습니다...
[machinehum@whitebox u-boot]$ ls -la arch/arm/dts/sun8iw12p1*
-rw-r--r-- 1 machinehum wheel 18983 Apr 18 14:32 arch/arm/dts/sun8iw12p1-clk.dtsi
-rw-r--r-- 1 machinehum wheel 68163 Apr 18 16:30 arch/arm/dts/sun8iw12p1.dtsi
-rw-r--r-- 1 machinehum wheel 829 Apr 18 15:53 arch/arm/dts/sun8iw12p1-fpga.dts
-rw-r--r-- 1 machinehum wheel 26226 Apr 18 14:32 arch/arm/dts/sun8iw12p1-pinctrl.dtsi
-rw-r--r-- 1 machinehum wheel 778 Apr 18 14:32 arch/arm/dts/sun8iw12p1-soc.dts
sun8iw12p1-clk.dtsi:https://paste.rs/PDk
sun8iw12p1.dtsi:https://paste.rs/y9h
sun8iw12p1-fpga.dts:https://paste.rs/aQk
sun8iw12p1-pinctrl.dtsi:https://paste.rs/WZF
sun8iw12p1-soc.dts:https://paste.rs/W69
"mmc0"은 일반적으로 sun8iw12p1.dtsi의 별칭이라는 것을 알 수 있으므로 여기서 문제가 무엇인지 잘 모르겠습니다. 어떤 도움이라도 대단히 감사하겠습니다 :)