buzzmarshall has quit [Quit: Konversation terminated!]
AKN has joined #beagle
<AKN>
Hi, Everyone Trying to brinup the pruss core in yocto image, linux-ti-kernel 5.10.100, modified the am5729-beaglebone-ai.DTS according to the one in the Beaglebone git page build was successful but couldn't get the pruss core Shows error cannot lookup hwmod pruss1
<AKN>
Include pru-icss , pruss-lld recipes still couldn't brinup the pru cores
<rasenrhino>
when i try to stop or start pru cores, i usually get an error like IO error , or "/lib/firmware/am57xx-pru1_1-fw deos not exist" any idea why this happens and how i can mitigate it
otisolsen70 has joined #beagle
otisolsen70 has quit [Remote host closed the connection]
otisolsen70 has quit [Read error: Connection reset by peer]
otisolsen70 has joined #beagle
russ has quit [Ping timeout: 250 seconds]
russ has joined #beagle
<zmatt>
lucascastro: overlays are applied by u-boot, so there's no dependency on particular kernels
<zmatt>
lucascastro: of course it's still possible for specific individual overlays to depend on non-mainline things (like the gpio-of-helper driver)
<zmatt>
rasenrhino: I mean, that error sounds pretty self-explanatory: you'll get that error if you try to start a core while its configured firmware file doesn't exist
<zmatt>
AKN: it doesn't seem to me like any dts modification should be needed for pruss in ti-linux-5.10
<zmatt>
oh huh
<zmatt>
actually, looks like it does need a small fix
<zmatt>
replace line 8: #include "dra74x.dtsi"
<zmatt>
by: #include "am5728.dtsi"
<zmatt>
looks like they fixed that in every am572x-based dts _except_ the beagleboneai, lol
starblue1 has quit [Ping timeout: 256 seconds]
starblue1 has joined #beagle
<zmatt>
hnv: by default it preserves whatever baudrate the tty is already configured at, and it cycles through a list of baudrates whenever a break is detected
<zmatt>
hnv: setting a specific baudrate would require a small config file to override the ExecStart of the service instance: https://pastebin.com/pgtSFfuQ
AKN has quit [Read error: Connection reset by peer]
AKN has joined #beagle
<AKN>
zmatt : Thank you, Figured it out kernel 5.10.100 had am57-pruss.dtsi added it to the dts.
<AKN>
pruss is alive now.
rob_w has quit [Remote host closed the connection]
<AKN>
zmatt: Hope I had seen your message sooner. I got the am57-pruss.dtsi from commit mail archive.
<hnv>
thanks zmatt
otisolsen70 has quit [Quit: Leaving]
Konsgn has joined #beagle
<Konsgn>
What actuall handles a shutdown?
<Konsgn>
I saw a reference to systemd, but what actually does the shutdown? i can't seem to find any shutdown code in the kernel drivers of tps65217.
AKN has quit [Read error: Connection reset by peer]
Konsgnx1 has joined #beagle
buzzmarshall has joined #beagle
Konsgn has quit [Ping timeout: 250 seconds]
otisolsen70 has joined #beagle
AKN has joined #beagle
AKN_R has joined #beagle
outrageous has joined #beagle
AKN_R has quit [Quit: Leaving]
mag_ has quit [Remote host closed the connection]
AKN has quit [Read error: Connection reset by peer]
mag_ has joined #beagle
mag_ has quit [Ping timeout: 252 seconds]
mag_ has joined #beagle
mag_ has quit [Remote host closed the connection]
mag has joined #beagle
vagrantc has joined #beagle
rah has quit [Ping timeout: 240 seconds]
rah has joined #beagle
ogra has quit [Ping timeout: 240 seconds]
ogra has joined #beagle
CygniX has quit [Ping timeout: 240 seconds]
CygniX has joined #beagle
ikarso has quit [Quit: Connection closed for inactivity]
<zmatt>
Konsgnx1: the rtc driver
<Konsgnx1>
Bah, wouldn't have thought to look there
<Konsgnx1>
Thank you
<zmatt>
Konsgnx1: it's because the am335x was designed to support keeping the rtc section powered while the rest of the SoC is off, so the rtc controls the on/off request line to the pmic (to also support rtc-triggered power-on)
<zmatt>
(whether an off-request turns the system fully off or into rtc-only mode is determined by the OFF config bit in the pmic which is set based on a DT property)
<Konsgnx1>
Gotcha, so in custom boards, we do need to make sure we instantiate the rtc driver correctly in the device tree.
<zmatt>
(note: rtc-only mode has been defeatured)
<zmatt>
Konsgnx1: yup, unless you use a different pmic which doesn't work the same way
<zmatt>
like, one that doesn't suck as much as the tps65217
<Konsgnx1>
bahhhhhh
<Konsgnx1>
&rtc {
<Konsgnx1>
system-power-controller;
<Konsgnx1>
}; is all thats needed it seems
<zmatt>
although iirc when using the improved tps65218 it still works the same
<Konsgnx1>
crap, sorry bout the newlines
<Konsgnx1>
From what I've been seeing the dts have both drivers built in by default.
<zmatt>
both drivers?
<zmatt>
the rtc is obviously declared in am33xx.dtsi (or a dtsi included by it), like all other SoC peripherals
<zmatt>
though weirdly in the 5.10 tree I'm noticing that the dts files (or board-specific dtsi files) are declaring 'clocks' and 'clock-names' properties on &rtc which is really strange since if those are needed they should be in am33xx-l4.dtsi, not here: https://pastebin.com/raw/uiWTfmwA
<zmatt>
I guess it's to indicate that an external 32768 Hz crystal is present? but if so, it's a bit weird that this is how you do that
<zmatt>
okay, seems to be the same in 4.19
<zmatt>
although in 4.19 that's overriding the clocks and clock-names properties declared in am33xx.dtsi (which only declares "int-clk")
KartikANK has joined #beagle
<zmatt>
but in 5.10 those properties are gone
<zmatt>
weird
KartikANK has quit [Quit: Leaving]
<zmatt>
I don't really understand how this mess in 5.10 even works
<zmatt>
like, the target-module parent does declare a clock, but it points to a node &l4_rtc_clkctrl that merely controls the enabling of the module clock and contains no info about the actual clock source used itself... so is that now hardcoded into the kernel instead of being declared in DT ? if so, what the fuck was the point of moving from hwmods to declaring all this crap in DT instead? (which I'm not ...
<zmatt>
...convinced was really an improvement)
rasenrhino has quit [Quit: Client closed]
Shadyman has quit [Quit: Leaving.]
florian has quit [Quit: Ex-Chat]
<Konsgnx1>
haha, now I'm confused. the kernel is panicking on shutdown
<zmatt>
do you also have ti,pmic-shutdown-controller; on the pmic?
<Konsgnx1>
hmm.
<Konsgnx1>
just the stuff included by #include "am335x-osd335x-common.dtsi"
<Konsgnx1>
so... yes i think
<zmatt>
ok yep
Guest60 has joined #beagle
<Guest60>
Hi, is BBONE-AI Beagleboard going to be obsolete?
Guest60 has quit [Client Quit]
<Konsgnx1>
Alright, I seem to be getting "WARNING: halt/1639 still has locks held!
<Konsgnx1>
"
<Konsgnx1>
not sure where that is coming from, prior to halt command, there is no pid of 1639
vagrantc has quit [Quit: leaving]
otisolsen70 has quit [Quit: Leaving]
ikarso has joined #beagle
lucas_ has joined #beagle
lucascastro has quit [Read error: Connection reset by peer]