set_ has joined #beagle
set_ has quit [Remote host closed the connection]
set_ has joined #beagle
dmh has quit [Quit: rip]
dmh has joined #beagle
PhotoJim has joined #beagle
<set_> I have not done it.
<set_> I wanted to say, "Yes to me and I have done it!" But, truth tells all. I have not.
<set_> BBB...how are you and your persons of interest doing in the GSoC world?
thinkfat has joined #beagle
thinkfat_ has quit [Ping timeout: 250 seconds]
starblue has quit [Ping timeout: 256 seconds]
starblue has joined #beagle
<set_> Is this the mostly incorrect room to inquire an esquire about the GSoC program?
<set_> yes. it is the incorrect one. Blah.
<set_> Sorry.
vagrantc has quit [Quit: leaving]
SJFriedl has quit [Read error: Connection reset by peer]
SJFriedl has joined #beagle
Guest33 has joined #beagle
Guest33 has quit [Quit: Client closed]
Whisky` has joined #beagle
Whiskey` has quit [Ping timeout: 260 seconds]
ikarso has joined #beagle
florian has joined #beagle
Guest66 has joined #beagle
Guest66 has quit [Client Quit]
* set_ says "yes," that wire does go in that connector! The motor works! BBB!
<set_> It is basically this 120v sychronous motor, three RPM per minute, that is iffy. So, bypass!
Shadyman has quit [Remote host closed the connection]
starblue has quit [Ping timeout: 252 seconds]
starblue has joined #beagle
zjason` is now known as zjason
bradfa has joined #beagle
lucascastro has quit [Remote host closed the connection]
lucascastro has joined #beagle
lucascastro has quit [Remote host closed the connection]
lucascastro has joined #beagle
SJFriedl has quit [Ping timeout: 240 seconds]
SJFriedl has joined #beagle
<zmatt> 120v? try not to get yourself killed
<Konsgn> rcn-ee: Thank you for that, it does seem that it may be a difference in how the u-boot is configured. The yocto sources do not do anything with rtc in u-boot. Would it be possible to somehow enable the rtc in internal mode from the device tree on mainline 5.9?
<zmatt> that actually makes sense, it should probably be done by u-boot
<zmatt> though it's a bit weird, it looks like am33xx.dtsi only declares the internal clock?
<zmatt> oh I'm looking at old versions
<zmatt> konsgn: 5.9 ? you realize that that's an unmaintained kernel series?
<zmatt> (EOL december 2020)
<zmatt> 5.10 is LTS until december 2026
<Konsgn> Perhaps we should switch to that if it is available on the Dunfell branch of yocto
<zmatt> LTS releases are 5.4, 5.10, and 5.15
<Konsgn> got it. What makes the decision for LTS or not?
<zmatt> a declaration from the higher powers
<Konsgn> hhaha alright, thank you.
<Konsgn> ahhh I see, 5.9 is the latest available from the meta-bbb layer
<zmatt> wouldn't you want to use a ti kernel when using yocto anyway?
<Konsgn> But the beaglebone project made such a nice configured kernel.
<zmatt> they did? I didn't know they did anything with yocto at all
<Konsgn> ... you mean meta-ti?
<Konsgn> nagh, but the meta-bbb tries to get close to the beagle provided setup in my understanding
<zmatt> I have no idea, I don't actually know what I'm talking about... I just know that TI's official SDKs are based on yocto, and they'll undoubtedly use TI kernels
<zmatt> (and TI kernels are all based on LTS mainline kernels)
set_ has quit [Ping timeout: 256 seconds]
<Konsgn> hmm, If i was looking to debug the rtc registers of the am33xx is there something I could look at in the /sys folder to check them?
<zmatt> dunno, maybe the clock tree?
<Konsgn> sys/kernel/debug/clk?
<zmatt> /sys/kernel/debug/clk/clk_summary ... but that's only if the relevant register is actually declared as clock mux to linux, which it might not be
<zmatt> it looks like the kernel driver, in kernel 5.10, never touches bit 3 of the RTC_OSC register
<zmatt> it doesn't even have a #define for that bit
<zmatt> so it should definitely be configured in u-boot
<zmatt> wait I'm blind
<zmatt> sorry
<zmatt> they just didn't put the #defines in the correct order
<zmatt> okay it's set depending on whether the rtc has a clock named "ext-clk"
nslu2-log has quit [Quit: Disconnecting from stoned server.]
nslu2-log has joined #beagle
<Konsgn> ... interesting.. the only reference I see to rtc is in the am33xx-l4.dtsi where the node is created, elsewhere I see the system-power-controller flag, but i don't see external parent clocks
<Konsgn> I am looking at 5.9 though...
set_ has joined #beagle
hyegeek has joined #beagle
set_ has quit [Ping timeout: 240 seconds]
fakuivan has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
fakuivan has joined #beagle
florian has quit [Quit: Ex-Chat]
KartikANK has joined #beagle
KartikANK has quit [Client Quit]
vagrantc has joined #beagle
lucascastro has quit [Remote host closed the connection]
lucascastro has joined #beagle
dkulp has joined #beagle
lucascastro has quit [Remote host closed the connection]
<rcn-ee> konsgn: when i last looked at this (v4.4/v4.9) era, the register was u-boot only bit.. once in kernel, it was locked offf.
<Konsgn> Yea, current focus is update the uboot to get it set. I can see it verify that the external source is set, now to just get is adjusted to internal.
<zmatt> rcn-ee: dunno about 4.9 or older, but in 4.14 and later the kernel will use 32 kHz osc if the device has a clock named "ext-clk"
<zmatt> although if it doesn't then it doesn't seem to touch the bit
<zmatt> here's the relevant snippets from the driver: https://pastebin.com/nX5LRHsn
<zmatt> (this is from 4.14 but nothing of importance has changed in the driver since then)
<zmatt> (nothing of importance to clock source selection)
ikarso has quit [Quit: Connection closed for inactivity]
<Konsgn> I got it to work by adding in rtc32k_enable() to https://github.com/beagleboard/u-boot/blob/v2020.01/board/ti/am335x/board.c\
<Konsgn> Thank you!!
dkulp has quit [Quit: dkulp]
Konsgn has quit [Read error: Connection reset by peer]
ikarso has joined #beagle
set_ has joined #beagle
lucascastro has joined #beagle
samnob has quit [*.net *.split]
noahm has quit [*.net *.split]
frostsnow has quit [*.net *.split]
russ has quit [*.net *.split]
denix has quit [*.net *.split]
ds2 has quit [*.net *.split]
alan_o has quit [*.net *.split]
samnob has joined #beagle
noahm has joined #beagle
frostsnow has joined #beagle
denix has joined #beagle
russ has joined #beagle
alan_o has joined #beagle
ds2 has joined #beagle
hnv has quit [Ping timeout: 240 seconds]
hnv has joined #beagle
<set_> @zmatt: I know. Luckily, the motor in question just rotates at 3 RPM. Ha. It is a super slow motor for a doorway to control fans.
<set_> Fridge crud. The control board is closed source/proprietary and I the chips on it are even clean, i.e. no insignia.
<set_> So, I might switch some items out. Who knows?
<set_> I still have the older model GE greenbean thing.
<set_> I was thinking of putting the BBB to use but I think it gets too cold in the compartment where the electronics are located.
set_ has quit [Remote host closed the connection]
set_ has joined #beagle