<mattb0ne>
there are errors about requesting P9_13
mattb0ne has quit [Read error: Connection reset by peer]
mattb00ne has joined #beagle
<mattb00ne>
what is weird is only that one overlay is requesting it yet there is pin PIN29 already requested by magnet-gpios; cannot claim for ocp:P9_13_pinmux... that is my overlay. Yet above that it says it failed to create GPIO entry
renrelkha has quit [Quit: bye]
buckket has quit [Remote host closed the connection]
renrelkha has joined #beagle
buckket has joined #beagle
alan_o has quit [Remote host closed the connection]
brook has joined #beagle
brook has quit [Remote host closed the connection]
brook has joined #beagle
brook has quit [Ping timeout: 260 seconds]
ChaiYing1 has joined #beagle
<mattb00ne>
snow in march crazy
kevinEathan has joined #beagle
<PhotoJim>
snow in march is entirely routine here.
kevinEathan has quit [Ping timeout: 250 seconds]
<mattb00ne>
out west?
brook has joined #beagle
<PhotoJim>
southern Canadian prairies.
kona has quit [*.net *.split]
doppo has quit [*.net *.split]
doppo_ has joined #beagle
kona has joined #beagle
vagrantc has joined #beagle
<zmatt>
mattb00ne: oh I just realized your overlay is missing its USES_PIN declarations
<mattb0ne>
i feel like this was working and then i fixed the ehrpwm1
<mattb0ne>
and now it does not
<zmatt>
this is with the fixed magnet overlay?
<mattb0ne>
because i remember complaining about the GPIO and you reminded me about the sys links
<mattb0ne>
i fixed it
<mattb0ne>
yes
<zmatt>
kernel log?
<mattb0ne>
added and rebooted
<zmatt>
you didn't forget to recompile it or anything? :P
<mattb0ne>
did that
<zmatt>
did you have cape-universal enabled on your previous beaglebone? given that you're using overlays for your gpio I feel like maybe you had it disabled
<mattb0ne>
i have gotten slightly better under your tutelage
<zmatt>
oh also, what kernel version are you running?
<mattb0ne>
4.19
<zmatt>
using gpios in overlays while having cape-universal enabled is only possible if you have a sufficiently recent kernel ( https://pastebin.com/2w2XtJBP )
<zmatt>
yeah no the exact version
<mattb0ne>
4.19.94
<mattb0ne>
4.19.940ti-r42
<mattb0ne>
i disabled and rebooting
<mattb0ne>
lets see if that fixes it
<zmatt>
yeah as my pastebin shows you'd need at least 4.19.94-ti-r69 if you want to have cape-universal enabled together with having overlays that use gpios
mattb00ne has quit [Ping timeout: 250 seconds]
<mattb0ne>
ok
<mattb0ne>
so if I disable cape universal
<mattb0ne>
that pin is in the /dev/gpio folder
<mattb0ne>
but nothing else is there
<zmatt>
which is expected behaviour, you'll only have gpios there that you declared yourself using overlays
<mattb0ne>
so it was cape universal
<mattb0ne>
it is possible I upgraded
<zmatt>
if you want to use cape-universal together with custom overlays for gpios then you'll need to upgrade the kernel yes. but typically you'd use one of the two approaches to gpio, not a mix of both
<mattb0ne>
cape universal outdated?
<zmatt>
no
<zmatt>
cape-universal is, and always has been, an ugly kludge but it's more convenient than custom overlays for new users. but declaring gpios yourself in overlays has its own advantages like getting them configured during early boot and being able to give them custom names
<zmatt>
cape-universal also slows down boot because it enables everything and the kitchen sink just in case some user may want to use it
<mattb0ne>
ok
<mattb0ne>
how much of what the beagle does is specfic to this SoC, if you moved to something else would they have completely different ways of doing things like overlays
<mattb0ne>
or is this like a unviversal embedded approach
<zmatt>
DT is pretty universal for ARM-based linux systems, though some of the details may be driver-specific
<zmatt>
cape-universal is beagle-specific
<zmatt>
but then, technically the gpio-of-helper driver is too, mainline linux really have equivalent functionality. if I had a need to do this sort of stuff on another SoC I'd probably just build a kernel with the gpio-of-helper driver copied over since it's not SoC-specific
<zmatt>
*mainline linux doesn't really have equivalent functionality
kevinEathan has joined #beagle
kevinEathan has quit [Remote host closed the connection]
kevinEathan has joined #beagle
frostsnow has quit [Read error: Connection reset by peer]
frostsnow has joined #beagle
vvn has quit [Ping timeout: 268 seconds]
vvn has joined #beagle
mattb0ne has quit [Ping timeout: 246 seconds]
mayab has quit [Quit: Connection closed for inactivity]