From owner-freebsd-arm@freebsd.org Thu Jan 16 20:37:09 2020 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5CF991F5261 for ; Thu, 16 Jan 2020 20:37:09 +0000 (UTC) (envelope-from freebsdnewbie@freenet.de) Received: from mout3.freenet.de (mout3.freenet.de [195.4.92.93]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (Client CN "*.freenet.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47zGFw4Bdtz4Yc5 for ; Thu, 16 Jan 2020 20:37:08 +0000 (UTC) (envelope-from freebsdnewbie@freenet.de) Received: from [195.4.92.164] (helo=mjail1.freenet.de) by mout3.freenet.de with esmtpa (ID freebsdnewbie@freenet.de) (port 25) (Exim 4.92 #3) id 1isBt0-0003ey-Uq; Thu, 16 Jan 2020 21:37:02 +0100 Received: from [::1] (port=33142 helo=mjail1.freenet.de) by mjail1.freenet.de with esmtpa (ID freebsdnewbie@freenet.de) (Exim 4.92 #3) id 1isBt0-0007D7-U3; Thu, 16 Jan 2020 21:37:02 +0100 Received: from sub8.freenet.de ([195.4.92.127]:57168) by mjail1.freenet.de with esmtpa (ID freebsdnewbie@freenet.de) (Exim 4.92 #3) id 1isBqG-0005oH-Qb; Thu, 16 Jan 2020 21:34:12 +0100 Received: from p4fd9f0d9.dip0.t-ipconnect.de ([79.217.240.217]:37451 helo=freebsd-t450.fritz.box) by sub8.freenet.de with esmtpsa (ID freebsdnewbie@freenet.de) (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256) (port 465) (Exim 4.92 #3) id 1isBqG-0001zc-Lj; Thu, 16 Jan 2020 21:34:12 +0100 Date: Thu, 16 Jan 2020 21:34:11 +0100 From: Manuel =?ISO-8859-1?Q?St=FChn?= To: Hans Bentum Cc: freebsd-arm@freebsd.org Subject: Re: How to get pin to mode 6 on beagle bone black Message-Id: <20200116213411.ba213b01885d2108c9ace7a5@freenet.de> In-Reply-To: References: <20200115220647.1958e8639dc718e714775fed@freenet.de> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Originated-At: 79.217.240.217!37451 X-Rspamd-Queue-Id: 47zGFw4Bdtz4Yc5 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsdnewbie@freenet.de designates 195.4.92.93 as permitted sender) smtp.mailfrom=freebsdnewbie@freenet.de X-Spamd-Result: default: False [-1.79 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:195.4.92.0/23]; FREEMAIL_FROM(0.00)[freenet.de]; RWL_MAILSPIKE_GOOD(0.00)[93.92.4.195.rep.mailspike.net : 127.0.0.18]; MV_CASE(0.50)[]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[freenet.de]; ASN(0.00)[asn:5430, ipnet:195.4.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[217.240.217.79.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.994,0]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.00)[ip: (-0.90), ipnet: 195.4.0.0/16(-0.55), asn: 5430(-0.28), country: DE(-0.02)]; DMARC_NA(0.00)[freenet.de]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[93.92.4.195.list.dnswl.org : 127.0.5.0]; RCVD_TLS_LAST(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: Thu, 16 Jan 2020 20:37:09 -0000 Hello Hans, On Thu, 16 Jan 2020 16:05:53 +0100 Hans Bentum wrote: > > > > Hello Manuel, > > > > I discovered this tool: https://github.com/nmingotti/pinfun > > > > As you can see pin 8_16 has mode 7 (should be 6). So something must give > > it mode 7. The overlays seems to be loaded. > > I think the egpio.dtso is not applied, because all of its entries are missing in the devicetree-dump of yours. It seems that only am335x-boneblack-pruss.dtbo was applied correctly. You could try to add your changed directly to the original devicetree file (sys/gnu/dts/arm/am335x-bone-common.dtsi) without using overlays at all to workaround some overlay trouble. Additionally you could have an closer look at the early boot. loader(8) prints also some information during devicetree loading and applying of overlays. Those messages are not visible via dmesg, they can only be seen on the serial console during boot. Best Regards, -- Manuel