buglloc / nanopi-r5

MIT License
0 stars 0 forks source link

dtb build error #1

Closed altmangood closed 1 year ago

altmangood commented 1 year ago

cd dtb sh make_dtb.sh

when all file download and unzipped, to build dtb has this error:

_
Error: linux-6.1.18/arch/arm64/boot/dts/rockchip/rockchip-pinconf.dtsi:7.2-3 syntax error
FATAL ERROR: Unable to parse input tree

os: Ubuntu 18.04 LTS dtc 1.4.3

is the build system env not good ? Which os should i use to build dtb?

buglloc commented 1 year ago

Just tested on a fresh Ubuntu 22.04 LTS - it seems to work as expected :)

$ sudo apt install -y device-tree-compiler gcc wget xz-utils
$ sh make_dtb.sh
[...]
build complete: rk3568-nanopi-r5.dtb
altmangood commented 1 year ago

Thanks, I change to Ubuntu 20.04 Focal , it works well.

build complete: rk3568-nanopi-r5.dtb