**** BEGIN LOGGING AT Wed Aug 31 02:59:57 2022 Aug 31 05:45:23 Hello! n00b beaglebone user here... I have a beaglebone black and wanted to learn development of i2c driver using this device (Using Yocto framework)... is there any beginner's guide available? Aug 31 09:49:54 I'm having a weird bug on a beagle, where connmanctl status return empty Aug 31 09:55:03 Hello spout. Are you using a new image? Aug 31 09:55:32 I ask b/c there is a new way to handle WiFi. Aug 31 09:56:23 i'm using a new image, but it's for ethernet Aug 31 09:57:08 Oh. Aug 31 09:57:09 inux version 4.19.94-ti-r42 (voodoo@x3-am57xx-beagle-x15-2gb) (gcc version 8.3.0 (Debian 8.3.0-6)) #1buster SMP PREEMPT Tue Mar 31 19:38:29 UTC 2020 Aug 31 09:57:14 for BBB Aug 31 09:57:32 Sorry. I thought you were using a new image and trying w/ connmanctl w/ WiFi. Aug 31 09:57:39 Here: https://forum.beagleboard.org/t/debian-11-x-bullseye-monthly-snapshots/31280 Aug 31 09:57:48 In that link, there are some ideas about networkd. Aug 31 09:57:59 Oh. Aug 31 09:58:15 You are using the am57xx instead of BBB? Aug 31 09:58:35 it's the image bbb are sold with Aug 31 09:59:00 oh. Try the link I posted and use etcher to flash the image. Aug 31 09:59:28 I think you are getting stuck on older images but you have a am5729 image when you need a am335x image. Aug 31 09:59:40 Are you using the x15 or BBB? Aug 31 09:59:55 it's a weird bug cause i'ts a product we are selling, and one is coming back with that bug Aug 31 10:00:05 but I can't change that easily the version :-/ Aug 31 10:00:13 Oh. Aug 31 10:00:16 i'm using a bbb Aug 31 10:00:41 In your image, you show am57xx instead of am335x from what you posted. Aug 31 10:00:56 spout: I am sure if you wait around, someone might be able to help a bit more than me. Aug 31 10:02:34 I'm also checking for physical default Aug 31 10:03:25 but i'm also having this error message Aug 31 10:03:34 The name net.connman.vpn was not provided by any .service files Aug 31 10:05:03 If you have updated/upgraded the machine, then I think Buster and Bullseye report to networkd now instead of connmanctl. I am not 100% sure, though. Aug 31 10:05:14 I would need to test. Aug 31 10:05:26 I may have time later but not now. I am sorry. Aug 31 10:15:10 spout: iirc that specific message can be ignored Aug 31 10:15:35 but I don't use connman myself so maybe I'm wrong Aug 31 10:16:46 this is weird, I feel like I can't communicate with the eth chip :-/ Aug 31 10:16:50 set_: the "(voodoo@x3-am57xx-beagle-x15-2gb)" in that output was the system on which the kernel was compiled Aug 31 10:17:04 spout: what does "ip link" show ? Aug 31 10:18:43 also, "connmanctl status" is a non-existent command, did you mean "connmanctl state" ? Aug 31 10:20:06 Oh. Aug 31 10:21:34 spout: https://pastebin.com/raw/rqTB1sFH example output I get for some relevant commands Aug 31 10:24:30 oh he left Aug 31 10:24:49 "one is coming back with that bug" ... maybe customer just blew up ethernet :P Aug 31 10:46:47 and ip link shows this Aug 31 10:46:49 4: eth0: mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000 Aug 31 10:46:49     link/ether 98:f0:7b:1e:48:73 brd ff:ff:ff:ff:ff:ff Aug 31 10:47:38 spout: so ethernet is found, but it hasn't detected link up (i.e. it thinks nothing is plugged in) Aug 31 10:48:52 but something is plugged in, i've tested my rj on another thing Aug 31 10:49:17 you said this affects a single device that was returned? is it possible the customer just blew up ethernet? Aug 31 10:49:56 we've definitely had cases of that Aug 31 10:52:04 that's not totally impossible :-) Aug 31 10:52:19 e.g. we've had a case where someone managed to hook it up to a phone line Aug 31 10:52:46 they are working with Canbus with 24V on it also, they could have send a 24V to ethernet Aug 31 10:53:37 and they're using ethernet (8P modular) connectors for that? I think you may have just solved your mystery :D Aug 31 10:53:43 I think I'll settle on this Aug 31 10:54:11 a long time ago we had a customer who thought it was a great idea to use 3-pin XLR for both DMX (low-voltage serial data) and 230V Aug 31 10:54:26 (no, not eth connector, but they working with loaded naked cables sometime Aug 31 10:55:19 yeah, send the 230 in your smoke machine, and it works ! Aug 31 10:55:23 naked wires are great, I once accidently dropped a +7V onto a beaglebone's PCB ... may it rest in peace. Aug 31 10:56:36 yeah I don't know if it was that particular case, but I remember we got an RMA where the varistor protecting the DMX output was just... gone. nothing left but a scorch mark on the PCB Aug 31 10:56:53 (I've been stage manager for 10 years before switching to industry due to covid) Aug 31 10:58:17 makes sense Aug 31 11:03:14 spout: another thing I'd worry about is passive PoE injectors... the beaglebone's ethernet connector provides 75Ω common mode termination for each pair to a single point, so there's 150Ω between each pair. if you dump e.g. 24V or worse 48V into that, I'm not sure how well dumping 4W or 15W into tiny termination resistors embedded inside the connector will work out ;) Aug 31 18:22:05 Good evening Aug 31 21:40:25 hello Aug 31 21:43:34 first time in this chat, my Pocket Beagle with Grove cape had trouble with some examples. I upgraded the software and now the second example doesn't load hcsr properly. Aug 31 21:44:18 which link are you working from? Aug 31 21:44:35 link ambiguous Aug 31 21:45:00 https://github.com/beagleboard/cloud9-examples/blob/master/PocketBeagle/Grove/Kit.md#lesson---2-musical-note ? Aug 31 21:46:16 the pocket beagle supplied a request to upgrade and I followed those instructions, since it was scripted, I don't know the connection link Aug 31 21:46:28 https://github.com/beagleboard/cloud9-examples/blob/master/PocketBeagle/Grove/ToneGenerator.py Aug 31 21:46:55 well, the examples were written specifically for the image linked and might not work if upgraded. Aug 31 21:47:28 use one of these images? https://debian.beagle.cc/images/grove/ Aug 31 21:48:53 the upgrade appeared to update most of the software, including examples. How would I figure out what is now incorrect? Aug 31 21:49:02 for using the Grove Kit, try to follow the steps on https://github.com/beagleboard/cloud9-examples/blob/master/PocketBeagle/Grove/Kit.md Aug 31 21:49:19 hard to say.... Aug 31 21:49:40 there are some elements of setup that need to be preserved vs. "stock" images for the kit demo instructions to work. Aug 31 21:50:07 the steps at https://github.com/beagleboard/cloud9-examples/blob/master/PocketBeagle/Grove/Kit-setup.md have already been applied to the uSD card images recommended. Aug 31 21:50:16 it asks to reinstall the driver of hcsr Aug 31 21:50:38 the contents of /boot/uEnv.txt should include `uboot_overlay_addr2=/lib/firmware/BB-GPIO-HCSR04.dtbo` Aug 31 21:51:52 some aspects that were manually installed for the uSD card image generation might have been incorporated into the "stock Debian" image, such as overlays. Aug 31 21:52:59 some packages installed, like https://github.com/Seeed-Studio/seeed-linux-dtoverlays, might have a different version if installed now vs. when the images were made, because no version was specified. :-( Aug 31 21:53:04 it refers to version 4.14 and does include boot line Aug 31 21:53:32 doesn't seem like anything there changed: https://github.com/Seeed-Studio/seeed-linux-dtoverlays/tree/master/overlays/bb Aug 31 21:54:24 Easiest way is to start with a fresh uSD card so you know you've got the configuration right. Aug 31 21:55:03 if you want to try out newer software images, someone would likely need to help in updating the contents of the kit tutorials to work with newer PocketBeagle software images. Aug 31 21:55:12 what is the correct file to use to write a new SD card? Aug 31 21:55:32 https://debian.beagle.cc/images/grove/bone-debian-10.3-iot-grove-kit-armhf-2020-04-06-4gb.img.xz Aug 31 21:57:16 I'll give this a try, half of the experiments didn't work with the original SD image. Aug 31 21:58:27 I'm trying to separate the code for each sensor to form a library for my own experiments. I can trace the code until I reach compiled python or c code. Aug 31 21:58:57 is there further documentation for the seeed software? Aug 31 22:00:51 I expect there is further flexibility with port assignments but it is a chore to trace everything to try placing sensors on different ports Aug 31 22:08:11 I'm using a MacBook pro laptop. what is the source for the newer unzip code? Aug 31 22:14:25 unzip code? Aug 31 22:14:40 you don't need to unzip the .xz, Etcher can write .img.xz files directly to sd card Aug 31 22:16:53 (it performs on-the-fly decompression) Aug 31 22:18:11 I can trace code back to compiled code but without a roadmap I can't predict what other files should be modified to change port assignments Aug 31 22:18:45 thnaks Aug 31 22:20:16 more questions Aug 31 22:21:50 Is there a conversion of grove cape controls and software to the PB without the cape Aug 31 22:22:47 I don't know anything whatsoever about this grove stuff Aug 31 22:23:29 thanks, I'll try to down rev my software and get try again later Aug 31 22:24:42 but I'd be inclined to say "presumably sure", given that grove just seems to be a power + 2 data lines connector Aug 31 22:25:38 I never really understood the point Sep 01 00:35:58 Hello Sep 01 00:38:46 I bought a used beaglebone black on eBay and can't seem to connect to it. Tried reflashing with a new debian version but it won't start flashing off the microSD card. Can anyone help me? **** ENDING LOGGING AT Thu Sep 01 02:59:57 2022