Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: DTS files

Holding off updating until after netbsd-10 branches because there is a lot of testing involved. In the meantime you can use pkgsrc, have a look at sysutils/dtb-arm64-apple-m1 for an example.

On Fri, 2 Jul 2021, Robert Swindells wrote:

Is anyone planning to import a new set of dts files from Linux anytime
soon ?

I started trying to build a dtb for the Rockchip 3566, the dts files are
not in upstream Linux yet but they reference some dt-bindings headers
that are in Linux 5.13 but not in our tree.

Had also thought that it could be useful to import riscv dts files in
future, is anything else needed than the untested change below ?

Robert Swindells

Index: dts2netbsd
RCS file: /cvsroot/src/sys/external/gpl2/dts/dts2netbsd,v
retrieving revision 1.3
diff -u -r1.3 dts2netbsd
--- dts2netbsd  29 Jul 2017 23:06:22 -0000      1.3
+++ dts2netbsd  2 Jul 2021 18:42:48 -0000
@@ -74,7 +74,7 @@
mkdir -p $d/include
cp -RL $r/include/dt-bindings $d/include

-for arch in arm arm64 mips; do
+for arch in arm arm64 mips riscv; do
       mkdir -p $d/arch/${arch}/boot
       cp -RL $r/arch/${arch}/boot/dts $d/arch/${arch}/boot
       rm -rf $d/arch/${arch}/boot/dts/include

Home | Main Index | Thread Index | Old Index