**** BEGIN LOGGING AT Sun Apr 24 02:59:58 2016 Apr 24 05:31:25 PiGuy, BBB should be comparable in performance to the RPi2 for most things Apr 24 05:35:22 trelane: and much better for a lot of things Apr 24 05:35:36 its the ram... Apr 24 05:35:58 ayjay, absolutely. Unless you're running an embedded application that has a huge need for SMP, the BBB is as good or superior. Apr 24 09:20:44 hello Apr 24 09:21:02 I have a beaglebone black, running debian jessie with linux 4.4.x Apr 24 09:21:44 When I power it with the USB cable, I have usually have to reset it 3-5 times until my computer gets an ip address from the ethernet over usb Apr 24 09:22:47 I don't understand why it would only work sometimes Apr 24 09:23:19 * veremit refrains from commenting about *** usb networking Apr 24 09:23:58 veremit, is this a common issue? Apr 24 09:24:21 its a bit touchy Apr 24 09:24:37 depends a lot on the host end tbh Apr 24 09:24:53 the beagle does its stuff .. if the other end isn't configured right .. it just doesn't work Apr 24 09:25:28 but then, why does it sometimes work? Apr 24 09:25:39 I have tried with different computers, running both linux mint and ubuntu Apr 24 09:25:59 yea I dunno what the answer to that is .. you'd have to look at the low level usb debug Apr 24 09:26:12 if the networkin interfaces come up 'right' it -should- all work Apr 24 09:26:25 but I have zero faith in usb gadget as a production system Apr 24 09:26:39 ok, I see Apr 24 09:26:42 do you still have problems if you power it with the dc jack? Apr 24 09:27:05 I'm waiting for my power adapter to arrive, and try Apr 24 09:29:10 I'll try to debug the issue with the serial cable to Apr 24 09:29:11 too Apr 24 09:29:32 from the datasheet, it seems that I can use 5V levels on the serial port Apr 24 09:29:40 do you know if this is correct? Apr 24 09:49:50 martxel: I'm not sure .. but I wouldn't advise it if you can find a 3v3 lead Apr 24 09:49:50 martxel: no, it is not correct. you'll fry the bbb with 5V signaling Apr 24 10:15:40 KotH, the buffer between the serial port and the am335x's uart0 pins won't do the needed conversion? Apr 24 10:15:44 http://www.ti.com/lit/ds/symlink/sn74lvc2g241.pdf Apr 24 10:17:05 there's little 5v on board .. only regulator Apr 24 10:18:46 veremit, yes Apr 24 10:18:49 but I meant Apr 24 10:18:55 the buffer accepts 5V as input Apr 24 10:19:03 and give up to VCC (3.3V) outputs Apr 24 10:24:41 from the features "Can Be Used as a Down Translator to Translate Inputs From a Max of 5.5 V Down to the VCC Level" Apr 24 10:26:49 generally .. if the input goes above Vcc .. Apr 24 10:27:18 you're going to get problems Apr 24 11:19:38 the console port buffer is indeed 5v tolerant Apr 24 11:19:56 just about the only thing on the bbb that is Apr 24 12:25:55 martxel: if you use an lvc device as level converter, then it's ok Apr 24 12:26:27 veremit: the lvc family is designed such, that the inputs can go above Vcc Apr 24 12:27:19 the bbb uses an sn74lvc2g241 as isolation buffer for the console port Apr 24 12:27:31 oh.. it does? Apr 24 12:27:32 ok... Apr 24 12:27:35 yes Apr 24 12:27:35 i havent said anything Apr 24 12:27:44 hehe Apr 24 12:28:53 some people have had trouble with 5v usb-uart cables though, maybe the 3.3v signal from the buffer isn't enough for them (though I'd normally expect it would suffice) Apr 24 12:29:45 KotH: ah. Apr 24 12:29:46 ok, good to know, I'll try with my 5v cable, and if it does not work, I'll buy a 3.3 one Apr 24 12:29:56 thanks Apr 24 12:29:56 zmatt: so technicallu it -should- work Apr 24 12:30:09 veremit: yep Apr 24 12:39:41 hmm, I should do some shopping... but that involves going outside, and there's like sunlight there... Apr 24 12:40:22 zmatt: not to mention that it's sunday and all shops are closed Apr 24 12:41:03 this village has crappy opening times for shops, but a supermarkt is still open for a while on sunday :P Apr 24 13:25:19 Anyone here...? Apr 24 13:27:54 soo Apr 24 13:28:22 i want to know if i make a beaglebone black clone and take all the hardware and put it on a pcb, can i just program it with a debian image..? Apr 24 13:28:41 how does the am335 work in this aspect? Apr 24 13:30:31 sort of Apr 24 13:30:55 depends if you change any components like eMMC or RAM Apr 24 13:38:47 but programming it with a debian image would require it to be already configured to know it should acccept any data of the usb and put it in the flash Apr 24 13:39:01 i dont think it does that straight out of the box.. Apr 24 13:40:13 do u maybe know what topics i should research to figure this out i am not sure if its related to bootloader or flash programming or something els perhaps Apr 24 13:42:48 you should most certainly look at the TRM for the AM335x Apr 24 13:43:29 then look at the boot options and how it can load the first stage loader aka MLO Apr 24 13:44:27 ok thank u Apr 24 17:03:28 hi Apr 24 17:03:58 I am doing a project with beaglebone Apr 24 17:04:23 i want measure distance by ultrasonic sensor Apr 24 17:07:50 you'll need to use the PRU for that Apr 24 17:08:26 why PRU? Apr 24 17:09:58 can you do the necessary timing resolution in user space? Apr 24 17:10:02 eCAP Apr 24 17:10:25 to be fair, I have no idea what the question is since there isn't one yet :P Apr 24 17:10:26 also the project I found by using google search for "beaglebone ultrasonic distance" used the PRU and has codez Apr 24 17:14:35 the bbb has 7 inputs capable of hardware timestamping pulses or edges Apr 24 17:17:00 I think you can also sync two eCAP modules to have one generate a pulse while the other timestamps the response Apr 24 17:18:12 so yeah I think you can do this from userspace just fine Apr 24 17:18:49 the details will depend on the sensor and how it behaves exactly Apr 24 17:32:21 *nod Apr 24 17:33:33 https://github.com/mvduin/py-uio ... and you can even do it in pure python ;) Apr 24 17:33:52 :D Apr 24 17:34:23 it still needs a bit more polish though Apr 24 17:34:29 O:) Apr 24 18:00:54 how can i create file .p Apr 24 18:01:03 in eclipse Apr 24 18:01:26 https://github.com/Teknoman117/beaglebot/tree/master/hcsr04-demo Apr 24 19:19:52 To solve the same audio problem I'm having with Arch Linux on my BBB, RobertCNelson suggested updating to a "ti branched" kernel (http://goo.gl/qIxFcL). Since that script doesn't exist in my installation, any idea where the git source is for the ti branch? Apr 24 19:44:23 JoeJulian: https://github.com/RobertCNelson/ti-linux-kernel/tree/linux-4.1.y Apr 24 19:44:31 no wait Apr 24 19:44:48 https://github.com/RobertCNelson/ti-linux-kernel-dev/tree/ti-linux-4.1.y Apr 24 19:44:51 sorry Apr 24 19:45:06 ./build_kernel.sh in that repo will build the kernel for you Apr 24 19:45:21 first copy system.sh.sample to system.sh and adjust to taste Apr 24 19:45:47 Ok, cool, thanks. Apr 24 19:46:15 Actually, looking at the pkgbuild for Arch's kernel, it's pulling in his patches but my damned hdmi sound still doesn't work. :( Apr 24 19:46:40 I recommend doing it on a fast x86 machine btw, not on the BBB itself Apr 24 19:46:46 Hehe, yeah Apr 24 19:47:33 That would probably be like the good ol' days when I first started with linux at 0.96. Start the compile and come back tomorrow. Apr 24 19:47:46 it almost physically hurts just trying to imagine it Apr 24 19:49:25 which kernel are you using currently? Apr 24 19:49:35 4.5.2 Apr 24 19:49:48 Here's the pkgbuild https://github.com/archlinuxarm/PKGBUILDs/blob/master/core/linux-am33x/PKGBUILD Apr 24 19:49:50 mainline or -bone ? Apr 24 19:50:16 bone apparently Apr 24 19:50:45 yeah Apr 24 19:52:51 you could presumably build a -ti kernel the same way Apr 24 19:53:16 maybe Apr 24 19:53:19 Sure Apr 24 19:53:23 I'll try that. Apr 24 19:53:38 If it works, I'll figure out what's different and submit a patch. Apr 24 19:54:48 figure out what's different... good luck with that :) Apr 24 19:55:34 (answer: "everything.") Apr 24 19:55:40 Heh Apr 24 19:55:55 Hopefully it'll just come down to some changes in the drivers. Apr 24 19:56:10 especially since hdmi audio will have to somehow tie into the hdmi framer driver Apr 24 19:56:45 Looks pretty simple so far. Apr 24 19:58:31 Guess I'll have to get back to this later. The wife has other things in mind for my time today. :) Apr 24 19:58:57 while you're at it, the hdmi framer supports receiving spdif data, and the am335x can directly transmit spdif data... fixing the driver to use that instead of i2s would free up 2 pins on the expansion header for other uses Apr 24 19:59:01 :) Apr 24 20:00:08 heh, have fun Apr 24 20:03:42 I just programmed a I2C controller to be like my exgirlfriend. It keeps sending NOT ACK until it gets to be master and clear its buffer. Apr 24 20:04:07 And then sometimes when it's buffer is clear it sends NOT ack anyway it's 50/50 really. Apr 24 20:04:24 hehe Apr 24 20:17:19 hi, trying to disable the leds cause they are bright and keep flashing in my eyes Apr 24 20:17:21 echo none > /sys/class/leds/beaglebone\:green\:usr0/trigger Apr 24 20:17:22 tried this Apr 24 20:17:30 i dont have /beaglebone in /leds Apr 24 20:17:33 o.o Apr 24 20:18:31 if u dig around /sys/class/leds you should be able to find the proper directory Apr 24 20:18:38 you can use the "tree" command or just ls a bunch Apr 24 20:19:00 ye i already figured out my problem ;( Apr 24 20:19:10 what was the right directory? Apr 24 20:19:10 so embarrasing Apr 24 20:19:20 nah i am using terminal to mhy desktop linux Apr 24 20:19:20 it's okay you're like me, you think outloud Apr 24 20:19:22 instead of bbb Apr 24 20:19:24 xD Apr 24 20:19:29 AHHAAHAHA Apr 24 20:19:41 * ayjay points and laughs then feels bad Apr 24 20:19:45 need some coffee xd Apr 24 20:19:49 you and me both Apr 24 20:20:56 ;p thanks for fast response tho ! Apr 24 21:30:23 ayjay: eCAP might also be a good target for uio btw... apparently quite a few people want to do things like ultrasonic distance measurement... you can synchronize eCAP modules and have one generate a pulse and another timestamp the response Apr 24 21:31:04 but, I've got a train to catch, afk Apr 24 22:08:15 zmatt: 3 weeks and i'll have at least 6 logic sub units mapped out, i want to work on it but its finals week Apr 24 22:09:26 hehe, no rush Apr 25 01:46:52 oh bison, how I loathe thee, go stick your reduce/reduce conflicts where the sun don't shine **** ENDING LOGGING AT Mon Apr 25 02:59:58 2016