Port-arm archive

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

Re: Building dtb from src/sys/arch/arm/dts



On Fri, Aug 30, 2019 at 02:11:08AM +0000, ioh wrote:
> I'm working on writing a dts for the Olimex Teres laptop, but I'm
> having trouble compiling it with dtc by hand. I'm very new to
> NetBSD, so what is the recommended way to build a dtb?

dtb are built as part of kernel build. What I've done it add it to
GENERIC, or (better) create a new kernel config file like:
include "arch/evbarm/conf/GENERIC"
no makeoptions  DTS
makeoptions     DTS="lime2-chartplotter.dts"
[...]

and build this kernel with build.sh

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index