**** BEGIN LOGGING AT Wed Jul 24 02:59:59 2013 Jul 24 04:43:00 mmm i have not. Jul 24 04:46:29 have not? Jul 24 04:47:09 Built/loaded panto's kernel Jul 24 04:48:09 how is ur project going? Jul 24 04:55:22 Its going fine i'd say. Jul 24 04:55:33 planning to do the video this week Jul 24 04:55:49 how much further have you gotten beyond reading the ids? Jul 24 04:57:19 Well i've done a couple of the other protocol defined instructions, although hardcoded for the launchpad, so the next major step was to generalize the code more. Jul 24 04:58:31 Although, due to the way the protocol is defined, it seems you will need to provide the debugger a lot of the information anyway. Jul 24 04:58:58 In terms of, the encoding of the different operations, and even the length of the IR. Jul 24 04:59:48 cool Jul 24 04:59:54 actually I've considered one way of counting the length of the IR programmatically, but based strictly on the spec it may not be defined. Jul 24 05:00:24 the spec just specifies the lower two bits when shifting out from IR, so i take that to mean, the other bits could be whatever, even if typically they are just zero'd Jul 24 05:00:29 so that isn't something I think I would rely on. Jul 24 05:00:32 how are you passing info from the PRU back to the ARM? Jul 24 05:01:28 I just took the easiest path at the time, which was to just put it in the pru local storage, which can be addressed from the arm chip. Jul 24 05:01:48 I will probably need to look at a more sophisticated option later Jul 24 05:01:50 so basically shared memory? Jul 24 05:02:03 is the second half of GSoC the integration with openocd or? Jul 24 05:02:10 Yes, basically. Jul 24 05:02:30 figuring out how best to communicate with the openocd side Jul 24 05:02:57 and there is actually PRU shared memory which is slightly different, but these spaces are all addressable by the ARM cpu anyways it seems. Jul 24 05:03:16 wow.. this is going smoother then I'd have guessed Jul 24 05:03:25 the pru "shared" memory is for use with sharing data between the two prus Jul 24 05:03:33 and im pretty sure the ARM chip can address this anyway Jul 24 05:03:52 but their might be penalties for using it? Jul 24 05:04:36 Yes, Probably. Although admittedly i have not yet looked at memory access costs from the ARM side. Jul 24 05:05:02 or worse, it causes delays on the PRU side Jul 24 05:05:13 hmmm, I did not think about this possibility Jul 24 05:05:16 Duly noted. Jul 24 05:05:42 however, I just needed it to tell me the results of whatever computation after the fact, so in the specific case of what i was doing, it would be a non-issue i think? Jul 24 05:06:01 but when we need to communicate with openocd this is something i should keep in mind Jul 24 05:06:36 well... the access from the ARM is async relative to the PRU pin toggling Jul 24 05:06:48 so if the ARM slows down the PRU, it can mess with the timings on the pin Jul 24 05:07:21 Well, I wait for the PRU to trigger an interrupt stating it was done, before the arm went and looked at the results Jul 24 05:07:42 Oh so no pipelining of commands to the PRU? Jul 24 05:08:04 Yeah, no, at that point it was just entirely the PRU. Jul 24 05:08:35 I know a lot of this is in the app but things can change over time as you learn more **** BEGIN LOGGING AT Wed Jul 24 05:28:31 2013 Jul 24 05:46:15 as you collapse the chain the bit count changes Jul 24 05:46:37 so I think we need to pass this from the app to the PRU and then out to the CPLD (if its shifting out) Jul 24 05:46:49 if the PRU is shifting then it has to keep count. Jul 24 07:42:07 jj2baile, mluckham-away, I've found out that the shared dram in the PRU is not reliable Jul 24 07:42:16 you'll have to use shared dram for that Jul 24 13:22:31 panto, you mention shared dram twice Jul 24 13:22:52 err, ok, shared dram off the PRUs at first Jul 24 13:22:59 standard dram at second Jul 24 13:24:04 shared dram 'between' the PRUs is not reliable, but shared dram between PRU and ARM 'is' reliable? Jul 24 13:24:21 yes Jul 24 13:24:43 at least that's what I've found out when I put the vring in the shared PRU dram Jul 24 13:25:18 is it a timing/noise thing? Jul 24 13:28:05 I have a hunch the arbitration just fails when both ARM + PRUs access the block Jul 24 13:28:20 and it was only the ARM writes that failed Jul 24 13:28:53 pretty weird, but it is what it is Jul 24 13:29:48 I thought PRUs have their own private dram, between themselves - can ARM access that too? Jul 24 13:30:26 yes, obviously Jul 24 14:37:17 mluckham-away, they are all in the ARM map too... Jul 24 14:54:38 panto, they want you to rely on the previously sekrit scratchpad between prus Jul 24 14:55:12 mdp, btw, I totally use the trick accessing the other PRUs pins Jul 24 14:55:30 yeah Jul 24 14:55:35 with the added complication that the other PRU might even running (so I stop it) Jul 24 14:55:45 heh Jul 24 14:55:56 I don't use the scratchpad yet Jul 24 14:56:10 this is the fastest way to do anything Jul 24 14:56:20 yep Jul 24 14:56:26 I would appreciate it if you took some time to look at that testpru stuff I did Jul 24 14:59:40 I'm going to try. keep in mind that with my month off..I'm still on this major catch-up thing at work :-/ Jul 24 15:03:15 I need to re-read that whole section on the scratchpad Jul 24 15:33:19 gm all Jul 24 15:33:28 morning jkridner Jul 24 15:33:41 <_av500_> gm jkridner Jul 24 15:33:41 anybody here at oscon? Jul 24 15:33:49 <_av500_> not me Jul 24 15:45:16 morning jkridner Jul 24 15:54:03 gm Jul 24 15:55:35 gm jkridner Jul 24 15:55:44 gm Jul 24 15:56:52 general linux kernel question.. Jul 24 15:57:05 i have an irq. i want to use wait_interruptible in it. for another irq Jul 24 15:57:11 is this madness or is it possible? Jul 24 15:57:35 gm Jul 24 15:57:39 tried last night and got some oops error. went to sleep. havent seen it again. Jul 24 15:57:55 hello ! Jul 24 15:57:57 just a couple minutes from starting up. Jul 24 15:58:09 sorry. it was wait_event_interruptible.. Jul 24 15:58:51 any pre-meeting agenda items to add? I plan on going around the projects and checking when the last status update was, then checking on communication between mentors/students. Jul 24 15:59:11 time for mentor evaluations.. might be worth mentioning. Jul 24 15:59:21 there was a scary line in the email Jul 24 15:59:41 "Please note that non-submission of a midterm evaluation means you will automatically fail the program." Jul 24 16:00:07 I am at oscon in spirit Jul 24 16:00:23 I support OS Jul 24 16:00:51 hehe Jul 24 16:00:56 morning channel Jul 24 16:01:11 g'day Jul 24 16:01:24 good afternoon, highly respected bradfa Jul 24 16:01:28 hello Jul 24 16:03:08 ZubairLK, probably good to remind folks of midterm eval fill-out requirement at next week's meeting since then they'll be open for use Jul 24 16:03:13 ZubairLK: very, very good point. Mid-term evaluations can start being filed July 29 and are due before Aug 2. Jul 24 16:03:31 :) Jul 24 16:03:49 hi gregkh Jul 24 16:03:54 for those at OSCON, there is a GSoC meet-up tonight, but it seems none of you are here. Jul 24 16:04:14 looks like I'll have to hike 1/2 dome just to find signal to file :P Jul 24 16:04:15 gregkh: hehe, i hope you aren't upset about the "Kurgan" picture..... Jul 24 16:04:25 * vvu is here, but writing week #5 report :) Jul 24 16:04:29 <_av500_> we are $here Jul 24 16:04:33 prpplague: I have no idea what you are talking about. Jul 24 16:04:34 everyone should be approaching the amount of progress expected by the mid-terms... Jul 24 16:04:47 ZubairLK: morning. Jul 24 16:05:08 I want to see no fails! (which means the work has to be done and the mentors have to be able to reproduce/know-about the work) Jul 24 16:06:12 sounds good Jul 24 16:06:14 jj2baile: sorry to pick on you, but I don't think I've seen an update in a while. mind if we start with you? Jul 24 16:06:48 jkridner: week #5 update is on my blog *Sorry for writing them in the middle of the week n+1* Jul 24 16:07:17 * jkridner reads "Ponderings on JTAG" Jul 24 16:07:27 jkridner: no problem Jul 24 16:07:33 Yeah I havent done a blog post recently Jul 24 16:07:39 I was planning to get the video done within the next couple days Jul 24 16:07:47 and then post that on the blog, Jul 24 16:08:01 jj2baile, jkridner, video is required for midterm? Jul 24 16:08:05 I know where i can acquire a video camera now, so that should be fine, Jul 24 16:08:06 *finally not worried about the video* Jul 24 16:08:08 bradfa: Oh is it? Jul 24 16:08:22 jj2baile, I had thought so, jkridner is it? Jul 24 16:08:29 bradfa: really should be done... up to primary mentor if it is a requirement. Jul 24 16:08:40 jkridner, ok Jul 24 16:08:42 my feeling is that is should be done. Jul 24 16:08:48 gregkh: https://plus.google.com/108554497183903998785/posts/M72vZ8aY3XW Jul 24 16:08:57 Well, I was planning to do it anyway Jul 24 16:09:07 point is to try to inform people about the project such that more people are engaged during the execution. Jul 24 16:09:15 As well, I should probably remember to complete the evaluation. Jul 24 16:09:31 jj2baile: yeah, not completing the evaluation would be *bad* Jul 24 16:09:41 ie., not getting paid bad. Jul 24 16:09:57 that will happen Jul 24 16:10:06 even if I have to drive 100miles Jul 24 16:10:06 *very bad indeed* Jul 24 16:10:41 jj2baile: are you blocked in any way? Jul 24 16:10:51 jkridner: Not currently, no Jul 24 16:11:15 prpplague: heh, I've been called worse before, no worries :) Jul 24 16:11:15 it works for me (his code) Jul 24 16:11:34 jkridner, his code is working fine and his instructions are good enough to use Jul 24 16:11:57 gregkh: going to make it hard to watch you do a presentation now at conferences, hehe Jul 24 16:12:24 jkridner, next week is integration with vrings and basic app and thats already in progress Jul 24 16:12:26 what about the vring integration? is that a show-stopper? are we comfortable this stuff is going to be reusable? Jul 24 16:12:40 gregkh: Jul 24 16:12:45 I'm inside a software triggered irq. but i want to wait_event_interruptible in it. condition is a boolean set by another hw irq of a fifo.. Jul 24 16:12:45 thats the next step and mluckham and panto have that in hand :0 Jul 24 16:12:49 tried last night and got some random oops error. went to sleep. it is possible right? Jul 24 16:12:50 :) Jul 24 16:12:52 anyone can answer btw.. Jul 24 16:13:58 jkridner, both panto and mluckham are working on that with jj2baile Jul 24 16:14:43 ZubairLK: you can't sleep in an irq, sorry. Jul 24 16:15:10 hmm. i'll move code around then. Jul 24 16:16:02 k, guess we'll move on to the next student. Jul 24 16:16:02 anyone seen vmayoral? Jul 24 16:16:02 koen? Jul 24 16:16:43 anyone seen Khem Raj? Jul 24 16:16:50 * jkridner forgets his IRC nick. Jul 24 16:17:55 * jkridner invites khem #beagle-gsoc Jul 24 16:18:46 I think vmayoral and koen are communicating well by e-mail, but I'm still seeking them to better engage the rest of the GSoCers. Jul 24 16:19:20 ping them when you see them. I don't think we waste a whole lot of time here. Jul 24 16:19:43 * jkridner doesn't like leaving pass/fail to chance. Jul 24 16:20:28 vvu: thanks for the video Jul 24 16:20:36 also got videos from anujdeshpande and hatguy recently Jul 24 16:20:37 jkridner: no problem :) Jul 24 16:20:50 jkridner: are the videos ok? Jul 24 16:20:53 *and me too* Jul 24 16:21:08 jkridner: apologies for the video quality. will do one again with a better camera Jul 24 16:21:14 *i'm afraid of asking that question hatguy :p* Jul 24 16:21:26 ZubairLK: hehe Jul 24 16:21:38 hatguy, I liked them ;) Jul 24 16:21:39 ZubairLK: I thought yours was earlier. Jul 24 16:21:48 mdp: great! :) Jul 24 16:21:54 jkridner: yup. din receive an ack. Jul 24 16:22:08 oops. did. you uploaded it in the blogpost. Jul 24 16:22:12 your ack is at http://beagleboard.blogspot.com/ :-) Jul 24 16:22:12 my bad Jul 24 16:22:21 /win 13 Jul 24 16:22:30 jkridner: was cwicks able to use the videos? Jul 24 16:22:39 * jkridner doesn't know. Jul 24 16:22:42 all worked for me. Jul 24 16:22:49 ahh ok great Jul 24 16:23:17 jkridner: we organized the blogs too Jul 24 16:23:36 jkridner: we have a getting started page, a functions a libraries supported page and a todo page Jul 24 16:23:48 anujdeshpande: I use feedly.com to read them. Jul 24 16:24:02 jkridner: oops. meant wiki Jul 24 16:24:04 not blogs Jul 24 16:24:11 jkridner: we are adding a project entry at bugs.elinux.org Jul 24 16:24:12 jkridner: http://elinux.org/Category:Userspace_Arduino Jul 24 16:24:55 * jkridner didn't realize there was a bug tracker there! Jul 24 16:25:12 jkridner: in addition, we've got kkeller testing the build, someone from the msp430 group testing, someone from the arduino group testing, and bradfa / mdp have been testing Jul 24 16:25:14 the library status page is planned to show BBB-specific deviations due to h/w differences in apis Jul 24 16:25:17 jkridner: yea long story Jul 24 16:25:27 jkridner: remind me to tell you about that so time... Jul 24 16:26:30 mdp: as well as track which ones are functional and tested Jul 24 16:26:30 jkridner, I would also add that we are also in heavy review mode on code quality/style/error checking Jul 24 16:26:42 prpplague, right Jul 24 16:27:20 vvu, anujdeshpande, hatguy, tcort, ZubairLK: any concerns? I feel like I am getting reasonable updates and things are moving along nicely. Jul 24 16:27:20 and as prpplague suggested, we're going to add checkpatch.pl into the repo to help enforce some style Jul 24 16:27:40 jkridner: couple of patches got acked and upstreamed.. Jul 24 16:27:43 we will have one-shot adc reading in 3.11 without any patches hopefully once we move to 3.11 rc-3. Jul 24 16:27:44 jkridner: none pressing here, just coding issues that i need to investigate Jul 24 16:27:56 jkridner: none atm... just focusing on passing mid-terms smoothly Jul 24 16:28:00 jkridner: no concerns here. things are progressing smoothly. Jul 24 16:28:13 jkridner: nope. all good Jul 24 16:28:35 jkridner: continuous mode is a bit tricky. the TI driver doesn't play well with iio spec. i'm reworking the whole thing. am close i think Jul 24 16:28:42 jkridner: n yea. all good too :) Jul 24 16:29:02 vvu, tcort, anujdeshpande, hatguy, ZubairLK, jj2baile: are you all confident your mentors will give you passing grades at the mid-term evaluation next week? Jul 24 16:29:06 ZubairLK: any idea when we could get your work into a stable image? Jul 24 16:29:16 (or at least that you know what needs to be done to pass?) Jul 24 16:29:34 jkridner: yes Jul 24 16:29:36 jkridner: yeah... we should pass :) Jul 24 16:29:43 *hopeful about passing mentor evaluation.* *looks at gregkh* Jul 24 16:29:53 jkridner: if i make a stable build of the project and if _av500_ likes hacking the android kernel to make it work with BBB, yes! Jul 24 16:30:09 hatguy: stable image? kernel version 3.8 is stable and has one-shot adc reading. as for continuous. might have to wait a bit.. Jul 24 16:30:35 ZubairLK: ok no worries... Jul 24 16:30:38 <_av500_> vvu: I dont like it, but I dont blame you for it Jul 24 16:30:42 jkridner: yepp Jul 24 16:31:02 _av500_: then i`m a bit on luck *no jinxing here* Jul 24 16:33:03 jkridner: anujdeshpande and hatguy are weeks ahead of schedule on the project and have nearly all of the major functions working Jul 24 16:33:27 prpplague: sweet. Jul 24 16:33:33 jkridner: i finished testing the base support on minnow board and raspi over the weekend Jul 24 16:33:36 vmayoral is on schedule as well Jul 24 16:33:46 koen: thanks. Jul 24 16:33:49 jkridner: there is still some clean up that needs to be done to make sure the over all support is generic Jul 24 16:34:01 jkridner: but that will come with the code review and cleanup Jul 24 16:34:17 koen: any chance we can get him to participate here just to "say hi" to the other GSoCers? would be nice to make a few connections. Jul 24 16:34:40 * jkridner tries to keep this down to 30 minutes and wants to wrap-up now. Jul 24 16:34:42 I'll ask Jul 24 16:34:52 koen: thanks. Jul 24 16:35:21 it's not that I think you're wasting time here, it's just the time of day that I'm in the kitching cooking dinner :) Jul 24 16:35:32 * jkridner raises the gavel.... Jul 24 16:35:32 3.... Jul 24 16:35:37 2.... Jul 24 16:35:43 1.... Jul 24 16:35:45 <_av500_> 54 Jul 24 16:35:52 54! Jul 24 16:35:54 :-) Jul 24 16:35:59 *boom* Jul 24 16:35:59 0.5 Jul 24 16:36:00 consider the official part over. Jul 24 16:36:11 koen: doh! Jul 24 16:36:37 koen: would 30 minutes later work better? Jul 24 16:37:19 *maybe he is eating his dinner now :p* Jul 24 16:37:26 even if I know you and vmayoral will be joining around the end, that'd help. Jul 24 16:37:46 * jkridner could start to schedule student "update" times a bit more narrowly. Jul 24 16:38:13 I want this to be efficient and encourage logging-in in and socializing a bit in off-hours. Jul 24 16:38:55 ZubairLK: cook, IRC, microwave, eat. :-) Jul 24 16:39:57 anyway, we can be flexible, but interaction with other GSoCers and communicating on status is important. Jul 24 16:40:18 :) Jul 24 16:42:41 jkridner: i think so Jul 24 16:43:06 oh my.respon Jul 24 16:43:18 perhaps came a bit late Jul 24 16:44:38 jkridner, I'm getting daily or better updates :) Jul 24 16:47:08 * vvu is going back to his cave, serial code still needs a better inspection! Jul 24 17:25:22 tcort, you got my msg that the latest build also worked with 250 delay ? Jul 24 17:29:07 eFfeM: yes Jul 24 17:29:30 thanks for testing it again. Jul 24 17:30:21 no problem Jul 24 17:30:49 calling it a day, temp has dropped some since yesterday and now it is really nice outside Jul 24 17:30:55 catch you all later Jul 24 17:30:57 & have fun! Jul 24 17:42:29 gregkh: turns out one of the irqs i was talking about was threaded.. it can sleep while my hw irq works its magic. Jul 24 17:42:31 One step closer to nirvana.. :p Jul 24 19:23:53 panto, ping Jul 24 21:06:01 jj2baile, ping Jul 24 21:13:12 mluckham, pong but here for very short time Jul 24 21:13:14 *a Jul 24 21:13:45 glad I caught you panto Jul 24 21:14:00 i got the compiler, can build prutest1 but not prutest0 Jul 24 21:14:09 missing prurproc.h Jul 24 21:14:24 mluckham, ugh Jul 24 21:14:29 ok, let me push it Jul 24 21:15:04 had to add some -I to the makefile too, I hope to the right include directories Jul 24 21:15:06 done Jul 24 21:15:23 let me try Jul 24 21:15:24 mluckham, ok, done Jul 24 21:15:29 many thanks Jul 24 21:15:52 np Jul 24 21:15:55 dumb question - I have to make another PRU loader app for these? Jul 24 21:16:15 mluckham, http://pastebin.com/4Ndrxpkh Jul 24 21:16:19 that's my pru env Jul 24 21:16:27 you are a treasure Jul 24 21:16:33 mluckham, err, no Jul 24 21:16:40 what do you mean? that's all you need Jul 24 21:16:42 a time-saver, at least! Jul 24 21:17:08 just put them in /lib/firmware and it will get loaded Jul 24 21:17:26 as described by the BB-BONE-PRU* stuff Jul 24 21:17:46 at boot time? Jul 24 21:18:46 no, at the time the prurproc device gets instantiated Jul 24 21:18:53 i.e. echo BB-BONE-PRU-04 >slots Jul 24 21:19:04 oh, like that :) Jul 24 21:19:09 right Jul 24 21:19:23 so now it's just like a device Jul 24 21:19:58 there's support for re-loading without removing the device and inserting again Jul 24 21:20:12 but it doesn't work right with PRU devices that have vrings active Jul 24 21:20:26 so there might be some things broken in there, I don't know Jul 24 21:20:35 we'll find out Jul 24 21:20:54 to remove, echo - > /sys/devices/bone_capemgr.8/slots ? Jul 24 21:21:01 yeah, but it will crash Jul 24 21:21:11 cause omap devices don't like to be removed Jul 24 21:21:23 dunno, maybe they fixed it in 3.11rc Jul 24 21:21:29 is it supposed to work, just repeating the original echo > /sys/... Jul 24 21:21:43 it was my impression, the driver just got added to the next slot (also) Jul 24 21:21:52 it is supposed to work but it doesn't usually Jul 24 21:21:56 ok Jul 24 21:22:23 as I said before, we get to exercise parts of linux that never got to be exercised before Jul 24 21:22:32 like the removal of board level platform device Jul 24 21:22:34 *devices Jul 24 21:22:41 Bleeding Edge Jul 24 21:22:47 profusely Jul 24 21:23:03 that's what makes this fun, I'm learning but so are you guys Jul 24 21:23:15 once the build&test environment is working, things should go faster Jul 24 21:24:32 the compiler only installs on x86 Jul 24 21:24:32 anyway, got to catch some zzzs Jul 24 21:24:37 ok, tx again Jul 24 21:24:39 mluckham, yes Jul 24 21:24:48 nite panto Jul 24 21:24:54 only x86 (and for the foreseeable future) Jul 24 21:25:10 but, you should be able to run it on arm using qemu user-level x86 emulation Jul 24 21:25:27 yap - yet another project Jul 24 21:25:39 hurt me baby...make me run qemu-x86 on a BBB Jul 24 21:25:49 lol Jul 24 21:26:01 ka6sox, the maximum code size you're going to compile is 8K Jul 24 21:26:03 you'll be alright Jul 24 21:26:28 g'night! Jul 24 21:26:29 its just the compilications associated with that is all...just wanking...I'll be quiet now Jul 24 21:26:39 nite! Jul 24 21:26:43 nite panto Jul 24 21:55:42 ds2: ping Jul 24 23:08:03 jj2baile, ping Jul 24 23:12:06 ka6sox, ping Jul 24 23:28:26 mluckham, pong Jul 24 23:30:45 panto implied that his testpru0 binary would load in the same way a .dtbo is loaded from /lib/firmware Jul 24 23:30:48 doesn't work for me Jul 24 23:31:16 afaik uio_pruss would need to be used, to load a .bin file - as in jj2baile's demo Jul 24 23:31:30 there must be more magic incantations Jul 24 23:31:53 any suggestions (except, I will ask panto tomorrow) Jul 24 23:42:25 remoteproc has an elf loader, in the kernel Jul 25 00:33:24 mluckham, yes, remoteproc is supposed to load and instantiate cores **** ENDING LOGGING AT Thu Jul 25 02:59:58 2013