**** BEGIN LOGGING AT Fri May 15 02:59:57 2020 May 15 03:14:33 ds2: IST May 15 06:22:11 Update: Completed chapter 5 of Exploring BeagleBone. May 15 08:54:09 Hello all. I just got my puppy (Pocketbeagle) in my hands. EXCITEDDDD!!!!!!!!!! May 15 08:55:48 I downloaded the image and flashed it using etcher. On connecting the board on USB, i see usr0 blinking in heartbeat mode and a sold blue power light. But cant see the board as new drive neither can hit the local IP to get the page May 15 08:57:13 tried on both linux and windows 10 same result May 15 08:57:18 any tips ? anyone? May 15 08:58:31 Try using a different USB cable? May 15 08:58:54 yeah nice tip. wait will try May 15 09:00:02 hmmm! i have to search for another one . i have already moved to the USB World May 15 09:01:59 Yes i got the page up and runnning. lorforlinux thanks for the tip May 15 09:02:34 Some micro USB cables are just for power without data lines. May 15 09:03:01 Yeah i understand that May 15 09:20:42 > vedant16: llvm is interesting, but I think the gcc support for the PRU could be of interest..... I'd think that botspeak could almost be implemented as assembler macros. May 15 09:20:42 So, I should just use bison+flex. Alright. May 15 10:33:10 jkridner: I think there is value in using LLVM/direct code generation for the PRUs. Once we get bison+Flex working the next big thing will be the execution engine (REPL) on the Linux system itself May 15 10:33:43 We need to be thinking about the whole flow from the user point of view. May 15 10:34:49 jkridner: Re: your point on having it as a pure PRU firmware / kernel project, it'd probably lead to REPL being implemented in the kernel May 15 10:35:16 Not sure we want to do that May 15 10:40:43 jkridner: The 10pm weekly GSoC meeting is already a stretch for me to attend, not sure I can stay up much later than that. May 15 10:43:21 jkridner: Given I am already actively involved in 2 projects currently (the PRU REPL and the parallel bus), not sure how much more bandwidth I can allocate to the cape compatibility layer one - I'd prefer organically getting involved more and more involved as it progresses or pitching in as the need arises and let ds2 take the lead on that one. May 15 10:44:07 So it's OK if lorforlinux keeps the meetings somewhat later so that you and ds2 are fully engaged, and I can catch up later with the decisions and pitch in as needed. May 15 10:45:32 jkridner: Had the pandemic not been there, I had plenty of travel lined up for myself this year... but as it stands I see myself in India at least for the next year or so. May 15 12:14:47 saketh: ngrok works very well :) May 15 12:15:06 If anyone wants to ssh into a bbb let me know May 15 12:23:18 pratimugale: Let me try? May 15 12:30:03 Abhishek: DMing you May 15 12:46:05 Abhishek: Did you receive the message? May 15 13:49:47 It works May 15 13:49:58 vedant16: Try it out when you get a chance May 15 13:50:13 Yes i tried May 15 13:50:17 It works May 15 13:50:28 pratimugale[m]: aah! that's nice May 15 13:50:53 saketh: Any update from ds2 chat? May 15 13:52:08 I sent a dm May 15 13:52:56 also, he did mention looking to the bus subsystem May 15 13:53:57 Okay so I will be using Abhishek_ and this nick alternately. If you see me @ Abhishek_ address me there otherwise use this handle. May 15 15:28:45 Abhishek[m]_: I'd think if we had a flex/bison setup, the REPL would be trivial (as long as you don't expect a nice terminal interaction) May 15 15:29:14 Abhishek[m]_, ds2: is there a time your days overlap? I can be flexible. May 15 15:29:40 lorforlinux: you shared a link to access internet on pocketbeagle over usb. I lost it. Can you share again May 15 17:01:34 https://lorforlinux.github.io/GSoC2020_BeagleBoard.org/ May 15 17:05:27 lorforlinux[m]: nice write up! May 15 17:05:50 I find it easiest to use 'ip addr flush dev usb1; dhclient usb1'. May 15 17:06:07 the nameserver should then come from the host sharing the internet connection. May 15 17:06:23 and the IP address becomes "sane" selected by the host sharing the connection. May 15 17:06:57 your approach reuses the existing IP addresses and tells the host to route them, so that might be easier at times. May 15 17:07:17 just about every OS has a "share internet connection" option somewhere. May 15 17:08:07 * jkridner hasn't looked how much of that write-up was new vs. what pdp7 created. May 15 17:08:56 Okay thanks @jkridner, i will look into that. will update the post accordingly. May 15 17:09:04 I find the mess of trying to configure/flush the host routing tables to produce unpredictable behavior. May 15 17:09:51 I'm not saying that you shouldn't document what pdp7 documented, merely that you might propose both methods to see what works easier for a given user. May 15 17:09:53 I just do share connection now May 15 17:09:55 https://rhnvrm.github.io/2016-08-07-share-wifi-via-ethernet-gnome-3-20/ May 15 17:10:13 after jkridner showed me in October May 15 17:10:30 you still execute those 2 commands? May 15 17:10:43 (on the beagle) May 15 17:11:24 * jkridner wonders if we should make another gadget adapter that automatically issues the dhclient request.... May 15 17:11:25 I used the script that May 15 17:11:34 robert has on the image May 15 17:11:38 I mean, I don't see how it'd hurt if the response never comes.... May 15 17:11:52 kinda silly for us to keep expecting people to do it manually. May 15 17:12:00 yeah May 15 17:12:23 if we configure usb0 as the traditional 192.168.7.2 and make it cdc-ncm, then it should work on all OSes.... May 15 17:12:52 then, usb1 could also use cdc-ncm and issue the dhclient and be managed by connman. May 15 17:13:13 I'll propose it to rcn-ee for the Summer/Fall release. (he calls it Summer and I started calling it Fall) May 15 17:21:20 I will get working with bison/flex, and llvm, as it is decided along. May 15 17:21:46 @jkridner @pdp7 can we do some discussion on my project? May 15 17:21:50 cool. interested in your first grammar. did you see my WIP on it? May 15 17:22:03 lorforlinux[m]: never ask to ask, just ask. :-) May 15 17:22:25 I may or may not respond, so, be patient and persistent. May 15 17:22:52 Nope, could you link it. May 15 17:24:08 Okay, i wanted to start working on the beagle - tester as it's the first thing to complete according during the coding period, i want to start early. Can you give me some insights on that and what are the things i have to implement. May 15 17:29:49 I'm trying to pull it into memory.... I think what beagle-tester does for you is: use the userspace interfaces and can be triggered by the capes. May 15 17:30:00 lorforlinux[m]: do you already have a barcode scanner? May 15 17:30:07 * jkridner needs to finish the hardware order for you. May 15 17:30:15 btw, just made: https://github.com/beagleboard/Latest-Images/issues/42 May 15 17:31:24 No i dont have a scanner right now. May 15 17:33:12 * jkridner pulls up Digi-Key site again. May 15 17:33:53 jkridner: you provided that number, can i track order using that? May 15 17:34:12 vedant16[m]: I'm not sure.... it is just the tracking info I got. May 15 17:34:12 * jkridner: you provided that order number, can i track order using that? May 15 17:34:55 Once it gets shipped, i think it can be tracked using fedex number May 15 17:40:06 @jkridner what features are supposed to be implemented in the beagle-tester repo by me? I was thinking of adding support for beaglebone Ai, but it will be possible only after I get everything needed for beagle tester working on the AI board. May 15 17:41:23 well, the end goal is to have the same code for interacting with the capes working on both Black and AI. May 15 17:41:58 for GPIO, I think that means switching to libgpiod (yes pdp7?) and using some information there to find the GPIO associated with the pin header. May 15 17:42:24 for UARTs, I2C, etc., it would be using the new aliases. May 15 17:42:45 in the end, beagle-tester will be the way to validate that the abstractions work at the userspace level. May 15 17:43:28 (as I believe cape overlays won't be used as beagle-tester is actually what programs the EEPROMs in production) May 15 17:44:33 Okay, first i have to test the device tree files i wrote for beaglebone AI. Then i can build upon it. May 15 17:44:35 you might need to change the config to either use the overlays or not. May 15 17:45:07 yes, but I thought you might have had some milestones to simply use the new interfaces on BeagleBone Black. May 15 17:45:48 so, first switch over to the new symlinks that will-be-common, then fix it all up on AI. May 15 17:46:39 let me get some boards ordered for you. :-) May 15 17:46:55 * jkridner has a meeting in 13 minutes. May 15 17:47:25 Yes, code with new symlinks on BBB then fixing up things for AI. Also, You have wrote some code for robotics cape, i will start the AI cape journey with that. May 15 17:50:28 I am reading and working on BBB code at this moment, will update things on the site as i progress. May 15 17:54:32 > * jkridner (@freenode_jkridner:matrix.org) has a meeting in 13 minutes. May 15 17:54:32 Thanks for your time. May 15 17:57:04 lorforlinux[m]: is https://elinux.org/BeagleBoard/GSoC/2020Proposal/DeepakKhatri up-to-date? May 15 18:04:54 > for GPIO, I think that means switching to libgpiod (yes pdp7?) and using some information there to find the GPIO associated with the pin header. May 15 18:04:54 Yes, anything using gpio from userspace should use libgpiod (which has C++ and Python bindings) May 15 18:05:45 https://microhobby.com.br/blog/2020/02/02/new-linux-kernel-5-5-new-interfaces-in-gpiolib/ May 15 18:05:50 good post about it ---^ May 15 18:17:01 pdp7: is there a way to use libgpiod to find gpios based on the header pins? May 15 18:17:31 do we need to add any extra stuff in the device trees? May 15 18:17:38 gpioinfo should list the lines and have name for each May 15 18:23:39 run 'gpioinfo' on the bbb May 15 18:25:20 it should be something like May 15 18:25:25 https://www.irccloud.com/pastebin/5l12gdqf/ May 15 18:33:09 lorforlinux: hi . i have some questions regarding your writeup. Are you hanging around May 15 18:34:26 @pdp7 thanks, will do it. May 15 18:34:41 lorforlinux: i dont see enp0s20u2 and wlp3s0. rather i see the usual l0 usb0 , usb1 on my pocket beagle when i do ifconfig May 15 18:35:23 lorforlinux[m]: this may also be useful May 15 18:35:23 https://lore.kernel.org/linux-omap/20200508165821.GA14555@x1/T/#u May 15 18:35:24 deepankarmaithan: that was on the host. May 15 18:35:52 This is a patch I recently submitted that maps out all the gpiolines on the BBB May 15 18:36:11 pdp7: will you do the same for BeagleBone AI? May 15 18:36:22 Yes you have to run Ifconfig on your host machine. May 15 18:36:33 I am waiting to see if the maintainers except it May 15 18:36:44 if they do, then I will do the pocketbeagle and beaglebone AI May 15 18:37:21 ok got it 🙂 May 15 18:37:42 @pdp7 thanks looking into it. May 15 18:39:36 the above patch is for mainline linux (torvalds repo)... however, this is what is used on our debian images May 15 18:39:37 https://github.com/beagleboard/BeagleBoard-DeviceTrees/blob/v4.19.x-ti/src/arm/am335x-bone-common-univ.dtsi May 15 18:39:56 it has lots of entries that aren't upstream so that "config-pin" utility will work May 15 18:40:57 @jkridner the proposal site is up to date. May 15 18:41:06 this is because unfortunately bone-pinmux-helper driver is not upstream... and probably never will be as development on it has stopped May 15 18:41:12 what is the URL? May 15 18:42:39 https://elinux.org/BeagleBoard/GSoC/2020Proposal/DeepakKhatri May 15 18:47:58 lorforlinux[m]: Digikey web order 309505693 May 15 18:48:23 lorforlinux[m]: we probably want to move it from proposal to project. :-) May 15 18:48:54 @pdp7 I discussed with @rcn-ee:matrix.org, zmatt and @jkridner about dynamic pinmuxing on beaglebone Ai and it was not a possible goal for this summer. I have updated the normal pinmuxing entries to beaglebone Ai device tree and Robert has already applied the patch. May 15 18:53:10 @jkridner I didn't get it. Do I have to change something on the page? May 15 18:53:11 Abhishek: https://github.com/VedantParanjape/hack-assembler I read a bit about bison and flex, as a exercise, I will try to port this assembler i wrote for nand2tetris from scratch using bison May 15 18:57:17 * deepankarmaithan uploaded an image: IMG_20200516_002404.jpg (5263KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/ShXJiuSCOHqSSXXsKuHuVjpa > May 15 18:57:40 lorforlinux: jkridner I now have these two interfaces. But no internet working on my beagle May 15 18:58:48 Is there any way to reset the iptables. I think i accidently ran /sbin/route add default gw 192.168.7.1 on the host too May 15 18:59:32 Yes commands are there on the page for that. May 15 19:00:30 Please share output of Ifconfig, use patebin or you can dm me. May 15 19:00:34 lorforlinux: you mean commands to reset everything default May 15 19:04:05 lorforlinux: https://pastebin.com/VWR4pCRf May 15 19:08:48 Your beagle is enx985dadd7619f and wifi is wlp1s0 May 15 19:08:48 Try running all the commands shown in the post one by one and for the last two commands change the device name with your ethernet and wifi device name. May 15 19:10:06 lorforlinux: do you have any idea how can i get rid of these 2 ethernet interfaces that i shared in the picture May 15 19:10:46 > <@lorforlinux:matrix.org> Your beagle is enx985dadd7619f and wifi is wlp1s0 May 15 19:10:46 > May 15 19:10:46 ...(truncated) May 15 19:12:00 No you don't want to get rid of those, they are your beaglebone USB ethernet RNDIS. May 15 19:49:09 lorforlinux[m],jkridner - is there a preferred time btwn you two for a project specific meeting? May 15 19:51:39 22:00 India time is proposed. I'm open at any time. May 15 19:52:11 what's that in any US TZ? May 15 19:52:28 (no idea how to convert India time since they're not always even aligned on the hour) May 15 20:52:02 jkridner: what's that in any US TZ? May 15 21:03:34 jkridner,lorforlinux[m]: how about 1030 PDT instead? May 15 21:10:01 (This is assuming there is only 1 "india time" May 16 01:57:51 HI pdp7 I followed your tutorial on setting up internet access on pocetbeagle through USB. My laptop is connected to wifi and i am trying to get internet on my pocketbeagle. I thoroughly checked the interface enumerations, it seems i am doing everything fine. Here is my routes output. Can you please suggest any remedy. https://pastebin.com/8DSHZBb5 May 16 02:02:33 I also dont get any response on ping 8.8.8.8 **** ENDING LOGGING AT Sat May 16 02:59:57 2020