build error for sg2024 device-tree
Krzysztof Kozlowski
krzysztof.kozlowski at linaro.org
Thu Mar 14 06:07:27 PDT 2024
On 14/03/2024 13:43, Chen Wang wrote:
> 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.
I recommend to all folks to add their trees to LKP (<ad>or read my last
LPC talk</ad>).
Best regards,
Krzysztof
More information about the linux-riscv
mailing list