**** BEGIN LOGGING AT Fri Oct 05 03:00:02 2018 Oct 05 04:45:07 Hi Guys! Quick question, I'm using beagle bone black. And it's connected over the USB (on my mac) to BBB (mini-usb). And I wanted to carry our Serial Communication on it. So I know I can write the some message to the port from /dev/tty port. But how can we know which tty port corresponsds to miniusb? Oct 05 05:12:25 something is wrong with this, the irq driven communication between the PRU and ARM doesn't work https://github.com/HN-Vignolles/pruss-intermezzo/blob/master/pru_epwm.p Oct 05 07:34:43 tbr: allpcb.com delivered. quality of the pcbs is quite good I think. But they're a finicky bunch. They contacted me two times to clarify ambiguities in gerber files, which delayed the shipment Oct 05 07:35:12 tbr: in retrospect they were probably right and when I launch another pcb with them I will know how to avoid such delay Oct 05 07:36:01 tbr: on the bright side, they're shipping with DHL and since the order was below 22€ I didn't have to pay extra fees :) Oct 05 07:37:05 tbr: so I ended up paying 21€ for 30 small pcbs on panel, which is not so bad Oct 05 07:38:27 tbr: still not sure though if they make their own pcbs or if they also outsource to jlcpcb, like many shops seem to do these days Oct 05 08:08:33 thinkfat: nice, should finally find some idea for a pcb and put in an order myself :) Oct 05 08:09:04 thinkfat: so DHL actually believed the 21EUR and didn't extort you... wow Oct 05 08:26:03 why allpcb tho Oct 05 08:26:05 why not pcbway Oct 05 08:26:06 or jlpcb Oct 05 08:26:12 i mean, they all come from the same factory anyway lol Oct 05 08:26:36 ayjay_t: I have used jlcpcb as well Oct 05 08:26:44 EcOnOmIC WaRFaRe through subsidized industry Oct 05 08:27:02 friendship with china is over, now oshpark is my best friend Oct 05 08:27:04 ayjay_t: as a matter of fact I have been mostly using jlcpcb for my recent toy projects since the pricing is hard to beat Oct 05 08:27:20 its crazy how people are caught up on price Oct 05 08:27:28 i live in a ghetto so obvs i was going cheap as possible Oct 05 08:27:40 but if i had even a little bit of money i'd go domestic Oct 05 08:28:11 ayjay_t: it matters of course, especially if you don't expect any financial gain from these project Oct 05 08:28:11 i just got two pocket beagles too Oct 05 08:29:00 tbr: well I provided the invoice and the paypal payment details as evidence ;) Oct 05 08:30:30 CoffeeBreak: the signal quality on the jumpers was so bad i actually needed to twist the wires Oct 05 08:30:45 and somehow that helped sig quality, by reducing the total area the wires took up /shrug Oct 05 08:30:55 i think i'm gonna try to make a cape Oct 05 08:30:56 thinkfat: AFAIU here they'd still try to charge me the 20+eur processing fee Oct 05 08:31:24 tbr: I was expecting as much Oct 05 08:31:49 tbr: since they say in their "AGB" the minimum fee is 12,50€ Oct 05 08:31:56 yup Oct 05 08:32:05 but, whatever, maybe I just got lucky Oct 05 08:32:09 :D Oct 05 08:32:39 ayjay_t: that will certainly help ;) Oct 05 08:33:11 my sleeping cycle is so messed up tho :-( i had to hit so many deadlines and really pushed myself Oct 05 08:33:29 so i wanted to stream on twitch tomorrow making the cape, but if i am behaving like a narcoleptic insomniac, it will be a problem Oct 05 08:34:06 arent most twitch streamers narcoleptic insomniacs? Oct 05 08:34:06 ayjay_t: you wanted to stream laying out the pcb or assembling it? Oct 05 08:34:48 i will probably a) test my gui framework (uxmux) b) breadboard an SPI setup and c) stream laying out he cape and put it on oshpark Oct 05 08:35:03 and then when i get the boards, stream again and assemble it Oct 05 08:35:21 i basically want to make a small 3 inch diagonal touch cape for the pocket beagle Oct 05 08:35:22 are people not just using twitch as a secondary channel while they stream on youtube for the monies? Oct 05 08:35:47 the cultures are a bit different- twitch is more about hanging out and talking and stuff... youtube is usually more structured/scripted and stuff Oct 05 08:36:02 oh Oct 05 08:36:03 ok Oct 05 08:36:17 honestly this ort of work is probably better for youtube Oct 05 08:36:22 I must have a different idea about "live streaming" then ;) Oct 05 08:36:27 because there are parts that are boring Oct 05 08:36:47 "look at me refactor this header file. man, someone defined all these functions in a .h... what an intern" Oct 05 08:36:53 rofl Oct 05 08:37:33 whats the status with the opengl drivers btw Oct 05 08:37:36 so twitch is like a podcast Oct 05 08:37:43 some podcast are more like youtube tho eh? Oct 05 08:37:49 twitch is just more interactive Oct 05 08:37:52 and less scripted Oct 05 08:38:17 like youtube before they started paying content providers Oct 05 08:38:44 maybe, i'm not that into youtube Oct 05 08:38:46 i'm a big reader Oct 05 08:38:51 i really like ycombinator's classes on youtube Oct 05 08:42:57 well I think it depends what channels you watch. there's the "GreatScott" type and there's the "EEVBlog" type and tons of other formats Oct 05 08:43:27 like ElectroBoom Oct 05 08:44:18 thats ture Oct 05 08:44:46 from a marketin data standpoint, i'm not really sure which platform is better for which audiences Oct 05 08:44:51 or which one gets more viewers Oct 05 08:44:57 i think youtube gets browsed more frequently Oct 05 08:47:38 huh actually it looks like twitch killed its programming category Oct 05 12:25:39 I want to know how to set mesh network with using Beaglebone black wireless, I check Ti website, I cannot find out the method about setting wireless mesh network Oct 05 12:29:22 ayjay_t: the video player of twitch is really bad Oct 05 12:29:31 laggy, high cpu load Oct 05 12:34:01 yeah i think you're right Oct 05 12:34:05 at least lately Oct 05 12:34:15 it wasn't that bad a few weeks ago, i don't know what they did Oct 05 12:34:28 maybe its the chinese spy chips making their way into amazons supply chain XD Oct 05 12:34:52 it's been bad for me for as long as I've used the platform. last few days I've been having even weirder issues though Oct 05 12:34:59 do you stream? Oct 05 12:35:07 no Oct 05 12:35:27 haha trying to de-anonymize you Oct 05 12:36:10 gamers have really crazy computers tho Oct 05 12:36:19 so if they're targeting that market, i mean, there's no issues Oct 05 12:36:58 having two cores nearly at 100% while the video is *paused* (which is something I've noticed often enough) is still idiotic though Oct 05 12:37:08 a lot of major software has gone to crap Oct 05 12:37:17 even the linux foundation is choking and sputtering Oct 05 12:37:43 web browsers are terrible Oct 05 12:38:23 i got my toys ready for this weekend: https://twitter.com/misterpikul/status/1048190504146538496 Oct 05 12:38:32 we're gonna put uxmux to work Oct 05 12:48:18 we'll probably do a userspace spi driver Oct 05 12:48:56 probably as a library, so you can initialize an array object and use it the same way you use /dev/fb Oct 05 12:49:11 there's no existing kernel driver for it? Oct 05 12:49:25 thats actualy a good question, i'm assuming worse cast scenario Oct 05 12:49:29 there IS an spi driver Oct 05 12:49:44 but i mean a user space "display driver" that uses spi Oct 05 12:49:57 as opposed to a kernel module that works with fbdev/drm and leverages spi Oct 05 12:49:58 I meant an fbtft or tinydrm driver Oct 05 12:50:04 there might be, i'll check Oct 05 12:50:41 do you think it would be more fun to make my own tho? Oct 05 12:50:51 its supposed to be kinda educational Oct 05 12:51:17 that's not for me to decide Oct 05 12:52:16 /shrug Oct 05 13:18:31 Hello Oct 05 14:52:24 something is wrong with this, the irq driven communication between the PRU and ARM doesn't work https://github.com/HN-Vignolles/pruss-intermezzo/blob/master/pru_epwm.p Oct 05 14:53:28 don't be rude, it is my very first PRU-assembly Oct 05 14:56:59 CoffeeBreakfast: the colours are off! ;-P Oct 05 14:58:31 yes :( Oct 05 15:41:39 you're doing all the intc setup from the pru rather than from the host? ew Oct 05 15:43:43 it is bad? Oct 05 15:44:22 well I don't understand why you would want to do that... it wastes limited code space on the pru and is generally a lot less readable than doing it in C Oct 05 15:46:46 And hard to write, especially in my first code... I don't know how to do that in prussdrv Oct 05 15:49:25 uhh, you can do exactly the same writes as you do on the pru (although I'd use a struct to model the intc for sake of readability) Oct 05 15:51:19 some of your init looks fishy though, you may want to look at what I do in https://github.com/mvduin/py-uio/blob/master/src/ti/icss/intc.py#L129-L141 Oct 05 15:54:44 I used the struct model before. But can I write to arbitrary registers from prussdrv? Oct 05 15:55:03 of course Oct 05 15:55:20 libprussdrv mmap()s the whole pru subsystem Oct 05 15:55:50 (as does py-uio) Oct 05 16:00:48 I'm searching some example.. Oct 05 16:02:58 the wiki seems to be outdated Oct 05 16:05:03 if you're using prussdrv then you should probably use the functions it provides for dealing with the intc Oct 05 16:05:56 Yes, i'm searching that Oct 05 16:15:37 the only function I found is prussdrv_map_peripheral_io, useful for PRUSS0_CFG, PRUSS0_ECAP, some others but not INTC Oct 05 16:20:49 because it already manages the intc Oct 05 16:20:55 and has functions for that Oct 05 16:25:06 pruss_intc_initdata is where I need to put the configuration? Oct 05 16:26:38 I'm not very familiar with prussdrv since I don't use it Oct 05 16:27:32 I think every example uses a macro, for a standard INTC configuration Oct 05 16:29:20 Ok, rewriting all my code... Oct 05 16:40:14 Buddy Rich will help Oct 05 18:21:21 What is the fastest way to see the kernel config options used in the Stretch IoT image on https://beagleboard.org/latest-images? Is it by downloading the full kernel from https://elinux.org/Building_BBB_Kernel#Downloading_and_building_the_Linux_Kernel and running 'make menuconfig' to see the default config (does the image use the default config?) Oct 05 19:16:39 bbbguest: zcat /proc/config.gz Oct 05 20:05:43 or just check /boot/config-$(uname -r) Oct 05 20:39:11 thank you thinkfat - just what I need Oct 05 23:50:53 when a system event reaches a R31@PRU bit, do I need to clear a pending bit somewhere? Oct 06 00:29:39 ? Oct 06 00:30:07 what do you mean by "when a system event reaches a R31@PRU bit" Oct 06 00:31:34 e.g. SysEv36 -> Channel-0 -> Host-0 -> R31,bit 31 Oct 06 00:33:18 you'll need to manually clear the event again yes Oct 06 00:33:39 in which register? Oct 06 00:33:41 also isn't host-0 bit 30 ? Oct 06 00:34:03 yes, sorry Oct 06 00:35:43 uhh I don't know what the official names are (since those are really shit and I used saner ones in my own code) but you can either write the number 36 to the register at offset 0x24 or write 1 to bit 36 of the 64-bit register at offset 0x280 Oct 06 00:37:34 okay Oct 06 02:19:54 something must be wrong with this dto https://github.com/HN-Vignolles/pruss-intermezzo/blob/master/pruss-pwm.dtsi **** ENDING LOGGING AT Sat Oct 06 03:00:01 2018