**** BEGIN LOGGING AT Wed Mar 04 02:59:58 2015 Mar 04 04:37:32 jkridner: could you add me to the list of possible / support mentors for remote display ? As a reference would be fine too. Mar 04 04:38:23 I'm also planning to work on it out of GSoC scope. Mar 04 04:55:00 Updated. Mar 04 05:01:43 hi praveendath921: I tried installing kernel header from http://rcn-ee.net/deb/precise-armhf/v3.8.13-bone47/ Mar 04 05:02:19 ans when I trye to compile the adk module inside bone, it says "fatal error: mach/timex.h: no such file or directory Mar 04 05:02:47 Headers should be based on the version of your OS on Bone. Mar 04 05:03:28 I checked with "uname -r" which gave me 3.8.13-bone47 Mar 04 05:03:36 so I selected this header Mar 04 05:04:12 Okay. That's correct. Mar 04 05:04:24 I can't remember that error. Mar 04 05:05:05 okay, i'll do some more search Mar 04 05:05:37 https://groups.google.com/forum/#!topic/beagleboard/1IkTdkdUCLg Mar 04 05:11:15 great. able to compile. I'll do some test and let you know the result Mar 04 06:28:42 azizulhakim: Sure. I will be leaving in a few hours for an exam. Mar 04 08:09:17 anyone online Mar 04 08:28:46 GSOC 15 Interested in project : node-webkit based cross-platform getting-started app Mar 04 08:32:42 Abhishek_: sorry couldn't reply earlier. was out for 4 days Mar 04 08:40:22 who is the mentor assigned to the project "Library_of_Arduino-compatible_functions_for_StarterWare" Mar 04 08:40:32 with whom i can start with !!! Mar 04 12:15:24 karki: As I tested the blinkled program .. and it is working perfectly.. Mar 04 12:18:05 Also, jkridner suggested me to merge the starterware library for pru in the pruspeak repo OR create a new standalone repo for it. Which one is better ? Mar 04 12:22:19 Hi! I would like to work on node-webkit cross platform app as GSOC-15 project. Where can I start up with? Mar 04 12:56:52 karki: As I tested the blinkled program .. and it is working perfectly.. Mar 04 12:57:05 Also, jkridner suggested me to merge the starterware library for pru in the pruspeak repo OR create a new standalone repo for it. Which one is better ? Mar 04 13:12:36 I don't think thats what jason meant Mar 04 13:13:02 you just can't take someone's library and merge it where ever you like Mar 04 13:14:04 OK.. Then what would you like me to do ? Mar 04 13:15:42 well, this is proposal time Mar 04 13:16:37 now that you have some experience on various stuff, try to identify the area to work upon Mar 04 13:17:05 come up with a proposal and file it when application opens Mar 04 13:17:31 But right now I must also contribute...right ? Mar 04 13:19:50 For the last time! I WILL NOT ENTERTAIN ANY PMs. Mar 04 13:20:47 kiran4399 : did you run the code bare metal, or did you run it with linux Mar 04 13:22:01 I ran it with linux Mar 04 13:35:05 what device tree did you use? Mar 04 13:49:46 Can any1 explain how assessment of the real-time limitations and capabilities will be done for RTLinux project? Mar 04 14:07:57 hii Mar 04 14:12:04 karki: +1 to no PMs! Mar 04 14:13:06 kiran4399: I agree with Abhishek_ that what you want to focus on is your proposal. Early contribution is good to get your feet wet, build relationships and illustrate ability to use tools and work on code. Mar 04 14:13:58 jkridner: oh, wow, hi, jkridner. Mar 04 14:14:07 hi zoorg Mar 04 14:14:17 you looking to participate in gsoc this year? Mar 04 14:14:21 jkridner: yep Mar 04 14:14:45 jkridner: I'm interested, mostly, in Userspace Arduino project. Mar 04 14:14:47 * jkridner is happy to see #beagle-gsoc reasonably full. Mar 04 14:15:04 reminder: we have a meeting in 2.75 hours. Mar 04 14:15:17 but it seems like no one knows nothing about it. Mar 04 14:15:38 zoorg: cool. the mentor for that has moved on, so we'd need to find a new one for it. Mar 04 14:16:11 2.75. That's bad. I'm UTC +10, it's already too late for me. :/ Mar 04 14:16:25 * jkridner visits http://bit.ly/bbgsocideas to see what is the latest Mar 04 14:16:52 zoorg: ah, targeting Tre is what is up there! Mar 04 14:17:11 we should ping some of the Arduino guys to see if they are interested in helping to mentor that one. Mar 04 14:17:16 jkridner: hell yeah! finally some info. :) Mar 04 14:18:24 jkridner: so, can we somehow syncronize our timings, so I could speak with u later? Mar 04 14:18:36 we are both on-line now. Mar 04 14:19:45 I see, but I have no more than 20 minutes more now. Mar 04 14:19:51 jkridner: OK! I agree with you.. so should I start off with the plan and description of how I would want to do the project or should I focus on some other part in the proposal ? Mar 04 14:20:00 BTW: project is PRUduino Mar 04 14:20:27 Hello everyone! Mar 04 14:21:05 kiran4399: try a high-level set of milestones, say about 1 every 2 weeks... share the info in an e-mail on the list and then come here to ask it to be reviewed. Mar 04 14:21:53 would there be enough to pruduino for it to be a project by itself? Mar 04 14:21:57 jkridner: So, can you give me any details and further directions about UA? Mar 04 14:22:21 jkridner: As I see it's already 3rd time this (or similar) idea presented. Mar 04 14:22:22 do you have a BeagleBone Black by any chance already? (not needed if you don't have one) Mar 04 14:22:33 Or an Intel Galileio. Mar 04 14:22:48 jkridner: me? Nope. :/ Mar 04 14:22:57 k. Mar 04 14:23:04 zoorg: Do you have a Linux PC? Mar 04 14:23:34 jkridner: of course. Mar 04 14:23:42 great! Mar 04 14:23:49 jkridner: using linux as my main system for a long time. Mar 04 14:24:00 not sure on a typical Linux PC how many of the interfaces would actually be available. Mar 04 14:24:09 I have RPi. Mar 04 14:24:34 ah, that'll do! Mar 04 14:24:49 probably best to target your R-Pi... even add it to the supported list of board. Mar 04 14:25:14 i have a doubt. right time to ask ? Mar 04 14:25:20 *original model B* Mar 04 14:25:26 zoorg: go make a fork of https://github.com/prpplague/Userspace-Arduino and spend some time getting it running on your R-Pi. Mar 04 14:25:59 karki: do you think the pru-bridge project could cover a DMA option along with the serial like interface? Mar 04 14:26:51 seeing as the virtual serial port part isn't exactly new stuff Mar 04 14:26:52 jkridner: Ok. Thanx for the directions. A already looked through this repo, so, can't you clarify, what's actually already done and what's our main goals? Mar 04 14:27:27 Idea page says: "blah-blah... especially SPI, I2C, Wire, Serial, Servo, Stepper" Mar 04 14:27:39 jkridner: Is the High-level language API targeted towards the starterware for PRU in BBB ? Mar 04 14:27:44 And there is some code for most (or even all) of them. Mar 04 14:27:59 is an event loop necessary to check for a downcall in the pru ? the interrupt doesnt happen the conventional way of interrupting the program flow and servicing an ISR. am i right ? Mar 04 14:28:07 zoorg: only on BeagleBone, not Arduino Tre. Mar 04 14:28:27 shubhangi: correct Mar 04 14:28:33 thanks (y) Mar 04 14:28:40 i can proceed now Mar 04 14:29:27 shubhangi: which project are you looking at? Mar 04 14:29:37 shubhangi: yes, there are no ISRs in the PRU, you poll for interrupts Mar 04 14:29:38 PRU Bridge Mar 04 14:29:49 great! Mar 04 14:29:53 understood the interrupt controller and prussdrv Mar 04 14:30:00 nice (y) Mar 04 14:30:05 suggested rpmsg but was turned down Mar 04 14:30:12 oh right Mar 04 14:30:12 installed beaglelogic Mar 04 14:30:17 works gr8 Mar 04 14:30:22 going through code Mar 04 14:30:28 shubhangi: rpmsg wasn't turned down Mar 04 14:30:44 karki told it had latency issues Mar 04 14:31:01 I do like the idea of a message bus, but I think there were some concerns about rpmsg Mar 04 14:31:09 shall i look futher into it Mar 04 14:31:18 hmm, yes, quantifying the latency could be a good idea so we should know what we are missing Mar 04 14:31:42 as in identifying wht parts are causing the delay ? Mar 04 14:32:11 yes, you could say that Mar 04 14:32:13 jkridner: Ok, I got this. So actual goal is to PORT UA to other platform (Tre and/or RPi in our case). Mar 04 14:32:22 okay (y) Mar 04 14:32:38 rpmsg is the type of thing you could have running over top of the pru-bridge, so even if it has some extra latency it could be a good pru-bridge demo and would still be good for some tasks Mar 04 14:33:25 sounds good Mar 04 14:33:39 jkridner: what is your irc-active time? Mar 04 14:35:05 jkridner: I will be dead-sleeping for 6-7 hours from now on, and so, I want to know when I can contact you next time. Mar 04 14:35:12 Another aspect is to be able to port BeagleLogic and PRUSpeak to the new framework and the latest kernels (3.8.13 -> 3.14 -> 3.19+) Mar 04 14:35:54 a lot to read and think upon Mar 04 14:36:27 PRU Bridge is the groundwork for this Mar 04 14:36:44 the good news, if you get 3.14-ti working, mainline will be very easy. ;) Mar 04 14:37:32 hmm, isn't it working right now? Mar 04 14:38:30 i haven't seen anyone talk about beaglelogic on 3.14. yet ;) Mar 04 14:39:40 jkridner: Ok, anyway, please-please-please, post your time zone and time when you most likely will be here. I'll pick it from logs in the morning. Mar 04 14:39:53 zoorg: I'm EST. Mar 04 14:39:57 it is on the ideas page. Mar 04 14:40:10 my times on-line are unpredictable... Mar 04 14:40:16 don't wait for me to be here to post. Mar 04 14:40:35 you need to learn to put enough in an e-mail to the general group to get a useful response. Mar 04 14:40:37 jkridner: Is the High-level language API targeted towards the starterware for PRU in BBB ? Mar 04 14:40:51 and then come in here and ask people to reply to your e-mail and explain the nuances. Mar 04 14:40:59 jkridner: Got it. Will do. Mar 04 14:42:05 kiran4399: I believe it will used PRU Speak (BotSpeak for PRU), possibly a firmata implementation on PRU Speak, and likely use the Starterware code within PRU Speak to access the other peripherals. Mar 04 14:44:15 Abhishek_ I never turned down rpmsg, just said it would be unlikely that it will be done this gsoc Mar 04 14:44:26 shubhangi: another thing that could be implemented over pru-bridge is remote procedure calls, e.g. https://gist.github.com/alexanderhiam/e9237b835feae932d973 Mar 04 14:44:38 *but* I remember saying that keep it as an open option Mar 04 14:44:52 alexanderhaim : what DMA are we talking about here? Mar 04 14:45:06 alexanderhiam ^ Mar 04 14:45:14 shubhangi: if the pru-bridge data transfer part gets done quickly then you can work on implemented more cool stuff over it Mar 04 14:45:24 +1 Mar 04 14:45:54 alexanderhiam: This code is parsed by the C Compiler, correct? Mar 04 14:46:08 I mean, the PRU C Compiler? Mar 04 14:46:12 oops :P Mar 04 14:46:12 karki: dma vs. serialized, e.g. beaglelogic Mar 04 14:46:37 Abhishek_: yeah, that would be the pru firmware Mar 04 14:46:46 BeagleLogic is psuedo-DMA as I like to call it Mar 04 14:47:06 it's like a DMA controller software implementation Mar 04 14:47:09 * alexanderhiam hasn't actually looked into exactly how you're transferring all that data! Mar 04 14:47:15 ok Mar 04 14:47:49 Block diagram: https://cdn.hackaday.io/images/7233871424473941538.png Mar 04 14:48:01 shubhangi : are you working on pru bridge as such or towards upstreaming the kernel driver Mar 04 14:48:06 jkridner: Oh.. great !! So In the timeline in proposal do you want me to go from starterware to the high-level API (Bottom to top) or the opposite ? Mar 04 14:48:58 pru bridge Mar 04 14:49:08 hmm Mar 04 14:49:16 developing a generic comm between arm nd pru Mar 04 14:49:30 Abhishek_ , we need students to work on a pruss upstream Mar 04 14:50:10 there is no point of a pru bridge if it is going to be another glue code driver Mar 04 14:50:19 +1 Mar 04 14:50:48 I should speak with TI and confirm my work for the summer, was expecting to receive communication from them Mar 04 14:51:41 well, you *do* have an internship Mar 04 14:52:00 hmm Mar 04 14:52:06 so what other confirmation do you need Mar 04 14:52:21 about the projects I will be working on Mar 04 14:52:37 are you contemplating about participating in GSoC? Mar 04 14:52:41 :D Mar 04 14:52:57 kiran4399: whatever makes sense to you... then we'll critique. Mar 04 14:54:54 kiran4399 (and all students): it's best to give you proposal as early as possible so there's time to get feedback from mentors and revise it Mar 04 14:55:54 Sure.. I have started writing it... :-D Mar 04 14:56:07 make an online google doc where we can look Mar 04 14:56:14 vvu : +1 Mar 04 14:56:44 and post the link here or on the mailing list Mar 04 14:56:51 okay Mar 04 14:57:02 Abhishek_ : it'd be great if you'd work on the upstreaming yourself :) Mar 04 15:00:20 if there's no one to work on upstreaming then the first task for pru-bridge should be to at least put together a minimal rproc pruss driver to get the glue code out of pru-bridge Mar 04 15:00:47 then Abhishek_ can work on upstreaming it later ;) Mar 04 15:01:46 I thought that the GSoC wave could propel the upstreaming forward though :) Mar 04 15:08:12 I need to be convinced of a stable pruss driver architecture..... Mar 04 15:08:17 it's pinning me :( Mar 04 15:08:49 I don't want another pru-driver lying around Mar 04 15:10:29 pru-bridge can involve developing a stable pruss driver arch Mar 04 15:10:37 can it ? Mar 04 15:10:38 no Mar 04 15:10:48 what else is required ? Mar 04 15:10:54 pru-bridge goes over a stable driver Mar 04 15:10:58 ohk Mar 04 15:11:04 pru-bridge is like a plugin Mar 04 15:11:10 got it Mar 04 15:11:18 I don't want to mix them up. Mar 04 15:11:23 yes Mar 04 15:11:33 bad for the student, worse for the project! :p Mar 04 15:11:54 can the underlying arch be a gsoc proposal ? Mar 04 15:12:06 if framed and thought upon propely Mar 04 15:12:13 properly* Mar 04 15:12:14 the idea being that pru-bridge is developed over top of a temporary driver while someone else works on a stable driver framework, then pru-bridge gets ported over post-gsoc Mar 04 15:12:22 it's on the ideas page already Mar 04 15:12:36 "PRUSS Support for the newer kernels" Mar 04 15:13:10 hmm.. the two need close interaction Mar 04 15:13:59 or not if the stable driver turns out excellently Mar 04 15:14:01 they need to be done separately so they're not holding each other up Mar 04 15:14:33 the porting would just be replacing the glue code with calls to the new framework's API Mar 04 15:14:34 yes. the distance will probably ensure more generic behavious Mar 04 15:14:52 beahviour* Mar 04 15:14:59 damn Mar 04 15:15:36 yes alexanderhiam is spot on Mar 04 15:15:44 they are rather independent Mar 04 15:15:53 are they? Mar 04 15:16:00 but I'd put upstreaming on higher priority Mar 04 15:16:04 yes Mar 04 15:16:25 " the idea being that pru-bridge is developed over top of a temporary driver while someone else works on a stable driver framework, then pru-bridge gets ported over post-gsoc" Mar 04 15:16:33 thats the paln Mar 04 15:16:35 plan Mar 04 15:16:38 hmm Mar 04 15:17:13 so pru bridge is developed against the current driver, but keeping in mind the new arch Mar 04 15:17:36 i was away for a bit...read the logs so pruss support is creation of a new stable driver and pru bridge is a peice of code that sits on that and provides a standard com protocol?? Mar 04 15:17:45 i.e. the pru bridge should be ported to the new kernel driver with minimal effort Mar 04 15:17:56 apaar ,yes Mar 04 15:18:04 apaar: you could say that, yes Mar 04 15:18:42 Abhishek_ was focusing on LKML upstream and me on pru bridge Mar 04 15:19:03 but I really want a solid architecture for the base driver first Mar 04 15:19:19 so we need a student to focus on upstreaming Mar 04 15:20:19 shubhangi : yes, a stable pruss driver will be a gsoc proposal (and a high priority one IMO) Mar 04 15:20:25 ah ...ok Mar 04 15:20:43 ok. thanks a lot Mar 04 15:21:28 so pru-bridge will also include creation of a new protocol or will we be trying to mimic rmsg...what is the main issue with the current driver?/...i do not fully understand all the issues just parts of some of them Mar 04 15:21:57 we will most likely have our own shared memory protocol Mar 04 15:22:16 what issues are we taking about Mar 04 15:22:54 pru-bridge has to cover all possible use cases of the PRU application so far Mar 04 15:22:55 why are we looking for a new driver instead of just a stable port of the existing driver panto wrote?? Mar 04 15:23:42 same doubt Mar 04 15:23:45 apaar: pru-bridge is a shared memory based transport layer. Things like rpmsg could be built on top of it Mar 04 15:25:03 by shared memory we mean sysfs right? Mar 04 15:25:09 NO Mar 04 15:25:21 pru -arm share ddr memory Mar 04 15:25:32 thats what we are talking about Mar 04 15:25:53 * karki wonders where to start the explanation Mar 04 15:26:05 sysfs is a userspace-kernel interface based on file i/o, pru-bridge is a kernel-pruss interface based on shared physical memory Mar 04 15:26:18 Ok so all you pru guys, listen up Mar 04 15:26:37 different people want to use their pru for different things Mar 04 15:26:49 all ears Mar 04 15:26:51 one driver cant handle all niche situations Mar 04 15:27:15 we need a skeleton driver which takes care of the most basic stuff Mar 04 15:27:30 like uploading firmware Mar 04 15:27:36 upcall-downcall Mar 04 15:27:37 etc Mar 04 15:27:53 the skeleton driver also exposes an in kernel API Mar 04 15:28:01 or some kind of interface Mar 04 15:28:18 The skeleton driver is the core driver Mar 04 15:28:34 pru bridge is a plugin Mar 04 15:29:03 can anyone tell me how GPIO_INSTANCE_ADDRESS like (SOC_GPIO_1_REGS) and GPIO_INSTANCE_PIN_NUMBER like (23) are inter related ?? writing libraries in starterware.. Mar 04 15:29:10 now whenever we need to develop a application for the PRU, we need to write our own driver Mar 04 15:29:34 and also patch the core driver (panto's) with some glue code Mar 04 15:29:54 eg. me and abhishek did it for pruspeak and beagle-logic Mar 04 15:30:33 The main reason this is done is 1. to be able to move data between arm-pru Mar 04 15:30:48 2. to expose upcall-downcall to userspace Mar 04 15:31:02 now Mar 04 15:31:25 even the glue code we write is not standardized Mar 04 15:31:29 it's a hack Mar 04 15:31:48 so we need the core driver to expose a way to write plugin drivers Mar 04 15:32:34 and we need pru-bridge because everytime I develop a pru based project, I don't want to sit around writing a plugin driver Mar 04 15:33:18 so the most common features, such as cross communication between pru-arm; xpose upcall-downcall to linux user space Mar 04 15:33:26 will be bundled in pru-bridge Mar 04 15:33:45 pru-bridge plugin will handle most requirements Mar 04 15:34:06 but if I have a niche application which the pru bridge can't handle Mar 04 15:34:12 *then* Mar 04 15:34:21 I can write my own plugin driver Mar 04 15:34:44 pru bridge will sit over pru - core as the defacto plugin Mar 04 15:35:12 so even noob developers can write their PRU apps without busting their head Mar 04 15:35:30 the pru-bridge will come with a pru side api Mar 04 15:35:34 for firmware dev Mar 04 15:35:40 and a userspace api Mar 04 15:35:50 which can be in python, node, etc Mar 04 15:35:57 **done** Mar 04 15:36:01 any doubts ? Mar 04 15:36:03 thanks a lot (y) clears a lot of things. will the core driver work in conjunction with panto's drivers or replace it entirely from scratch ? Mar 04 15:36:20 refactor panto's driver Mar 04 15:36:26 okay Mar 04 15:36:33 panto is the one you need to talk to for this Mar 04 15:36:42 no one knows PRU better than him :) Mar 04 15:36:52 ok. thanks Mar 04 15:37:01 1 more question Mar 04 15:37:29 yes Mar 04 15:39:08 does 1 pru always need to be dedicated for arm-pru communication as seen till now ? Mar 04 15:39:32 not dedicated Mar 04 15:39:34 as such Mar 04 15:39:49 but *something* needs to talk to the ARM, right? Mar 04 15:40:00 we normally choose PRU0 for that Mar 04 15:40:16 ah i finally understood ...thanks :) Mar 04 15:40:31 but then again, there is no strict binding. so donno what you mean by dedicated Mar 04 15:40:35 let me put it other way. Mar 04 15:40:38 if you're pru firmware fits within the pru-bridge event loop it should support single pru mode Mar 04 15:40:41 sorry. couldnt explain Mar 04 15:41:00 if not it should also support dual pru firmware Mar 04 15:41:34 a c library for the pru where developer can call read/write functions in a block call Mar 04 15:41:40 it would be awesome if the driver could load and manage two separate pru-bridge based firmwares Mar 04 15:42:01 so the developer doesnt have to code the event loop Mar 04 15:42:11 do i make sense ? Mar 04 15:42:20 you do make sense... Mar 04 15:42:40 we could potentially have a non event loop mode Mar 04 15:42:52 yes Mar 04 15:43:18 although the mem_read call would block the pru until the write by arm is complete Mar 04 15:43:25 there could be a PRUBridge_update() routine that is up to the user to call to check for upcalls/downcalls Mar 04 15:44:04 https://github.com/deepakkarki/pru_serial/blob/master/README.md Mar 04 15:44:04 exaclty Mar 04 15:44:12 int set_blocking_read(int ch, int true_or_false); Mar 04 15:44:14 exactly* Mar 04 15:44:20 did anyone read this :'( Mar 04 15:44:45 who reads READMEs?! :P Mar 04 15:44:54 sorry Mar 04 15:44:55 reading now Mar 04 15:45:05 :p Mar 04 15:45:22 pru_serial would be implemented over the pru-bridge transport Mar 04 15:45:30 alexanderhiam : so blocking won't really work Mar 04 15:45:45 I found out after I wrote the readme Mar 04 15:45:50 how so? Mar 04 15:45:52 rather realized Mar 04 15:46:16 the kernel needs a upcall to an issued downcall within 100ms Mar 04 15:46:22 else it self destructs Mar 04 15:46:23 ah Mar 04 15:46:30 it can be implemented Mar 04 15:46:39 through shared memory flags though Mar 04 15:46:44 yeah Mar 04 15:46:48 but seems like a round about method Mar 04 15:46:52 we'll see Mar 04 15:47:07 blocking is definitely good to have Mar 04 15:47:36 though non-blocking is *much* more helpful Mar 04 15:48:04 the pru end lies under core-driver project or pru-bridge. Mar 04 15:48:22 pru-bridge Mar 04 15:48:28 ok Mar 04 15:48:43 actually both Mar 04 15:48:48 hard to say now Mar 04 15:48:52 k Mar 04 15:49:06 there has to be some standardized pru-side stuff Mar 04 15:49:11 you need some pru firmware func that talk to the core driver Mar 04 15:49:16 yes Mar 04 15:49:24 thts wht i thought Mar 04 15:49:35 which is the standardized stuff AH is talking about Mar 04 15:50:11 that should be the stuff that will always be present in any pru application Mar 04 15:50:16 and nothing more Mar 04 15:50:16 yes Mar 04 15:50:19 +1 Mar 04 15:50:33 then pru-bridge firmware will use that Mar 04 15:50:36 so makes it a part of core-driver more or less Mar 04 15:50:36 :) Mar 04 15:50:41 yes Mar 04 15:50:58 though wouldn't be upstreamed Mar 04 15:51:06 yes Mar 04 15:51:19 thanks a lot Mar 04 15:51:33 made things a lot more clearer Mar 04 15:51:55 oops, we're hogging this meeting Mar 04 15:51:59 my comp just hung :(...will catch up on the logs and comeback if i have any doubts Mar 04 15:52:45 (it is the meeting now, right?) Mar 04 15:53:50 karki: perhaps we should paste all that somewhere people can see it Mar 04 15:57:05 (oh nvm, the meeting's not for another hour) Mar 04 15:57:17 how does one ensure that the driver will be upstreamed. what coding practice one needs to follow ? Mar 04 15:57:57 shubhangi, follow the standard kernel coding practice, then submit and see the reviews. ;) Mar 04 15:58:23 okay (y) Mar 04 15:58:49 we can help you review it, but usually it's always up to the kernel maintainers in the end.. Mar 04 15:59:37 rcn-ee : which project are you planning to mentor :) Mar 04 16:00:16 i was just going to help out where needed, anything kernel related. ;) Mar 04 16:08:08 rcn-ee : the pru could use some love ;) Mar 04 16:08:57 karki, i've actually never touched the pru.. ;) Mar 04 16:09:20 theres a first time to everything :p Mar 04 16:09:39 and no one here knows upstreaming better Mar 04 16:10:59 We really need Suman from TI involved, he maintains remoteproc. ;) Mar 04 16:21:15 Yep Mar 04 16:21:32 that would be great Mar 04 16:33:14 Is there any specific template for writing a proposal ? Mar 04 16:34:32 you will get the template once student proposals open Mar 04 16:51:46 can we give our proposals well before the registration starts for verifying to the mentors ? Mar 04 16:52:01 is there any meeting today ? Mar 04 16:52:37 kiran4399: certainly, just put write it up in a goodle doc and post a link Mar 04 16:53:08 vvu: yes Mar 04 16:57:57 hello all Mar 04 16:58:03 _av500_: you around? Mar 04 16:58:15 <_av500_> jkridner: a bit Mar 04 16:58:24 <_av500_> im down with a flu (again) Mar 04 16:59:02 oh no. :( Mar 04 16:59:16 <_av500_> I slept al day yesterday Mar 04 16:59:22 <_av500_> better today Mar 04 16:59:33 rcn-ee: let's try to get Suman into here. Mar 04 17:00:24 <_av500_> jkridner: all these mentors you gang pressed at SCALE, are they here? Mar 04 17:00:31 I just got through shoveling a ton of snow.... waiting for the lights in my head to turn back on. ;-) Mar 04 17:00:44 don't see any of them. :( Mar 04 17:00:54 mdp here? Mar 04 17:01:27 * _av500_ kicks mdp awake Mar 04 17:01:33 I'm here..lurking Mar 04 17:01:42 multitasking meetings Mar 04 17:01:44 k Mar 04 17:02:24 any agenda items from anyone? Mar 04 17:02:33 * jkridner will go over the schedule. Mar 04 17:02:47 I have some queries about pru bridge project . Mar 04 17:03:13 jkridner: spoke to Andrew, he’s in for Android Mar 04 17:03:17 i will miss this meeting, going to look over the logs after Mar 04 17:03:18 Aman_singh: start by reading the irc logs, we just discussed it in some depth Mar 04 17:03:19 k. let's make sure we handle logistical questions first, then scatter into helping students put together proposals. Mar 04 17:03:52 timeline: https://www.google-melange.com/gsoc/events/google/gsoc2015 Mar 04 17:03:55 jkridner i think he’s already registered on melange, have pointed him towards irc and the mailing list too Mar 04 17:04:09 we are currently in a meet-and-greet phase. Mar 04 17:04:53 jkridner: do you think it will be possible to have a hangout with possible students on bone 101 and node-webkit based cross-platform getting-started app Mar 04 17:05:07 I need all mentors to apply to be mentors on melange. Mar 04 17:05:21 DiegoTc: If we can do it here, it would be better. Mar 04 17:05:29 that way many questions and doubts can be answer and will be useful for students who will like to propose on those project Mar 04 17:05:52 DiegoTc: we can certainly advertise a meet-up time for here to specifically discuss that project.... and I'd include the BBUI too. Mar 04 17:06:02 I thought it will be better one specific date, that way you upload it and it's on youtube Mar 04 17:06:06 but you decide Mar 04 17:06:48 * jkridner has been working on http://jadonk.github.io/bone101/Support/bone101/UI/, but still has a lot of re-write to do still. Mar 04 17:07:02 this Friday will be OK this same hour if is IRC? Mar 04 17:07:19 DiegoTc: I've been having problems with Google Hangouts-on-Air.... Mar 04 17:07:25 they simply haven't been working for me.... Mar 04 17:07:40 it isn't my idea of fun to debug someone's proprietary technology. Mar 04 17:08:07 Friday is bad for me unless a few hours earlier or later. Mar 04 17:08:28 any logistics questions before we dive into project ideas? Mar 04 17:09:44 Hi jkridner Mar 04 17:10:18 hi Abhishek_ Mar 04 17:10:31 DiegoTc: how about Friday, 3 hours earlier? Mar 04 17:10:44 9AM US Eastern. Mar 04 17:11:06 oh, but be aware that we start daylight savings time next weekend. Mar 04 17:11:30 Aman_singh: what are your queries? Mar 04 17:12:18 jkinder: I was asking about remote_proc . Mar 04 17:12:40 jkridner : did you ask a student to merge starterware into pruspeak? Mar 04 17:12:55 I find that odd Mar 04 17:13:03 karki: I asked him to send a pull request so you could look at it. Mar 04 17:13:21 look at starterware? Mar 04 17:13:29 or something else? Mar 04 17:13:34 karki: idea was to help with adding support for GET AIN[x], SET PWM[x], etc. Mar 04 17:13:50 for hard pwm Mar 04 17:13:50 karki: yeah, did you ever evaluate it for PRU Speak? Mar 04 17:13:54 yes. Mar 04 17:13:59 and ADC. Mar 04 17:14:00 jkridner: could it be 9:30 US EasterN Mar 04 17:14:08 DiegoTc: OK. Mar 04 17:14:24 karki: and with extensions, the eQEP, etc. Mar 04 17:14:32 I was looking at pru_sdk Mar 04 17:14:41 I will make the announcement on the google group gsoc to let potencial users know Mar 04 17:14:44 was planning on pulling some code from there Mar 04 17:15:00 karki: oh? I've never really looked at that much. does it use the PWM, ADC, etc.? Mar 04 17:15:11 yes Mar 04 17:15:15 hard pwm Mar 04 17:15:16 DiegoTc: can you send a calendar invite as well? Mar 04 17:15:17 and adc Mar 04 17:15:47 karki: cool. sounds like a good dialog. I was having him send a merge request to start the dialog. Mar 04 17:16:14 jkridner: OK Mar 04 17:16:58 karki: some people are using StarterWare on PRU and we should figure a place it should live. As far as I envisioned, PRU Speak was to be the definitive example on how to program the PRU, layer by layer. Mar 04 17:17:49 yeah, but starterware can be added to pruspeak just like that, right? Mar 04 17:18:02 I have no clue about what licenses etc Mar 04 17:20:04 there are licenses in the headers of the files. Mar 04 17:20:30 jkridner : https://github.com/texane/pru_sdk/blob/master/example/pruss_c_adc/pru_main.c#L21 Mar 04 17:21:45 interesting... that has grown a lot since I last saw it. Mar 04 17:21:58 is it easy to use? Mar 04 17:22:57 haven't tested Mar 04 17:23:08 but the code does need some cleaning up Mar 04 17:23:19 there is also IEP support Mar 04 17:23:27 though I doubt i'd need it Mar 04 17:24:18 karki: did you see how my Makefile makes a PRU library that is easy to link against, like what you'd expect for ARM libraries? Mar 04 17:24:46 I want to make sure the 'sdk' is really just a library. 'sdk' environments make people grumpy. Mar 04 17:25:50 like here https://github.com/deepakkarki/pruspeak/blob/master/src/pru-firmware/Makefile#L2 Mar 04 17:26:23 the sdk looks like a library to me! Mar 04 17:26:29 karki: no, that doesn't make a library. Mar 04 17:27:05 https://gist.github.com/jadonk/d3e761ade54df23f04a6 builds a StarterWare for PRU. Mar 04 17:27:10 er, library Mar 04 17:27:41 oh, cool! Mar 04 17:29:24 * jkridner starts to doze off as questions are coming slowly. Mar 04 17:29:39 * jkridner would like to go back to work on http://jadonk.github.io/bone101/Support/bone101/UI/ Mar 04 17:30:14 jkrinder : How can i get start with getting start app? Mar 04 17:30:50 isnt the getting started app supposed to do just that Mar 04 17:31:28 shubhangi: I mean't contributing to it Mar 04 17:31:32 oh Mar 04 17:31:38 Aman_singh: you had questions about rproc? Mar 04 17:32:55 sorry , but I wasn't able to read it . how actually it is different from rpmsg approach Mar 04 17:33:39 someone advised me read pru_rproc.c . I tried to search it but couldnot find Mar 04 17:34:48 Aman_singh, here's the version in ti's 3.14 tree: https://github.com/beagleboard/linux/blob/3.14/drivers/remoteproc/pruss_remoteproc.c Mar 04 17:35:21 I was going through the log as advised . Mar 04 17:35:54 and I agree with shubangi over using rpmsg Mar 04 17:36:27 still couldn't figure it out how they are causing latency . Mar 04 17:36:46 Aman_singh: remoteproc is a way of controlling the remote processor, i.e. loading firmware, restting, etc. rpmsg is a message bus for communicating with remote processor firmware. If you implemented rpmsg on the PRU you'd still need remoteproc to load and run it Mar 04 17:37:33 there's a discussion abt a core driver for communication using shared mem. Mar 04 17:38:04 minimalistic, fast and clean Mar 04 17:38:24 alexanderhiam: okay , got it Mar 04 17:38:25 you'd need some sort of transport to implement rpmsg over, e.g. using the memory that the PRUSS and ARM share Mar 04 17:38:38 i am trying to think and learn more about that Mar 04 17:39:09 that could be upstreamed as well Mar 04 17:39:14 basically the idea for the project is to develop the layers over which things like rpmsg could be implemented Mar 04 17:41:30 what exactly is a mailbox in rproc framework ? Mar 04 17:41:41 or implement rpmsg itself! Mar 04 17:41:51 alexanderhiam: thanks alot :) I guess it is time to read current approach and think Mar 04 17:42:48 Find a use case that has a userspace app talking to something over rpmsg and see how it does it Mar 04 17:42:57 I mean, something existing Mar 04 17:43:14 hi praveendath92, just having some problem with the remote display project. each time I try to run x server, the system crash Mar 04 17:43:35 Hi azizulhakim Mar 04 17:43:46 Did you try it one Bone? Mar 04 17:43:50 Seems like a null pointer exception though I can't see the dmesg output before that Mar 04 17:43:53 abhishek : that was my plan . can you suggest some cases ? Mar 04 17:43:58 rpmsg still does not handle exposing of upcall-downcall interface to userspace Mar 04 17:44:00 The driver is having some issues with PC. Mar 04 17:44:04 Yes, it happens both in bone and computer Mar 04 17:44:13 With Bone, it works fine usually. Mar 04 17:44:23 Is the phone connected? Mar 04 17:44:35 Also, did you insert the ADK module? Mar 04 17:44:47 Aman_singh: you have to figure it out Mar 04 17:44:54 yes it is connected. i tried yesterday in bone. it crashed. today i tried in computer, it crashed again Mar 04 17:45:00 yes the adk module was inserted Mar 04 17:45:22 So, you saw a notification on your phone saying Device in Accessory Mode? Mar 04 17:45:29 shubhangi: the mailbox is part of the interconnect architecture in the OMAP processors afaik Mar 04 17:45:32 i found that the bulk output address was hardcoded in one place, so I also checked with modifying that. but no luck Mar 04 17:45:38 abhishek: okay . I will :) Mar 04 17:46:04 Oh. Can you point to the hardcoded line? Mar 04 17:46:10 right. I saw the notification. I did try AOA before. so I think I was on accessory mode Mar 04 17:46:13 sure Mar 04 17:46:19 I might have done that while debugging. Mar 04 17:46:24 jairath_: have you checked out DiegoTc's bonecard? Mar 04 17:46:27 okay Mar 04 17:46:59 No, what is it? Mar 04 17:47:12 its in udlfb.c line 477 Mar 04 17:47:15 Oh. Can you post dmesg log on pastebin? Mar 04 17:48:08 that's the problem, i can't see the dmesg log because of the crash Mar 04 17:48:35 The log is persistent across restart Mar 04 17:48:48 oh, didn't know that. let me check Mar 04 17:48:53 Check your /var/log/kern.log file Mar 04 17:49:12 Just post part of the crash event and few lines before that. Mar 04 17:56:28 DiegoTc: do you have a pull request to improve http://jadonk.github.io/bone101/Support/bonecard/ ? Mar 04 17:56:35 something that perhaps explains the project a bit? Mar 04 17:57:41 https://github.com/jadonk/bone101/pull/11/files just changes too much! Mar 04 18:00:48 jairath_: http://diegotc.github.io/bone101/Support/GSOC/views/ has something closer to the goal Mar 04 18:01:09 official meeting is over.... let the unofficial meeting continue! Mar 04 18:02:31 DiegoTc: template is still not the official one and your pull request is still overly complicated, touching files that shouldn't need modifications. Mar 04 18:04:17 OK Mar 04 18:05:26 I did one, I need to check that Mar 04 18:05:36 but it's no to complcated will on that today Mar 04 18:06:32 * jkridner would like to have the initial commit against 'bonecard' and really only impact that directory except for generalized javascript/css in /static Mar 04 18:06:52 praveendath92: http://pastebin.com/J3au5345 Mar 04 18:07:13 jkridner: Hey there Jason. This is Andrew Henderson. I was tied up during the gsoc IRC meeting, but I am glancing through the log now. Mar 04 18:07:29 I remember there' was a reason why they change Mar 04 18:07:34 but I didn't touch them Mar 04 18:07:44 I think it was because of the IDE i was using Mar 04 18:07:50 at the end, I fixed that Mar 04 18:07:59 but didn't do the pull request Mar 04 18:10:47 hi hendersa! Mar 04 18:11:17 hendersa: not much of a meeting today, but do want you to start interacting with students that pop in here and register on melange as a mentor. Mar 04 18:11:24 hendersa: thanks for showing up! Mar 04 18:12:40 I sure can. When Anuj contacted me and requested my help, I signed up on Melange. Mar 04 18:12:52 So, I'm just waiting on a role assignment from bb.org. Mar 04 18:13:08 Other than that, I can idle here and take a look at any Android questions that pop up. Mar 04 18:13:25 hendersa: awesome.... Mar 04 18:15:43 The mentor role shows up in the Melange dashboard, so we're good to go. Mar 04 18:16:17 How many projects is bb.org going to mentor this year? Is there a specific target number in mind? Mar 04 18:16:25 Hi hendersa Mar 04 18:16:59 hendersa: the more mentors we sign up, the more potential projects. Mar 04 18:17:41 <_av500_> hendersa: you are a mentor Mar 04 18:17:48 hendersa: slot allocations are announced April 15. Mar 04 18:18:01 Hey Abhishek_ Mar 04 18:18:06 karki :Have managed to get the interpreter to a decent level and would love your hear your feedback :) Mar 04 18:19:08 apaar : cool Mar 04 18:19:13 I'll have a look tomorrow Mar 04 18:19:23 _av500_: Hi Vladimir. Yes, I am now a mentor. Mar 04 18:19:37 <_av500_> ok Mar 04 18:19:39 :) Mar 04 18:19:44 <_av500_> just checked if I need to add you Mar 04 18:20:28 sigh... the PRU stuff is uch a mess Mar 04 18:20:58 makes me not want to have anything to do with it Mar 04 18:29:52 Hello Everyone! Mar 04 18:39:58 azizulhakim: ping Mar 04 18:40:09 That log is from PC right? Mar 04 18:40:18 yeah, right Mar 04 18:40:42 hendersa: Thought you might be interested in this: http://theembeddedkitchen.net/coming-soon-yet-another-beaglebone-displaycaptouch-cape/391 Mar 04 18:40:44 I suppose you started xserver with this command. Mar 04 18:40:44 FRAMEBUFFER=/dev/fbX xinit -- /usr/bin/X :1 -config /etc/X11/xorg.conf.fb Mar 04 18:41:19 correct Mar 04 18:41:34 And also updated the file correctly. Mar 04 18:41:57 yes, I did. double checked that Mar 04 18:42:03 xorg.conf.fb Mar 04 18:42:37 usually fb2. Mar 04 18:42:57 yes, i updated that file Mar 04 18:43:31 Oh. Looks like all setup went fine. And you get this error even on Bone? Mar 04 18:44:15 in my case it was fb1 I think Mar 04 18:44:35 Abhishek_: You know, I just had someone asking me about the ft5x06 driver because of the Chipsee cape. Mar 04 18:44:48 when I install the udlfb and connect the device in usb port, it says /dev/fb1 created Mar 04 18:45:01 You can do an ls -l /dev/ Mar 04 18:45:04 I also checked /dev/ directory to see how many framebuffer is there Mar 04 18:45:18 Oh. That's right. Mar 04 18:45:25 so there was fb0 and fb1 Mar 04 18:45:32 1 it is. Mar 04 18:45:33 so I think setup was right Mar 04 18:45:47 Yes. Setup is all correct. Mar 04 18:45:48 and it also happened in the bone Mar 04 18:46:06 Let me try it again from my side. Mar 04 18:46:08 though i didn't get time to check on bone again. hopefully will try that again Mar 04 18:46:24 Please try on bone again. Mar 04 18:46:53 Because, the issue with PC was known. Even I used to get errors half the time with PC. Mar 04 18:47:39 A lot of code borrowing happened with framebuffer. I will go over it carefully. Mar 04 18:48:29 hendersa: that cape looks interesting Mar 04 18:48:36 okay, i'll try on bone again and will let you know. but it'll take some time from me as I'm on campus now and don't have the bone with me. Mar 04 18:48:53 Take your time. Mar 04 18:49:14 just one question. once the device is in accessory mode, the adk driver doesn't do anything else. everything is taken care off by the udlfb driver Mar 04 18:49:17 is that correct? Mar 04 18:49:18 From my experience, I didn't have any issues with Bone - mostly. Mar 04 18:49:28 Yes. Mar 04 18:49:55 It's just to keep device into ADK mode. The roadmap is to also merge it with main driver. Mar 04 18:49:58 so that means to make the setup phase easier, we can integrate udlfb and adk into one driver Mar 04 18:50:11 right Mar 04 18:50:22 Yes. But first, I need to make the udlfb driver clean. Mar 04 18:50:37 got it Mar 04 18:50:45 In fact, udlfb is the source driver name. Need to change that as well ;) Mar 04 18:51:06 DisplayLink FrameBuffer driver it was. Mar 04 18:51:48 okay. thanks for helping me out Mar 04 18:51:54 Anytime :) Mar 04 19:01:39 hi nodebotanist... thanks for joining! Mar 04 19:01:52 No problem, sounds like fun. Mar 04 19:02:01 <_av500_> praveendath92: hi Mar 04 19:02:04 good to have some more js-blood. Mar 04 19:02:11 _av500_: Hi Mar 04 19:02:20 most mentors are more Android/Linux experienced w/o node experience. Mar 04 19:02:29 Cool, cool Mar 04 19:03:21 DiegoTc might be particularly interested in your node-webkit experience. Mar 04 19:04:46 as will some of the other students popping in an looking at bone101 (http://beagleboard.github.io/bone101, http://jadonk.github.io/bone101/Support/bone101/UI/, http://jadonk.github.io/bone101/Support/bonecard/, http://diegotc.github.io/bone101/Support/GSOC/views/) Mar 04 19:05:20 botantist? is node going to get pruned to a stump? :D Mar 04 19:09:54 jkridner: registered as mentor Mar 04 19:10:04 thanks julianduque Mar 04 19:10:45 jkridner: do you know Steve French (frenchy) ? Mar 04 19:10:52 julianduque: yes! Mar 04 19:11:04 jkridner: he gave me my beagleboard two years ago and I fell in love with it Mar 04 19:11:24 jkridner: i've been helping him with some Node.js related projects Mar 04 19:11:26 I'll have to tell him thanks. Mar 04 19:11:47 jkridner: he is to blame Mar 04 19:11:58 <_av500_> julianduque: welcome Mar 04 19:12:04 _av500_: thanks :) Mar 04 19:12:06 he helped mentor DiegoTc last year. Mar 04 19:12:24 Now DiegoTc has graduated and is looking to help mentor other students. Mar 04 19:12:44 jkridner: I might be interested in have an image with current io.js distribution, just gave a BeagleBone Rev C board to the io.js organization to work on the binaries :) Mar 04 19:13:33 welcome julianduque! I've been doing some work with frenchy, he's mentioned you once or twice Mar 04 19:13:38 julianduque: excellent! patches welcome to http://github.com/beagleboard/image-build Mar 04 19:13:47 er, https://github.com/beagleboard/image-builder Mar 04 19:13:52 related: https://github.com/iojs/io.js/issues/349 Mar 04 19:13:58 julianduque: output goes to http://builds.beagleboard.org/ Mar 04 19:14:30 awesome, this is good to know :) Mar 04 19:14:50 both nodebotanist and me worked on BBB related articles on the new Make JavaScript Robotics book, so we are here to help :) Mar 04 19:15:54 julianduque, btw, do you guys want iojs packed in the default images? Mar 04 19:17:05 rcn-ee: that would be a good idea, io.js is the new node so the idea is to test how it works and behaves with BBB, this is my next month project Mar 04 19:18:00 io.js has support for armv6, armv7 and armv8 is comming, but main problem with BBB is that Debian default image is compiled using elibc instead of glibc so binaries aren't working Mar 04 19:18:29 Yeah, wheezy's elibc is pretty ancient... Mar 04 19:19:04 We have Jessie snapshots, with the saner glibc version, almost 100% functional to the wheezy image.. Mar 04 19:19:42 btw, are you cross compiling? i can take a look at it on native wheezy build.. Mar 04 19:21:13 ah, plus you need openssl 1.0.2 so wheezy is out of the window anyways. ;) Mar 04 19:22:21 rcn-ee: I'm just using the "default" image from the website but haven't tried with others, I know it works on the Ubuntu image Mar 04 19:23:48 yeah, the default is old... as soon as circuitco fixes their testers, they'll be shipping wheezy from: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Debian_Image_Testing_Snapshots which also has the advantage, i can push more backports via repos.rcn-ee.net and fix it. ;) Mar 04 19:37:39 awesome, will test those, I need to buy myself a Rev C soon ;) Mar 04 19:38:11 Oh you can still use a Rev B. ;) Just not the 4gb flasher.. Mar 04 19:39:50 mine is A5C :p Mar 04 19:43:18 that's fine, the one i'm using right now is an A5A, it's musb-slave port is blown out and the pmic doesn't want to shutdown. ;) Mar 04 19:45:07 hii..any mentor for "Arduino libraries for starterware "project who is online now ?? Mar 04 19:46:57 jkridner: plans to update bonescript? whats your thought about octal? I'm kind of fond to plain bonescript and want to help with the project Mar 04 19:47:30 julianduque: yes, but what I really need is a quality testbench to move it forward quickly.... Mar 04 19:47:41 alexanderhiam is working on a cape to use for automated testing. Mar 04 19:48:13 octal removes the synchronous support and some other items that I don't think I can give up. Mar 04 19:48:35 octal is cool, but I can't just merge the changes as-is. Mar 04 19:48:57 I *really* want to move to cape-universal as the primary approach. Mar 04 19:50:16 I have a rev C and an a5c. I fried by B recently by dropping it while running on a metal soldering cleaner sponge thing x.x Mar 04 19:50:33 Blue smoke moooonster. Tried re-flashing but nope. Mar 04 19:51:02 the octal folks seem to be really against doing the work to get it merged! Mar 04 19:51:30 anyone any info plss ?? Mar 04 19:51:37 alexanderhiam: I have seen that, they filed issues on my repo and other repos asking for a change, and nope, bonescript is working perfect for me so no change :p Mar 04 19:53:14 jkridner: also, have only a library runtime without the autorun/systemd, server and socket.io, what do you think? like splitting the project into a more modular approach Mar 04 19:55:37 Guest41830: please express your doubts and ask detailed questions.... be prepared to go back and search the logs for answers and come back again. Mar 04 19:56:07 Guest41830: also, I recommend also joining the mailing list, posting questions there and then coming here to prod people into answering your question on the mailing list (by posting a link here). Mar 04 19:56:31 Guest41830: we are all very busy, so prodding and good quality questions are required. Mar 04 19:56:42 http://beaglebord.org/chat has some links on how to ask good questions. Mar 04 19:56:55 http://beagleboard.org/chat even Mar 04 19:57:39 okk jkridner i'll do that..thanx for your time..:) Mar 04 19:57:57 Guest41830: hope you get/stay involved! Mar 04 19:58:20 yes.:) Mar 04 20:06:25 julianduque, iojs doesn't make it easy... WARNING: C++ compiler too old, need g++ 4.8 or clang++ 3.4 (CXX=c++) ;) Mar 04 20:27:17 DiegoTc: still here ? Mar 04 20:31:10 hmmm... this irc.gitter.im thing is intriguing. Mar 04 20:31:31 wish there was an easy way to bridge with irc.freenode.net Mar 04 20:33:44 hmm, looks a lot like slack Mar 04 20:38:51 hello Mar 04 20:39:04 I am interested for doing Enhance ADC driver for BeagleBone and BeagleBone Black Mar 04 20:39:06 project Mar 04 20:39:27 can anyone guide for the same? Mar 04 20:48:21 ? Mar 04 20:49:16 rcn-ee: yes, thats why I donated a BBB to the project ;) Mar 04 20:49:52 julianduque, well i hacked in g++-4.7... it's building.. ;) Mar 04 20:52:45 \o/ Mar 04 20:55:22 julianduque, doh!! http://paste.debian.net/159691/ guess there's a reason for that check. ;) Mar 04 20:55:37 *dont want to backport gcc-4.8 to wheezy * Mar 04 20:58:27 haha yes, I don't know much about the build process but the iojs/build team is aware of the issue, can you check if this works: https://iojs.org/download/release/v1.4.3/iojs-v1.4.3-linux-armv7l.tar.gz Mar 04 20:58:46 I'm guess that wont work on wheezy. ;) Mar 04 20:58:57 because elibc right? Mar 04 20:59:22 yeap... so i'm looking back trying to find a version from iojs where this old wheezy image will atleast work.. Mar 04 20:59:37 (building native of course, to get around the elibc/glibc issues) Mar 04 21:00:07 rcn-ee: not sure, all the iojs stuff is new (glibc/gcc4.8) this is from January 2015 Mar 04 21:00:47 i got that error in 1.4.3, trying the older 1.0.4 right now.. Mar 04 21:01:47 as i got the older node: 0.10.29 to build on wheezy... Mar 04 21:17:41 rcn-ee: yes, io.js changed in order to support newer V8 Mar 04 21:25:17 and v8 switched to c++11... i think i'm going to backport llvm-3.5 to wheezy, it has the least number of depencides i also need backport. ;) Mar 04 21:47:41 Abhishek_ : ping Mar 04 21:48:13 shubhangi: pong Mar 04 21:49:28 how is beaglelogic.c making use of pru_start(0) and downcall_idx functions Mar 04 21:49:45 where does it include remoteproc ? Mar 04 21:52:21 that's the "glue code". Look at "beaglelogic_glue.h" Mar 04 21:54:53 yes Mar 04 21:54:57 i looked at it Mar 04 21:55:16 those functions are exported from pru_rproc.c Mar 04 21:55:23 julianduque, doh, 1.0.4 failed, okay starting the backport of llvm, will try io.js again tomorrow. ;) Mar 04 21:56:07 where is that included in the project ? Mar 04 21:56:31 that is not a part of the project as I sent a patch and it got merged in the beagleboard kernel Mar 04 21:57:21 no. i meant that dont we need to include it as a header Mar 04 21:57:25 but if you checkout a tree several commits before, you might be able to find it before it was removed from the present treew Mar 04 21:57:28 *tree Mar 04 21:57:57 or, here: https://github.com/beagleboard/linux/blob/3.8/drivers/remoteproc/pru_rproc.c Mar 04 22:01:25 thanks Mar 04 22:01:28 https://github.com/beagleboard/linux/blob/3.8/drivers/remoteproc/pru_rproc.c#L2452-L2468 Mar 04 22:01:39 this is what i was looking for Mar 04 22:02:50 this file is very hard to find. could be helpful if you add a link somewhere in the readme Mar 04 22:03:29 a "BeagleLogic" hacking guide sounds like a good idea :) Mar 04 22:04:00 and also while running the make file for the drivers Mar 04 22:04:05 is that a ``file'' with vulcan ears? Mar 04 22:04:07 Abhishek_, your writing a book? Mar 04 22:04:11 and a dog tail Mar 04 22:04:31 the linux headers dont come pre-installed on the board Mar 04 22:04:50 newer images: sudo apt-get install linux-headers-`uname -r` Mar 04 22:05:11 gave unable to locate packages for me Mar 04 22:05:16 dunno why Mar 04 22:05:27 cat /etc/dogtag? newer then October 2014? Mar 04 22:05:29 ran the update kernel script Mar 04 22:05:44 did you set proxies correctly? Mar 04 22:06:20 at home right now. Broadband (y) Mar 04 22:06:38 did you unset them, then? Mar 04 22:06:55 BBB got delivered 2day Mar 04 22:07:03 was using my friend's until now Mar 04 22:07:07 in colg Mar 04 22:07:21 shipped with bone47 Mar 04 22:07:50 shubhangi, that's the "may 2014" release.. (cat /etc/dogtag) would confirm... grab a new build: http://beagleboard.org/latest-images Mar 04 22:07:55 cat > BeagleBoard.org BeagleBone Debian Image 2014-04-23 Mar 04 22:08:13 mine came with Angstrom on it Mar 04 22:08:35 newer ones shipping with debian ? Mar 04 22:08:36 grab the latest "wheezy" it'll have all the bugs fixed up... plus the kernel headers are easy to install/etc.. Mar 04 22:08:52 you can apt-get them ? Mar 04 22:09:00 the headers ? Mar 04 22:09:02 you can also use apt-get to install the kernel.. Mar 04 22:09:04 ;) Mar 04 22:09:28 would do Mar 04 22:09:31 thanks :) Mar 04 22:09:40 working for now although Mar 04 22:14:10 rcn-ee: I think the BeagleLogic cape firmware blobs aren't bundled in /lib/firmware or are they? Mar 04 22:14:37 Abhishek_, they are under /opt/scripts///// Mar 04 22:15:56 under: /opt/scripts/device/bone/capes/BB-BEAGLELOGIC might have to "git pull" in that dir to get the updates.. Mar 04 22:17:02 hmm, maybe in subsequent versions they should be moved to /lib/firmware ; or with Jessie Mar 04 22:19:24 i think that was just the quick way to get it in an older images... now i can package it up into a deb file and add it to repos.rcn-ee.net (which wasn't avaialble in the may 2014 release) Mar 04 22:19:49 sudo apt-get install firmware-bb-beaglelogic Mar 04 22:20:12 it should be sudo apt-get install beaglelogic Mar 04 22:20:18 ;) Mar 04 22:21:04 but it's firmware. ;) Mar 04 22:21:07 how is this https://github.com/beagleboard/linux/blob/3.14/drivers/remoteproc/pruss_remoteproc.c different from panto's driver Mar 04 22:21:36 Big difference: No upcalls and downcalls Mar 04 22:21:42 shubhangi, v3.14 uses remoteproc.... v3.8 uses panto's way... Mar 04 22:22:40 Other than that, the 3.14 version seems to be made in a way so that it is compatible with chips that were released after the AM335x Mar 04 22:24:04 so we see the AM437x and AM572x Mar 04 22:24:28 isnt this a downcall https://github.com/beagleboard/linux/blob/3.14/drivers/remoteproc/pruss_remoteproc.c#L550-L566 Mar 04 22:25:05 this looks like one, yes Mar 04 22:25:18 still panto's is much easier to understand Mar 04 22:25:24 will go with it Mar 04 22:25:28 but there's no data to be moved with the downcall Mar 04 22:25:46 I mean, ultimately we have to touch the 3.14 driver Mar 04 22:25:52 ohk Mar 04 22:25:55 got it Mar 04 22:29:35 so this year's gsoc needs to build upon this https://github.com/beagleboard/linux/blob/3.14/drivers/remoteproc/pruss_remoteproc.c ? Mar 04 22:30:01 since it is wht comes with v3.14 Mar 04 22:33:26 I'll draft a rough proposal for a lightweight msg passing framework for pru in the coming days. you guys please review it. would be great help Mar 04 23:00:20 rcn-ee: would be great to have beaglelogic in the default image. Mar 04 23:00:49 it is.. ;) Mar 04 23:01:25 the cape and firmware are on the media, just got write up instructions on loading it.. Mar 04 23:02:48 sudo cp /opt/scripts/device/bone/capes/BB-BEAGLELOGIC/* /lib/firmware/ Mar 04 23:03:02 and add the cape to /boot/uEnv.txt for loading.. Mar 05 00:02:46 why not have the installer drop them in /lib/firmware? **** ENDING LOGGING AT Thu Mar 05 02:59:59 2015