On Mon, Jun 14, 2021 at 8:01 PM Archimedes Gaviola < archimedes.gavi...@gmail.com> wrote:
> Hi, > > I took an upgrade with OpenBSD 6.9 in my Raspberry Pi 4B however DS3231 > real-time clock wasn't detected. This time I'm using the default U-boot > firmware (Das U-Boot rev 0x20210100). The same parameter I used in the > config.txt file and the dtbo > https://github.com/raspberrypi/firmware/blob/master/boot/overlays/i2c-rtc.dtbo > . > > dtoverlay=i2c-rtc,ds3231 > > Attached herewith is the dmesg file. > > Thanks and best regards, > Archimedes > Alright, so with the same machine using UEFI firmware (UEFI Firmware v1.18), OpenBSD 6.9 detects the RTC. So, this has something to do with U-boot firmware. Is U-boot firmware built in the default 6.9 image installer compiled with i2c-rtc and ds3231? Or is it a bug or issue? Thanks and best regards, Archimedes > > > >
OpenBSD 6.9 (GENERIC.MP) #1134: Sun Apr 18 01:53:35 MDT 2021 dera...@arm64.openbsd.org:/usr/src/sys/arch/arm64/compile/GENERIC.MP real mem = 2044637184 (1949MB) avail mem = 1949364224 (1859MB) random: good seed from bootblocks mainbus0 at root: Raspberry Pi 4 Model B Rev 1.2 psci0 at mainbus0: PSCI 1.1, SMCCC 1.2 cpu0 at mainbus0 mpidr 0: ARM Cortex-A72 r0p3 cpu0: 48KB 64b/line 3-way L1 PIPT I-cache, 32KB 64b/line 2-way L1 D-cache cpu0: 1024KB 64b/line 16-way L2 cache cpu0: CRC32,ASID16 cpu1 at mainbus0 mpidr 1: ARM Cortex-A72 r0p3 cpu1: 48KB 64b/line 3-way L1 PIPT I-cache, 32KB 64b/line 2-way L1 D-cache cpu1: 1024KB 64b/line 16-way L2 cache cpu1: CRC32,ASID16 cpu2 at mainbus0 mpidr 2: ARM Cortex-A72 r0p3 cpu2: 48KB 64b/line 3-way L1 PIPT I-cache, 32KB 64b/line 2-way L1 D-cache cpu2: 1024KB 64b/line 16-way L2 cache cpu2: CRC32,ASID16 cpu3 at mainbus0 mpidr 3: ARM Cortex-A72 r0p3 cpu3: 48KB 64b/line 3-way L1 PIPT I-cache, 32KB 64b/line 2-way L1 D-cache cpu3: 1024KB 64b/line 16-way L2 cache cpu3: CRC32,ASID16 efi0 at mainbus0: UEFI 2.7 efi0: https://github.com/pftf/RPi4 rev 0x10000 smbios0 at efi0: SMBIOS 3.3.0 smbios0: vendor https://github.com/pftf/RPi4 version "UEFI Firmware v1.18" date 08/05/2020 smbios0: Raspberry Pi Foundation Raspberry Pi 4 Model B apm0 at mainbus0 "system" at mainbus0 not configured "axi" at mainbus0 not configured simplebus0 at mainbus0: "soc" bcmclock0 at simplebus0 bcmmbox0 at simplebus0 bcmgpio0 at simplebus0 bcmaux0 at simplebus0 ampintc0 at simplebus0 nirq 256, ncpu 4 ipi: 0, 1: "interrupt-controller" bcmtmon0 at simplebus0 bcmdmac0 at simplebus0: DMA0 DMA2 DMA4 DMA5 DMA6 DMA7 "timer" at simplebus0 not configured bcmirng0 at simplebus0 pluart0 at simplebus0 "spi" at simplebus0 not configured com0 at simplebus0: ns16550, no working fifo bcmbsc0 at simplebus0 iic0 at bcmbsc0 dsxrtc0 at iic0 addr 0x68 "local_intc" at simplebus0 not configured bcmdog0 at simplebus0 simplebus1 at simplebus0: "firmware" "clocks" at simplebus1 not configured "gpio" at simplebus1 not configured "power" at simplebus0 not configured "mailbox" at simplebus0 not configured sdhc0 at simplebus0 sdhc0: SDHC 3.0, 250 MHz base clock sdmmc0 at sdhc0: 4-bit, sd high-speed, mmc high-speed "gpiomem" at simplebus0 not configured "fb" at simplebus0 not configured "vcsm" at simplebus0 not configured "clock" at simplebus0 not configured "clocks" at mainbus0 not configured "phy" at mainbus0 not configured simplebus2 at mainbus0: "emmc2bus" sdhc1 at simplebus2 sdhc1: SDHC 3.0, 100 MHz base clock sdmmc1 at sdhc1: 8-bit, sd high-speed, mmc high-speed, ddr52, dma "arm-pmu" at mainbus0 not configured agtimer0 at mainbus0: 54000 kHz simplebus3 at mainbus0: "scb" bcmpcie0 at simplebus3 pci0 at bcmpcie0 ppb0 at pci0 dev 0 function 0 "Broadcom BCM2711" rev 0x10 pci1 at ppb0 bus 1 xhci0 at pci1 dev 0 function 0 "VIA VL805 xHCI" rev 0x01: intx, xHCI 1.0 usb0 at xhci0: USB revision 3.0 uhub0 at usb0 configuration 1 interface 0 "VIA xHCI root hub" rev 3.00/1.00 addr 1 bse0 at simplebus3: address dc:a6:32:b0:c6:7d brgphy0 at bse0 phy 1: BCM54210E 10/100/1000baseT PHY, rev. 2 "dma" at simplebus3 not configured "hevc-decoder" at simplebus3 not configured "rpivid-local-intc" at simplebus3 not configured "h264-decoder" at simplebus3 not configured "vp9-decoder" at simplebus3 not configured "leds" at mainbus0 not configured "sd_io_1v8_reg" at mainbus0 not configured "fixedregulator_3v3" at mainbus0 not configured "fixedregulator_5v0" at mainbus0 not configured simplebus4 at mainbus0: "v3dbus" "clk-108M" at mainbus0 not configured "sd_vcc_reg" at mainbus0 not configured simplefb0 at mainbus0: 1280x800, 32bpp wsdisplay0 at simplefb0 mux 1: console (std, vt100 emulation) wsdisplay0: screen 1-5 added (std, vt100 emulation) scsibus0 at sdmmc1: 2 targets, initiator 0 sd0 at scsibus0 targ 1 lun 0: <SD/MMC, SB32G, 0080> removable sd0: 30436MB, 512 bytes/sector, 62333952 sectors uhub1 at uhub0 port 1 configuration 1 interface 0 "VIA Labs USB2.0 Hub" rev 2.10/4.21 addr 2 bwfm0 at sdmmc0 function 1 manufacturer 0x02d0, product 0xa9a6 at sdmmc0 function 2 not configured manufacturer 0x02d0, product 0xa9a6 at sdmmc0 function 3 not configured umass0 at uhub1 port 1 configuration 1 interface 0 "Generic Mass Storage Device" rev 2.00/1.00 addr 3 umass0: using SCSI over Bulk-Only scsibus1 at umass0: 2 targets, initiator 0 sd1 at scsibus1 targ 1 lun 0: <Mass, Storage Device, 1.00> removable serial.14cd1212121220160204 sd1: 30436MB, 512 bytes/sector, 62333952 sectors uhidev0 at uhub1 port 2 configuration 1 interface 0 "USB Adapter USB Device" rev 1.10/0.01 addr 4 uhidev0: iclass 3/1 ukbd0 at uhidev0: 8 variable keys, 6 key codes wskbd0 at ukbd0: console keyboard, using wsdisplay0 ugen0 at uhub1 port 3 "Generic EMV Smartcard Reader" rev 1.10/0.01 addr 5 uhidev1 at uhub1 port 4 configuration 1 interface 0 "A4Tech USB Keyboard" rev 2.00/1.05 addr 6 uhidev1: iclass 3/1 ukbd1 at uhidev1: 8 variable keys, 6 key codes wskbd1 at ukbd1 mux 1 wskbd1: connecting to wsdisplay0 uhidev2 at uhub1 port 4 configuration 1 interface 1 "A4Tech USB Keyboard" rev 2.00/1.05 addr 6 uhidev2: iclass 3/0, 1 report id uhid0 at uhidev2 reportid 1: input=4, output=0, feature=0 vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets root on sd1a (9f96603b91ae0859.a) swap on sd1b dump on sd1b WARNING: / was not properly unmounted gpio0 at bcmgpio0: 58 pins bwfm0: failed loadfirmware of file brcmfmac43455-sdio.bin