From nobody Wed Jul 13 03:54:45 2022 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 8BE0C17F9591 for ; Wed, 13 Jul 2022 03:54:57 +0000 (UTC) (envelope-from nick@i11.co) Received: from mx.i11.co (mx.i11.co [159.69.78.69]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4LjP003bFkz422y for ; Wed, 13 Jul 2022 03:54:56 +0000 (UTC) (envelope-from nick@i11.co) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=i11.co; s=omicron; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=E+T0GKVsx6Y2AGQ+9UNgAB1XPVRvKEHUcgTrJu41ZFc=; b=a08/CD9UEXW4YiwOpGFpOLGB6i ui+xio9nUpzN/f5sWbyAniBxnCtpptAgNbSvdv/tdPrP3x3Nw+ddrrpn2PQbZAhK/G4GEx3gAhk8t TdCcldOlmBNmsHbyh+frDX4omB4Rdti1HaLIsjRlNje3PS/eVkA6sOU3cXxeQxzQlyaWV7lpx+IKf OgqYd0sG8XyPBDr0bhoaPGfJW3qPo5JOAxwt4BQ4T4phZ28NKzqVgcLd+N/Se6Jf6ADgCd4SEbxLR T/Q1vUl+fsSgO5VybgYuUT5p9HOMUq9anlo3Vb0NCmoDGRm8SqQLEFovgEMufMIfKtYdBRqiPELWB Xka3CWig==; Received: from [212.237.25.26] (helo=thinkbook) by mx.i11.co with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oBTSa-0002Vp-JD; Wed, 13 Jul 2022 03:54:48 +0000 Date: Wed, 13 Jul 2022 06:54:45 +0300 From: Nick Kostyria To: Mark Millard Cc: freebsd-arm Subject: Re: path for overlays Message-ID: <20220713035445.3a22da0d@thinkbook> In-Reply-To: References: X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.33; amd64-portbld-freebsd12.3) List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4LjP003bFkz422y X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=i11.co header.s=omicron header.b="a08/CD9U"; dmarc=pass (policy=reject) header.from=i11.co; spf=pass (mx1.freebsd.org: domain of nick@i11.co designates 159.69.78.69 as permitted sender) smtp.mailfrom=nick@i11.co X-Spamd-Result: default: False [-3.50 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-0.997]; MID_RHS_NOT_FQDN(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[i11.co,reject]; R_SPF_ALLOW(-0.20)[+ip4:159.69.78.69]; R_DKIM_ALLOW(-0.20)[i11.co:s=omicron]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-arm]; FREEMAIL_TO(0.00)[yahoo.com]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:24940, ipnet:159.69.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; DKIM_TRACE(0.00)[i11.co:+]; RCVD_COUNT_TWO(0.00)[2]; FREEFALL_USER(0.00)[nick]; ARC_NA(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; TO_DN_ALL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On Mon, 11 Jul 2022 22:16:44 -0700 Mark Millard wrote: > Nick Kostyria wrote on > Date: Tue, 12 Jul 2022 03:27:25 UTC : > > > On Mon, 11 Jul 2022 00:18:59 -0300 > > "Dr. Rolf Jansen" wrote: > > > > > > > > > > Anyway, for enabling I2C5 (we may choose from I2C3, I2C4, I2C5 and I2C6) on a Raspberry Pi 4, we do: > > > > > > # fetch https://github.com/raspberrypi/linux/blob/rpi-5.15.y/arch/arm/boot/dts/overlays/i2c5-overlay.dts > > > # dtc -I dts -O dtb -b0 -@ -o /boot/msdos/overlays/i2c5.dtbo i2c5-overlay.dts > > > > > > Then we add the following 2 lines to /boot/msdos/config.txt: > > > > > > gpio=12,13=a5 > > > dtoverlay=i2c5,pins_12_13 > > > > > > > Hello. > > > > I see you use /boot/msdos/overlays/ for overlays. > > I have a question for a long time and I can't find an answer. > > > > What is the difference between /boot/msdos/overlays/ and /boot/dtb/overlays/ (fdt_overlays in /boot/loader.conf). > > [I've written these notes to presume a RPi* context based on > U-Boot, not EDK2 UEFI/ACPI or the like, and not for other > platforms.] 's Thank you very much for the clarification.