<mattb0ne>
Is it possible to pass a variable to the PRU private memory and have it take
<mattb0ne>
I wanted to move the encoder count away from zero to deal with the problem if it accidentally wraps
mattb00ne has joined #beagle
brook has joined #beagle
<mattb0ne>
I am passing the value from python after mapping it. I guess I could put an offset on the python side but I figured I would try to have the data come correct off the encoder
<mattb0ne>
let me try that brb
mattb00ne has quit [Ping timeout: 256 seconds]
mattb0ne has quit [Ping timeout: 256 seconds]
brook_ has joined #beagle
brook has quit [Ping timeout: 244 seconds]
thinkfat_ has quit [Ping timeout: 240 seconds]
thinkfat has joined #beagle
<zmatt>
wtf is he doing now, encoder count wrapping should not be a problem unless your code is broken
demirok has quit [Ping timeout: 272 seconds]
demirok has joined #beagle
demirok has quit [Quit: WeeChat 3.5]
Shadyman has joined #beagle
vagrantc has quit [Quit: leaving]
doppo has quit [Read error: Connection reset by peer]
doppo has joined #beagle
Shadyman has quit [Ping timeout: 244 seconds]
brook has joined #beagle
brook_ has quit [Ping timeout: 276 seconds]
brook has quit [Ping timeout: 244 seconds]
Shadyman has joined #beagle
akaWolf has quit [Ping timeout: 276 seconds]
akaWolf has joined #beagle
akaWolf has quit [Ping timeout: 256 seconds]
akaWolf has joined #beagle
Posterdati has joined #beagle
Shadyman has quit [Remote host closed the connection]
<set_>
Yes it is. I have no overlay on my /boot/uEnv.txt file.
<zmatt>
there's no need for that, it gets autodetected and loaded unless you explicitly disable it
<set_>
No overlay.
<set_>
I will show you.
<set_>
maybe uboot-ovlerays=1 ?
<zmatt>
again, unless you either physically remove the overlay from the filesystem or disable overlay detection for that specific cape, it will get loaded, and it did get loaded
<zmatt>
then you can undo the change in /boot/uEnv.txt
<zmatt>
this will just specifically disable that one specific overlay, without causing problems if you later put a different cape on the beaglebone
<set_>
Okay.
<set_>
I rebooted now.
<zmatt>
ah crap it might not get loaded from there
<set_>
I undid the change in /boot/
<set_>
Ha.
<zmatt>
since overlays are included with kernels now
<set_>
Right!
<set_>
But...it was located there.
<zmatt>
that's annoying, that means there's no easy way to suppress broken/unwanted overlays
<set_>
the overlay for BBORG_SERVO-00A2.dtbo was located in /lib/firmware/
<set_>
Well, the board did boot.
<zmatt>
yeah but at least here it's also included with some kernel packages: /boot/dtbs/*/overlays/BBORG_SERVO-00A2.dtbo
<set_>
Aw. Let me check.
<set_>
Not on mine.
<set_>
I checked earlier.
<zmatt>
okay, but then probably if you ever install a kernel update it would break again, so that's not ideal
<set_>
Hmm.
<set_>
So, remove the newer kernel?
<zmatt>
so the previous solution (disable_uboot_overlay_addr0=1) may be better... just don't forget to disable it if you want to use a different cape that *does* need an overlay
<set_>
Okay. It did not work either way so far.
<zmatt>
that's just as likely an issue with whatever you're doing though :P
<set_>
I tried w/ BB-I2C2-BME680.dtbo and it still would...probably.
<set_>
It is probably my source.
<zmatt>
but just for confirmation pastebin show-pins and ls -l /sys/bus/i2c/devices/ again
<set_>
Okay.
<zmatt>
???!?
<set_>
Well, i2c was in the title. I figured nothing it working. Why not?
<zmatt>
the servo cape doesn't need an overlay, and a BME680 is a gas sensor
<set_>
I think the issue is when I use root w/ sudo permissions, I get the lib. not showing up. Then, when I run i2c devices w/out root/sudo permissions, I get errors.
<zmatt>
this looks fine
<set_>
either way, no go.
<zmatt>
you don't need sudo
<set_>
Okay.
<zmatt>
unless your system is broken
<set_>
I just installed this system.
<set_>
It has not worked yet. It is probably my source.
<zmatt>
that looks fine, no root privileges needed
<set_>
Okay.
<zmatt>
rcn-ee: the BBORG_SERVO-00A2 overlay is completely broken and will prevent people from being able to use the cape
<set_>
@zmatt: I think they are building something nice for the Cape usages.
<set_>
Just guessing.
<zmatt>
rcn-ee: it's full of typos, it's changing properties of the &i2c2 bus, it has a broken declaration of the pwm controller that doesn't match the DT binding of the driver, they're using gpio-keys for the inputs even though they should almost certainly just be normal gpios, that gpio-keys declaration is however also broken and doesn't match the DT binding, moreover the pinmux for it disables input on all ...
<zmatt>
...those pins
<zmatt>
like, this was clearly never tested
<zmatt>
having no overlay for this cape at all would be a great improvement over this thing
<set_>
Ha.
otisolsen70 has joined #beagle
Posterdati has quit [Remote host closed the connection]