Yep, I came to realize of this after I had already sent the patch on the list. The fix is to just add #include <linux/miscdevice.h> into the pru_rproc.c file at line 70 [This was not required for the file in Koen's tree as it had some code from the lighting the example].
Let me send you a patch shortly Regards *Kumar Abhishek* Undergraduate Student Department of Electronics and Electrical Communications Engineering Indian Institute of Technology, Kharagpur On Tue, Jun 24, 2014 at 11:46 PM, Robert Nelson <[email protected]> wrote: > On Sun, Jun 22, 2014 at 10:09 PM, Kumar Abhishek > <[email protected]> wrote: > > From: Kumar Abhishek <[email protected]> > > > > These patches add support for BeagleLogic in the kernel. > > BeagleLogic is a logic analyzer realized on the BeagleBone Black using > the > > programmable real-time units. For more information, visit: > > https://github.com/abhishek-kakkar/BeagleLogic/wiki/ > > http://elinux.org/BeagleBoard/GSoC/2014_Projects#Project:_BeagleLogic > > > > CONFIG_PRU_RPROC_BEAGLELOGIC may be set to "m" or "y" accordingly to > enable > > BeagleLogic support in the built kernel. BeagleLogic may also be > compiled as > > an out-of tree module but is still included in the sources. > > > > Please apply this after Matt Ranostay's patch to update pru_rproc.c for > > supporting the PRU C Compiler version 2.0.0B [ref: http://git.io/uCfGKQ] > > > > Download the matching PRU firmware beaglelogic-firmware.tar.gz for > running > > BeagleLogic from http://goo.gl/770FTZ and extract into /lib/firmware on > your BBB > > Hi Kumar, > > Ran into one small issue when merging this as-is into the BeagleBone tree: > > In file included from drivers/remoteproc/pru_rproc.c:37:0: > drivers/remoteproc/beaglelogic_glue.h:24:20: error: field ‘miscdev’ > has incomplete type > scripts/Makefile.build:307: recipe for target > 'drivers/remoteproc/pru_rproc.o' failed > make[2]: *** [drivers/remoteproc/pru_rproc.o] Error 1 > scripts/Makefile.build:454: recipe for target 'drivers/remoteproc' failed > make[1]: *** [drivers/remoteproc] Error 2 > make[1]: *** Waiting for unfinished jobs.... > > > https://github.com/RobertCNelson/bb-kernel/commit/956c41426010a1a110b91dab7b39f31d45741643 > > Regards, > > -- > Robert Nelson > http://www.rcn-ee.com/ > > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to a topic in the > Google Groups "BeagleBoard" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/beagleboard/ui8-no8J6HY/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- 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]. For more options, visit https://groups.google.com/d/optout.
