**** BEGIN LOGGING AT Thu Jun 23 02:59:57 2016 Jun 23 04:16:32 nerdboy, the interconnect allows the PRU to control certain peripherals instead of the A8, and access some shared memories, but it sounded like you were looking for a direct bus between PRU and A8 Jun 23 04:17:11 that's rpmsg/other Jun 23 04:17:34 which is based on shared memory and interrupts, right? Jun 23 04:17:46 newest is Jun 23 04:18:12 less the v5 uses mailbox Jun 23 04:18:51 which is basically a dt patch afaik Jun 23 04:19:06 is mailbox what you meant? I may have misunderstood you then Jun 23 04:19:28 mailbox as in hardware/kernel interface Jun 23 04:19:38 that's about all i know... Jun 23 04:20:00 v5 switches from mailbox to interrupts Jun 23 04:20:21 *v5 of pru-software-support-package Jun 23 04:20:45 corresponding kernel/dt is 4.4.12-r30 Jun 23 04:21:39 the ti dev gave the dt patch hash and said you could switch back and forth, essentially Jun 23 04:25:39 The driver probably checks which is registered Jun 23 04:27:22 the PRU firmware would probably not implement both mbox FIFOs and the interrupts however, since it has less resources to spare than the A8 running linux Jun 23 04:27:48 I'm just guessing on that part Jun 23 04:29:04 maybe compile-time switchable though **** BEGIN LOGGING AT Thu Jun 23 04:35:24 2016 Jun 23 05:29:04 is there another doc for config-pin? or, what format is "pin" argument supposed to be? Jun 23 05:40:57 nm, grep through /sys was helpful Jun 23 06:37:28 nerdboy: don't the PRUs have some shared registers available without the interconnect? http://elinux.org/File:PRUSS.png <-- scratch pad Jun 23 06:44:20 yes small space but fast Jun 23 06:45:05 Visaoni: are you available 10 or 11am on friday for another hangout? alexhiam wants to join the fun next time Jun 23 06:46:09 that'd be fine. I'd probably prefer 11 but either is fine Jun 23 06:46:25 ok no problem both sounded available Jun 23 07:12:14 why can't i set usr3 blinky to pruout mode? Jun 23 07:12:47 is it dt/pinmuxing or not allowed at all? Jun 23 07:13:06 * nerdboy swears at green dog... Jun 23 07:21:20 nerdboy: config-pin? Jun 23 07:22:11 query/set pin mode Jun 23 07:22:59 so what was the command you tried, for setting the pinmux? Jun 23 07:23:50 the one you're supposed to use Jun 23 07:24:29 the mode for usr leds comes back pruin but can't be pruout Jun 23 07:24:57 usr3 is emmc by default but i'm not using emmc, so... Jun 23 07:25:12 what was the specific command, so I can get oriented to what you're doing without being able to see for myself Jun 23 07:25:30 have you tried the other leds? Jun 23 07:25:58 i just switched to black Jun 23 07:27:50 and no, i only tried usr3 so far (it's the only one not in active use) Jun 23 07:38:21 it's "config-pin -a P9_24 gpio" Jun 23 07:38:39 sets it to gpio mode fine Jun 23 07:40:51 but 'out' instead of gpio won't work? Jun 23 07:41:27 pruout is not valid Jun 23 07:41:33 just pruin Jun 23 07:41:35 or 'hi' to start with high Jun 23 07:41:49 ok Jun 23 07:43:53 are you sure that pin can be pru output then? Jun 23 07:44:03 https://github.com/cdsteinkuehler/beaglebone-universal-io/blob/master/config-pin#L476 Jun 23 07:45:12 might need to disable another peripheral to get a suitable pin Jun 23 07:48:15 check out the nice images Jun 23 07:48:17 http://www.embedded-things.com/bbb/beaglebone-black-pin-mux-spreadsheet/ Jun 23 07:48:26 that's what i was thinking Jun 23 07:48:50 just not with default universal cape i guess? Jun 23 07:49:22 No I think it's hw limitation Jun 23 07:49:53 these spreadsheets were based on the table in the AM335x datasheet Jun 23 08:04:06 that doesn't say led anything... is P9 pin number column same as config-pin number? Jun 23 08:11:36 yes I think so Jun 23 08:12:08 both should come from the datasheet for the SoC Jun 23 08:21:49 nerdboy: the leds down there, bottom right : https://github.com/ZeekHuge/BeagleScope/blob/master/docs/BeagleboneBlackP8HeaderTable.pdf Jun 23 08:22:00 *bottom left Jun 23 08:43:21 zeekhuge, none of the user led pins could be muxed writable by PRU, and that's why you hooked up external LED right? Jun 23 09:10:12 Wormo_: yep. And probably the universal cape is not touching them. Jun 23 09:11:16 actually IIRC the leds cant be controlled by the pru directly Jun 23 09:11:58 you will have to see the address of the leds and then write to it Jun 23 09:12:24 so, the pins are addressed out of the PRU-ICSS subsystem. Jun 23 09:12:30 Wormo: nerdboy ^ Jun 23 09:12:33 in BBB Jun 23 09:12:54 yes **** IN BBB ***** dont know anything about green Jun 23 09:21:46 it's probably the same for green. I don't think much changed beyond the hdmi -> grove uart+i2c Jun 23 09:21:58 at least theoretically Jun 23 09:23:00 zeekhuge: for your pru examples, I see you have a deploy script setup for them. I don't see that in the pru-software-support-package stuff. where did it (or the stuff inside of it) come from? Jun 23 09:25:54 Visaoni: deploy script is just simple collection of commands that anyone would need to get the PRUs started, thats it, I would use those commands typing them by hand, so I just put them into the script. hence I am the author of the script. Jun 23 09:26:06 If its helpful +1 it :) Jun 23 09:27:16 though is still type each command. helps me to see what I am doing .. Jun 23 09:29:42 nice. in that case, anywhere in particular you found that told you to use those commands? Jun 23 09:30:01 * nerdboy paints a big +1 on ZeekHuge's forehead Jun 23 09:30:12 scripts and makefiles Good Jun 23 09:30:22 ZeekHuge: nope. Jun 23 09:30:26 ahh .. Jun 23 09:30:29 Visaoni: nope Jun 23 09:30:38 thanks nerdboy :) Jun 23 09:31:11 though still just 2 starts to the repo :( Jun 23 09:33:15 btw +1 == +1star to the repo. Jun 23 09:36:12 Zeekhuge: figures... don't suppose you did anything special to get the pru firmware to uh, exist? Jun 23 09:38:55 Visaoni: didnt get that . you mean writing my own fw code ? Jun 23 09:39:46 Zeekhuge: no. I'm not finding am335x-pru[01]-fw in /lib/firmware Jun 23 09:40:28 Visaoni: what example you using ? Jun 23 09:40:30 only file with "pru" in that directory is uio_pruss_enable Jun 23 09:40:48 I'm looking at the pru_blinky deploy.sh Jun 23 09:42:25 https://github.com/ZeekHuge/BeagleScope/blob/master/examples/firmware_exmples/pru_blinky/deploy.sh#L60 Jun 23 09:42:33 Visaoni: it should be there Jun 23 09:42:45 I just tested it. Jun 23 09:43:02 and working completely fine. Jun 23 09:43:19 oh. duh. Jun 23 09:43:25 I just executed the deploy script. Jun 23 09:43:53 cp. I'm so used to everything with /lib/firmware using echo somehow I managed to do that substitution in my head Jun 23 09:44:41 Visaoni: so working fine now ? Jun 23 09:50:05 Zeekhuge: not 100% sure yet. didn't setup the pins or anything. but nothing else broke verbosely, at least Jun 23 09:50:29 you are working on black or green ? Jun 23 09:50:33 green Jun 23 09:50:47 theres no need to do anything except executing the script Jun 23 09:51:11 so green has the 'config-pin' utility ? Jun 23 09:51:19 also whats the kernel ? Jun 23 09:51:23 Visaoni: ^^ Jun 23 09:51:43 and I moved to the 4.4.12-ti-rt-r32 kernel, which I think made some changes that required the examples to be rewritten, which is why I didn't just clone and run your stuff Jun 23 09:51:55 Zeekhuge: yeah, green has config-pin Jun 23 09:52:15 pru_blinky should work anyway ! Jun 23 09:52:28 even for 4.4.12-ti-rt-32 Jun 23 09:53:23 oh, interesting. I'm just using the PRU-gpioToggle atm Jun 23 10:07:45 Zeekhuge: it does indeed work. awesome Jun 23 10:08:55 your readme was also helpful in getting the board to compile pru stuff too (previously got it going on the desktop with Code Composer) Jun 23 10:12:30 Visaoni: glad it helped :) Jun 23 15:46:42 hey bradfa, Did you get a chance to check out the driver?I made modifications to the firmware as well to make it work with the driver. Jun 23 15:46:44 mdp^^ Jun 23 16:49:29 ChanServ: I'm sorry :( I've been completely swamped yesterday and today (only got 4 hours sleep last night) Jun 23 16:49:46 ugh, autocomplete, that was meant for chanakya_vc Jun 23 16:54:07 you don't confess to ChanServ every morning? Jun 23 16:54:48 thought maybe that was some kind of irc ritual i hadn't seen yet... Jun 23 17:40:33 Np bradfa Please do check whenever you get the time. I might not be online tomorrow or on Saturday.If something important catches your eye, please mail me, I will come to the IRC at once. Jun 23 17:41:33 I definitely respond to your mail.Meanwhile I am working on the makefile and simultaneously also reading up on the spi subsystem Jun 23 17:41:40 mdp ^^ Jun 23 19:16:22 Hey ZeekHuge ,there? Jun 23 19:22:33 chanakya_vc: hey ! kind of .. Jun 23 19:23:01 Completed your term eval questions? Jun 23 19:23:04 ZeekHuge, ^^ Jun 23 19:23:21 yeah. after the meeting yesterday. Jun 23 19:24:44 was thinking of reminding it to you too .. Jun 23 19:25:38 and not to do like you did at times of proposal :P Jun 23 19:25:48 chanakya_vc: ^ Jun 23 19:26:57 its simple .. just go ahead and do it. Will not take more than 10 minutes Jun 23 19:27:17 and do recheck. Its un-editable once submitted. Jun 23 19:30:56 ZeekHuge, I just did. :P Jun 23 19:31:29 And I was thinking that I would remind you Jun 23 19:32:01 Proposal was scary.Sometimes I think if my net suddenly went down in the last five minutes. Jun 23 19:32:10 Would have been a disaster :P Jun 23 21:22:36 hi jkridner **** ENDING LOGGING AT Fri Jun 24 02:59:58 2016