On Fri, Dec 16, 2016 at 3:38 PM, roboknight <[email protected]> wrote: > I read through this thread and noted that the PRU isn't working yet? I > ended up compiling a 4.9.0-rc6 kernel, although not the ti variant, > and was able to get the PRU working with the old UIO driver. I was hoping > at some point to switch to the new remoteproc driver, but > reading through this thread, it seems as its not ready? I know this thread > is about a month old now, but is my understanding accurate? > Or have things progressed to a working state? If my understanding is > accurate, how much more work does the remoteproc driver require?
Correct only, uio_pruss as it's mostly upstream, and with a quick hack we have a version that is compatible with 3.8.13 kernel's.. The remoteproc driver isn't upstream, TI will rebase it from v4.4.x-ti and port it to v4.9.x-ti when they feel like it. ;) > > I've even tested the old driver with my code and without any changes, it was > performing like a champ. My only problem now is I haven't been > able to get the USB gadget interface to work. Everything seems to go fine > up until I attempt: > > ls /sys/class/udc > UDC # enable my gadget > > At this point, I get a crash around line 620 in f_hid.c in > usb/gadget/function . At least the crash is in alloc_ep_req. It says, if > I'm reading it right, that the in_ep is NULL, which I don't think it is > supposed to be or can't be. So I'm not sure what I'm doing wrong that I'm > getting a NULL endpoint, but I thought maybe I hadn't configured the kernel > quite right for USB. So now that TI has a more "official" 4.9 release, > maybe things work there? Double check with v4.9.0, i've been also messing around with the usb gadget configfs interface: https://github.com/RobertCNelson/boot-scripts/blob/master/boot/omap3_beagle.sh#L44-L90 hopefully we drop the old g_multi version that we use on the bone.. > > At any rate, I needed both the USB gadget interface and the PRU to work and > eventually am hoping to migrate my code toward remoteproc so I don't have > the current issues (I needed various components that didn't seem to be all > in one place until 4.9). Regards, -- Robert Nelson https://rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAOCHtYg-F%2BCiM_2tvJKhH%3DtYic%2B6vUk1Dcp0uMT7%2BbjfPcv6ig%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
