From owner-freebsd-arm@freebsd.org Mon Jun 24 20:23:02 2019 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BE93F15D8885 for ; Mon, 24 Jun 2019 20:23:02 +0000 (UTC) (envelope-from kayasaman@optiplex-networks.com) Received: from x-ray.optiplex-networks.com (mail.optiplex-networks.com [212.159.80.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BB2F38722F for ; Mon, 24 Jun 2019 20:23:01 +0000 (UTC) (envelope-from kayasaman@optiplex-networks.com) Received: from localhost (localhost [127.0.0.1]) by x-ray.optiplex-networks.com (Postfix) with ESMTP id 687FD7210E3; Mon, 24 Jun 2019 21:23:00 +0100 (BST) Received: from x-ray.optiplex-networks.com ([127.0.0.1]) by localhost (x-ray.optiplex-networks.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id MTvZKopqdC7L; Mon, 24 Jun 2019 21:23:00 +0100 (BST) Received: from localhost (localhost [127.0.0.1]) by x-ray.optiplex-networks.com (Postfix) with ESMTP id E848272C7A3; Mon, 24 Jun 2019 21:22:59 +0100 (BST) X-Virus-Scanned: amavisd-new at x-ray.optiplex-networks.com Received: from x-ray.optiplex-networks.com ([127.0.0.1]) by localhost (x-ray.optiplex-networks.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id LsfV3Hn-bLjm; Mon, 24 Jun 2019 21:22:59 +0100 (BST) Received: from x220.optiplex-networks.com (unknown [192.168.0.192]) by x-ray.optiplex-networks.com (Postfix) with ESMTPSA id D1629721FC4; Mon, 24 Jun 2019 21:22:59 +0100 (BST) Subject: Re: Pine64-LTS and UART ports To: Milan Obuch Cc: freebsd-arm@freebsd.org References: <371fe0f0-9f91-e4ba-ff4e-8338fe9d63de@optiplex-networks.com> <20190623235732.4439b707@zeta.dino.sk> <20190624133017.5a9689b7@zeta.dino.sk> <62ba1a30-25bc-af65-beb2-0e05dfc76c79@optiplex-networks.com> <20190624164512.0ea5c4d3@zeta.dino.sk> From: Kaya Saman Message-ID: <75d6afff-8d83-57da-0a13-a4977d12cb87@optiplex-networks.com> Date: Mon, 24 Jun 2019 21:22:59 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.1 MIME-Version: 1.0 In-Reply-To: <20190624164512.0ea5c4d3@zeta.dino.sk> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: BB2F38722F X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of kayasaman@optiplex-networks.com designates 212.159.80.20 as permitted sender) smtp.mailfrom=kayasaman@optiplex-networks.com X-Spamd-Result: default: False [-6.91 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[6]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[optiplex-networks.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: mail.optiplex-networks.com]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-1.00)[-0.998,0]; IP_SCORE(-3.60)[ip: (-9.53), ipnet: 212.159.64.0/18(-4.77), asn: 6871(-3.60), country: GB(-0.09)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6871, ipnet:212.159.64.0/18, country:GB]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Jun 2019 20:23:03 -0000 On 6/24/19 3:45 PM, Milan Obuch wrote: > On Mon, 24 Jun 2019 15:34:43 +0100 > Kaya Saman 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