**** BEGIN LOGGING AT Sat Feb 20 02:59:58 2016 Feb 20 03:55:41 I'm sure this question has been asked and answered multiple times this week but... is there a minicomputer such as beagle board or raspberry pi that will work with vulkan? Feb 20 04:32:48 based on https://en.wikipedia.org/wiki/BeagleBoard#BeagleBone_Black and https://en.wikipedia.org/wiki/PowerVR#Series_5 it looks like the beagleboard-x15 will not support vulkan Feb 20 04:33:16 but if it used PowerVR series 6 or better it could support vulkan Feb 20 04:41:16 hmm according to this https://en.wikipedia.org/wiki/Vulkan_(API)#Compatible_hardware SGX544 will work with vulkan so maybe when the x15 comes out it will support vulkan Feb 20 06:02:55 looks like x15 will be rather expensive compared to other single-board computers Feb 20 06:03:06 I wonder if there is a cheaper single-board computer that will be vulkan compatible Feb 20 07:36:01 I'd avoid SoCs that use PVR Feb 20 08:17:52 tbr, are you talking to me? if so what does SoC and PVR mean? Feb 20 08:18:30 System-on-Chip, PowerVR Feb 20 08:29:46 tbr, that describes all beagle boards doesn't it? Feb 20 08:30:09 yes Feb 20 08:30:31 why would you avoid such things? Feb 20 08:30:50 if you want to have a well working gpu, especially with a bleeding edge thing like vulkan, look at something else Feb 20 08:31:18 pvr/sgx has been always a crapfest and there are only binary drivers Feb 20 08:31:46 I was hoping to experiment with making a game that ran on cheap hardware and made efficient use of the gpu Feb 20 08:33:20 vulkan != cheap hardware Feb 20 08:43:12 vulkan does not imply expensive hardware either, it's orthogonal Feb 20 09:15:08 so far I only see vulkan support in recently announced SoCs and those tend to be more expensive than stuff that's been around for a while Feb 20 09:15:47 over time this will of course level out Feb 20 09:35:13 Hi! Someone know where to find a macros, which define the input fronts? Feb 20 09:35:23 for PRU ofc Feb 20 10:34:41 any one here Feb 20 10:34:52 i just installed the newe version of debian Feb 20 10:34:56 on my beagle bord Feb 20 10:35:10 and i want to measure the frequency of my signal Feb 20 10:35:27 i reallt need some help Feb 20 10:37:26 guys Feb 20 10:37:39 why you have made this discution Feb 20 10:37:42 seriously Feb 20 10:37:48 if no one answers you Feb 20 10:38:05 i will kill myself Feb 20 10:38:33 no the last part was a joke Feb 20 10:39:06 but i'm sad :/ Feb 20 10:56:59 Pranky: it's saturdaymorning in europe and still the middle of the night in the US Feb 20 10:58:11 this isn't really the time you'll find many people around Feb 20 11:00:10 zmatt when you can help me pls ? Feb 20 11:01:18 frequency measurement is probably best achieved using eQEP, but I'm not sure whether any example code exists for this and I'm not really awake enough to start giving a tutorial -.- Feb 20 11:02:32 thank you very much zmatt for talking to me because i'm really sad so can you work on it later ? Feb 20 11:05:04 also, tip: saying you're sad because you didn't get help right away is not going get you help sooner. people generally don't appreciate emotional blackmail Feb 20 11:05:33 also, beagleboard or beaglebone? Feb 20 11:06:58 beaglebone Feb 20 11:08:59 this last debian version contains a module : pwm_ecap Feb 20 11:09:09 in fact, saying you are sad/will kill yourself because no one is helping is actually going to make people *less* likely to help you. Feb 20 11:09:29 [11:38] no the last part was a joke Feb 20 11:09:43 and? you still said it. Feb 20 11:09:48 i said it was a joke because i know it not the right way to ask for help Feb 20 11:10:06 then why say it in the first place? Feb 20 11:10:16 no i said sthg worng then i tried to fix it Feb 20 11:10:23 because i was hopeless Feb 20 11:10:34 i was trying to get you people to help me Feb 20 11:10:44 because expect for zmatt no one does Feb 20 11:11:42 again, most of the channel is sleeping at this time. try later.Maybe while you are waiting, you could read the links in the topic; that path may lead you to enlightenment. Feb 20 11:12:39 thank you for the advice but this is the newest debian version and it's diffrent Feb 20 11:13:08 for example you only have to echo to make a led blink Feb 20 11:13:23 all gpio are pre configured Feb 20 11:13:57 and maybe read the TRM chapter on eQEP and eCAP, since there are no kernel drivers for them afaik (except to use eCAP as pwm output instead of as capture input) which means using them for frequency measurement (for which eQEP is better suited than eCAP) will require directly accessing the registers Feb 20 11:14:48 "http://beagleboard.org/chat *has a guide on how to ask questions*" emphasis mine. Feb 20 11:15:00 I agree there ought to be examples for this, eQEP is a pretty useful thing Feb 20 11:15:44 when will beaglebone x15 released in market Feb 20 11:15:58 zmatt the new version has many modules Feb 20 11:16:07 ready Feb 20 11:16:15 ok when Feb 20 11:16:31 up to day it is not there in market Feb 20 11:17:01 Pranky: maybe I'm wrong and there's a module for it nowadays, but I don't recall having seen it yet Feb 20 11:17:51 (but since I personally usually ignore the kernel drivers (if any) for these peripehrals and use direct register access anyway I may have missed the introduction of a kernel driver for it) Feb 20 11:19:59 now I'm going to drink tea and resume waking up -.- Feb 20 11:20:48 ok zmatt thx i really envy you Feb 20 11:20:52 :D Feb 20 11:21:30 tea is inexpensive and probably available all over the world ;) Feb 20 11:22:33 lol Feb 20 11:24:23 it's not about the tea :p its about knowledge :) well it goes along with respect Feb 20 11:41:24 zmatt can i learn how to read directly from registers ? Feb 20 12:08:58 Looks like Pranky disappeared, but there is this kernel driver for eQEP. Can't personally comment on how well it works. https://github.com/RobertCNelson/linux-dev/tree/master/patches/beaglebone/eqep Feb 20 13:21:54 jbisch: ah hadn't realized that Feb 20 13:22:03 it wouldn't have worked at all for his purpose though Feb 20 13:23:29 and that's my usual experience with the kernel drivers of peripherals such as the adc or those in pwmss: you get a slow and annoying interface to a small subset of the peripheral's features Feb 20 13:25:11 (hence I don't really even look at them anymore and use them directly from userspace instead) Feb 20 18:27:59 hi there, just wanted to Feb 20 18:28:14 tell you guys about a wrong link on beaglebone black page Feb 20 18:28:29 hardwarespecs links to https and fails .. it should goto http Feb 20 18:29:17 that was it, thanks :) Feb 20 18:29:18 bb Feb 20 19:25:34 jbisch: ok maybe it actually can do frequency measurement Feb 20 20:39:06 hey. is there a log of this channel other than this one https://beagleboard.org/irclogs/ ? Feb 20 20:39:31 i asked a question here a few days ago but can't scroll back enough in my irc client to see if there were any responces :P Feb 20 20:39:40 and the logs on that page aren't up to date Feb 20 20:46:55 naraic: try those? http://mer.bfst.de/logs/%23beagle/ Feb 20 20:48:41 tbr: perfect! thank you :) Feb 20 21:34:43 yay, booted the kernel from debian.org! Feb 20 21:34:48 now to debian-installer... Feb 20 21:34:57 pizza \o/ Feb 20 21:41:20 so, is there any simple way to remotely reset the beagle-x15? resetting the power requires hitting the on button... Feb 20 21:41:40 just reboot? Feb 20 21:41:55 if the kernel fails to boot? Feb 20 21:42:07 if the system is frozen? Feb 20 21:42:12 watchdog? Feb 20 21:42:48 where does one hook into that? Feb 20 21:42:56 that's a kernel feature? Feb 20 21:43:00 a hardware feature Feb 20 21:43:14 (on pretty much any hardware) Feb 20 21:44:14 how do you access it? Feb 20 21:44:28 you can use e.g. the 'watchdog' package on debian to make use of it (it can optionally also check whether the system is "working" according to some criteria) Feb 20 21:44:43 be sure to enable use of the hw watchdog in its config Feb 20 21:45:05 that's just to configure the watchdog or something? Feb 20 21:45:15 e.g. i need to be able to reset it if the OS fails to boot Feb 20 21:45:16 and to keep it from expiring Feb 20 21:45:40 * vagrantc will look into the package and ask more specific questions Feb 20 21:45:40 for that u-boot would need to enable the watchdog Feb 20 21:46:23 you might be able to set up the hw watchdog from uboot Feb 20 21:46:32 heh Feb 20 21:46:38 or rather, leave it enabled (I think it enables the watchdog but disables it again before transferring control to linux) Feb 20 21:46:59 but then ofc the kernel needs to keep feeding it or turn it off Feb 20 21:47:09 the other 19 or so boards i have i just have to remotely reset the power ... this power button is unfortunate. Feb 20 21:47:22 vagrantc: there's a workaround for that Feb 20 21:47:31 the pwrhold jumper or something Feb 20 21:48:14 a jumper to change behavior would be perfect Feb 20 21:48:15 someone recently asked about it on the x15 forum / mailing list Feb 20 21:48:51 yeah, saw that ... the comments left it inconclusive as to weather it was a good idea, from what i remember Feb 20 21:48:53 and there was ofc handwaving Feb 20 21:49:26 vagrantc: there's not really a problem as long as SPL runs to fix the pull contention Feb 20 21:51:05 TI doesn't guarantee device lifetime after 200 power-on hours (cumulative) without the pull contention fixed Feb 20 21:52:20 * vagrantc does do u-boot testing fairly often Feb 20 21:52:33 and with "device" I think they mean "that IO pin", of course if it e.g. degenerates to an internal short then it does mean device lifetime unless you manage to fry the chip back to life (I still think it's hilarious someone managed to do that with a "dead" am335x) Feb 20 21:53:40 vagrantc: as long as the pull contention is fixed early in SPL you have only contention a tiny fraction of a second each boot Feb 20 21:54:04 hm Feb 20 21:54:35 is there a way to reset it via ftdi? Feb 20 21:54:54 via jtag you mean? sure Feb 20 21:55:06 or do you mean serial console? Feb 20 21:55:31 serial console was what i was thinking ... but all i'm aware of for that requires cooperation from the kernel Feb 20 21:56:39 sending a break signal via the serial console... Feb 20 21:56:55 * vagrantc hasn't gotten into jtag at all yet Feb 20 21:56:57 you could use a digital output (e.g. the RTS pin of an FTDI cable) connected to the system reset pin on the jtag header Feb 20 21:58:18 that sounds promising Feb 20 22:00:18 nSRST (pin 15) on the 20-pin TI header => http://elinux.org/File:Ti_arm_jtag.jpg Feb 20 22:00:51 * vagrantc suspects the jtag header is the pins labeled jtag on the bottom of the board Feb 20 22:01:42 yeah, and pin 6 should be missing (the "key pin"), although sometimes it's not if people don't bother ordering the right header Feb 20 22:02:35 looks like one is missing Feb 20 22:03:13 * vagrantc might live with the lack of reset for now Feb 20 22:03:33 zmatt: thanks for the pointers, though! Feb 20 22:04:29 how can you live like that?! surely a life without a reset is hardly a life at all! Feb 20 22:04:32 ;) Feb 20 22:04:57 hopefully it'll mostly be stable enough i don't have to worry about it ;) Feb 20 22:05:52 hmmm... maybe i should install watchdog on more of these boards Feb 20 22:06:01 if they support it Feb 20 22:06:14 they do and it works Feb 20 22:06:18 ;) Feb 20 22:06:34 well, maybe check for the presence of a hw watchdog Feb 20 22:06:55 the watchdog daemon works in any case, although without a hw watchdog it falls back to sw Feb 20 23:16:15 when i connect a beaglebone black to a 5V power source (not the usb cable) how much mA can i pull out of the big usb port? Just 500mA or more? Feb 20 23:19:10 Hi, what is the best way to play audio/video in the background? running BBB Wheezy image. Feb 20 23:19:45 Guest82070: best way for? For saving ram or for what? Feb 20 23:20:54 I need it to start playing, then continue to deal with I/O etc. Feb 20 23:21:36 Guest82070: that didnt work at the moment for you? Feb 20 23:22:21 All the players I tried waits until the play is over before the terminate. Feb 20 23:22:49 what I am after is a way to start playing and leave Feb 20 23:23:29 you tried cmus? https://cmus.github.io/ Feb 20 23:23:46 nope. I'll look for it Feb 20 23:24:45 https://packages.debian.org/wheezy/cmus Feb 20 23:25:45 I had a look, I dont need a menu and the such... I want to be able to give it a filename to start playing and exit Feb 20 23:25:50 Guest82070: did you know how much mA i can pull out of the beaglebone black over the big usb port? Feb 20 23:26:40 ummmm, nope, I'm new to BBB, but my guess would be up to 30ma Feb 20 23:27:04 oh Feb 20 23:27:06 30?? Normaly its 500mA at minimum Feb 20 23:27:27 USB? I was refering to gpio... no idea about USB - sorry Feb 20 23:28:31 Guest82070: you should be able to run cmus in background just by giving the command to play a file. Feb 20 23:29:15 it depends if you power BBB from the USB, then you cant get more. If you power fron an external source, then your limit is the external source current Feb 20 23:29:20 https://wiki.archlinux.org/index.php/Cmus Feb 20 23:30:13 Guest82070: there is no limit? I cant think that i can pull 10A trough when i connect a 5V 11A power supply Feb 20 23:31:19 No, the traces on the PCB will not hold it. Feb 20 23:31:42 Guest82070: but it would start to burn and not shut off? Feb 20 23:32:13 if you need 10A, hook an external 10A to your peripheral and only control it from BBB Feb 20 23:33:01 it will burn your traces, and thats the good case, I'd suspect that some components will burn as well Feb 20 23:33:09 Guest82070: no, i dont need 10A. I need typical 1-1.5A. The 5V is just wired trough? No chips control anything? Feb 20 23:34:18 5V is supplied, either from USB or external source. there is a3.3V regulator onboard Feb 20 23:34:58 I wouldnt pull 1.5A from the board if you power it from USB Feb 20 23:35:12 so when i connect a external source with high power i have to care by myself to not pull too much ? Feb 20 23:35:24 re cmus, its menu driven... it wont work for my needs Feb 20 23:35:52 yep. Feb 20 23:36:25 best is to supply high current to the peripheral and use BBB for control only Feb 20 23:37:32 How much current can i pull off the 3,3V? Does the bbb itself with its chips run on the 3,3V or on 5V? Feb 20 23:37:55 most basic music player i remember from before 15 years: https://en.wikipedia.org/wiki/Aplay Feb 20 23:38:25 bbb uses both, as for currents, I dunno... both volatages are availalable Feb 20 23:38:50 but you will need to read the specs in order to know how much you can draw from it Feb 20 23:38:57 for example the main CPU. Does this run on 3,3V or on 5V? Feb 20 23:39:16 i think 3.3 Feb 20 23:40:07 bare in mind that if you overload the 5V - it will have efect on 3.3V as well Feb 20 23:42:14 it good practice to keep a low power board at low power and use it only to control high power peripherals Feb 20 23:43:21 aplay is nice, but it also can not do background play Feb 20 23:44:12 nm Feb 20 23:44:28 will search again tomorrow, 1:45am here Feb 20 23:44:32 bed time Feb 20 23:44:45 'night, i'm off Feb 20 23:45:26 Guest82070: you can run background by using GNU Screen Feb 20 23:45:46 https://wiki.archlinux.org/index.php/GNU_Screen Feb 20 23:45:48 not realy... Feb 20 23:45:57 I know screen well Feb 20 23:46:15 this will have to be a daemon that I can talk to Feb 20 23:46:35 i may have to stop playback Feb 20 23:46:35 yes, and cmus can run as deamon in screen as far as i know Feb 20 23:46:46 start another, and so on Feb 20 23:46:58 this is very dynamic Feb 20 23:47:08 to stop the music kill the screen and start a new one with new file Feb 20 23:47:34 cmus needs console inputs Feb 20 23:48:14 thats not very neat... I'll find a way Feb 20 23:48:26 i have really no idea what you want to do so i dont think i can help Feb 20 23:49:14 the main idea is to have a player that can playback in the background, but still accept commands Feb 20 23:52:15 do you know if there are delphi libraries for bbb? if I could cross compile in delphi, I could do it Feb 20 23:52:40 thats bbb libraries for delphi... Feb 20 23:53:27 nm Feb 20 23:53:37 too late Feb 20 23:53:40 gotta go Feb 20 23:53:45 thanks for now Feb 20 23:53:48 bye Feb 21 00:02:16 floss4life: the CPU has multiple voltage rails ranging from 1.1V (core logic) to 3.3V (I/O) Feb 21 00:09:52 zmatt: i read that the bbb have a TPS2051 that regulates the max current of connected usb devices to 500mA. Is that correct? Feb 21 00:10:34 well, it doesn't really quite limit the current to 500 mA (see datasheet) Feb 21 00:11:19 zmatt: ok, then this answer here is wrong: http://electronics.stackexchange.com/a/84706 Feb 21 00:12:50 I understand the confusion since 500 mA is the "recommended maximum continuous load current" of the tps2051 Feb 21 00:13:56 zmatt: does the current go trough the tps2051? So this chip would be the first thing that burn up and have to be replaced? Feb 21 00:14:26 no I don't think you could easily cause that Feb 21 00:14:58 if you draw too much current then vbus will dip too low and the usb hw will shut down the port Feb 21 00:15:19 are there any people reporting for example that they could charge their 2A pulling phone with a bbb that have connected a external 5V 3A power supply? Feb 21 00:15:40 you definitely can't do that, for multiple reasons Feb 21 00:16:07 the current also flows through the TPS65217 PMIC which cannot sustain 3A Feb 21 00:16:33 the TPS2051 will also not sustain 2A, or even 1A Feb 21 00:17:16 they just drop the voltage until everything gets unstable and they didnt fire up? Feb 21 00:18:25 the TPS2051 will level out at 900 mA and very little voltage if shorted Feb 21 00:19:07 ok, thats finally the information i was searching for! great Feb 21 00:19:08 and if the internal 5V drops too low (below 3.3V or so) the PMIC will power off the system Feb 21 00:19:39 for more precise specs, see the TPS2051 and TPS65217 datasheets Feb 21 00:19:39 why isnt that written like that somewhere on the internet? thats perfect information Feb 21 00:20:26 well, the datasheets *are* on the internet Feb 21 00:20:27 :P Feb 21 00:20:50 beginners didnt understand that much from a datasheet :D Feb 21 00:25:30 is there any connector i can get raw(not gone trough any chip) 5V out of the bbb? Feb 21 00:26:29 yes Feb 21 00:26:32 i would like to connect a DC-DC module to create voltage the bbb cant deliver. my basic idea was to use the usb connector Feb 21 00:27:04 (the usb connector next to the hdmi output) Feb 21 00:27:08 there are two pins on expansion connector P9 that are directly connected to the 5V barrel connector Feb 21 00:27:39 specifically pins 5 and 6 Feb 21 00:28:26 (rated at 1A per pin, hence 2A if you use both pins) Feb 21 00:28:31 pins 1 and 2 are nearby ground pins Feb 21 00:31:00 zmatt: so i can wire 5+6 together and 1+2 together and then i get a connector that can deliver at spec 5V at 2A, right? Feb 21 00:31:31 (of course if the external power supply can deliver at least 5V 3,5A) Feb 21 00:32:25 afaik yes Feb 21 00:32:40 or alternatively you can power the BBB itself through those pins Feb 21 00:32:54 (instead of using the 5V barrel connector) Feb 21 00:34:06 but then i cant pull out 5V 2A out of the barrel connector because then i would pull much more then 2A trough pin 5+6. did i understand right? Feb 21 00:34:16 yes Feb 21 00:34:54 but you can of course just put the BBB and the other device in parallel on the same 5V supply Feb 21 00:35:42 god Feb 21 00:35:48 is there any limitation of the barrel connector? Because when i pull 5V 2A out of 5+6, 0,9A out of usb and maybe 0,3A at 3,3V from those connectors then i would maybe pull about 5V 5A trough the barrel connector Feb 21 00:35:54 i ordered the $80 JTAG debug USB chip/cable Feb 21 00:36:07 only to lose the 30 cent fucking header pin i had to solder on Feb 21 00:36:14 that can be found nowhere except digikey Feb 21 00:36:16 :( Feb 21 00:36:55 kremlin: the header is really obscure yes Feb 21 00:38:00 the spacing is crazy Feb 21 00:38:00 floss4life: actually you can't exceed 4A: 2A via 5+6, 2A through the PMIC Feb 21 00:38:18 i have seen people just solder breadboard wire to it but damn Feb 21 00:38:20 floss4life: still no idea whether that could be a problem or not, maybe see if the BBB System Reference Manual has anything about that Feb 21 00:38:22 i do not want to do that Feb 21 00:38:30 kremlin: that does not sound like fun Feb 21 00:38:40 no Feb 21 00:38:48 zmatt: thanks a lot for those information! Feb 21 00:39:04 i still have a few years of youth left before my hands go all dementia-ridden Feb 21 00:39:12 and i don't want to waste them on that Feb 21 00:40:00 in fact, soldering the header itself on didn't seem like fun to me either, fortunately I found someone more experienced to solder it on for me Feb 21 00:40:11 it's really bizzare Feb 21 00:40:32 it is in that weird grey area between "this is so small i should reflow it" and "this is big enough to surgeon-hand" Feb 21 00:40:48 people putting solder on the header before placing it on the pads, ridiculous Feb 21 00:41:02 i could complain for an hour about how bad the people soldering in youtube videos are Feb 21 00:42:20 well, I still have deep respect for the collegue of mine that moved R8 to R9 on one BBB as a test (look carefully in the space between the 5V barrel and the ethernet connector) Feb 21 00:44:20 zmatt: i see a power LED and a via Feb 21 00:45:04 next to the power led are R10 and C19 Feb 21 00:45:12 then R7,R8,R9 Feb 21 00:45:18 then the big fat C1 Feb 21 00:45:42 hahaha Feb 21 00:45:47 so he did uh, SMD soldering Feb 21 00:45:52 that is an enormous pain in the butt Feb 21 00:46:06 on spyfleck-components, inbetween two huge connectors Feb 21 00:46:12 *flyspeck Feb 21 00:46:46 certainly not easty Feb 21 00:47:27 when he desoldered it he had to put some red piece of wire next to it to avoid losing track of it Feb 21 00:48:11 :) Feb 21 00:58:32 look at it on the bright side, the bbx15 expansion connectors are not only obscure but also $8.35 a piece **** ENDING LOGGING AT Sun Feb 21 02:59:58 2016