**** BEGIN LOGGING AT Wed Jun 24 02:59:57 2020 Jun 24 12:45:57 Abhishek: what is the difference between MIPS and RISC ? Jun 24 12:46:42 PRU is a ARM core which uses RISC instruction set, right ? Jun 24 13:53:12 MIPS is a RISC instruction set variant Jun 24 13:53:32 PRU has its own instruction set, it’s not ARM Jun 24 14:06:11 Ohk, and does PRU asm follow the .text thing ? Jun 24 14:06:26 Alright Jun 24 14:06:28 https://gcc.gnu.org/onlinedocs/gcc/PRU-Options.html Jun 24 14:06:34 gcc-10 says it has support for PRU Jun 24 14:06:42 how do i actually compile for PRU Jun 24 14:07:00 i tried those options, compiler is unable to recognise Jun 24 15:13:04 Abhishek_: hello Jun 24 15:14:25 Please guide on reading and writing on the shared memory Jun 24 16:15:03 I'm not ready to give up yet. Jun 24 16:16:28 How can one set the internal pullups or pull down registers when using a pin in PRU mode Jun 24 16:16:56 *resister Jun 24 16:18:22 Let's do it then ✊ Jun 24 16:20:05 Did you try using config-pin? If the entry for pru-pd / pru-pu is there for your pin you might me able to use that. Jun 24 16:21:36 Yes i did but when you set it as pruout . You dont know if it is set as PU or PD Jun 24 16:21:51 only in the gpio modes you have that option Jun 24 16:21:58 I would have created an DT overlay for this. Jun 24 16:22:46 Share the header pin names i will tell you if it's using pu / pd. Jun 24 16:23:09 P2.34 and P2.32 Jun 24 16:23:27 config says Available modes for P2_34 are: default gpio gpio_pu gpio_pd gpio_input qep pruout pruin Jun 24 16:24:04 I am trying to set a pru pin as input with internal resistor pulled down Jun 24 16:26:12 Here is the code that i am trying to run. https://pastebin.com/wJqP3PbT. right now i have a external 1k resistor but the if statement is always false no matter what i do with the button Jun 24 16:26:30 pruin is using pull down on both pins but no pu / pd for pruin. Jun 24 16:26:56 let me check with multimeter Jun 24 16:27:29 *pruout is using... Jun 24 16:28:18 Okay. ANy way to do it in the device tree or use the pinmux interface Jun 24 16:28:18 Hello Mentors and Students!!! Welcome to the BeagleBoard.org GSoC Wednesday meeting Jun 24 16:28:28 Student check in please and tag me? Jun 24 16:28:37 Tell me which of your mentors is on today Jun 24 16:30:18 Hello all Jun 24 16:30:32 Hello cwicks Jun 24 16:30:42 hey Abhishek pratimugale hendersa Jun 24 16:30:47 cwicks: Hey, I see jkridner here. Jun 24 16:31:26 . Abhishek_ pdp7 ds2 Hi :) Jun 24 16:31:44 sakethr98: Abhishek_ ds2 pdp7_ R u guys there ? Jun 24 16:32:19 cwicks: hello. Jun 24 16:32:27 hello Jun 24 16:32:44 Hi all Jun 24 16:32:46 Hello cwicks . indu and @rma31 are here. Not sure if henrix and pdp7 are around Jun 24 16:34:03 pdp7: Hello Jun 24 16:34:12 tell me all the header pins you want to use and what configuration you want like this -> (pruin, pd) (gpio, pu) Jun 24 16:35:15 jkridner: did you see the changes I made in beagle-tester? Jun 24 16:35:18 for now i just need P2.32 as pruint with PulledDown Jun 24 16:35:50 hey, I completed the frontend part, Code generates into a AST, which will be converted to target code. Jun 24 16:36:04 cwicks: henrix will not be able to join he has another important meeting Jun 24 16:36:53 morning Jun 24 16:37:10 cwicks: Hey, I have issue with my package, one from mouser. It is stuck in delhi, due to reduced capacity. Other than that, DHL is not responding much to my mails about status Jun 24 16:38:23 cwicks: my package is also awaiting for customs duty payment. I can pay it and then may be you can reimburse. Jun 24 16:38:23 vedant16: Didn't update on the mailing list? You can do the updates on Mondays when we have our meeting Jun 24 16:38:49 vedant16: DHL responds to calls, they are open from 9AM to 9PM Jun 24 16:39:02 I forgot to update this week, I will do it, without fail Jun 24 16:39:03 IST Jun 24 16:39:40 They don't have any other answer, they say it is stuck in delhi till they can make a connection to deliver. Jun 24 16:41:28 vedant16: stuck why? Jun 24 16:41:39 did they say anything Jun 24 16:42:25 They are giving covid reason, they don't have enough staff Jun 24 16:42:29 working at reduced capacity Jun 24 16:43:40 oh Jun 24 16:45:50 cwicks: for me jason and ds2 are here Jun 24 16:45:50 I’m here Jun 24 16:46:11 cwicks: abhishek also came Jun 24 16:46:11 hey Abhishek Jun 24 16:46:24 Abhishek_: Hi. Jun 24 16:46:38 Abhishek: I completed the frontend, and it generates a abstract syntax tree. Jun 24 16:46:55 Vedant16: good to hear Jun 24 16:46:57 cwicks: Abhishek and pratim are here. Jun 24 16:49:20 I too had a discussion with hendersa, I think compiling down to C will be better, as i am not experienced with LLVM. Jun 24 16:49:20 Abhishek: I am still struggling with the shared memory access. First i was trying to use the ocmc space but the remoteproc and uio dont support writing to this region as far as i could understand. Now i looked into one of the remoteproc based communication on the prugcc examples repository and i understand what is happening there, the problem is the kernel side there i need your help. Jun 24 16:50:03 vedant16: thank you for the update on your packages. These are my notes from previous meeting {3299303453 for DHL (delivered) and 182485509048 for FedEx stuck in customs} - Are you now saying that the DHL shipment is not delivered? Has it cleared customs and just awaiting delivery? (ie - no additional payment needed?) For the FEDEX delivery - is it cleared customs (ie - not additional payment needed?) and just Jun 24 16:50:03 awaiting delivery and have reduced staff due to COVID. Jun 24 16:50:34 Deepankar : you could open /dev/mem and mmap the OCMC space Jun 24 16:50:53 Abhishek: also there are 3 shared memory areas what i understand one inside the PRUSS as shared RAM , one OCMC and then there is a shared memory connected via L3 interconnect. Jun 24 16:51:40 lorforlinux: please confirm again - all hardware received correct? Jun 24 16:52:03 Vedant16: I remember reading your discussion with hendersa. It’s okay, complete the C code generation quickly so that we can focus on the PRU experience with the new language Jun 24 16:52:06 deepankarmaithani: see this -> https://pastebin.com/2zrdgDxc Jun 24 16:52:16 Abhishek: https://github.com/deebot/Beaglebone-BidirectionBus/blob/master/MEMdriver/memDriver.c here is a little driver Jun 24 16:52:42 Okay, I will write the code generator(backend part now) Jun 24 16:52:54 Everything that was ordered I have recieved it, some things are not ordered yet. Jun 24 16:53:14 I think i can finish it before this sunday, after this what should i work on ? Jun 24 16:53:30 deepankarmaithani: this is the last updated I have in my notes {182485642510 for Fedex (cleared customs est delivery 5/28) Delay for Mouser order? I have received pocketbeagle Beaglebone wireless in my FEDEX package. 74HC299 i have sourced myself and i am yet to receive the techlab cape which is currently shipped through DHL, it contains techlab cape, today i got a mail to upload KYC for this shipment} Can you please Jun 24 16:53:30 provide me with the AWB# of the shipment that is stuck and what is in the box? Jun 24 16:53:32 @abhishek is it possible to use the remoteprocs interface in my driver Jun 24 16:53:35 Deepankar: What’s the issue with the driver? Jun 24 16:53:35 * I think i can finish it before this sunday, after this what should i work on ? Abhishek pratimugale Jun 24 16:53:50 lorforlinux: Please advise what else you need ordered? Jun 24 16:54:02 Deepankar: sure, you have to write a device tree entry for it Jun 24 16:54:08 As well Jun 24 16:54:35 Look at the pru_suart kernel driver in the tree Jun 24 16:54:53 Or a similar name, it should give you an idea Jun 24 16:55:31 Shipped via DHL. tracking ID 7446467674. Package has techlab cape Jun 24 16:56:40 It writes to the OCMC space but now i want to trigger the intruppt on the R31 register to let the PRU know that there is data. Also last time jason said it is not necessay to use the OCMC Jun 24 16:57:44 Abhishek: Please help me out with this Jun 24 16:58:14 Vedant16: did you try precompiled gcc10 or did you compile gcc yourself Jun 24 16:58:29 I haven’t tried GCC for PRU yet Jun 24 16:58:39 I installed precompiled binaries from ubuntu ppa Jun 24 16:59:02 Vedant16: it may not have pru support? Jun 24 16:59:17 deepankarmaithani: please let me know - do you have any email exchange with DHL you can forward to me cathy@beagleboard.org Jun 24 16:59:27 gcc-10 has support, it even shows in its man page Jun 24 16:59:45 OK Jun 24 17:00:06 Vedant16: it does, I’m talking about the built version of gcc Jun 24 17:00:32 Ohh, so i cannot cross compile with this ? Jun 24 17:00:48 Abhishek: vedant was also looking at a way to directly convert ast to assembly vedant16 Jun 24 17:00:51 I mainly require robotics cape, 7" LCD cape, barcode reader and some grove modules. You can access the list here -> https://elinux.org/BeagleBoard/GSoC/2020_Projects/Cape_Compatibility#Hardware_required: Jun 24 17:01:21 * vedant16[m] uploaded an image: Screenshot from 2020-06-24 22-30-46.png (162KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/TFgAFIECocaUlISIAmEVoRIU > Jun 24 17:01:54 I am following this: https://github.com/drifter1/compiler this guy rolled up code converted for MIPS arch by hand Jun 24 17:02:19 cwicks: Email sent. Please check your mail Jun 24 17:02:34 This is my target, any way to change it to pru w/o recompiling ? Jun 24 17:03:21 * jkridner[m] dislikes screenshots when pastebins are possible. Jun 24 17:03:25 h"> thanks Jun 24 17:03:59 It has cleared customs, they are saying they don't have enough man power to connect the package to my location, so they said, it is still waiting in delhi. Jun 24 17:04:21 > <@cwicks:matrix.org> vedant16: thank you for the update on your packages. These are my notes from previous meeting {3299303453 for DHL (delivered) and 182485509048 for FedEx stuck in customs} - Are you now saying that the DHL shipment is not delivered? Has it cleared customs and just awaiting delivery? (ie - no additional payment needed?) For the FEDEX delivery - is it cleared customs (ie - not additional Jun 24 17:04:21 payment needed?) and just awaiting delivery and have reduced staff due to COVID. Jun 24 17:04:21 * It has cleared customs, even custom duties stuff is figured out, they are saying they don't have enough man power to connect the package to my location, so they said, it is still waiting in delhi. Jun 24 17:04:47 Vedant16: Check instructions on how to compile gcc from source, there you have opportunity to configure target Jun 24 17:05:06 Reach out to dinuxbg, he’s the PRU GCC maintainer Jun 24 17:05:39 Students - please check in and tag me - 1) up to date on weekly report? 2) will mentors report next week during eval that your project is on schedule? 3) blockers you have this week? 4) What you plan is for the upcoming 7 days. Jun 24 17:05:48 Actually i tried this, I think since i am on 18.04 it failed. anyways, I will try again Jun 24 17:07:42 vedant16: Please advise status of DHL shipment 3299303453 - shows cleared customs so just waiting on delivery correct? Jun 24 17:08:02 Will have to go afk now, will catch up tomorrow Jun 24 17:08:10 jkridner pdp7 ds2 Abhishek_ talked to zmatt today he told me that we are not using cape-manager to load DT overlays but there are uboot patches that allow this functionality, If it's try how do i enable it on BBAI? Jun 24 17:08:45 * jkridner pdp7 ds2 Abhishek_ talked to zmatt today he told me that we are not using cape-manager to load DT overlays but there are uboot patches that allow this functionality If it's true how do I enable it on BBAI? Jun 24 17:08:45 actually I am a bit confused, It cleared initial stage of customs, it is stuck in the next stage of clearance, mails are not super clear about details. Jun 24 17:09:16 vedant16: please send me the email trail via cathy@beagleboard.org Jun 24 17:09:16 * vedant16[m] uploaded an image: Screenshot from 2020-06-24 22-37-25.png (73KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/bmXbfEfyGkUltnawUNVwtLLv > Jun 24 17:09:18 cwicks: This is the mail Jun 24 17:10:19 okay thanks vedant16 Jun 24 17:10:24 Is it same vedant16 with FEDEX 182485509048? Jun 24 17:10:47 Nope, fedex package was delivered. Jun 24 17:11:04 vedant16: The DHL order isn't blocking our progress right? Jun 24 17:11:30 cwicks: 1.) yes, sent update 2 in google groups thread, 2.) I think so. Just need to fix a bug with input problems on face card. After this I can submit pull request 3.) The input on CTAG Face is currently not working so this needs some debugging. 4.) Fix the bug and get everything ready for the pull request and test everything thoroughly. When there is time left I will port to kernel 5.4-rt because ALSA Api changed and Jun 24 17:11:30 I can not estimate how long this will take Jun 24 17:11:36 No it is not, I can use breadboard and jumpers instead of that. Jun 24 17:12:10 okay Jun 24 17:13:04 for 1.) update 3 of course 😀 Jun 24 17:13:29 vedant16: alright, hope it gets delivered soon Jun 24 17:15:43 cwicks: cant see your msg where others are updating can you please tag me Jun 24 17:16:57 cwicks: sorry about not informing about the title last week, vedant16 let's do it now? Jun 24 17:17:13 @cw Jun 24 17:17:29 * lorforlinux[m] sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/EbKIjjmNAIziKHGZkSPZjLMp > Jun 24 17:17:50 deepankarmaithani: "Students - please check in and tag me - 1) up to date on weekly report? 2) will mentors report next week during eval that your project is on schedule? 3) blockers you have this week? 4) What you plan is for the upcoming 7 days." Jun 24 17:17:54 1.Yes 2. Yes there is some work left before the first evaluation a communication need to be implemented between PRU and LKM. 3. Yes trying to figure out how to access the memory 4. Plannning to finish it and update the Readme files and add code and circuit diagram to my repository Jun 24 17:18:04 * lorforlinux[m] sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/hktYKwGFxqffiFGXuzhUDNMp > Jun 24 17:18:38 * lorforlinux[m] sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/qbkXzLdcSRqpSmCdYeMnvSLf > Jun 24 17:18:57 Yes Jun 24 17:19:45 vedant16: Did you come up with anything? Jun 24 17:20:10 Yes, we had that day let me check the logs Jun 24 17:21:09 vedant16: pratimugale just looking for maybe one additional word for the "short title" of your project that will help community members (that's our target audience, not general public so it does not have to be extremely detailed title). Jun 24 17:25:16 Sorry for late reply, 1) Yes, https://groups.google.com/g/beagleboard-gsoc/c/ejF6F3EdE48/m/iqM9wzJzBAAJ 2) Yes, some work needs to be done, like converting to C pru, it will done with 2-3 days 3) None, all good 4) I intend to write code which will convert AST form of the language to PRU C and test simple examples like led blink Jun 24 17:26:15 PRU Programming language for Dummies, sounds good ? Jun 24 17:26:40 Yes, PRU Programming for Dummies Jun 24 17:26:46 > <@pratimugale:matrix.org> vedant16: Did you come up with anything? Jun 24 17:26:46 * Yes, PRU Programming language for Dummies Jun 24 17:27:16 Abhishek: My head is occupied with different approaches , need your help to singleout on one approach. I went through the character driver that you implemted for beaglelogic there you utilised #include that had definations for communications.. Similarly i went through https://github.com/dinuxbg/pru-gcc-examples/blob/master/hc-sr04-range-sensor/main1.c. which used the rpmsg. Please suggest Jun 24 17:27:16 me should we continue with ocmc or should shift to other shared space and take advantage of these implementations. I need to single out Jun 24 17:27:57 vedant16: since "For Dummies" is a book title system owned and TM by a company, I do not recommend it. Jun 24 17:28:49 Ohk, how about replace it with for starters Jun 24 17:29:12 If i may suggest may be beagleduino language. As far as i know the implementation has digital read write like arduino Jun 24 17:29:16 PRU Programming language for starters cwicks Jun 24 17:30:09 Yup, but other parts of the language differ a lot, though. Jun 24 17:38:10 Does this sound good ? Jun 24 17:38:45 lorforlinux[m]: yes, it is u-boot patch by robert Jun 24 17:39:41 https://github.com/RobertCNelson/Bootloader-Builder/blob/master/patches/v2019.04/0002-U-Boot-BeagleBone-Cape-Manager.patch Jun 24 17:41:53 pdp7: thanks that's very helpful, I will try to make things work on BBAI. Jun 24 17:42:06 are you on our slack? Jun 24 17:42:11 rcn-ee is on their Jun 24 17:42:41 Okay I will ask him if there is any easier way to achieve this. Jun 24 17:43:03 Sorry was AFK Jun 24 17:43:58 pdp7: did you see my compatibility code -> https://github.com/beagleboard/BeagleBoard-DeviceTrees/pull/17 Jun 24 17:45:47 vedant16: sounds good to me.. Something like Language for programming PRUs from Linux/userspace would also do for me.. Up to you Jun 24 17:46:31 ohk cool, I will stick with the former. Jun 24 17:48:36 vedant16: okay Jun 24 17:51:31 cwicks: Vedant is going with "PRU Programming Language for Starters". Please let us know what you think and if this could cause issues with the TM Jun 24 17:54:18 Sounds great pratimugale and vedant16 Jun 24 17:54:49 Cool :) Jun 24 17:55:28 thank you students - Jun 24 17:56:43 make sure you have good communications with your mentors this week because evals are due next week. Put very detailed info on your weekly reports next week to help your mentors know your status vedant16 nwan deepankarmaithani lorforlinux Good Luck!! Jun 24 17:57:27 cwicks: Allright. Thanks 🙂 Jun 24 18:25:41 cwicks: Sure, Thanks :)) Jun 24 19:22:05 cwicks: will do, thanks :) **** ENDING LOGGING AT Thu Jun 25 02:59:57 2020