Re: Raspberry Pi 4B DS3231 real-time clock

2020-08-24 Thread Stuart Henderson
It's in the UEFI firmware setup menu. -- Sent from a phone, apologies for poor formatting. On 24 August 2020 04:01:19 Archimedes Gaviola wrote: > openbsd67rpi4b# dmesg > OpenBSD 6.7-current (GENERIC.MP) #775: Wed Aug 19 00:17:01 MDT 2020 > dera...@arm64.openbsd.org:/usr/src/sys/arch/ar

Re: Raspberry Pi 4B DS3231 real-time clock

2020-08-24 Thread Archimedes Gaviola
On Mon, Aug 24, 2020 at 3:56 PM Stuart Henderson wrote: > It's in the UEFI firmware setup menu. > > -- > Sent from a phone, apologies for poor formatting. > Hi Stuart, This is noted, I'll check it out later after work. Thanks and best regards, Archimedes

Discuss UEFI settings in arm64.html/INSTALL.arm64

2020-08-24 Thread Todd Carson
It's not very obvious that there devices that can attach on RPi4 only if the UEFI firmware to set to FDT mode. Also, the UEFI firmware for RPi4 defaults to capping physical memory to 3 GB since the DMA controller can't access memory above 3 GB and Linux doesn't have a workaronud for that. Going

Re: Raspberry Pi 4B DS3231 real-time clock

2020-08-24 Thread Archimedes Gaviola
On Mon, Aug 24, 2020 at 4:01 PM Archimedes Gaviola < archimedes.gavi...@gmail.com> wrote: > > > On Mon, Aug 24, 2020 at 3:56 PM Stuart Henderson > wrote: > >> It's in the UEFI firmware setup menu. >> >> -- >> Sent from a phone, apologies for poor formatting. >> > > Hi Stuart, > > This is noted,

Re: Discuss UEFI settings in arm64.html/INSTALL.arm64

2020-08-24 Thread Mark Kettenis
> From: Todd Carson > Date: Mon, 24 Aug 2020 20:07:24 +0900 > > It's not very obvious that there devices that can attach on RPi4 only if > the UEFI firmware to set to FDT mode. > > Also, the UEFI firmware for RPi4 defaults to capping physical memory to > 3 GB since the DMA controller can't acces

Re: Raspberry Pi 4B DS3231 real-time clock

2020-08-24 Thread Mark Kettenis
> From: Archimedes Gaviola > Date: Mon, 24 Aug 2020 19:15:56 +0800 > > On Mon, Aug 24, 2020 at 4:01 PM Archimedes Gaviola > wrote: > > On Mon, Aug 24, 2020 at 3:56 PM Stuart Henderson > wrote: > > It's in the UEFI firmware setup menu. > > -- >Sent from a phone, apologies for poor fo

Re: Discuss UEFI settings in arm64.html/INSTALL.arm64

2020-08-24 Thread Janne Johansson
> > > > Diffs below. I posted the arm64.html diff before but it was at the end > > of another thread so it may not have been noticed... > > I'm not necessarily against adding this, but a lot of this information > isn't really OpenBSD-specific and adding text about all the different > quirks of all

Re: Raspberry Pi 4B DS3231 real-time clock

2020-08-24 Thread Archimedes Gaviola
On Mon, Aug 24, 2020 at 7:31 PM Mark Kettenis wrote: > > From: Archimedes Gaviola > > Date: Mon, 24 Aug 2020 19:15:56 +0800 > > > > On Mon, Aug 24, 2020 at 4:01 PM Archimedes Gaviola > > wrote: > > > > On Mon, Aug 24, 2020 at 3:56 PM Stuart Henderson > > wrote: > > > > It's in the UEFI firm

Re: Discuss UEFI settings in arm64.html/INSTALL.arm64

2020-08-24 Thread Jonathan Gray
On Mon, Aug 24, 2020 at 01:29:44PM +0200, Mark Kettenis wrote: > > From: Todd Carson > > Date: Mon, 24 Aug 2020 20:07:24 +0900 > > > > It's not very obvious that there devices that can attach on RPi4 only if > > the UEFI firmware to set to FDT mode. > > > > Also, the UEFI firmware for RPi4 defau

Re: Discuss UEFI settings in arm64.html/INSTALL.arm64

2020-08-24 Thread Mark Kettenis
> Date: Mon, 24 Aug 2020 22:17:25 +1000 > From: Jonathan Gray > > On Mon, Aug 24, 2020 at 01:29:44PM +0200, Mark Kettenis wrote: > > > From: Todd Carson > > > Date: Mon, 24 Aug 2020 20:07:24 +0900 > > > > > > It's not very obvious that there devices that can attach on RPi4 only if > > > the UEF

Re: Raspberry Pi 4B DS3231 real-time clock

2020-08-24 Thread Archimedes Gaviola
Hi Mark, Confirmed that UEFI firmware v1.19 has a problem with the current snapshot when Device Tree mode is enabled. I switched to UEFI v1.18 and it works. I remember now that this is what Raspberry Pi 3B dmesg has which shows "dsxrtc0 at iic0 addr 0x68". Please see attached dmesg outputs with pr