alan_o has quit [Ping timeout: 268 seconds]
Guest47 has joined #beagle
<Guest47> @zmatt: good advice on the apt-get purge there, that freed up almost 300MB, much better now.  Ty
<zmatt> yw
<GenTooMan> set_, haven't touched them in a while mind keeps going blank when I do ... I guess that is to be expected :D
brook has joined #beagle
nparafe has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
nparafe has joined #beagle
brook has quit [Remote host closed the connection]
brook has joined #beagle
Guest47 has quit [Quit: Client closed]
<set_> Oh.
<set_> I keep reading. I get ideas here and there but nothing compounded.
<set_> No summaries yet...blah.
<set_> It seems BBBlue and arducopter beat me again. I even broke something else this time (AGAIN).
<set_> It is like an endless loop of not working correctly and yet people are flying around their BBBlues w/ arducopter? Aw!
brook has quit [Remote host closed the connection]
<set_> Anyway, Friday Funday turned out to be a bugger in the milk.
<set_> No one wants tarnished silver.
<set_> Ha.
brook has joined #beagle
brook has quit [Remote host closed the connection]
buzzmarshall has quit [Quit: Konversation terminated!]
vagrantc has quit [Quit: leaving]
xet7 has quit [Ping timeout: 268 seconds]
xet7 has joined #beagle
Shadyman has quit [Quit: Leaving.]
vagrantc has joined #beagle
vagrantc has quit [Ping timeout: 246 seconds]
AKN has joined #beagle
<AKN> what is the difference between libgpiod from rcn-ee repo and normal repo
<AKN> I have installed latest version from the normal repo but gpiochip number was messed up
<AKN> I checked on the Debian Image it was from rcn-ee it was also gpiochip(n-1)
<AKN> Can we define gpiochip in the DTS file?
<zmatt> AKN: which SoC are you referring to, the am572x ?
<zmatt> regardless, gpio devices are numbered 0-based in whatever order they're probed by the kernel
AKN_R has joined #beagle
AKN has quit [Ping timeout: 260 seconds]
<AKN_R> zmatt: Yes AM572x.
<AKN_R> In Beaglebone debian its gpiochip(n-1) but in ti-linux-kernel 5.10.y its gpiochip(n+1)
<zmatt> yeah obnoxiously TI used 1-based numbering for some (but inconsistently, not all) things on the AM572x
<zmatt> when you say beaglebone debian, you mean rcn's 5.10-ti kernel? that sounds odd since it's directly based on TI's kernel (hence the name)
<AKN_R> rcn's 4.14-ti kernel
zmatt has quit [Remote host closed the connection]
<AKN_R> Linux beaglebone 4.14.108-ti-r131
zmatt has joined #beagle
zmatt has quit [Read error: Connection reset by peer]
zmatt has joined #beagle
<zmatt> AKN_R: sorry, had connection trouble.... anyway, it might be a kernel version thing then? though if it's kernel version dependent then that's even more reason to not rely on gpiochip numbering
<zmatt> due to TI's 1-based numbering of peripherals on the am572x there are many examples where the numbering in the kernel (and u-boot) is off-by-one from the numbering in the AM572x documentation
<zmatt> e.g. UART1 is /dev/ttyS0, I2C1 is /dev/i2c-0
<zmatt> blame TI
<AKN_R> zmatt: Yes, It took us a while to figure the issue. Thank you.
<zmatt> and only certain peripherals have stable numbering (guaranteed using DT), gpio is not one of these
<zmatt> even though people often rely on its numbering regardless
<AKN_R> It's making hard to debug even smallest issue.
<zmatt> my preferred way to use gpio is by using DT to individually name, configure, and export gpios via sysfs using DT: https://github.com/mvduin/overlay-utils/blob/master/gpio-demo.dtsi and then use the udev rule listed in that file to created named symlinks so that applications can access the gpios by name and don't have to know or care about gpio numbering or what gpiochip they belong to: ...
<zmatt> that way if we move gpios in a revision of our hardware (to free up certain pins because we want to use some other functionality that's only available on those pins), we only have to update the dts and applications will work on both hardware revisions without modification
buzzmarshall has joined #beagle
<AKN_R> zmatt: Thank you.
<zmatt> (I don't use gpiod since its design and functionality is worse than sysfs gpio)
brook has joined #beagle
AKN_R has quit [Ping timeout: 255 seconds]
GenTooMan has quit [Ping timeout: 255 seconds]
GenTooMan has joined #beagle
GenTooMan has quit [Excess Flood]
GenTooMan has joined #beagle
AKN_R has joined #beagle
AKN_R has quit [Read error: Connection reset by peer]
GenTooMan has quit [Ping timeout: 255 seconds]
zmatt has quit [Ping timeout: 260 seconds]
zmatt has joined #beagle
indigaz has quit [Ping timeout: 272 seconds]
brook_ has joined #beagle
brook has quit [Ping timeout: 260 seconds]
vagrantc has joined #beagle
xet7 has quit [Remote host closed the connection]
akaWolf has joined #beagle
GenTooMan has joined #beagle
Shadyman has joined #beagle
GenTooMan has quit [Ping timeout: 255 seconds]