**** BEGIN LOGGING AT Tue Jun 23 02:59:58 2015 Jun 23 03:59:52 * ebadawy got the comments back yaaaay! Jun 23 04:20:07 um, if you nuke something locally and then force-push it back it is really gone... Jun 23 04:20:38 need another clone or branch if you want to recover it Jun 23 04:20:48 reflog fixed it Jun 23 04:21:16 I'm now cherry picking on a separated branch Jun 23 04:26:07 reflog is kindof a last resort Jun 23 04:28:20 not sure that I got u, but what i did is that used reflog to get the state before using rebase and push it to github with -f Jun 23 04:28:46 and it worked! Jun 23 04:29:56 nerdboy: do u know how to cherry-pick a range of commits? Jun 23 04:32:37 isn't there a .. format? Jun 23 04:32:47 not working Jun 23 04:33:35 think it's only inclusive on the recent end Jun 23 04:34:15 man git-cherry-pick ? Jun 23 04:39:24 how many commits is it? Jun 23 04:40:12 50+ :) ,, but I guess .. format works ,, it's another error Jun 23 04:40:16 format looks like ... Jun 23 04:41:29 if it's not discontinuous there are other ways Jun 23 04:42:49 ie, cherry-pick is best for specific commits, HEAD~2, , etc Jun 23 04:43:06 er, Jun 23 04:44:12 if you want to grab a full range of commits there may be better ways Jun 23 04:44:38 yea, what the case is there is some commits that jkridner want some changes on them ,, so I'm cherry picking all the good commits on another branch and the edit any possible one Jun 23 04:45:58 are you editing the "good" commits or the not-sogood ones? Jun 23 04:46:08 not-sogood ones Jun 23 05:44:39 nerdboy: Yes, this is 4.1-rc8-bone9 Jun 23 05:49:42 with or without extra patches is what i meant... Jun 23 05:53:18 had to pull in some remoteproc files from 3.14 version Jun 23 05:53:26 the 3.14-ti branch Jun 23 06:01:52 shubhangi: with reference to libpru, general practice in (any) library is to avoid the use of printf inside library functions, make them return error codes instead ( see errno.h ). Jun 23 06:08:01 there is also kernel trace framework... Jun 23 06:08:48 yeah, this comment here was made in reference to the userspace library part, not the kernel Jun 23 06:12:09 same thing applies Jun 23 06:12:26 for certain values of $thing... Jun 23 06:14:26 as in write a trace log file instead Jun 23 06:15:39 yep, also could add something like #define DEBUG_printf Jun 23 06:16:58 that gets a little cluttered Jun 23 06:18:00 more than just a few anyway Jun 23 15:33:51 it's so quiet in here Jun 23 15:34:45 surely because everyone is busy getting there weekly reports in today! Jun 23 15:41:15 * ebadawy won't get the weekly report late this time. Jun 23 16:07:26 Abhishek_: i have tried to improve the error handling in library and user programs. Can you have a quick look at the repo to see if its fine for 2morows evaluation. Jun 23 16:09:05 pruss_shutdown still seems to print something Jun 23 16:20:31 wht shall i return if its not a standard errno ? -1 ? Jun 23 16:36:55 Abhishek_: are you able to cross compile 4.1 on your host ? mine throws an error in between Jun 23 16:37:28 what config do you use Jun 23 16:38:21 Pastebin it Jun 23 16:42:37 http://pastebin.com/i6LH15Q9 Jun 23 16:43:23 i used make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- Jun 23 16:47:25 alexanderhiam : This GSoC it's so much more quieter than the last GSoC in general Jun 23 16:49:06 karki_: it sure is Jun 23 16:49:21 * alexanderhiam has also been a lot more distracted this year! Jun 23 16:49:24 moin Jun 23 16:50:03 hopefully that means they are too busy ... Jun 23 16:53:33 alexanderhiam : yep, even mentors are barely active Jun 23 16:54:54 * nerdboy has no previous data points for reference value Jun 23 16:55:19 * karki_ has barely been online compared to last year......... mainly because he is not a student anymore :) Jun 23 16:57:25 nerdboy : the amount of traffic we have during wednesday meetings now, we used to have on every other day last year. Jun 23 16:58:33 have other mentors been communicating with students off irc? Jun 23 16:58:43 I have Jun 23 16:58:49 mainly private chat Jun 23 16:58:59 and email Jun 23 17:01:05 karki_: ah. Could you try to direct more of that through here? Jun 23 17:01:25 sure :p Jun 23 17:01:40 apaar : alexanderhiam wants you to talk here :D Jun 23 17:02:23 we really want to encourage all communication to go through here or the ml Jun 23 17:02:23 alexanderhiam, karki_ :i will try :) Jun 23 17:02:44 apaar: thanks Jun 23 17:02:48 it's not hard, you just have to type stuff and hit enter ;) Jun 23 17:04:32 alexanderhiam :have been trying to get the userpace backend api's up and running to start testing should be done in a bit :) Jun 23 17:05:20 apaar: cool, you been keeping your repo up to date on github? Jun 23 17:06:42 the driver is up to date i did not put userspace stuff as it was quite broken i commit once something is working and basic testing is done Jun 23 17:07:55 apaar: ok cool. And the sysfs API is all tested and working? Jun 23 17:08:26 are you refering to the sysfs handlers? Jun 23 17:09:35 yeah. I'm assuming since you're working on the userspace API that the sysfs entries are all working as expected Jun 23 17:09:44 * alexanderhiam needs to get caught up on project statuses Jun 23 17:10:14 yes they work perfectly only i have not tested for junk/messed up data Jun 23 17:10:38 i am working on userspace right now testing it :) Jun 23 17:11:02 do you have a plan for testing things like data integrity? Jun 23 17:11:22 would be nice to see some unit tests at this point Jun 23 17:11:55 e.g. have some PRU firmware to echo back what you send it Jun 23 17:12:42 i have tested that i have also been able to move data both ways Jun 23 17:13:46 but you have to echo/cat to interact with the files so i thought of getting userspace api's up before more extesive testing Jun 23 17:14:53 cool. It would be great if you could add some test programs to the repo so it's easy for others to test as well. I would say some bash script tests would be good to have so you know if a userspace API test failing means a problem with the driver or just with the API Jun 23 17:16:06 e.g. if the userspace C write() function fails, is that C function broken, or is it the kernel driver, or the PRU firmware? Jun 23 17:17:34 cool i will get to it in a bit i was thinking of getting the basic api up(i have been having some sticky issues with it but sould be done in a hour or two) Jun 23 17:19:13 alexanderhiam: please do have a quick look at my repo to see if things in order https://github.com/shubhi1407/PRU-framework Jun 23 17:19:21 if you got time :) Jun 23 17:19:31 are in* Jun 23 17:19:48 apaar: sounds good. And if the issues persist definitely do push it so we can take a look and help out Jun 23 17:20:14 shubhangi: looking now... Jun 23 17:20:32 alexanderhiam : sure :) Jun 23 17:23:35 shubhangi, apaap: have you been staying in sync about how the framework and pru-bridge will fit together? Jun 23 17:24:06 i think we need to discuss more Jun 23 17:25:08 yes, please do Jun 23 17:26:02 apaar: ping. we should carry this discussion forward Jun 23 17:26:48 shubhangi :sure :) Jun 23 17:26:50 and be sure to do so here or on the ml! Jun 23 17:26:55 ;) Jun 23 17:27:10 sure thing Jun 23 17:27:35 better start a thread on ml .. things here get lost Jun 23 17:30:39 shubhangi :+1 Jun 23 17:31:03 shubhangi: first make *** bb.org_defconfig Jun 23 17:31:08 then start compiling Jun 23 17:31:28 (*** = ARCH, CROSS_COMPILE) Jun 23 17:31:54 got a patch and working config now? Jun 23 17:32:22 shubhangi: make sure it's clear in the pruss_remoteproc.c docs that it's an updated version. Ideally it should have a copyright of your own, then say it's derived from the original remoteproc driver then give the original copyright Jun 23 17:32:24 * nerdboy gets ready for another proposal mtg... Jun 23 17:32:45 Abhishek_: okay :) Jun 23 17:32:52 alexanderhiam: ok. thanks :) Jun 23 17:33:59 that goes for all you students! Make sure your copyrights and licenses are all in place and up to date. If anything it's good practice Jun 23 17:34:40 basically any code without a copyright and license that's on github or anywhere else public is in the public domain Jun 23 17:34:42 alexanderhiam, shubhangi: In case of writing to PRU memory, I was also considering exposing the PRU memory into userspace via mmap through a device file, but I think that makes it close to UIO . Jun 23 17:35:13 s/considering/thinking of Jun 23 17:35:50 Abhishek_: that could certainly be useful Jun 23 17:36:12 but wouldn't it be doing the same thing that UIO does as well? Jun 23 17:36:20 libprussdrv and all Jun 23 17:36:33 yes. that is how they work Jun 23 17:37:11 I don't see that as a reason to not also include some memory mapping in an remoteproc framework Jun 23 17:37:16 perhaps as an option Jun 23 17:37:46 though there may be other more compelling reasons not to Jun 23 17:37:47 panto-cloud: RFC. Jun 23 17:37:49 ^ Jun 23 17:38:56 shubhangi: planning to do something with rpmsg/mailbox next? Jun 23 17:39:51 Abhishek_: setting aside code space restrictions ? Jun 23 17:40:41 code space restrictions on the PRU? Jun 23 17:40:47 yes Jun 23 17:41:11 some library code has to go in at pru side as well Jun 23 17:41:20 yep Jun 23 17:41:48 how much space does that lib occupy in PRU mem? Jun 23 17:41:56 although i see ti was trying to implement vrings .. seems it is imcomplete Jun 23 17:42:14 incomplete* Jun 23 17:42:37 have a link to that code? Jun 23 17:43:36 https://github.com/shubhi1407/PRU-framework/blob/master/firmware/resource_table_0.h#L45-L56 Jun 23 17:45:12 I see, did Suman had any comment regarding this? Jun 23 17:45:17 *have Jun 23 17:46:13 see this .. https://git.ti.com/pru-software-support-package/pru-software-support-package/blobs/master/lib/pru_vring.c Jun 23 17:48:47 Abhishek_: Suman "FYI, we also have plans to move away from mailbox as it means latencies Jun 23 17:48:47 on the PRU-side in going to a peripheral outside its subsystem." Jun 23 17:52:13 was that mentioned in the mail you posted on the group? Jun 23 17:53:02 no, this came before i added ml to cc Jun 23 17:55:15 this vring library looks good. shall i try to get it running ? Jun 23 18:04:11 posted your status update about this week yet? Jun 23 18:06:21 not yet Jun 23 18:11:31 In tomorrow's meeting, it'd be your (shubhangi) and azizulhakim's turn Jun 23 18:40:13 Abhishek_: you mean status update on mailing list or during meeting? Jun 23 18:40:41 I suppose during meeting Jun 23 18:41:08 Okay Jun 23 21:12:05 jkridner: got my PR? **** ENDING LOGGING AT Wed Jun 24 02:59:58 2015