Date: Sun, 2 May 2021 10:41:21 -0700 From: Mark Millard <marklmi@yahoo.com> To: Mark Murray <markm@freebsd.org> Cc: freebsd-arm <freebsd-arm@freebsd.org>, Emmanuel Vadot <manu@bidouilliste.com> Subject: Re: I2C/IIC working on RPI4 8GB? Message-ID: <3EFFE0F2-1202-47E9-94AF-614779ACB4A5@yahoo.com> In-Reply-To: <B2F10870-5285-4AD2-932C-15140E7572FF@FreeBSD.org> References: <1C2DD11C-B1F6-4C2A-9AB0-5F1553520FF5@FreeBSD.org> <20210426161138.a8f44b6e1134f73a411be57d@bidouilliste.com> <CF4C4332-BB2F-47E9-B879-8EEA0E53E848@FreeBSD.org> <C4828BF2-E8B7-45D1-B0F8-5E72AF84D565@yahoo.com> <47A634E3-4938-4AFC-9341-E480CEBF67FB@FreeBSD.org> <20210428101945.67417ef8eba251dcbcb38078@bidouilliste.com> <ED9ABBBE-9B5A-4B51-806C-F91AABE39731@FreeBSD.org> <486E3EA3-EBAE-492E-B12E-E72E3E3E7B6A@FreeBSD.org> <A10EA46D-6FE5-4FCD-895C-5A08A974D6DB@yahoo.com> <E9098242-5ED4-401B-9D46-E11A214A0E2F@FreeBSD.org> <F38325DB-DC0E-44F8-A256-A5D6A23925D0@googlemail.com> <501CB1C0-73D4-4BEF-A1E6-1F13C02EFA42@FreeBSD.org> <D205D9F9-8A4D-433B-9AAA-8904850AF787@yahoo.com> <8CBBAE44-E736-4DEF-BA60-4D5068D25C15@yahoo.com> <B2F10870-5285-4AD2-932C-15140E7572FF@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2021-May-2, at 03:14, Mark Murray <markm@freebsd.org> wrote: > On 2 May 2021, at 03:58, Mark Millard <marklmi@yahoo.com> wrote: >>=20 >> [I was given a code hint that I've not investigated yet.] >>=20 >> But going in a different direction, based on my default >> context on the local FreeBSD RPI4B 8 GiByte: >=20 > ... and a whole lot more really helpful diagnosis over several emails. >=20 > Thank you VERY much! it will take me a while to digest this, but = digest it I will. >=20 > Ultimately, it would be good for a "make buildworld; make = installworld" on an RPi to install the in-source FDT, and for it to be = correct, such that it doesn't take some trickier port modification to = have a working FDT. This is worth taking on as a project, but I won't = get to it very soon. When I collected and sent out boot -v gpio/i2c/iic information (case independent) for my context, one of the things in it was a "regfix0: Cannot set GPIO pin" notice with "REGNODE_INIT failed" and "regfix0: Cannot register regulator" lines as well: . . . gpio0: set pin 53 to func 7, pull 2 gpio1: <Raspberry Pi Firmware GPIO controller> on bcm2835_firmware0 gpiobus1: <GPIO bus> on gpio1 regfix0: Cannot set GPIO pin: 6 REGNODE_INIT failed: 6 regfix0: Cannot register regulator. mbox0: <BCM2835 VideoCore Mailbox> mem 0x7e00b880-0x7e00b8bf irq 13 on = simplebus0 . . . Do you get the same? I wonder if it might interfere with part of the gpio* initialization. (I was testing a 2021-Mar-12 vintage of FreeBSD but with more recent RPi* and u-boot materials.) =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EFFE0F2-1202-47E9-94AF-614779ACB4A5>