Date: Mon, 24 Jun 2019 21:22:59 +0100 From: Kaya Saman <kayasaman@optiplex-networks.com> To: Milan Obuch <milan@obuch.sk> Cc: freebsd-arm@freebsd.org Subject: Re: Pine64-LTS and UART ports Message-ID: <75d6afff-8d83-57da-0a13-a4977d12cb87@optiplex-networks.com> In-Reply-To: <20190624164512.0ea5c4d3@zeta.dino.sk> References: <371fe0f0-9f91-e4ba-ff4e-8338fe9d63de@optiplex-networks.com> <20190623235732.4439b707@zeta.dino.sk> <ae92ac02-ce53-18fe-9eab-8b17e8d52cd2@optiplex-networks.com> <20190624133017.5a9689b7@zeta.dino.sk> <62ba1a30-25bc-af65-beb2-0e05dfc76c79@optiplex-networks.com> <20190624164512.0ea5c4d3@zeta.dino.sk>
next in thread | previous in thread | raw e-mail | index | archive | help
On 6/24/19 3:45 PM, Milan Obuch wrote: > On Mon, 24 Jun 2019 15:34:43 +0100 > Kaya Saman <kayasaman@optiplex-networks.com> wrote: > >> On 6/24/19 12:30 PM, Milan Obuch wrote: > [ snip ] > > [snip] > Well, I tested it on 13-CURRENT, so there could be some differences... > anyway, there is a helper script you could invoke directly, again, > tested on 13-CURRENT: > > /usr/src/sys/tools/fdt/make_dtbo.sh /usr/src/sys /usr/src/sys/dts/arm64= /overlays/sun50i-a64-uart2.dtso /tmp > > Hope this helps. > > Milan Thanks Milan, I tried the dtc method - using this example from the man page: dtc -@ -O dtb -I dts -o device_overlay.dtbo device_overlay.dts Actual command used: dtc -@ -O dtb -I dts -o sun50i-a64-uart2.dtbo=20 sun50i-a64-uart2.dtso then copied the resulting dtbo file into the /boot/dtb/overlays=20 directory, and added the entry into=C2=A0 /boot/loader.conf then rebooted= .=20 The result was nothing happened :-( no uart2 in the dmesg log at all and=20 no extra ttyu(x) either I've just also attempted: /usr/src/sys/tools/fdt/make_dtbo.sh=20 /usr/src/sys /usr/src/sys/dts/arm64/overlays/sun50i-a64-uart2.dtso /tmp then copied the .dtbo file into /boot/dtb/overlays and rebooted. Again=20 nothing?? Maybe there is a difference between 12-RELEASE and 13-CURRENT? Regards, Kaya
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?75d6afff-8d83-57da-0a13-a4977d12cb87>