ChanServ changed the topic of #armlinux to: ARM kernel talk [Upstream kernel, find your vendor forums for questions about their kernels] | https://libera.irclog.whitequark.org/armlinux
apritzel has quit [Ping timeout: 252 seconds]
CrashTestDummy2 has joined #armlinux
CrashTestDummy3 has quit [Ping timeout: 252 seconds]
paulg has quit [Ping timeout: 265 seconds]
mwalle has quit [Quit: WeeChat 2.3]
Tables has joined #armlinux
Tables has left #armlinux [Leaving]
Nact has quit [Quit: Konversation terminated!]
CrashTestDummy3 has joined #armlinux
CrashTestDummy2 has quit [Ping timeout: 265 seconds]
apritzel has joined #armlinux
apritzel has quit [Ping timeout: 265 seconds]
apritzel has joined #armlinux
wwilly has joined #armlinux
CrashTestDummy2 has joined #armlinux
CrashTestDummy3 has quit [Ping timeout: 265 seconds]
paulg has joined #armlinux
CrashTestDummy3 has joined #armlinux
CrashTestDummy2 has quit [Ping timeout: 258 seconds]
apritzel has quit [Ping timeout: 258 seconds]
headless has joined #armlinux
<marex> abelloni: hi, I ran across CONFIG_RTC_HCTOSYS_DEVICE, but that looks odd ; the probe order of various RTCs is not stable on boot, so whatever is rtc0 , rtc1 , etc. might change every boot -- so how do I specify the preferred RTC from which the kernel should pull current time really ?
<abelloni> you don't
<abelloni> you should avoid using RTC_HCTOSYS
<marex> abelloni: oh ?
<marex> abelloni: so what does set the system time (from rtc) early on then ?
<abelloni> userspace ?
<abelloni> why do you want the kernel to set the time in the frst place ?
<marex> abelloni: well, I just spent the last few hours digging through systemd sources , only to find out it is unable to set system time from RTC if it has no network connection (no NTP access)
<marex> abelloni: so it merrily sets system time to its build time and ... done
<abelloni> else, the answer to your original question is to use DT aliases
<abelloni> marex: yes, there is a bug opened for systemd
<abelloni> where lennart and I disagree
<marex> :-)
<marex> abelloni: got a link ?
<abelloni> he says the kernel has to do it, I say userspace is better equipped
<marex> abelloni: heh
<marex> abelloni: I think its a different point of view, Lennart sees it from the server-end, where there is one RTC which just works ; you see it from embedded system view where there are three RTCs and each broken in different way
<abelloni> one of those
<abelloni> marex: exactly
<abelloni> marex: but really, just use aliases
<marex> abelloni: I totally did miss the alias support, and that seems what I need, thanks for that
headless has quit [Quit: Konversation terminated!]
nsaenz has joined #armlinux
<geertu> abelloni: I use CONFIG_RTC_HCTOSYS_DEVICE="rtc0" on m68k because else it runs e2fsck on every boot
apritzel has joined #armlinux
<ukleinek> geertu: it shouldn't. AFAIK systemd sets the date to max(build-date, last-shutdown, most-recently-saved-runtime-timestamp)
<Xogium> ukleinek is right, but it could happen if fsck is executed before timesync is ran
<Xogium> afaik
<Xogium> I believe it is timesync that advances the clock
<Xogium> though… Maybe not ?
Nact has joined #armlinux
<Xogium> I know for a fact timesyncd is the one that restore time from disk, unless this changed
<Xogium> but maybe advancing the clock to the latest build date of systemd is done by pid 1
<Xogium> that being said, if it is running fsck before the time from disk is restored, I can see why it would have a bit of a problem
<Xogium> if you go for example 4 months into the past at each reboot
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #armlinux
<abelloni> even then, I guess the time could be read from the RTC and set to the system time before running fsck
<abelloni> because at that point you have a userspace right ?
mag has joined #armlinux
nsaenz has quit [Remote host closed the connection]
hauke has quit [Quit: WeeChat 2.3]
hauke has joined #armlinux
<marex> robher: hi, so, I ran across another oddity while fixing up dtbs_check warnings
<marex> arch/arm/boot/dts/stm32mp157a-dhcor-avenger96.dt.yaml: led: led1:default-state:0: 'off' is not of type 'array'
<marex> arch/arm/boot/dts/stm32mp153c-dhcom-drc02.dt.yaml:0:0: /reserved-memory/mcuram2@10000000: failed to match any schema with compatible: ['shared-dma-pool']
<marex> these two
<marex> it seems like they are both schema-side issues, or ?
nsaenz has joined #armlinux
wwilly has quit [Ping timeout: 265 seconds]