A true mainline Linux Kernel for the Pinebook Pro
#88
(12-18-2019, 12:06 PM)tsys Wrote: I saw someone mention that problem on the Dicord the other day.
I've just looked at it. First and foremost the IRQ GPIO of the pmic is just wrong which will prevent pretty much all read operations on the RTC from succeeding. I've fixed that.

Thank you for fixing it!

(12-18-2019, 12:06 PM)tsys Wrote: The broken load order of the rtc subsystem is probably an issue, too though. Imho hctosys is missing a mechanism to defer loading unti the rtc dev appears. Adding the RTC module as a builtin does result in the correct load order since it uses a late initcall. I'm not sure I like that solution though.

I was suggesting the builtin route, because it follows the same solution path that CMOS RTC is doing on PC-compatible class hardware.

But if you prefer not to do it, then the best strategy would be to use UDEV rules to manually call the hctosys, or compile *that* one as module (is it possible) and load the module right after /dev/rtc0 shows up (again, courtesy of some udev rule).
It's basically way to force the *deferring until rtc dev appears* part.


Messages In This Thread
RE: A true mainline Linux Kernel for the Pinebook Pro - by DrYak - 12-18-2019, 01:31 PM
5.12 - by kalpazanius - 04-26-2021, 04:38 PM
RE: 5.12 - by ramsey - 06-19-2021, 05:36 PM
RE: 5.12 - by linuxad - 06-20-2021, 09:26 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Upgrading Armbian from v24.2.1 gnome, breaks pinebook pro Sb2024 1 973 08-09-2025, 06:53 AM
Last Post: Sb2024
  Can’t login to Linux fnosai 0 568 07-27-2025, 12:30 AM
Last Post: fnosai
  Boot Order in Pinebook Pro food 11 6,327 03-28-2025, 10:08 AM
Last Post: DrYak
  Void Linux: missing firmware from pinebookpro-firmware? remph 0 630 12-15-2024, 01:58 PM
Last Post: remph
  Attempting to install Void Linux, boots into a black screen 9a3eedi 1 2,502 09-28-2024, 09:23 AM
Last Post: throwawayforvoid
  Pinebook pro won't boot after bootloader installation jwensouls 4 2,746 08-21-2024, 04:17 AM
Last Post: KC9UDX
  Slackware Linux working on PBP vxzero 0 1,268 06-05-2024, 04:30 PM
Last Post: vxzero
  [Pinebook Pro/Mobian/XFCE4] can fix touch or screen in greeter not both SynthGal 0 1,068 05-31-2024, 09:42 AM
Last Post: SynthGal
  Debian on Pinebook Pro u974615 7 5,244 03-31-2024, 10:11 AM
Last Post: u974615
  Pinebook Pro upgrading from the factory image yamsoup 12 8,079 02-22-2024, 04:02 PM
Last Post: tllim

Forum Jump:


Users browsing this thread: 4 Guest(s)