<tacokoneko>
presence of /sys/devices/platform/ocp/56000000.sgx a hard requirement for SGX530 to function, and if so, what causes it to appear?
<zmatt>
tacokoneko: the sgx driver is packaged separately, so if you install a different kernel be sure to also install the package for the kernel module
<zmatt>
also, beware that the sgx userspace libs needs to match the version of the sgx kernel driver, so your ability to mix and match things will be limited
<zmatt>
the sgx kernel driver package is named ti-sgx-ti335x-modules-VERSION where VERSION is the kernel version
<zmatt>
though actually, sgx should appear in sysfs regardless of whether the driver is present
<zmatt>
e.g. I have /sys/bus/platform/devices/56000000.sgx even though I don't have the driver
<zmatt>
the path may however not be /sys/devices/platform/ocp/56000000.sgx though, that may vary depending on kernel version
<zmatt>
(but that has no relevance to whether sgx works or not)
<zmatt>
tacokoneko: e.g. in 5.10-ti its symlink in /sys/bus/platform/devices/ is named 56000000.gpu instead of 56000000.sgx, and its canonical path (to which the symlink resolves) is /sys/devices/platform/ocp/5600fe00.target-module/56000000.gpu
<zmatt>
but that's just an implementation detail, it's not relevant
<zmatt>
in general, sysfs paths are not stable
buzzmarshall has quit [Quit: Konversation terminated!]
<tacokoneko>
thanks that's a good explanation, I was confused because I didn't see "56000000.sgx on minor 1" from pvrsrvkm in kernel log with newer kernels but now I see you are right and it has changed to "56000000.gpu"
vigneshr has joined #beagle
Raajeshwar has joined #beagle
rob_w has joined #beagle
<tacokoneko>
with that confusion over the platform device resolved, I now have SGX530 fully working (kmscube) with the 1.17 driver and kernel 5.10 on RobertCNelson's new Debian 11 image :) this will allow me to fully update my workflow
Guest23 has joined #beagle
<Guest23>
Hello
<Guest23>
i brought BeagleBone black AI
<Guest23>
i need technical specification how to interact with 2 core
<Guest23>
how can i dedicate one core for specific task
Shadyman has quit [Remote host closed the connection]
Guest23 has quit [Quit: Client closed]
<Raajeshwar>
Hi, Hours ago I was discussing about wrong IP assigned to one of my device sometimes after reboot. Connman log reads as follows:
<zmatt>
Raajeshwar: do NOT EVER paste a giant blob of text like that into chat
<zmatt>
use a paste service like pastebin.com
<Raajeshwar>
Sorry
<Raajeshwar>
Is there a way to remove it?
<zmatt>
no
<Raajeshwar>
I won't do it again. Sorry about that.
<zmatt>
I'm not very familiar with connman, I don't use it myself, but the 45 second delay before connman adds the link-local address (169.254.242.141) suggests to me it timed out trying to obtain an IP address via DHCP
<zmatt>
"chkphy:eth0 good" is that from that article you linked earlier? (about the phy issue) because I would not recommend keeping that installed, as that workaround is potentially hazardous for the hardware
<zmatt>
(and clearly not relevant for your problem anyway)
<Raajeshwar>
Yes it is from that installed from that link.
<Raajeshwar>
I get link-local address 1/7 times on rebooting. Don't know why DHCP couldn't obtain IP.
<zmatt>
what about when you disconnect ethernet and plug it back in?
<zmatt>
if you can reproduce the problem that way, you can try logging in via usb and using a packet sniffer to see what's happening when you plug in ethernet
<zmatt>
e.g. (after installing tcpdump with apt): sudo tcpdump -e -i eth0 -p -n -U '(outbound && udp dst port bootps) || (inbound && udp src port bootps)'
<zmatt>
optionally add the -v option to get a lot of details (spammy!)
<Raajeshwar>
Ok
<zmatt>
actually, adding -v is highly recommended, without it doesn't really show much info
<Raajeshwar>
Ok. I will try.
Guest2379 has joined #beagle
Guest2379 has quit [Client Quit]
<zmatt>
the sequence you normally expect to see is: beaglebone broadcasts "Discover", dhcp server replies with "Offer", beaglebone broadcasts "Request", dhcp server responds with "ACK": https://pastebin.com/raw/xVY8tEp5 (lots of verbiage trimmed)
<Raajeshwar>
Disconnecting and Reconnecting ethernet didn't help. systemctl restart networking didn't help. Now I am installing tcpdump to test what you have suggested.
<zmatt>
what do you mean by "didn't help" ?
<Raajeshwar>
Means, didn't get proper IP
<zmatt>
the question was whether it reproduces the problem (i.e. if it behaves similar to reboot)
<zmatt>
if it reproduces the problem, that's the desirable outcome since it allows you to debug the issue
<zmatt>
(since you can't really run a packet sniffer during boot obviously)
<Raajeshwar>
Yes. It reproduces the problem.
otisolsen70 has quit [Quit: Leaving]
<zmatt>
also the "networking" service (ifupdown) is irrelevant (and honestly shouldn't even be installed) since you're using connman
<Raajeshwar>
Oh. Ok.
<zmatt>
and good, then try to see if you can use tcpdump to capture what's going on after you plug in ethernet
<Raajeshwar>
Yes. I will get back after checking that.
<zmatt>
(i.e. unplug ethernet, start tcpdump (via usb), plug ethernet in, see what output you get)
otisolsen70 has joined #beagle
rob_w has quit [Remote host closed the connection]
buzzmarshall has joined #beagle
dkulp has joined #beagle
dkulp has quit [Client Quit]
dkulp has joined #beagle
renrelkha has quit [Quit: bye]
dkulp is now known as dkulp_away
dkulp_away is now known as dkulp
renrelkha has joined #beagle
<johanhenselmans>
Anybody experience with hooking 5GHz USB-Wifi dongles to a beaglebone? I needed the extra channels as lots of Beaglebones are at the same location.
<johanhenselmans>
And they all need to function as separate accesspoints.
<zmatt>
what? why all as access points/
Raajeshwar has quit [Quit: Client closed]
starblue has quit [Ping timeout: 240 seconds]
florian has quit [Quit: Ex-Chat]
russ has quit [Ping timeout: 240 seconds]
russ has joined #beagle
buckket has quit [Quit: buckket]
buckket has joined #beagle
ikarso has quit [Quit: Connection closed for inactivity]
otisolsen70_ has joined #beagle
otisolsen70 has quit [Ping timeout: 268 seconds]
otisolsen70_ has quit [Remote host closed the connection]
ikarso has joined #beagle
dkulp has quit [Changing host]
dkulp has joined #beagle
Shadyman has joined #beagle
buzzmarshall has quit [Remote host closed the connection]
ikarso has quit [Quit: Connection closed for inactivity]