**** BEGIN LOGGING AT Thu Nov 13 03:00:00 2014 Nov 13 05:20:11 Anyone know if there is a way to export the dtb in memory to a dtb file? I’m trying to duplicate the effects of capemgr in a static dtb since it appears capemgr is or will be deprecated Nov 13 05:42:41 nvm. rtfm had the answer. dtc -I fs -O dtb /proc/device-tree tree.dtb Nov 13 05:53:47 <_av500_> yeah mainlne has no capemgr for now Nov 13 05:54:12 <_av500_> but unless you swap capes at runtime, you can do most with static DT files Nov 13 06:10:20 why debian is more often used in BBB than ubuntu ?? Nov 13 06:11:30 geekswine: maybe because nowadays it ships with debian? Nov 13 06:13:08 ohh...i am using ubuntu 12.04...and since ubuntu is made on debian, then the commands would be same in both right ?? Nov 13 06:14:21 geekswine: they are often quite similar, yes. note: "often" and "quite similar" does explicitly *not* mean "always" and "the exact same" Nov 13 06:18:48 thanx...:) Nov 13 09:26:19 it seems the tbtft driver has support for that controller.anybody here with experience with som LCD on BBB Nov 13 10:09:05 Hi. it aseems some of my messages got dropped so I repost them: Nov 13 10:09:19 they have not been dropped Nov 13 10:09:22 I recently bought a small 2.4 inch LCD with touch for my BBB (it's still on the way) and now I'm wondering if it will work. Hopefully it does. Nov 13 10:09:23 [10:24] the LCD is this: http://www.mcufriend.com/products.htm 2.4 inch LCD and seems to have an ILI9325 controller Nov 13 10:09:24 [10:24] or an ST7881 controller, I don't know exactly. Nov 13 10:09:26 [10:25] will this work with BBB as primary display using a kernel driver like this one: https://github.com/notro/fbtft/wiki/LCD-Modules Nov 13 10:09:34 it seems the tbtft driver has support for that controller.anybody here with experience with som LCD on BBB Nov 13 10:09:45 <---- sorry for that reposting Nov 13 10:10:29 oh, sorry, did not see them in the irc log Nov 13 10:10:31 there are other SPI displays that have been used Nov 13 10:11:49 * tbr finds it hard to understand that page Nov 13 10:11:51 I have no experience with kernel coding, but is the fbtft library the correct thing ? Nov 13 10:11:57 which display is it? Nov 13 10:12:10 the 2.4 inch "aeduino" one Nov 13 10:12:32 here is also an ebay link to the product: http://www.ebay.de/itm/181301538275?clk_rvr_id=729536313960 Nov 13 10:13:41 hmm that's not SPI Nov 13 10:14:36 I'd like the display as a small button and LED replacement for my little home automation project Nov 13 10:14:59 the price is very interesting so I decided to give it a try Nov 13 10:16:30 hmm it says spi Nov 13 10:17:00 i thought it will use many gpios Nov 13 10:17:42 did you find out if it is an ST7781 or an IL9325 controller? Nov 13 10:17:59 * tbr has no clue, you have the hardware in hand Nov 13 10:18:17 no, not yes it's on the way... Nov 13 10:19:18 i thought i could perpare my kernel before it arrives and then plug in an go! Nov 13 10:25:23 there is a howto for FBTFT @ BBB here, hopefully this is not so complicated: https://github.com/notro/fbtft/wiki/BeagleBone-Black Nov 13 10:25:41 I hope that "my" LCD is on the list of supportet LCDs : https://github.com/notro/fbtft/wiki/LCD-Modules Nov 13 10:26:00 tbr, what do you think? Nov 13 10:26:23 I think it will be a good learning opportunity for you Nov 13 10:26:37 yea, I think so. Nov 13 10:47:43 i just got one running, it's a pretty cool library, seems solid. Nov 13 10:48:00 (not on a BBB, though, but that's coming soon) Nov 13 10:48:49 note that at least on OTHER (ahem) platforms, some displays can't handle the 16mhz SPI speed. Nov 13 10:50:01 so if it doesn't work, pull back the SPI speed. eager to try it on a BBB soon Nov 13 10:50:37 thanks for the info Nov 13 10:50:56 can't wait to hold it in my hands Nov 13 10:51:53 also don't forget to pinmux properly Nov 13 10:52:01 also his little fbtft_device.ko module is very cool. i kind of wish the kernel had gone with something like that instead of device tree Nov 13 10:52:27 i.e. dynamically reconfiguring, interactively, instead of having to compile dtb's and reboot Nov 13 10:53:56 yes Nov 13 11:09:37 <_av500_> what? Nov 13 11:09:44 <_av500_> what magic does this module do? Nov 13 11:32:46 Is it now possible to boot BBB from a btrfs partition? Nov 13 11:33:09 I saw that the kernel already allows it as well asuboot Nov 13 11:33:19 as uBoot Nov 13 11:37:11 well, if uboot can do it, then the bbb can do it as well Nov 13 11:37:25 of course, under the condition that you are using uboot on the bbb Nov 13 11:38:07 _av500_: discoverable busses magic Nov 13 12:36:11 hi Nov 13 12:37:37 can someone tell me why powering off the boatd by unplugging the power supply can damage the bbb? Nov 13 12:38:09 <_av500_> mostly it can damage the SD card Nov 13 12:38:19 <_av500_> or emmsc Nov 13 12:38:32 this is what is written in a small sheet that comes with the board Nov 13 12:39:02 is damage permanent of is there a recovery? Nov 13 12:39:18 <_av500_> mostly there is no damage Nov 13 12:40:32 is a physical damage or only a software damage that can be recovered? Nov 13 12:42:09 <_av500_> depedns on what damage Nov 13 12:42:29 <_av500_> but then, the board does not cost a fortune Nov 13 12:42:39 <_av500_> and such issues are ratrre Nov 13 12:42:47 <_av500_> and I always unplug it Nov 13 12:42:54 <_av500_> and many others do too Nov 13 12:48:51 ok Nov 13 12:50:17 <_av500_> dont worry, be happy Nov 13 12:50:39 ☺ Nov 13 15:11:24 hello Nov 13 15:11:57 merhaba Nov 13 15:22:07 I'd like to know if someone have an idea if there is a chance to fix a beaglebone black if one GPIO got 5V? Nov 13 15:23:02 depends, what is still working? Nov 13 15:23:05 I have already ordered a replacement, just wonder if there is a way to repair the damaged one. Now it does not start up, just the power led flashes up Nov 13 15:23:22 then you have most likely fried the cpu Nov 13 15:23:26 i think the cpu is permanently damage following specifications Nov 13 15:23:27 I think so :) Nov 13 15:23:30 then probably the PMIC fried or even the CPU Nov 13 15:24:23 so its more economical to use the replacement and forget the fried Nov 13 15:24:36 yes Nov 13 15:24:40 yes Nov 13 15:24:42 OK, thx :) Nov 13 15:24:42 unless your time is cheap Nov 13 15:24:52 well. being from turkey, your time is cheap ;) Nov 13 15:25:08 Im here just until tomorrow :) Nov 13 15:25:14 get a replacement SoC and use the toaster oven ;) Nov 13 15:26:52 anyone had experiment with driving DC motors? I would like to use it in a paper feeder unit for an industrial printer. The motors are 36V 3A, already ordered the driving board, just wanna know if the beaglebone can handle good precision on motors. we need to move the paper with 1mm accuracy, and the paper rolls are about 20kg Nov 13 15:27:13 Zsolt--_: brushless or brushed dc motor? Nov 13 15:27:39 I need to drive 3 motors together, and all the motors are doing different things based on photocell signals Nov 13 15:27:44 rushed Nov 13 15:27:46 brushed Nov 13 15:27:47 Zsolt--_: and 36V 3A is some heavy shit for a motor... at least in terms of the usuall BBB crows Nov 13 15:27:50 crowd Nov 13 15:28:02 yea, thats why Im asking Nov 13 15:28:10 well, you will need to build a board to drive the motor Nov 13 15:28:37 switching 3A with a heavy inductive load is easy, but has to be done correctly Nov 13 15:28:45 http://www.pololu.com/product/756 Nov 13 15:28:49 got this board Nov 13 15:29:14 hmm.. Nov 13 15:29:35 cool it anyways Nov 13 15:30:03 unfortunately, the guys who designed this forgot to add space for some cooler Nov 13 15:30:28 well its designed up to 9A without heatsink Nov 13 15:30:32 yes Nov 13 15:30:38 and I need around 3, max 3.5A Nov 13 15:30:56 but in any case I can build a fan around it Nov 13 15:31:02 but running at 9A full speed (ie no switching) produces less heat then running at 1A switching constantly with 1kHz Nov 13 15:31:16 other than tat Nov 13 15:31:31 also add some free-wheel diode on the motor directly Nov 13 15:31:37 keep cables to the motor short Nov 13 15:31:46 add a snubber Nov 13 15:32:33 any suggestions how to find the good flyback diode? I have no idea on this, but I know that playing with inductive loads can be dangerous Nov 13 15:32:46 if you have the kit w/o the components soldered, bend the big capacitor on to a bit back (onto the long IC) and glue some heatsinks onto the FETs Nov 13 15:33:42 get a shottky diode that is rated for at least 15A continous current and at least 50V reverse voltage Nov 13 15:33:57 the exact values are not so important, it just has to be there Nov 13 15:34:10 OK Nov 13 15:34:15 for additional EMC add a snubber over the diode Nov 13 15:34:29 do you think that the 1mm accuracy with the 3 motors together can be achieved? Nov 13 15:34:32 also, put the diode (+snubber) as close to the motor as possible Nov 13 15:34:34 with Beaglebone? Nov 13 15:34:54 depends on the system Nov 13 15:35:00 how you measure accuracy Nov 13 15:35:03 er.. Nov 13 15:35:06 how you measure position Nov 13 15:35:13 the speed of the media is max 12''/sec Nov 13 15:35:14 how well you can control the motor Nov 13 15:35:14 etc Nov 13 15:35:19 argh.. Nov 13 15:35:33 we are not 'muricans, we dont use imperial units Nov 13 15:35:33 lateron will be 18''/sec Nov 13 15:35:43 30cm/sec Nov 13 15:35:58 18m/minute :D Nov 13 15:36:25 that's a swtiching accuracy of 3ms... should be duable Nov 13 15:36:40 it depends on the PWM, no? Nov 13 15:36:46 you need to do a few tricks with linux to get that, but should be possible Nov 13 15:37:17 do you mean 1mm/s speed difference or 1mm position difference? Nov 13 15:37:23 position Nov 13 15:37:30 then pwm wont help Nov 13 15:37:55 wait, i got it wrong Nov 13 15:38:08 pwm is for controlling the duty cycle of a pulse train, not to control a single pulse Nov 13 15:38:09 so the speed is very important, so it needs to be in the +-1mm range Nov 13 15:38:36 and also the final product (paper sheet) has to be in this +-1mm range Nov 13 15:38:37 if it's 1mm/s speed difference, then pwm should do it, and should be easy Nov 13 15:38:50 so I guess its speed and position as well Nov 13 15:39:12 I will use an encoder on the motors Nov 13 15:39:26 have a look at PRU, with that you can do both, controlling PWM and duration of the on time Nov 13 15:39:54 whats the max frequency that the gpio can handle? Nov 13 15:40:49 the fastest you can get is with the PRU and that's 200MHz, if i'm not mistaken Nov 13 15:41:00 or was it 100MHz? Nov 13 15:41:02 something like that Nov 13 15:41:09 OK, I have a look on the PRU, dont know whats taht Nov 13 15:41:10 ie more than enough for your application Nov 13 15:41:18 well, I need a couple of KHz, not more Nov 13 15:42:01 keep the PWM freq as low as you can get away with, that will minimize loses over teh FETs Nov 13 15:42:07 but enough consulting... Nov 13 15:42:14 that makes 3 boxes of bonibon, please Nov 13 15:42:44 :D Nov 13 15:42:47 where are you? Nov 13 15:42:52 switzerland Nov 13 15:42:57 REALLY??? Nov 13 15:43:00 yes Nov 13 15:43:07 havent had any bonibon since japan Nov 13 15:43:19 I will hop over Nov 13 15:43:23 Im from Milano Nov 13 15:43:29 ah! cool Nov 13 15:43:47 i'm sitting in zürich Nov 13 15:44:04 cool place :D I've been there couple of times :D Nov 13 15:44:21 "cool" is the right word, at the moment ^^' Nov 13 15:44:31 ahahahhaa Nov 13 15:44:56 are you usually online here? Nov 13 15:45:30 usually, yes Nov 13 15:45:50 then maybe I arrange some bonibon for consultancy :D Nov 13 15:47:21 I gtg now, thanks for the answers so far Nov 13 15:47:29 bye ppl Nov 13 15:47:35 np Nov 13 15:47:39 have nice evening Nov 13 15:47:45 and dont forget to buy bonibons Nov 13 15:47:49 same for you Nov 13 15:47:54 is it available in Istanbul? Nov 13 15:47:57 yes Nov 13 15:48:00 OK Nov 13 15:48:02 it's turkish afterall Nov 13 15:48:06 it's from ülker Nov 13 15:54:47 bonibon? ah, smarties Nov 13 18:01:30 Hi. Nov 13 18:03:24 Where i can get default image from BBB rev c, or just all from /var/www? Nov 13 18:03:45 After updating to last image i have only apache welcome page Nov 13 18:03:48 Thanks. Nov 13 18:06:28 well, what's in sites-available/ ? Nov 13 18:06:34 assuming that image runs apache Nov 13 18:07:36 Going to check Nov 13 18:08:26 That is not problem idwer Nov 13 18:08:56 Only default is enabled Nov 13 18:09:04 I want this: http://beagleboard.org/static/images/bone101.png Nov 13 18:11:15 afaik you can run the xz'ed image in qemu Nov 13 18:15:58 Sure, but i don't have default image Nov 13 18:35:16 Anybody with BBB rev c backup of pre-installed image? Nov 13 18:36:04 http://beagleboard.org/latest-images Nov 13 18:36:06 are you looking for these? http://beagleboard.org/latest-images Nov 13 18:37:34 is there a guide to recreate those images (using stock debian) when you have a usable bbb? Nov 13 18:38:05 as in: roll a headless image, without cloud9 Nov 13 18:40:49 Nop, that is "new" images, i need eMMC default image Nov 13 19:36:39 ZEROF: the 2014-05-14 image is the one shipped on the eMMC on BeagleBone Black REV C last i heard. Nov 13 19:39:58 Strange, because when i open 192.168.7.2 i have only apache welcome page. Nov 13 19:41:01 And nothing like this: http://beagleboard.org/static/images/bone101.png Nov 13 19:41:29 Because of that i was asking if somebody keep default emmc image copy. Nov 13 19:41:45 did you use the flasher, or the SD card image? Nov 13 19:42:15 I flashed emmc with new image Nov 13 19:42:20 I don't use SD Nov 13 19:44:17 All was done from Linux terminal and all working, just i don't have web interface Nov 13 19:44:58 you flashed without using the SD? Nov 13 19:45:01 Can you check your /var/www and say me if you can grab it and upload Nov 13 19:45:56 vagrantc: Use logic :). Yes i did use for flashing, but i don't use it as primary partition Nov 13 19:46:00 etc Nov 13 19:47:37 ZEROF: i have long learned that one of the most logical things to do is not make assumptions about what people actually mean when it is not abundantly clear. Nov 13 19:48:39 where did you get the "new image" that you flashed? Nov 13 19:49:20 From http://beagleboard.org/latest-images Nov 13 19:49:39 vagrantc: Sorry if i sound rude, it was not my intention Nov 13 19:50:33 are you sure 192.168.7.2 is the ip address of the bbb? Nov 13 19:51:05 But as i'm not what you call n00b i just explained with few more words, and i don't see how you can actually flash without sd card, because of that your question was not logic to me Nov 13 19:51:36 methuzla: Yes, interface usb0 Nov 13 19:53:13 it's a bit more complicated but it's certainly possible to flash without sd card Nov 13 19:54:37 adj for now i used only that way, but sure, board have usb ports, i guess it can be done Nov 13 19:55:33 so you're connecting via USB to host PC? Nov 13 19:56:08 Yes, and over network as well from second pc Nov 13 19:57:01 try connecting via the ip address for the network interface Nov 13 19:57:52 That one use nginx to host TORdir page Nov 13 19:58:46 Real domain name point to it Nov 13 19:59:29 ZEROF: https://github.com/ungureanuvladvictor/BBBlfs Nov 13 19:59:35 you used this for flashing ? Nov 13 19:59:49 I think that only problem is missing files from /var/www Nov 13 20:00:23 default image has nothing in /var/www Nov 13 20:00:42 vvu, nop i did old way, from terminal line by line :) Nov 13 20:00:59 I didn't know about your link Nov 13 20:01:46 methuzla: Files need to be placed Nov 13 20:02:09 I didn't check where, but i was guessing inside web server directory Nov 13 20:02:12 My bad Nov 13 20:07:08 Just one last question, like that we can be sure. You get "BeagleBone Black (eMMC flasher)" from beagle site, you flash your emmc and you connect to default page on 192.168.7.2 without issue? Nov 13 20:07:58 If that is true i will format my SD cart and try again, i'm not lazy, maybe i messed something up Nov 13 20:08:10 pretty much, but not through the USB interface Nov 13 20:08:32 the beagle101 page is not served up by apache or anything in /var/www Nov 13 20:08:53 It was 4-5 months before when i installed this board Nov 13 20:09:24 it's nodejs Nov 13 20:09:25 ok, anyway i use SD for flashing Nov 13 20:09:49 latest image sets apache to listen to port 8080 Nov 13 20:10:07 I will find that lady page Nov 13 20:10:34 I set nginx to turn on that port Nov 13 20:11:23 nginx-light use only few MB of sys RAM Nov 13 20:12:18 My config is TORnode/nginx/server monitoring Nov 13 20:13:48 nginx is not apache.... Nov 13 20:14:31 can someone help me with crontab? I cant get the program that I want to start on reboot Nov 13 20:14:57 thurgood: And that is good Nov 13 20:15:57 terrapinflyer: cron isn't really used to run something at boot, it's for running things on a regular schedule Nov 13 20:16:27 where should i be then for something at boot? Nov 13 20:16:39 What you want to run, some services? Nov 13 20:16:39 i had been using the @reboot tag Nov 13 20:16:51 program cgminer Nov 13 20:17:25 @reboot /path/to/script Nov 13 20:17:27 ? Nov 13 20:17:38 in the background preferably in a tmux window Nov 13 20:18:07 yea some reason that does not do it Nov 13 20:18:19 That is problem actually, i have same issue with screen and sudo user Nov 13 20:19:03 yea screen would not work so i been using tmux i aslo tried & at the end to run in bg Nov 13 20:19:35 That is cool to know, tmux will work with sudo? Nov 13 20:19:55 let's say tmux 'sudo -u someuser app'? Nov 13 20:20:11 ill try that Nov 13 20:21:00 YepWith screen you need to kill script to run that command, and sometimes just kick you from shell :) Nov 13 20:21:53 But, you even better is you write init script Nov 13 20:23:07 a python script to start tmux and the program as a service at start up? Nov 13 20:25:18 k i have some stuff to try now thanks! Nov 13 20:25:43 also read about using /etc/rc.local instead of cron Nov 13 20:27:46 Yep, methuzla solution + what we siad = plus search net a lot og startup tmux script around Nov 13 20:28:07 Now i can grab my coffe :) Nov 13 20:41:09 are the beagleboneblack fron Logic supple an ok purchase Nov 13 20:41:18 supply Nov 13 20:41:27 mauiboy: yeah Nov 13 20:41:47 if you have a Micro Center near you, however, you might be able to pick up a board for $39. Nov 13 20:44:12 well i just purchased one from Logic. just found out they are made in asia and Digi Key boards are made in Texas... but I am sure the results are the same Nov 13 20:44:29 BeagleBone Black rev C - Element14 Commercial Edition -- this is what I ordered Nov 13 20:45:23 all new to me going to use it with HAM radio Allstar Nov 13 20:45:31 Correct. we've tested to make sure they are compatible. We have had some serial number issues, but nothing too significant. jury is still out on how well the quality compares. Nov 13 20:45:48 but, most people don't have any problem with the Element14 board built out of China. Nov 13 20:46:08 ok thanks for the info --- just need to hope for the best Nov 13 22:55:11 is it possible to force usb 1.1 mode ont he host port? Nov 13 22:55:17 *on the Nov 14 00:01:32 hi guys! :) Nov 14 00:03:36 does anyone knows if i can use some gpio on my board to have more serial ports? :) Nov 14 00:11:04 no **** BEGIN LOGGING AT Fri Nov 14 01:14:24 2014 Nov 14 02:06:33 hello **** ENDING LOGGING AT Fri Nov 14 03:00:00 2014