build error for sg2024 device-tree

Chen Wang unicorn_wang at outlook.com
Thu Mar 14 05:43:12 PDT 2024


FYI: 
https://lore.kernel.org/linux-riscv/MA0P287MB282228A94119642979A035C7FE292@MA0P287MB2822.INDP287.PROD.OUTLOOK.COM/

On 2024/3/14 17:47, Ben Dooks wrote:
> Building the current linux kernel I'm getting:
>
>>   DTC arch/riscv/boot/dts/sophgo/sg2042-milkv-pioneer.dtb
>> In file included from 
>> arch/riscv/boot/dts/sophgo/sg2042-milkv-pioneer.dts:6:
>> arch/riscv/boot/dts/sophgo/sg2042.dtsi:9:10: fatal error: 
>> dt-bindings/reset/sophgo,sg2042-reset.h: No such file or directory
>>     9 | #include <dt-bindings/reset/sophgo,sg2042-reset.h>
>>       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> compilation terminated.
>> make[5]: *** [scripts/Makefile.lib:421: 
>> arch/riscv/boot/dts/sophgo/sg2042-milkv-pioneer.dtb] Error 1
>> make[4]: *** [scripts/Makefile.build:481: arch/riscv/boot/dts/sophgo] 
>> Error 2
>> make[3]: *** [scripts/Makefile.build:481: arch/riscv/boot/dts] Error 2
>> make[2]: *** [scripts/Makefile.build:481: arch/riscv] Error 2
>
> Config is attached, but looks like something is either missing or not 
> merged from another tree.
>



More information about the linux-riscv mailing list