**** BEGIN LOGGING AT Fri Dec 02 03:00:01 2016 Dec 02 07:14:55 hello Dec 02 07:16:07 who can tall me how to use SPI throu PRU on beaglebone black Dec 02 07:17:10 The SPI is used by the PRU in the BBB Dec 02 07:19:37 hello? Dec 02 11:56:05 Hi, what is the expected life span of a Beaglebone Black? Dec 02 11:57:02 I was recommended Beaglebone instead of RPI because it should be more stable Dec 02 11:57:10 any experiences? Dec 02 12:02:30 Depends on what you do with it I guess Dec 02 12:02:47 If you write a terabyte of data to the flash every month, it's not going to last for that long. Dec 02 12:04:07 It will be paired with a touch screen and a label printer to make a kiosk where people can collect their movie tickets Dec 02 12:04:25 not very much disk writes Dec 02 12:04:34 maybe some logging Dec 02 12:04:51 Should be okay then, as long as it's not on the public internet and recieves a ton of SSH failed logins to log ;) Dec 02 12:05:04 In that use scenario, none of the ones we have has broken yet Dec 02 12:05:15 Standing still and showing a screen, that is. Dec 02 12:05:40 how long has it been operating? Dec 02 12:06:48 A few years, they are the 2GB Flash ones Dec 02 12:07:09 Stuff to watch out for is electricity spikes and power surges. Dec 02 12:07:24 that's really goof Dec 02 12:07:27 good* Dec 02 12:07:29 It's a bit finicky if the power supply behaves badly. Dec 02 12:07:55 There's some limitations on the graphics, they aren't the fastest around. Dec 02 12:07:56 I will remember to buy quality power supplies Dec 02 12:08:15 But for kiosks it's usually not a problem. Dec 02 12:09:03 I've considered using 7 Inch LCD Cape for Beagle Bone Black as the screen Dec 02 12:09:13 any experences with that one? Dec 02 12:09:29 Limited to 16Bit colour too, and if you roll your own OS ( and don't use the default images for the BBB) you have to tweak the screen setting to swap... R and B channels. Dec 02 12:09:34 None whatsoever Dec 02 12:09:51 We run the touch screens on an older version of Dell touch screens with USB touch Dec 02 12:10:12 and that works fine? Dec 02 12:10:33 Had issues with the USB cable slipping out, same with the HDMI/Micro-HDMI (or is it mini?) Dec 02 12:10:46 aha Dec 02 12:10:47 Those were solved by fixing how we mount things to not let the cable put weight on the connector Dec 02 12:10:59 ( hot glue could probably work as well ) Dec 02 12:11:11 Overall, it's worked quite ok Dec 02 12:12:00 We will probably look for a reasonably prices screen since there will be quite a lot of kiosks Dec 02 12:12:13 *Nod* Dec 02 12:12:32 Well, your worst problem might be updates Dec 02 12:12:32 I guess I'll have to do some research Dec 02 12:13:38 Also remember that the default resolutions for the BBB will be with audio :) Dec 02 12:13:42 So that may limit things Dec 02 12:13:49 See the wiki for that. Dec 02 12:13:54 Overall, I'm not sad with the BBB at all Dec 02 12:13:57 By default, the board will always look for HDMI resolutions to enable audio and only list those as options. As a result you will see a lower number of resolutions listed than your monitor may support. Dec 02 12:14:01 If you are not concerned about audio support, you can disable the cape manager for HDMI and get more resolutions listed. Add the following command to the optargs in the uENV.txt file on the boot partition of the eMMC or uSD. Dec 02 12:14:41 that's a good tip! Dec 02 12:15:08 I guess I'm mostly worried about a lot of failures of the BBB or screen Dec 02 12:15:25 most of my research now is to build confidence ;) Dec 02 12:15:51 Yeah, I understand that Dec 02 12:16:07 So. My experience has been pretty good. I run the BBB and BBG in industrial settings. Dec 02 12:16:16 Most devices in the field are 1-2 years old now Dec 02 12:16:31 We had to replace half a dozen this summer due to thunder Dec 02 12:16:37 that sounds good Dec 02 12:16:50 And had issues with network and others due to a cheap powersupply that didn't ramp up the voltage well enough to begin with Dec 02 12:17:10 The hardware appears to act badly when it gets 4V for a while before it stabilizes at 5V Dec 02 12:17:22 I see Dec 02 12:17:27 If the devices you're doing are going to be on the network, you want to check out how you do updates. Dec 02 12:18:34 all of them will be connected to the internet, so I hope to get pretty far with apt-get upgrade Dec 02 12:19:12 the business application on the other hand Dec 02 12:20:55 yeah Dec 02 12:21:25 Well, the default image has sloppy security settings, so fix those in sshd, and you'll want to run something to truncate /var/log/btmp Dec 02 12:21:38 Since you'll get funky failed logins on ssh Dec 02 12:22:59 good idea Dec 02 12:31:12 Spidler: thank you for good information! Dec 02 12:31:23 you're welcome Dec 02 15:30:12 Good Morning. How can I upload my python code to Beaglebone black if I am running of SD card Dec 02 15:30:33 scp. Dec 02 15:37:11 I am new to Beaglebone Black and I want to start my code from an SD card debain. I have the code written in python but every-time I try to upload my code to the BBB I get permission error. Any ideas of what should I do? Dec 02 15:39:12 I am new to Beaglebone Black and I want to start my code from an SD card debain. I have the code written in python but every-time I try to upload my code to the BBB I get permission error. Any ideas of what should I do? Dec 02 15:41:23 Permission error says nothing. Dec 02 15:41:36 Are you trying to write code where you don't have permission, or is it executing it that fails? Dec 02 15:41:40 Did you set executable bit? Dec 02 15:44:34 @ Spidler, I am trying to get my ADC pins working with cap7 LCD and I had a lot of issues with that because of the CAPE using 4 ADC pins and I found that I cannot access the ADC pins unlease if I have a higher kernel 4+ Dec 02 15:44:57 You still haven't told what the permission denied is about. Dec 02 15:45:08 I'm not going to guess what your errors are. Dec 02 15:46:58 @ Spidler, I have a python code and I want to run it on my beaglebone black. But when I try to copy the folder into the beaglebone I get permission error Dec 02 15:47:47 So you don't have permission to write there? Which user are you logging in as, what's the command you're using to copy, and what's the exact error? Dec 02 15:48:27 When people come on irc and say they get "permission errors" it can be anything from "You don't exist, go away!" to "permission denied" because they try to write to a read-only filesystem. Dec 02 15:49:15 @Spidler, I SSH into the beaglebone and I tried to do a normal computer copy/past into the beaglebone drive Dec 02 15:49:56 on my cape LCD it shows debain and on my computer I am logged in with root Dec 02 15:50:06 So you get "permission denied" when you use your file manager to drag files to the partition? Dec 02 15:50:15 yes Dec 02 15:50:16 Try to transfer your files with scp . Dec 02 15:51:11 Can you please show me a simple example? Dec 02 15:51:20 I am new to this Dec 02 15:52:42 scp filename.py me@beaglebone: Dec 02 15:53:11 If you are on windows, download and install WinSCP. It's the simplest way to get stuff on your BBB. If you aren't using windows, what Spidler typed is likely already an avaiable option. Dec 02 15:53:48 I am on windows Dec 02 15:53:58 Let me try both ways. Thank you guys Dec 02 16:07:13 @ Splider and Ragnorok. I moved the files to the root directory. But I cannot run it from debain. Is there any commands for moving the file to debain? Dec 02 16:12:19 One shouldn't put stuff like that in the root directory. "debian" is just an user, with a home directory. This is basic Linux stuff that's easily learnable. If you have permissions you could copy it to debian from WinSCP as well, by navigating there using the windows-like "folder" panel. Dec 02 16:30:47 Thanks Ragnorok Dec 02 16:43:55 @Ragnorok. I am still having issues with ADC.setup. When I use CAP7 LCD i cannot sent up my ADC any suggestion? Dec 02 16:44:42 I have no clue. Don't know what those are. Dec 02 16:46:02 hi. i have a feeling my board's gpio is fried. multimeter shows no life, and setting the pins to values makes no difference. Dec 02 16:46:46 any other ways to determine whether it's functional or not? Dec 02 16:47:28 "Setting pins" means using the /sys/ Ragnorok: yup Dec 02 16:48:42 Ok. Just making sure. I've not done much with the BBB's gpio; hardware team did all that, but in general my xp has been those attr do work, so if you're not seeing anything ... Dec 02 16:49:02 It's also unlikely *all* pins are borkt. Might check others. Dec 02 16:49:52 hmm, possibly. Dec 02 16:57:56 just tried 4-5 gpio pins and... nada.. Dec 02 16:58:37 4 to 5 different gpio pins. Dec 02 17:00:39 the board itself is working just fine... just not getting any gpio outputs Dec 02 17:06:19 nevermind, figured out the problem - PEBKAC Dec 02 17:06:23 hehe Dec 02 17:07:34 I was about to say, I've never heard of pins being fried resulting in merely those pins being non-responsive as outputs Dec 02 17:08:53 same here... didn't make sense. Dec 02 17:09:43 I guess direction or pinmux was wrong? Dec 02 17:11:30 if you absolutely insist on knowing and shaming me in the process... my circuit wiring was wrong. Dec 02 17:11:56 had nothing to do with anything on the beagle Dec 02 17:12:11 :) Dec 02 17:12:35 don't worry, there's no shame in any of this, I think most of us have had stuff like this Dec 02 17:13:19 we just started testing a new board and discovered half of the analog outputs have their polarity inverted Dec 02 17:13:27 *audio outputs Dec 02 17:14:17 polarity... iirc, that's what allows for time travel in either direction... it's a doozy Dec 02 17:16:14 +/- swapped Dec 02 17:25:48 Serious on the no shame part. Sheesh. The things I've done... Dec 02 17:27:22 I can also recommend *not* depositing a +7V wire onto a bbb, I speak from experience Dec 02 17:28:19 Also not putting +12v onto the Vcc line of about any controller. Atmel in this case. Worst part - I checked it three times. Dec 02 17:28:57 12v makes it go twice as fast right? ;-) Dec 02 17:29:14 Briefly perhaps. VERY briefly. Dec 02 17:29:18 hehe Dec 02 18:11:45 hello? Dec 02 18:12:17 No! Dec 02 18:12:33 * Spidler is not here and will not pretend to be here. Dec 02 18:14:57 lol. Has anyone tried the bootloading process on the beaglebone black? I've been following the instructions and hitting deadends with both Linux and Windows Dec 02 18:15:19 as described here http://processors.wiki.ti.com/index.php/Sitara_Linux_Program_the_eMMC_on_Beaglebone_Black#Flash_the_Beaglebone_Black Dec 02 18:15:25 :( Dec 02 18:16:11 You mean bootloading from uBoot? No, sorry. Dec 02 18:16:55 vee7, there's a better write-up and a working example here: https://ungureanuvladvictor.github.io/BBBlfs/ Dec 02 18:17:24 ah sweet. will have a look. Dec 02 18:17:50 hmm. is there a deb package of mmc-utils for Jessie? Dec 02 18:18:10 if it works youll be a lifesaver.. been stuck on this for weeks. Dec 02 18:18:27 Spidler, only strech/sid.. i'll look to adding to the backport.. Dec 02 18:18:50 vee7, if you have any questions, vvu is the author and usually around this irc channel. ;) Dec 02 18:19:01 wicked. thankyou Dec 02 18:19:21 rcn-ee: Thanks. I'm having some issues with flash corruption and I want to see what the heck can be done. Dec 02 18:19:49 R/O squashfs partitions that start morphing between reads and corrupting itself. Dec 02 18:21:32 Any ideas on _why_ that would happen would be gladly accepted, cause I am at my limit as for what I can believe here. Dec 02 18:22:20 dd if=/dev/mmc-ro-partition iflag=direct bs=1M count=10 |sha1sum : really really should not return different checksums each time. Dec 02 18:22:48 After a while it stabilizes on a single checksum, but at that point its wrong, and the kernel is very unhappy with the state of the filesystem. Dec 02 18:23:06 I have not ruled out a kernel bug either. Dec 02 18:24:33 Spidler, built cleanly and pushed out to the repo: "sudo apt-get update ; sudo apt-get install mmc-utils" Dec 02 18:25:00 * Spidler sends love and adoration Dec 02 18:25:16 Thank you! Dec 02 18:25:30 hopefully it'll help track down what's going on. ;) Dec 02 18:25:41 I wish it would Dec 02 18:26:15 I honestly dont really know here. if you have ideas, please. **** ENDING LOGGING AT Sat Dec 03 03:00:00 2016