buzzmarshall has quit [Quit: Konversation terminated!]
troth has quit [Ping timeout: 264 seconds]
troth has joined #beagle
vagrantc has quit [Quit: leaving]
otisolsen70 has joined #beagle
vd has quit [Ping timeout: 256 seconds]
otisolsen70 has quit [Ping timeout: 260 seconds]
Guest33 has joined #beagle
Guest33 is now known as Prashanth
<Prashanth>
Hi All, I am Prashanth S from IIIT Allahabad India Studying Masters. I am interested to contribute in gsoc for the beagleboard community. I have good understanding of the am335x soc and have developed a bare metal source code with support of gpio, interrupts, cpsw with u-boot as reference. My github link
<Prashanth>
Can someone give some pointers or guidance?
otisolsen70 has joined #beagle
rob_w has joined #beagle
ikarso has joined #beagle
renrelkha has quit [Ping timeout: 264 seconds]
renrelkha has joined #beagle
ayjay_t has quit [Ping timeout: 250 seconds]
ayjay_t has joined #beagle
sjhill has quit [Ping timeout: 250 seconds]
sjhill has joined #beagle
Prashanth has quit [Ping timeout: 256 seconds]
xet7 has quit [Remote host closed the connection]
Guest33 has joined #beagle
xet7 has joined #beagle
Guest33 has quit [Client Quit]
rob_w has quit [Remote host closed the connection]
Guest61 has quit [Ping timeout: 256 seconds]
<johanhenselmans>
Any reason why ‘config-pin p8.09 gpio’ does not create /sys/class/gpio/gpio69? As far as I can see, it should be created (5.10.78-bone57).
florian has joined #beagle
Shadyman has quit [Quit: Leaving.]
rob_w has joined #beagle
<johanhenselmans>
Just rebooted in 4.19.217-bone73. Now it’s there. Strange.
xet7_ has joined #beagle
xet7 has quit [Ping timeout: 260 seconds]
giort has joined #beagle
<giort>
Hello! Is there a reason why the config-pin utility on the BBB gives an error like this: (i have the correct boot overlay selected in /boot/uEnv.txt, and audio overlay disabled)
<giort>
ERROR: write() to /sys/devices/platform/ocp/ocp:P9_29_pinmux/state failed, No such device
<giort>
meanwhile, if I ls the given pinmux folder, the state file exists, and has "default" in it
<giort>
The PRU has worked before, but setting it up always feels unreliable.
markand has joined #beagle
<markand>
o/
<markand>
I'm finally upgrading our old appliance using a fresh image of debian buster. once the setup is complete I wonder how do I create a SD "flasher" image? just by editing /boot/uEnv.txt and reboot?
<markand>
(and obviously, insert SD card before)
<rcn-ee_>
markand, if your running a good image on your eMMC, just run: ```sudo /opt/scripts/tools/eMMC/beaglebone-black-make-microSD-flasher-from-eMMC.sh```
<rcn-ee_>
that's build a microSD "flasher"...
ikarso has quit [Quit: Connection closed for inactivity]
troth has quit [Ping timeout: 260 seconds]
rcn-ee_ has quit [Remote host closed the connection]
rcn-ee has joined #beagle
troth has joined #beagle
giort has quit [Ping timeout: 260 seconds]
rob_w has quit [Remote host closed the connection]
troth has quit [Ping timeout: 264 seconds]
troth has joined #beagle
vagrantc has joined #beagle
<markand>
rcn-ee, okay thanks! :))
otisolsen70_ has joined #beagle
mattb00ne has joined #beagle
danny5 has joined #beagle
renrelkha_ has joined #beagle
nparafe_ has joined #beagle
troth has quit [*.net *.split]
renrelkha has quit [*.net *.split]
otisolsen70 has quit [*.net *.split]
nparafe has quit [*.net *.split]
mattb0ne has quit [*.net *.split]
russ has quit [*.net *.split]
mgsb has quit [*.net *.split]
buckket has quit [*.net *.split]
danny has quit [*.net *.split]
moto-timo has quit [*.net *.split]
danny5 is now known as danny
mgsb has joined #beagle
buckket has joined #beagle
moto-timo has joined #beagle
russ has joined #beagle
troth has joined #beagle
alan_o has quit [Ping timeout: 250 seconds]
alan_o has joined #beagle
vd has joined #beagle
giort has joined #beagle
xet7_ is now known as xet7
xet7 has quit [Quit: Leaving]
florian has quit [Quit: Ex-Chat]
xet7 has joined #beagle
<giort>
to my question earlier: turns out I wrote pru_out instead of pruout, so thats where the error came from.
buzzmarshall has joined #beagle
Guest60 has joined #beagle
<Guest60>
Hi, I would like to know if it's possible to use UFW on my PocketBeagle and still be able to connect with the USB IP 192.168.7.2. If yes, What rules do we need to add in the firewall ?
<rcn-ee>
Guest60, ssh over usb? port 22..
<Guest60>
yes but when plug USB windows or linux create 192.168.7.0 that 192.168.7.1 is windows i belived and 192.168.7.2 is the BB but I try opening the port 22 for my ip ex: 192.168.1.100 and 192.168.7.1 (Because the BB see me that way) and it dosen't work.
<Guest60>
BTW: it work when my Modem it plug in and i use the WAN IP. But if I have a problem with the modem I want a quick way (the USB) to connect SSH by using the 192.168.7.2
<Guest60>
I even try to open port 22 to 192.168.0.0/16 and still not working :/
zjason` has joined #beagle
zjason has quit [Ping timeout: 256 seconds]
<zmatt>
giort: so yeah, if you get ENODEV (No Such Device) from setting the state of a pinmux helper, that means the requested pinmux state is not defined (for that pinmux helper)
<giort>
zmatt: thanks. The error message is a bit misleading tho.
<zmatt>
johanhenselmans: config-pin just changes the pinmux (effectively reconnecting a physical processor pin to a different peripheral/function) and some options on the pin's i/o cell (such as the pull-up/down configuration). peripherals (such as the gpio controller) are not aware of whether their signals are actually connected to some physical pin
<zmatt>
giort: yes, options for error reporting from a write() system call is unfortunately fairly restrictive
<zmatt>
though I don't know why config-pin doesn't provide a sensible error message
<zmatt>
it should definitely have special cased getting ENODEV from the write()... which is exactly what I do in this tiny python library for getting/setting pinmux: https://pastebin.com/MKtWJ8G8
<zmatt>
johanhenselmans: note that setting a pin to "gpio" mode using config-pin is usually not what you want, since it actually means "gpio with internal pull-up/down disabled" ... just leave the pin configured to "default"
<zmatt>
(which is gpio mode with default internal pull enabled)
Guest60 has quit [Quit: Client closed]
<giort>
zmatt: yes, that type of error message would be nice. Where is the source code for the config-pin utility? I couldn't find it on github
<zmatt>
johanhenselmans: as for the missing gpio... all digital I/O pins on the expansion headers have their gpio exported by default (even pins that are currently not reconfigurable to gpio, e.g. the eMMC pins)
<zmatt>
johanhenselmans: you might have run into a known bug where attempting to manually export a gpio that's already exported actually breaks things and causes it to disappear
<zmatt>
giort: no idea, sorry
<zmatt>
giort: btw, a useful pin when getting unclear errors from anything in sysfs: check the kernel log!
<zmatt>
Nov 24 22:05:35 beaglebone kernel: bone-pinmux-helper ocp:P9_20_pinmux: Failed to find state dfksjhfkdsj