From nobody Tue Jul 12 03:27:25 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 53F551D234C6 for ; Tue, 12 Jul 2022 03:27:37 +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 4LhmQw1GCYz3gyZ for ; Tue, 12 Jul 2022 03:27:36 +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=3vntKMvTf1py/ILu+C1HVJ1vEsvpWgpM2EfYgdluDNM=; b=BRjog8XNkZWNpdnm4gRLR8iocn cDbPT+jgnEknwOT7T0CLALbf6DzxBU9vPPzT+kCsUBE9SsC4C8cPv5SFuaEgOj/cs55UV1XWqDNtM pvRpWi3jw5jrSlA4v8ZdqhqKaUya02k9Q0XAEyNnaIW2bcShdknB9vrVoN4gB1E1/BRn7E86amLvw gWBvHSTJyQSminSwuKftXctzQUtR/3Mrr0Z3Dlvw9J60DHNhDbVYqRQrvgjBSYDEV+gURLCFSLlXV 8IBpqsbNbw+B/XvjCyBoWoBXmqwy8IKtKWRhASGD7G/twhF2DN2dO4ANeHyDoLcW+PaefYruv26VF eBH0ww/g==; 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 1oB6Ya-0006sz-Ep; Tue, 12 Jul 2022 03:27:28 +0000 Date: Tue, 12 Jul 2022 06:27:25 +0300 From: Nick Kostyria To: "Dr. Rolf Jansen" Cc: freebsd-arm Subject: Re: path for overlays Message-ID: <20220712032725.49684889@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: 4LhmQw1GCYz3gyZ X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=i11.co header.s=omicron header.b=BRjog8XN; 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_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; 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]; 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)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[i11.co:+]; FREEFALL_USER(0.00)[nick]; ARC_NA(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N 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). What is more correct? What should be used? /boot/msdos/overlays/ or /boot/dtb/overlays/ /boot/msdos/config.txt or /boot/loader.conf Thanks.