A true mainline Linux Kernel for the Pinebook Pro
#89
(12-18-2019, 01:31 PM)DrYak Wrote:
(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.

I have now made the rk808 rtc module a builtin. However I do still think the hctosys code just is not particularly good. Using a udev rule has some drawbacks like not updating the system clock on resume from suspend and that kind of stuff. Thus it would then need some systemd integration, too. I just don't think that is worth the hassle.
Manjaro ARM

Kernel dev
Buy me a coffee


Messages In This Thread
RE: A true mainline Linux Kernel for the Pinebook Pro - by tsys - 12-18-2019, 01:56 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
  Debian on Pinebook Pro u974615 7 1,224 03-31-2024, 10:11 AM
Last Post: u974615
  Pinebook Pro upgrading from the factory image yamsoup 12 1,694 02-22-2024, 04:02 PM
Last Post: tllim
  Attempting to install Void Linux, boots into a black screen 9a3eedi 0 364 02-18-2024, 08:54 AM
Last Post: 9a3eedi
  Help installing Manjaro on eMMC of Pinebook Pro pine4546464 4 2,205 12-13-2023, 07:22 PM
Last Post: trillobite
  Need Help Recovering Manjaro /boot Contents on Pinebook Pro calinb 6 2,286 12-11-2023, 03:47 AM
Last Post: calinb
  Gentoo on Pinebook Pro RELEASE jannik2099 54 89,668 12-08-2023, 11:25 PM
Last Post: tllim
  Boot Order in Pinebook Pro food 8 1,301 11-23-2023, 07:37 AM
Last Post: KC9UDX
  How to mainline kernel on daniel thompson's debian installer? hellojack 14 7,592 09-07-2023, 09:38 PM
Last Post: Der Geist der Maschine
  PineBook Pro seems to go to deep sleep, but doesn't wake up pogo 11 5,431 08-31-2023, 04:20 PM
Last Post: TRS-80
  Would a Pinebook Pro be good for a Linux newbie? cassado10 6 1,531 08-08-2023, 04:58 AM
Last Post: moobythegoldensock

Forum Jump:


Users browsing this thread: 2 Guest(s)