**** BEGIN LOGGING AT Wed Feb 20 02:59:57 2019 Feb 20 17:04:11 Anyone up for the meeting? Feb 20 17:08:18 I'm here. Feb 20 17:11:28 I'm here. Feb 20 17:15:46 So what are you guys up to ? Feb 20 17:18:39 * hendersa is just here to answer questions. Feb 20 17:19:57 We won't know if we have been allocated slots for students until February 26th. Feb 20 17:20:27 But, we can still talk about your project ideas until then. Feb 20 17:29:11 Can you help me with resources to get started with device tree overlays Feb 20 17:29:48 I want to learn it for the usb configfs project Feb 20 17:32:41 The best way to learn about something like that is to have a few concrete examples and work from those. Feb 20 17:32:51 For example, this might help you get the basics: https://learn.adafruit.com/introduction-to-the-beaglebone-black-device-tree Feb 20 17:33:29 (That's a very old tutorial, but you can get a feel for the layout and flow of the device tree syntax.) Feb 20 17:34:43 Derek Molloy's book "Exploring BeagleBone" is also very good, as are his YouTube lessons. Feb 20 17:35:19 https://www.youtube.com/watch?v=wui_wU1AeQc Feb 20 17:35:22 Thanks, will look into it. Feb 20 17:35:23 Another thing I wanted to ask is I really want to contribute to the beagle board community even if it's is not participating in gsoc. Feb 20 17:35:24 How to continue with that, is there another channel for that? Feb 20 17:37:05 Do you have something in particular that you want to contribute? Most people see a problem or something that needs improvement and help with that. Feb 20 17:37:58 If you look through GSOC project suggestions for 2017-2019, you can see several project suggestions that were never pursued by students. Feb 20 17:39:03 Working with the hardware for fun and seeing where you get stuck will show you areas where you might help. Blogs, documentation, tutorials, etc. on how to fix or work-around issues are always helpful. Feb 20 17:39:18 I want to work on the kernel development part and specifically the usb configfs project. Feb 20 17:42:19 OK, well... have you ever written a kernel driver module? Built it outside of the kernel source tree? Feb 20 17:42:30 Any kernel development at all? Feb 20 17:42:46 Ever modified existing kernel code? Feb 20 17:43:24 Yes I have worked with loadable kernel modules and specifically I have played with GPIO Feb 20 17:44:21 But I haven't compiled a module directly into the kernel Feb 20 17:44:39 Have you looked through the kernel source to see what kind of device tree bindings exist in the USB subsystem? Feb 20 17:46:59 I am trying to understand the usb subsystem and reading the slides which were given to me here last Wednesday. Alongside that I am trying to learn device tree also Feb 20 17:47:12 https://github.com/beagleboard/linux/blob/4.19/drivers/usb/core/of.c Feb 20 17:47:33 Thanks :D Feb 20 17:48:16 This is the code in the USB subsystem that parses the current device tree-supported properties for the USB subsystem. Feb 20 17:51:47 In my experience, you can place a number of printk() calls throughout these DT parsing helper functions to dump out a lot of debug information to assist in development. Feb 20 17:52:29 Once you see what the existing functionality is, you can then decide what you might need to add to support what you are trying to do. Feb 20 17:53:22 I have not looked into that particular project very much, but Robert (rcn-ee) is good about helping people, and it is his project. Feb 20 17:53:26 The project page states that usb is configured by a script at boot time and it's functionality has to be added through device tree ahead of boot. Feb 20 17:54:09 Which script does the usb configuration at boot time? Feb 20 17:54:09 Is it the one you shared? Feb 20 17:55:53 The file I linked is for source code within the USB driver in the kernel. Feb 20 17:56:37 I'm not sure which script in particular Robert was referring to. Feb 20 17:57:00 Yeah, my bad, it is the driver file. Feb 20 17:57:01 So how can I contact Robert? Feb 20 17:58:10 He reads the beagleboard-gsoc mailing list, which is where you can post messages to ask specific questions. Feb 20 17:58:18 https://groups.google.com/forum/#!forum/beagleboard-gsoc Feb 20 17:59:17 Sorry to interrupt for a bit. Feb 20 17:59:18 Hey guys, I'm interested in the project "Porting am335x_pru_package to remoteproc" and looking to contribute to it. Feb 20 17:59:25 Can anyone expand a bit more on the project and give me a starting point to dig deeper? Feb 20 18:00:24 There are two ways to interface with the PRU: Userspace I/O (UIO) and remoteproc. The existing "here's how to use the PRU" package (am335x_pru_package) uses UIO. Feb 20 18:00:37 UIO is the old way. Remoteproc is the new way. Feb 20 18:01:05 So, we'd like to make the sample examples work with remoteproc so that people have an easy way to begin using it. Feb 20 18:01:41 https://github.com/beagleboard/am335x_pru_package Feb 20 18:04:06 At the moment I'm going through https://www.kernel.org/doc/html/latest/driver-api/uio-howto.html to learn more about UIO. Is there any other material I can go through that can help me? Feb 20 18:05:03 https://jumpnowtek.com/beaglebone/Working-with-the-BeagleBone-PRUs.html Feb 20 18:06:59 Thanks alot! Feb 20 18:08:36 zeekhuge[m] also has used PRU remoteproc a bit with Beaglescope. Feb 20 18:09:19 https://github.com/ZeekHuge/BeagleScope **** ENDING LOGGING AT Thu Feb 21 02:59:57 2019