**** BEGIN LOGGING AT Sun Jun 15 02:59:58 2014 Jun 15 04:46:50 vvu : slightly better :) Jun 15 04:49:22 btw how do people handle such sudden disruptions in the time plan? I was supposed to complete a lot this week :'( And as of now I can barely type at half the speed I used to type. Jun 15 09:10:43 Abhishek_ : did you go through the PWM part of pantos code? Jun 15 09:11:32 I didn't pay much attention to that though Jun 15 09:12:24 it looks as if implemented with downcalls on the PRU firmware side Jun 15 09:12:36 (first glance) Jun 15 09:15:19 but how the PWM part work? has the ePWM subsystem been used. (cause it didn't look like that) Jun 15 09:15:32 *does the Jun 15 09:15:50 check panto's PRU firmware from the examples it might be there Jun 15 09:17:06 examples? Jun 15 09:17:15 which ones? Jun 15 09:19:46 karki: https://github.com/pantoniou/testpru/ testpru0.c and testpru1.c Jun 15 09:20:16 that 'example' confuses me ;) Jun 15 09:20:46 I know, but it's the only one that can help you understand that part Jun 15 12:32:22 mranostay : what would be an ideal way of generating PWM on the PRU? Is it wise to access the PRU subsystem? Jun 15 14:22:58 BeagleLogic kernel module = 750 lines and counting... Jun 15 14:25:03 no worries Abhishek_, say thanks you are not coding in Java. i reached like 2k lines with some java code for android Jun 15 14:26:11 vvu: 2K LOC in one file? Jun 15 14:26:49 not just in one file but the main one had 1k think so Jun 15 14:26:54 we were just too lazy to split it Jun 15 14:28:16 * Abhishek_ decided not to be lazy and moved out bulk of the BL code from the 3k LOC remoteproc driver Jun 15 14:28:53 decisions decisions decisions Jun 15 14:29:26 are sometimes painful but always in "larger" interests... Jun 15 14:29:56 the "largeness" grows beyond bounds Jun 15 14:33:04 Abhishek_: i so await to test ur code when i go back home, my dad has some Fluke osci that he really likes...wanna present him this new toy Jun 15 14:37:47 vvu: sure, once I test the code and tag it on git Jun 15 14:38:14 anyway at the end of summer i go home Jun 15 14:38:43 July-end? Jun 15 14:41:32 august 17 Jun 15 19:08:27 crap forgot about the meeting Jun 15 19:08:42 thought i put that on my calender Jun 15 19:09:36 mranostay: kernel driver is almost pre alpha. I will send a link to the kernel driver for review shortly. Jun 15 19:10:09 no git-sendemail ? :) Jun 15 19:10:46 mranostay: I separated the driver out of pru_remoteproc with some hacky glue in place. Jun 15 19:11:05 it's now in a separate module Jun 15 23:14:54 * Abhishek_ can't understand why his kernel module cannot be reloaded, fails with error: Operation not permitted. Jun 15 23:19:23 Reloaded? Jun 15 23:19:54 You mean doing an insmod? Jun 15 23:20:08 yep insmod, rmmod then insmod again Jun 15 23:20:44 Yeah. That should work. Jun 15 23:20:50 that doesn' Jun 15 23:20:53 t Jun 15 23:21:07 You are running as super user right? Jun 15 23:21:24 Makes it easy. No need of sudo before each command. Jun 15 23:21:35 yep, it loads correctly the first time, when it's unloaded and then loaded again, it fails Jun 15 23:22:21 Can you share your exit function code? Jun 15 23:22:44 it's standard boilerplate using module_platform_driver Jun 15 23:23:26 module_platform_driver? Jun 15 23:23:59 You are doing the usb_deregister right? Jun 15 23:24:10 no, platform_deregister Jun 15 23:24:30 actually it's a miscdevice being loaded in a platform device Jun 15 23:26:19 Oh. Jun 15 23:29:45 I suspect it has something to do with the device tree, let's see if I can find it out before panto sees this :) Jun 15 23:57:19 panto: never mind, figured it out - null reference that caused init return -1 :) Jun 15 23:58:41 * Abhishek_ now has a pre-alpha version of the beaglelogic loadable kernel module :) Jun 16 01:00:58 Pre-alpha BeagleLogic kernel driver: https://github.com/abhishek-kakkar/BeagleLogic/blob/master/beaglelogic-kernel-driver/beaglelogic.c Jun 16 01:08:40 mranostay: pulling my github tree might be a better option for now, I will send you patches via git-send-email after this review. **** ENDING LOGGING AT Mon Jun 16 02:59:59 2014