From owner-freebsd-arm@freebsd.org Wed Mar 10 00:33:33 2021 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 E25E8577261 for ; Wed, 10 Mar 2021 00:33:33 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DwCjn15vsz3m6F; Wed, 10 Mar 2021 00:33:32 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: by mail-wm1-x32c.google.com with SMTP id c76-20020a1c9a4f0000b029010c94499aedso8852152wme.0; Tue, 09 Mar 2021 16:33:32 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=MnrzdwhE4HAyNI6Ui6u823OtFe4UIe0t5MRLjnH7PM0=; b=Rmn/RlMV067c9PbBiZpbJt9BRHqIjuq2s+5mRmSfYe+iV6WJLPaTgH7ev2sdBnQ4Gu X+RbbwhlNEjUOF9Sup8wJwvvOlspAN19BqI8PV0sxwaDhtjzM3HsPbA/tMEbgPh1Hy7l sCsHG0fwchC//T129NEg1pcDEwMg56nWPttmOpSvmNrRskd1XrarAoAHkUQz+k5D+AsZ t8ERwJR4CrwBfKRJ/QrQ5z0OT4sUvw6ZQtW27+bpo1oJhulJjYsiahvQuabwpAjwtJn+ wSQ3yBQcKnZtx+WBcDs4+W1rPTVFYcIMlitjDXxcvZv1lxo5h1vCS21Ols+c/KxWdrsX 11FQ== X-Gm-Message-State: AOAM533OLMHK20P4PBZZL64nhDHoxMGhHh893yZ9PqcxPZ0//QEgCmVA 77w6FvC6Q/oUwwqyrpwmpzU= X-Google-Smtp-Source: ABdhPJzIgoNrD1XtCkaFJGu5jpeYdeTHNzGjv/yVxTcGwLeQXyV4Vo9pZR31SrIbf5gN1+mTcA0lWg== X-Received: by 2002:a7b:c759:: with SMTP id w25mr453622wmk.139.1615336411578; Tue, 09 Mar 2021 16:33:31 -0800 (PST) Received: from [192.168.1.167] (dynamic-046-114-152-015.46.114.pool.telefonica.de. [46.114.152.15]) by smtp.googlemail.com with ESMTPSA id r26sm6422379wmn.28.2021.03.09.16.33.30 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Mar 2021 16:33:30 -0800 (PST) From: =?utf-8?Q?Klaus_K=C3=BCchemann?= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: RPI4/8GB i2c not working? Date: Wed, 10 Mar 2021 01:33:28 +0100 References: <0D013C24-3CDD-4262-922C-524916ACCB10@FreeBSD.org> <599EDCF7-D716-4645-8832-E429C5E17F6E@yahoo.com> To: Mark Millard , Mark Murray , freebsd-arm@freebsd.org, bob prohaska In-Reply-To: <599EDCF7-D716-4645-8832-E429C5E17F6E@yahoo.com> Message-Id: X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4DwCjn15vsz3m6F X-Spamd-Bar: - X-Spamd-Result: default: False [-1.87 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[googlemail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[googlemail.com:+]; DMARC_POLICY_ALLOW(-0.50)[googlemail.com,quarantine]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FREEMAIL_TO(0.00)[yahoo.com,FreeBSD.org,freebsd.org,www.zefox.net]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; R_MIXED_CHARSET(0.62)[subject]; FREEMAIL_ENVFROM(0.00)[googlemail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[googlemail.com:dkim]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[googlemail.com:s=20161025]; RECEIVED_SPAMHAUS_PBL(0.00)[46.114.152.15:received]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::32c:from]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::32c:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::32c:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Mar 2021 00:33:33 -0000 > Am 10.03.2021 um 00:51 schrieb Mark Millard : >=20 >=20 > Nor do I see *ds3231* at: >=20 > https://github.com/raspberrypi/firmware/tree/1.20210303/boot/overlays/ =E2=80=A6 I was only GUESSING ;-) that "the other Mark M.=E2=80=9C :-) is trying = to connect an RTC because=20 one of the most annoying things on cheap arm boards is that if you = forgot to set =E2=80=9Adate' then kernel builds have the wrong date, I = even rebuilt kern when I forgot, I also always forgot to order a bunch = of RTCs :-) do you have one to test ? There=E2=80=99s a README by scrolling page down on the above link. e.g for the ds3231 it=E2=80=99s here : -- Name: i2c-rtc-gpio Info: Adds support for a number of I2C Real Time Clock devices using the software i2c controller Load: dtoverlay=3Di2c-rtc-gpio,=3D Params: abx80x Select one of the ABx80x family: AB0801, AB0803, AB0804, AB0805, AB1801, AB1803, AB1804, AB1805 .. =E2=80=94 ds1339 Select the DS1339 device =E2=80=94 So, something like : dtoverlay=3Di2c-rtc-gpio,=3D in config.txt and additional put i2c-rtc-gpio.dtbo in=20 dtb/overlays on the msdos-partition of 14-snap should make it working. So this just as an example for rtc, although I can=E2=80=99t test at the = moment and don=E2=80=99t know if there=E2=80=99s additional rtc-driver = in src. .. time to order a bunch of RTCs :-) Regards K.