**** BEGIN LOGGING AT Wed Feb 25 02:59:58 2015 Feb 25 05:49:22 Hi I tried booting the u-boot from SD card on Beable bone black by following the instructions given in https://eewiki.net/display/linuxonarm/BeagleBone+Black Feb 25 05:49:44 I used USB cable for serial communication Feb 25 05:50:13 This weblink shows that /dev/ttyO0 will be used for serial communication Feb 25 05:50:49 but I didn't see that /dev/ttyO0 device on my host machine and couldn't see any logs in the minicom Feb 25 05:50:57 did any one faced this issue..? Feb 25 05:51:59 but when I boot from eMMC with the preloaded image in it.. I'm able to see the logs over minicom using ttyACM0 Feb 25 05:53:02 how to configure the minicom to check the boot logs of u-boot Feb 25 05:53:15 any help would be appriciated.. Feb 25 06:08:37 LK: a plain USB cable won't work Feb 25 06:09:06 Thanks tbr Feb 25 06:09:10 LK: you need to attach to the debug UART port, this needs something like an "FTDI cable" Feb 25 06:09:31 you mean to say that the mainline u-boot dont have USB support in it ? Feb 25 06:09:33 though any usb-serial cable that supports 3.3V reference level will do Feb 25 06:10:19 yes, the canonical way to interact with uboot is over a plain UART port Feb 25 06:11:02 ok Feb 25 06:11:32 is that the reason that I cannot see the u-boot prompt when I boot from eMMC.. ? Feb 25 06:11:52 correct Feb 25 06:12:17 from eMMC board boots up and directly shows the login prompt to the file system Feb 25 06:12:44 ok I got it.. will try with FTDI cable Feb 25 06:12:47 you are speaking about ttyACM0 or such? Feb 25 06:12:50 oyes Feb 25 06:12:53 yes^ Feb 25 06:13:14 that's over plain USB. Mainline U-Boot doesn't support that. Feb 25 06:13:23 ok Feb 25 06:15:37 get a usb-to-serial cable that supports 3.3V Feb 25 06:15:42 they are cheap Feb 25 06:55:59 hey good morning all of you Feb 25 06:56:37 I am working on my json model but got some problem Feb 25 06:57:54 http://jsfiddle.net/3d6fbLbe/2/ Feb 25 06:58:17 this is my fiddle Feb 25 06:58:34 on css tab there is desired json that i want Feb 25 07:03:35 hey any one listen Feb 25 07:03:40 so plz reply Feb 25 07:16:26 reply plz Feb 25 07:29:48 negi: wrong channel? Feb 25 07:30:08 So that's channel not for js Feb 25 07:30:18 Humpelstilzchen Feb 25 07:30:34 negi: what do you think this channel is for? Feb 25 07:30:49 Node.js Feb 25 07:31:09 negi: what makes you believe that? Feb 25 07:31:36 direct bonescript/node.js questions to #beagle-bonescript | books: http://bit.ly/bbb-books Feb 25 07:31:43 write on channel head Feb 25 07:32:51 and this channel is NOT #beagle-bonescript, this is #beagle Feb 25 07:33:01 negi: first this is #beagle, not #beagle-bonescript, next try #node.js Feb 25 07:33:30 Humpelstilzchen sorry dude Feb 25 11:20:35 I have configured MLO to display a image.h image and u-boot.img to display a bitmap image in uboot. Feb 25 11:20:35 When the kernel starts it clears the screen. I would like to have the splashscreen persist until something else writes to the screen. Where i can modify in Linux kernel to do this? Feb 25 11:56:34 embed: somewhere in the framebuffer driver Feb 25 11:57:10 but its not only the clearing, you also have to either use the same memory addresss for the framebuffer in uboot and linux Feb 25 11:57:29 or you need to setup an identical splash screen in linux before you switch addresses Feb 25 11:58:37 alternatively, think about just making linux boot really fast be e.g. removing timeouts in uboot Feb 25 11:59:32 there used to be a setting in the omap3 framebuffer driver to not clear the screen, but I forgot how it was named Feb 25 12:06:16 CONFIG_FB_OMAP_BOOTLOADER_INIT Feb 25 12:17:04 jo Feb 25 12:17:09 oj Feb 25 12:20:50 ojo Feb 25 12:23:08 joj Feb 25 12:29:45 ojj Feb 25 12:30:57 vey Feb 25 13:20:13 Hi Feb 25 13:20:34 I need support Feb 25 13:20:44 I need a steak sandwich Feb 25 13:20:50 can we swap? Feb 25 13:21:12 I need chocolate Feb 25 13:21:12 but it might help if you asked the support question or what you need help with Feb 25 13:21:34 av500 : Am working on 3.8.13, i couldn't find CONFIG_FB_OMAP_BOOTLOADER_INIT. And how can i find the memory address ? Feb 25 13:22:19 grep harder Feb 25 13:22:41 embed: it might have been removed Feb 25 13:22:53 I didnt say you can use that "as-is" Feb 25 13:22:59 but it can give you ideas Feb 25 13:23:09 arch/arm/configs/omap1_defconfig:171:CONFIG_FB_OMAP_BOOTLOADER_INIT=y Feb 25 13:23:16 there, it still exists in one place :) Feb 25 13:23:58 even in 4.0.0.0.0.0 Feb 25 13:25:09 av500: Thank you. Feb 25 13:26:43 av500 : How can i check the frame buffer memory addr Feb 25 13:26:56 how much better is 4.0.0.0.0.0 than 3.8.13? Feb 25 13:26:57 well, the framebuffer driver has to set it Feb 25 13:27:03 both in uboot and the kernel Feb 25 13:27:15 you framebuffer has to be somewhere, no? Feb 25 13:27:18 your* Feb 25 13:30:14 yes, I dont have much idea about the addr information Feb 25 13:30:31 the driver source code will tell you Feb 25 13:30:36 both in uboot and the kernel Feb 25 13:31:31 * av500 is off for a steak sandwich Feb 25 13:31:35 okay, I will surf the code. Feb 25 13:35:03 morning all Feb 25 13:37:30 hi catslab Feb 25 13:46:26 youhou again elf.h trouble ! Feb 25 14:04:33 Catslab lucky Feb 25 14:05:49 yep lucky me ! Feb 25 14:06:02 trying to compile ti 3.14 kernel on osx :) Feb 25 14:06:14 and Darwin is not linux :) Feb 25 14:09:35 oh still that task Feb 25 14:10:04 yep, but I was compiling the other 3.14 from bb-kernle repo Feb 25 14:10:35 which went fine Feb 25 14:15:31 and now? Feb 25 14:55:01 now looks like with patching a few files, this should be good Feb 25 14:56:20 ahahaha still that app armor trouble Feb 25 14:56:28 Catslab, that branch is a lot nicer huh? ;) Feb 25 14:56:53 rcn-ee: nicer ? harder maybe :) Feb 25 14:58:00 if I do a build_kernel.sh looks like everything goes fine, but a rebuild ends out in error with apparmor Feb 25 14:58:50 it's almost like osx hates apparmor.. Feb 25 14:58:56 yep Feb 25 14:59:16 well it seems to be when generating capability_names.h Feb 25 14:59:18 disable it! ;) Feb 25 14:59:38 that's what I just did, who needs it anyway ? :) Feb 25 15:00:17 i think only ubuntu/suse by default.. Feb 25 15:02:12 maybe, not that into linux security Feb 25 15:02:53 not that... Feb 25 15:02:58 missing some words Feb 25 15:02:59 lol Feb 25 15:04:55 finally my cape is working, damn adc's and 4d lcd cape, they did not linked all pins and the adcs are wroking in 5V but inputs are not able to deal with 3.3V levels Feb 25 15:05:26 So I'll be able to try it on 3.14 kernel Feb 25 15:05:59 rcn-ee: on ti 3.14, is there the cape manager ? Feb 25 15:06:55 nope... just the specific device-cape.dtb defines or the dtb-rebuilder... Feb 25 15:07:11 ok Feb 25 15:08:45 it's being worked on mainline, more was proposed for 4.1 Feb 25 15:09:36 I don't need it anyway, I was just wondering if I'll have to rewrite dtb for the cape or not :) Feb 25 15:10:09 well i have much of the 4d cape workign in v3.14.x-ti. ;) Feb 25 15:10:26 btw someone knows where I can buy headers for the capes ? I mean male/female ones 46 pins Feb 25 15:13:04 rcn-ee: Is there a USB DMA issue with the latest kernels? Feb 25 15:13:25 Catslab, we got these from CircuitCo: http://www.digikey.com/product-detail/en/235-0002221/235-0002221-ND/4696367 Feb 25 15:13:37 the picture doesn't show how long they really are.. Feb 25 15:13:52 Abhishek_, there will always be dma issues. ;) Feb 25 15:14:15 I mean, those causing 100% cpu issues when sending stuff over USB Feb 25 15:14:59 rcn-ee: thanks, I would have never find those, got to put a bunch in the next order Feb 25 15:15:11 when dd'ing etc... i need to test that today... if disabling the usb dma fixes that i'll do it.. Feb 25 15:16:06 but why does one get 100% CPU with DMA? I mean, that's the whole point of even having DMA Feb 25 15:16:06 Catslab, it was a struggle to even find them for us.. CircuitCo found one supplier in china, we pretty much have to order it from them.. Feb 25 15:17:49 it's design is that 'good' ;) Feb 25 15:23:31 I put a bunch in the cart :) Feb 25 15:24:47 For building my BeagleLogic cape I just got some "Arduino-shield" 40x1 style headers with long pins and had to cut them off to build mine Feb 25 15:26:06 Admitted that they are hard to find Feb 25 15:30:11 hai Feb 25 15:30:14 using the 4d lcd cape, I just used some standard male headers, because there are 2 slots on the cape, one for BBB, one for other capes, but they did not linked headers pin to pin.... as they use some pins Feb 25 15:30:32 and I need some of those disabled pins for the pru. Feb 25 15:30:36 hi satya Feb 25 15:30:47 hi catslab Feb 25 15:30:57 i have a small problem on BBB Feb 25 15:31:06 I have latest debian version installed on it Feb 25 15:31:59 i have loaded device tree for accessing dallas temperature 1 wire device Feb 25 15:32:19 but when tried to "cat w1_slave" Feb 25 15:32:27 it always shows me Feb 25 15:32:45 00 00 00 00 00 00 00 00 00 : crc=00 YES 00 00 00 00 00 00 00 00 00 t=0 Feb 25 15:33:26 have you a pullup resistor on your 1 wire pin ? Feb 25 15:35:28 or is it enabled ? Feb 25 15:37:29 yes catslab Feb 25 15:37:57 i have used a 4.9 K ohm resistance Feb 25 15:38:17 and i have also enabled the driver for 1 wire device **** BEGIN LOGGING AT Wed Feb 25 15:40:32 2015 Feb 25 15:40:36 needs only pull up resistor Feb 25 15:40:43 am i right Feb 25 15:40:45 yes Feb 25 15:41:27 you can check http://hipstercircuits.com/dallas-one-wire-temperature-reading-on-beaglebone-black-with-dto/ or http://interactingobjects.com/ds18b20-temperature-sensor-on-a-beaglebone-black-running-ubuntu/ Feb 25 15:42:17 got to go back in the lab to see if I can make something spark and burn :) Feb 25 15:42:19 yeahh Feb 25 15:42:27 i have to same links Feb 25 15:42:45 and taken the device tree code from the same links given above Feb 25 15:43:21 satya: check in you dmesg also Feb 25 15:43:26 and i have followed the steps given in those links.but always temperature reads zero Feb 25 15:43:32 wats dat Feb 25 15:43:33 and verify that the ds if ok Feb 25 15:43:43 can u pls helpme on how to check dmesg Feb 25 15:43:51 dmesg is a command Feb 25 15:44:04 type it on the bbb shell to see **** BEGIN LOGGING AT Wed Feb 25 15:46:16 2015 Feb 25 15:52:45 requesting a help.. plss Catslab Feb 25 16:03:14 Abhishek_, what's weird, it's "slow" on read, but the cpu is just hovering around 30-40%.... Feb 25 16:04:13 pastebin.com :) Feb 25 16:04:34 still waiting for the read to finish. ;) Feb 25 16:04:41 satya :- copy and paste there, drop here the link Feb 25 16:05:11 musb is crap, pick another micro :p lol Feb 25 16:06:37 not bad for writting: 4096000000 bytes (4.1 GB) copied, 196.938 s, 20.8 MB/s ;) Feb 25 16:07:56 I have posted a query in BEAGLE BONE BLACK Support group Feb 25 16:08:17 with subject as "problem with reading temperature from Dallas 1-wire devices." Feb 25 16:08:44 requesting for a help Feb 25 16:08:46 plssss Feb 25 16:13:22 rcn-ee : that's not too bad, I guess Feb 25 16:14:23 but read sucked.. i gave up after 5 minutes... according to iotop, it would read 125kb/s for a second, wait another 10 seconds, read again... Feb 25 16:14:41 do many people use usb for bulk transfer though? I thought it was more for pluggable bursty traffic Feb 25 16:14:52 hello Feb 25 16:15:04 well, i'm disabling dma lets see if we can get that more normalish.. Feb 25 16:15:04 rcn-ee .. wonder where the bottleneck is Feb 25 16:16:23 my beaglebone black is having problems (or windows 8.1), I instal most recent drivers for SSH/serial connection over USB but I fail to connect to the board in any way (it worked fine about 6 months ago) Feb 25 16:17:00 * veremit hands you an RJ45 cable Feb 25 16:17:43 tried RJ45 Feb 25 16:17:47 fails Feb 25 16:18:55 qsmdlfihj : do the lights on your board flash periodically? Feb 25 16:19:21 yup Feb 25 16:19:34 i'm not a noob, linux is booting according to lights Feb 25 16:19:35 rcn-ee : is there still a heartbeat pattern on led(3?) ? Feb 25 16:19:43 it also appears as a memory Feb 25 16:19:49 hai Feb 25 16:20:04 qsmdlfihj : so you're seeing the usb gadget interface .. just ssh seems down? Feb 25 16:20:09 i am unable to read temperature from DALLA DS18B20 Feb 25 16:20:22 well Feb 25 16:20:26 it always gives zero temperature reading Feb 25 16:20:40 i have loaded all the drivers properly. can any on help plss Feb 25 16:20:57 satya .. have you identified any devices on the bus yet, did you put your pull-up resister on the D-leg .. is your temperature sensor connected correctly .. Feb 25 16:21:04 i see the CDC serial device and the RNDIS, but windows keeps saying i have no drivers Feb 25 16:21:13 but i do Feb 25 16:21:18 the install is succesfull Feb 25 16:21:20 yeah my temp sensor is correct;ly connected Feb 25 16:21:35 qsmdlfihj .. windows is probably hiding something Feb 25 16:21:42 pfft Feb 25 16:21:50 i have used the same temperature connection to read temperature in Aurdino UNO board Feb 25 16:21:54 where i have succeeded. Feb 25 16:22:13 but when aurdino is replaced with BBB. its a failur Feb 25 16:22:31 00 00 00 00 00 00 00 00 00 : crc=00 YES 00 00 00 00 00 00 00 00 00 t=0 Feb 25 16:22:59 this is how i got the output on trying to read temperature Feb 25 16:24:39 "The system cannot find the file specified." this is the driver error I keep getting Feb 25 16:24:51 but yeah perheps windows forum then Feb 25 16:28:08 I'm no expert on either the usb gadget itnerface or windows drivers .. alas. Feb 25 16:31:49 Hii...I am new to it and i am interested in this project for GSOC "2.2: Library of Arduino-compatible functions for StarterWare" as earlier i have experience in programming with ATMEGA16 and Arduino.. Feb 25 16:31:58 so is there anyone or mentor with whom I can contact so that i can ask more and what do they expext from this project ? Feb 25 16:32:09 *expect Feb 25 16:35:23 Guest64450, Jason Kridner is the mentor listed, he isn't online at the moment (jkrinder) send a question to: https://groups.google.com/forum/#!forum/beagleboard-gsoc Feb 25 16:38:15 rcn-ee: i tried to contact him and after waiting 3-4 days I even sent a mail to him..but no reply since 2 weeks :( Feb 25 16:40:17 so is there any other way ?? as im very interested in it and want to explore more which will be helpful to me and for the org.. Feb 25 16:41:17 hi Feb 25 16:41:39 i have loaded device tree for 1-wire DALLAS TEMPERATURE devices Feb 25 16:42:03 and connected DS18B20 to BBB with a 4.9k ohm resistor Feb 25 16:42:26 but i could not find any device in /sys/bus/w1/devices Feb 25 16:42:42 waiting for a help ASAP Feb 25 16:46:00 hello all Feb 25 16:46:08 newbie here Feb 25 16:46:22 need to install php and apache2 on BBB Feb 25 16:46:24 please help Feb 25 16:46:37 apt-get install Feb 25 16:46:37 apt-get install php apache ? Feb 25 16:46:43 veremit +1 Feb 25 16:47:07 actaully my BBB is not connected to internet Feb 25 16:47:14 i need to install manually Feb 25 16:47:18 well thats going to be much harder :p Feb 25 16:47:20 * ogra_ wonders if anyone noticed that you dont need the -get anymore in modern apt :) Feb 25 16:47:39 is apache2 already installed in BBB Feb 25 16:47:54 dpkg -l | grep apache Feb 25 16:48:32 actually my aim to make BBB as a webserver Feb 25 16:48:44 connect it to the internet and have more fun Feb 25 16:48:51 do i need to install php & apache Feb 25 16:48:59 *sigh* Feb 25 16:49:34 hm maybe you need a lesson in linux(debian) system administration Feb 25 16:49:52 we do not can cover this here at lang Feb 25 16:49:59 or better at all Feb 25 16:51:18 ciao Feb 25 16:51:24 heading home Feb 25 16:54:54 arun__ ..look up "linux apache mysql php" online . its a common web server setup Feb 25 16:55:13 I'd say it was a bit heavyweight for a beagle .. but its possible. Feb 25 16:55:33 would probaly run better on a pi2 *cough* eww. Feb 25 16:55:38 * ogra_ would ass a "debian" to that search :) Feb 25 16:55:41 *add Feb 25 17:02:22 veremit, pretty sure his testing mythalgogy is invalid, i'm getting 2x.xx M/s write, 1x.xx M/s read.. . vs his 125 K/s read.. Feb 25 17:03:19 so the bigger question, what does dd do if you dont' specify an exit (of=/dev/null).. "dd if=file.txt bs=4k" vs "dd if=file.txt of=/dev/null bs=4k" ... is there a slow path? Feb 25 17:14:26 uh? no nice message when tools/rebuild.sh is done ? :) Feb 25 17:16:48 grrr still raid6 wanting to compile even if it's deselected in the kernel config Feb 25 17:38:57 weird Feb 25 18:01:31 Gents, trying to create a usb0:0 subinterface but I get the following error: Cannot find device "usb0:0" Feb 25 18:01:35 Paste coming Feb 25 18:02:42 http://pastebin.com/9pM9zZbC Feb 25 18:10:16 Mustek: why just not an ip alias ? Feb 25 18:10:57 Weird thing is that my /etc/network/interfaces contains different settings than those that ifconfig show Feb 25 18:11:41 Mustek, did you disable the usb0 setup in /opt/scripts/boot/am335x_evm.sh ? Feb 25 18:11:42 aren't IP aliases depracated? Feb 25 18:11:56 ifconfig can only show one IPv4 address as far as I am aware Feb 25 18:12:17 It's only ipv4 for now Feb 25 18:12:50 "ip addr" can possibly say more Feb 25 18:13:02 no, the weird thing is that ifconfig shows an eth0, /etc/networks/interfaces shows usb0 Feb 25 18:13:39 wicd sets up eth0.. (wicd can only handle one interface) Feb 25 18:14:04 ''ip addr' or 'ifconfig -a' Feb 25 18:14:34 wicd is *** Feb 25 18:14:49 ip addr also shows my loopback and eth0 Feb 25 18:14:51 lol use networkmanager or connman Feb 25 18:15:04 but remember we are talking about wicd... it was bettern then networkmanager/connman in "wheezy"... Feb 25 18:15:12 On Jessie Feb 25 18:15:21 for jessie... i have connman doing the dirty work. ;) Feb 25 18:15:24 rcn-ee, .. I seem to recall you built from source ;) Feb 25 18:15:34 or did I mis-read Feb 25 18:15:56 for jessie, it's a backport from sid. ;) Feb 25 18:15:57 net-man works in debian desktop .. for me anyway Feb 25 18:16:07 no desktop either, just cli Feb 25 18:16:07 wheezy* Feb 25 18:16:39 network-manager took too much space on 2GB eMMC and was hardlocking the board with modesetting... Feb 25 18:16:46 I'm starting to use it in gentoo .. but I had a niche use case issue with /usr on nfs without initramfs which I still have to conquer Feb 25 18:16:59 rcn-ee, ah, hardware issue ;) lol Feb 25 18:17:01 but fbdev became default so network-manager no longer hard locks the board in wheezy.. Feb 25 18:17:21 the funny thing, that bug... even hardlocks the jtag interface.. ti gave up debuggin it .;) Feb 25 18:17:34 shocking, but par for TI Feb 25 18:18:53 ok back to machine wiring .. wee!! Feb 25 18:19:50 Mustek, btw, even with those set in /etc/network/interfaces.. you might have to /etc/init.d/network restart after modprobing g_ether for usb0... Feb 25 18:24:14 rcn-ee: That... I have no idea what it does Feb 25 18:25:19 Oh, since usb0 is enabled after loading a module (g_ether/g_mulit/etc) late in boot, your "usb0" devices doesn't actually exist when networkign is first startup... Feb 25 18:25:39 so, after you load the module and enable usb0, restart networking, then you settings 'should' show up under ifconfig Feb 25 18:27:06 let's attempt that Feb 25 18:27:51 Nope, still doesn't show me an extra interface Feb 25 18:28:13 [ ok ] Restarting networking (via systemctl): networking.service. Feb 25 18:29:52 while baking a kernel, what about doing some GIS ? :P Feb 25 18:29:56 I hate that Feb 25 18:44:41 Seems like Connman takes over Feb 25 19:00:07 you might be better rebooting .. never made /networking restart work Feb 25 19:02:26 Just found that using ifconfig eth0:0 .... does work Feb 25 19:03:08 And also found this: http://pastebin.com/zrPw6f54 Feb 25 19:03:38 And http://pastebin.com/d8nVnQEB Feb 25 19:05:54 yeah I've used eth0:0 as per debian instructions online somewhere successfully before. Its not very 'iproute2' but it shows up in ifconfig easily. Feb 25 19:06:31 Should it work fine without a gateway ip? Feb 25 19:54:41 Hi, somebody on? Feb 25 19:54:53 Nope, no one is here.. Feb 25 19:55:57 lol Feb 25 19:56:06 now I see... xD Feb 25 20:00:00 rcn-ee: ti-3.14 is still bugging me with raid6 even unselected in the nconfig.... Feb 25 20:00:47 that file system, just doesn't like raid6 fileset.. Feb 25 22:00:59 damn awk on osx Feb 25 22:01:02 too picky Feb 25 22:01:27 raid6 error is because it's missing a space between the switches and argument ! Feb 25 22:01:52 we can always add some osx patches. ;) Feb 25 22:02:53 yep and ask apple to change xargs Feb 25 22:02:55 ;) Feb 25 22:14:52 lol Feb 25 22:17:35 it's evil ! Now stat ..... does not accept -c Feb 25 22:20:07 you need to enable "compatibility mode" .. what shell is it using? Feb 25 22:20:30 sh Feb 25 22:20:38 I'm using robert's scripts Feb 25 22:21:07 is there's a way to replace a command in a script like export stat='/usr/local/bin/gstat' ? Feb 25 22:21:21 is it actually sh or is it symlinked .. Feb 25 22:23:18 nope /bin/sh Feb 25 22:25:32 kudos for the debugging :) Feb 25 22:27:31 need to find that stat Feb 25 22:40:39 done, now install lzop Feb 25 22:40:40 lol Feb 25 22:41:41 Catslab .. you set an internal variable ie STAT=/usr/local/bin/gstat Feb 25 22:41:56 then when you have the command you use ${STAT} blah Feb 25 22:42:09 you can then use an 'if' to set conditional on OS etc Feb 25 22:42:27 its how Makefiles are often set up to be cross platform Feb 25 22:47:34 yes but not there..... Feb 25 22:47:52 anyway I'm done with ti-3.14 !!!! Yeepee :) Feb 25 22:48:07 heh Feb 25 22:48:22 rcn-ee: will have to post another article on that Feb 25 22:49:23 got to patch my cape again, I inverted the polarity of a realy solenoid, won't switch :P Feb 25 22:49:38 d'oh Feb 25 22:49:59 polarised relays are eveil too Feb 25 22:50:00 lol Feb 25 22:50:27 not that bad it's only for calibration Feb 25 22:50:35 there's only one way they work .. ever :p Feb 25 22:51:02 yes, but not every relay is polarized Feb 25 22:51:28 in my experience, they're only AC or DC Feb 25 22:51:55 and DC will only work right when the top terminal is positive with respect to the bottom one :D Feb 25 22:52:01 Some DC relays do not care about on wich pin you put the VCC Feb 25 22:52:03 AC .. not so much Feb 25 22:52:23 magnetically .. they'll only pull one 'useful' way Feb 25 22:53:18 solid-state is the same, in all the relays I've ever used Feb 25 22:53:23 I use omron G5 they don't care about polarity Feb 25 22:53:35 but the G6K serie yes... Feb 25 22:55:10 That said, I'm hungry so I'm off to home ! :) Feb 25 22:55:14 cya tomorrow Feb 25 23:00:19 Anyone familiar with the HDMI specifications here? I am trying to wrestle through some of the information it has and it's a bit convoluted. The particulars are the DDC protocol and the impedence matching for the differential signal lines. I am trying to make the TI Pico projector easier / simpler to use for more than just a beagleboard (I have 3 BBB's and several other machines that it would be good to use with). Feb 25 23:01:13 isn't it just an i2c bus gen2man? Feb 25 23:02:23 it is a 100K i2c bus, IIRC Feb 25 23:03:52 It uses access bus/ i2c has the base protocol but for some reason they use different methods of describing what they are doing than the i2c and access bus specs. I am use the the start stop ack nak (S P A N ) symbols. Also I don't know if they are using i2c addresses it seems a bti convoluted. Feb 25 23:04:59 have you checked the wiki article .. looks like its a straight read of a set address to me Feb 25 23:05:26 what I saw in the very brief foray I had, was just a handful of bytes of data stored in an eeprom Feb 25 23:05:33 so it should be easy to replicate Feb 25 23:05:40 Hmmm let me check it then. Maybe I missed something. So they are just using EDID? Feb 25 23:06:17 well .. assuming all you want to do is set a resolution, and you don't need the bidirectional capabilities ... Feb 25 23:07:43 Well initialally I will do the "simple" thing but I would like to get all the timing correct for the Pico Projector. It uses some non standard timing depending on the resolution (720x480 default I think) Feb 25 23:08:33 I am hoping to use something like an MSP430 for the EDID stuff as well as allow me to adjust the settings on the PICO much like a normal projector would be used. Feb 25 23:08:50 it is a eeprom on a different address Feb 25 23:10:30 Thanks ... I'll see if I can find some 'solid' process to do this stuff with. I know the original beagle had some tools but I forgt where I buried them and could not find the source. Feb 25 23:11:19 I think the HDMI driver probably does some jumbo .. you could sniff the packets and/or look in the kernel driver sources Feb 25 23:12:39 the HDMI driver is a PoS cuz there are no docs for it. Feb 25 23:12:57 as long as you define the resolution you should be able to force the driver to calculate timings .. unless they're weird too Feb 25 23:13:12 ds2 .. the framer chip on the beagle board? Feb 25 23:13:40 yes Feb 25 23:13:44 ok Feb 25 23:14:49 wait Feb 25 23:14:52 beagle BOARD? Feb 25 23:14:59 that one is fine Feb 25 23:15:10 plenty of docs on that one Feb 25 23:15:20 black .. yanno :p Feb 25 23:15:37 ie the BBB pcb :p Feb 25 23:17:34 BBC/BBX is fine. BBB has the bad chip Feb 25 23:29:00 can any bbb owner recommend me a suitable heatsink? can't seem to find it on google and I'm living in a really hot place Feb 25 23:30:01 <_av500_> there are glue on heatsinks for graphics cards Feb 25 23:31:44 those fit on the am335x? Feb 25 23:35:06 do you mind linking me to a product page i might be way too sleepy to find anything relevant :S Feb 25 23:40:52 Anybody run btrfs as root filesystem? Feb 25 23:52:01 http://www.digikey.com/product-search/en/fans-thermal-management/thermal-heat-sinks/1179752?stock=1 Feb 25 23:53:10 wow thx GenTooMan Feb 26 00:19:32 Digikey is just one of many distributors for heat sinks. I believe you'll find what you want under BGA however be sure you note clearances on the parts. Feb 26 00:21:40 hi guys -- is there a clean way to shrink down an image i have on an 8gb flash drive so i can flash it to the onboard flash? Feb 26 00:21:52 i'm worried a regular partition shrink may chop data (is that a valid worry?) Feb 26 00:23:31 You may want to see what data is on it and how much volume the data occupies first. Soemtimes it's simply impossible to keep ALL the data so you may have to remove what you don't want and or need. Feb 26 00:23:34 blaine .. using the 'du' utility .. you can find out where most of your data is. Feb 26 00:23:48 cool ty Feb 26 00:25:15 veremit: well let's say that i'm only taking up 1gb but it's, say, a 6gb partition Feb 26 00:25:24 i'm wondering how safe it is to simply dd over 4 of the 6 gb Feb 26 00:25:52 unmount it, plug it into another linux system, mount your new disk .. and rsync across Feb 26 00:26:17 hmm. not a bad idea, although i'd rather use dd (this is just the beaglebone) Feb 26 00:26:30 or just shrink it using parted/gparted Feb 26 00:26:31 i want to reflash this to other bones too Feb 26 00:26:39 veremit: ok -- think that's safe? Feb 26 00:26:48 I've done all sorts with gparted .. Feb 26 00:26:51 hehe Feb 26 00:26:57 ntfs/windows/linux the lot Feb 26 00:27:09 cloned an entire hard disk once/twice Feb 26 00:27:17 re-arranged partitions, resized Feb 26 00:27:26 veremit: ok how about this. if i have 8gb flash drive with a 2gb partition, but still need the boot sector of the sd card... how can i use dd to copy just the partition? most images i see are like 3.8gb, but i am not sure how to get that working Feb 26 00:27:41 takes a while for larger disks though .. but leave it running overnight (on ups ;) ] Feb 26 00:28:07 you can dd 'blocks' .. but I prefer to dd straight into the new system from a known file Feb 26 00:28:17 there are ways to script it Feb 26 00:28:38 eg. for beagle there are emmc-flasher scripts/images .. check how they do it Feb 26 00:28:53 from memory its just a shell script that does the grunt-work Feb 26 00:35:16 let me ask this way: i have an SD card set up exactly how i'd like it. how can i easily just flash this to the onboard EMMC? Feb 26 00:36:31 what i do on other systems is boot a linux kernel and initrd with a self-contained filesystem, such as busybox, then without mounting either SD card or eMMC one can use dd to do a block by block copy. Feb 26 00:37:05 but you have to make sure that what the firmware wants from the eMMC is also on your SD card. both can be considered as just arrays of blocks. Feb 26 00:38:02 and the device name for that array of blocks is usually something like /dev/mmcblk0 or /dev/mmcblk1 Feb 26 00:38:25 getting the order of arguments wrong is a truly useful learning exercise. Feb 26 00:38:46 heh Feb 26 00:39:06 Quozl`: so i'd just mount the BBB on my laptop and do a dd to mmcblk0 (for example) Feb 26 00:39:50 blaine: i don't know, sorry. because i don't know how that side of it works; mounting on laptop. but i presume not, because at that time there is a kernel running with the eMMC open. Feb 26 00:40:39 but you might also boot from USB or SD card, and do the copy then. Feb 26 00:41:23 true Feb 26 00:46:11 looks like robert nelson has a script for that: beaglebone-black-copy-microSD-to-eMMC.sh Feb 26 00:47:08 has anyone used it? https://github.com/RobertCNelson/tools/blob/master/scripts/beaglebone-black-copy-microSD-to-eMMC.sh Feb 26 00:50:38 or i guess this is more recommended: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#Flashing_eMMC Feb 26 00:55:33 so many ways to skin a cat. Feb 26 00:56:22 underlying them all is ... don't run the kernel from the media you are copying to, as that stops it happening, or if it doesn't breaks things subtly. Feb 26 01:01:33 blaine .. I've used RN's scripts .. they Just Work (normally) :) Feb 26 01:57:56 has anyone successfully flashed a custom image to the onboard emmc? i just tried the emmc flasher script in /opt/scripts/emmc but it threw a kernel panic Feb 26 02:14:43 is there a way to flash the emmc with the "boot" button? old docs say so, but i dont think that's the case Feb 26 02:14:56 or maybe i can just figure out how to get it to boot from sd card by default Feb 26 02:18:43 Don't you have to mess with the bootloader script? Feb 26 02:20:11 GenTooMan: /boot/uEnv.txt -- tried that, kernel panic'd Feb 26 02:20:58 blaine: sure, I've reflashed BBBs often enough, usually via USB (BBBlfs, though the script is slightly broken) Feb 26 02:21:22 zmatt: ok cool -- do you have a guide? or suggestions? I just want to get my SD card on the board (and 4 others) Feb 26 02:21:56 5 SD cards? Feb 26 02:22:03 GenTooMan: 5 beaglebones Feb 26 02:22:14 I had too ask :D Feb 26 02:22:21 GenTooMan: i could do 5 sd cards, but still haven't figured out how to get it to boot from SD without holding down S2 Feb 26 02:23:36 "Press the S2 button on the BeagleBone Black and apply power to the board. The board should start now into USB boot mode." -- holding S2 just boots from SD card for me. Feb 26 02:24:02 I can report success flashing bone-debian-7.8-console-armhf-YYYY-MM-DD-2gb.img.xz (for various recent YYYY-MM-DD) using https://github.com/ungureanuvladvictor/BBBlfs except it expects it makes the main partition partition 2 while it should be partition 1 for those images Feb 26 02:24:23 blaine: with _no_ SD card inserted Feb 26 02:24:31 zmatt: oh ok interesting. Feb 26 02:24:35 IT may change boot order as it likely has a bootloader in rom it's using. Feb 26 02:24:49 zmatt: so you dont need to recompile any uboot images or kernels? I already have a .img that is bootable Feb 26 02:25:25 why would you need to recompile u-boot or a kernel? Feb 26 02:25:53 the u-boot used is compiled to be rediculously generic... it can even boot totally different am335x-based boards (such as the EVM) Feb 26 02:26:01 zmatt: i'm just reading the instructions Feb 26 02:26:18 ok cool. zmatt -- i notice it doesn't ask for a device driver. does it "Just work"? Any risk of it... uh... flasking sda hehe Feb 26 02:26:24 flashing* Feb 26 02:26:32 device file*. Sorry, typing too fast. Feb 26 02:27:05 it detects which device file it thinks it's supposed to flash and asks for final confirmation Feb 26 02:27:51 if it asks whether /dev/sda is really the right device, I'd recommend answering with a control-C ;P Feb 26 02:28:19 hah. 'press ctrl+c to confirm' Feb 26 02:28:35 as for booting from SD without the button: sure, just wipe the SPL from the eMMC Feb 26 02:28:57 the boot order used by ROM is: Feb 26 02:29:13 zmatt: what is SPL? Feb 26 02:29:27 zmatt: should anything happen when i do usb boot? S2 held down, nothing seems to happen (no LEDs) Feb 26 02:29:40 eMMC, SD, serial, USB (without S2 button) Feb 26 02:29:56 spi, SD, usb, serial (with SD button) Feb 26 02:30:02 *S2 button Feb 26 02:30:04 no Feb 26 02:30:08 zmatt: i'm assuming this is without the power cable / wall wart plugged in Feb 26 02:30:12 zmatt: thanks, that's very useful Feb 26 02:31:09 you can also change the boot order via the P8 expansion header (e.g. to have ROM boot via Ethernet) Feb 26 02:31:40 interesting Feb 26 02:31:49 zmatt: this came up as usb0 as a network interface, is that normal? Feb 26 02:31:52 and what it's doing is trying those 4 boot devices in sequence, and repeating after failure Feb 26 02:31:55 yes Feb 26 02:31:59 cool ty Feb 26 02:32:16 it presents itself as RNDIS and then tries to do "ethernet" booting Feb 26 02:32:37 BBB thin client mode huh? Feb 26 02:32:43 which will fail unless you have a suitably configured BOOTP server Feb 26 02:32:49 zmatt: yeah i see, it keeps cycling. cool. so far so good Feb 26 02:33:38 lol great now i just have to work out a libusb dependency issue. Feb 26 02:34:14 libusb-1.0-0-dev : Depends: libusb-1.0-0 (= 2:1.0.9~rc3-2ubuntu1) but 2:1.0.12-2 is to be installed Feb 26 02:34:22 weird, cuz i have libusb-dev installed but it must be the wrong version Feb 26 02:34:26 BBBlfs I think unbinds the kernel driver and does RNDIS in userspace using libusb, then pretends to be a bootp server and gives it a u-boot preconfigured to "netboot", still via usb Feb 26 02:34:52 that makes sense as to why it would use libusb Feb 26 02:35:09 which loads a kernel + miniature userspace which just exports the eMMC as USB storage device Feb 26 02:35:28 at which point your BBB is basically just an USB flash stick Feb 26 02:36:09 that's awesome Feb 26 02:36:31 as for your earlier question: SPL stands for Secondary Program Loader, it's a stripped-down version of u-boot that's actually loaded by ROM Feb 26 02:36:42 and SPL then initializes DDR memory and loads the full u-boot Feb 26 02:37:24 because they couldn't manage to make the full u-boot fit in the internal SRAM (*cough*bloatware*cough*) Feb 26 02:37:31 hehe Feb 26 02:37:32 cool Feb 26 02:37:35 So ... the ROM loads a program that loads the boot program which loads the booted program. Feb 26 02:37:43 it's like dominos Feb 26 02:37:58 and you can stick your finger between them too! Feb 26 02:38:02 GenTooMan: ROM actually also consists of two programs Feb 26 02:39:08 first secure ROM boots, which on GP devices just does a small bit of initialization before starting public ROM Feb 26 02:39:46 I take it the ethernet uses one of the PRU modules as the industrial ethernet is connected to the 2 PRU's so only 1 PRU is available if you are using ethernet? Feb 26 02:39:49 zmatt: do you know of BBBlfs actually requires libusb-1.0.0 ? I'm having a weird ubuntu dependency issue that is driving me crazy Feb 26 02:39:55 GenTooMan: no Feb 26 02:40:11 GenTooMan: actually if you want to use EtherCAT you have to use different pins for the MII interface Feb 26 02:41:06 GenTooMan: and I think EtherCAT applications actually use both PRUs but I'm not sure Feb 26 02:41:09 not relevant on the BBB anyhow Feb 26 02:41:36 blaine: I have no idea Feb 26 02:42:11 zmatt: bah -- to install this aptitude wants to remove half of my system libraries. this may be awhile. Feb 26 02:42:46 what no rm -rf * ? Feb 26 02:43:13 blaine: I should correct what I said earlier btw: to make a BBB always boot from SD (or atleast not from eMMC) it's not the SPL that needs to be wiped but the magic header that ROM looks for Feb 26 02:43:32 I probably shouldn't have said that ... Feb 26 02:43:58 blaine: all that stuff is located between the partition table and the actual ext4 partition btw Feb 26 02:44:07 interesting Feb 26 02:44:31 hex byte offsets (for the bone-debian-7.8-console images at least): Feb 26 02:44:43 000000 partition table Feb 26 02:44:50 020000 TOC Feb 26 02:44:50 020040 CHSETTINGS header Feb 26 02:44:50 020200 MLO program Feb 26 02:44:53 060000 u-boot program Feb 26 02:44:53 100000 main partition Feb 26 02:45:32 MLO == SPL Feb 26 02:47:17 (that's actually still a mistake in my notes since the term "MLO" actually implies an image which includes the header for memory loading) Feb 26 02:48:25 if you wipe the TOC/CHSETTINGS sector, ROM will not find the SPL anymore Feb 26 02:51:02 oh hey, the thing at offset 020200 actually does include a memory-loading header... weird... ok so I was right to call it MLO Feb 26 02:52:37 you'd think the relevant info (load address + length) would already be somewhere in the 512-byte header right before it, but no Feb 26 02:54:23 hmm Feb 26 02:55:14 so that does mean the thing at offset 0x20200 in eMMC is the same as the contents of the MLO file on bootable SD cards Feb 26 02:55:45 or well, modulo they might be compiled with different settings Feb 26 02:56:00 zmatt: i think i got libusb working. do you think it's OK that my image is 8gb? my partition is only 1.8gb though. i have no idea how to make the image file smaller Feb 26 02:56:04 (my sd card is 8gb) Feb 26 02:56:20 shrink it first with resize2fs Feb 26 02:56:30 oh wait Feb 26 02:56:34 the partition is 1.8 gb? Feb 26 02:56:42 then you can truncate the image yeah Feb 26 02:57:05 oh ok. should i do that before i run the script? not sure hot to truncate (with dd?) i've been googling all day for a solution Feb 26 02:57:15 man truncate Feb 26 02:57:22 oh literally the truncate command Feb 26 02:57:49 and yes you should do that first probably Feb 26 02:57:55 yeah ty, about to do that Feb 26 02:58:38 then again, I don't think the script bothers to check for errors, so dd will probably complain when it reaches the end of the eMMC but otherwise work fine Feb 26 02:58:41 :P Feb 26 02:59:00 and the script recreates the partition table anyway (but in a wrong way, so you need to fix that with fdisk after that) Feb 26 02:59:11 truncate worked really well hah Feb 26 02:59:18 zmatt: fix with fdisk? go on... **** ENDING LOGGING AT Thu Feb 26 02:59:59 2015