**** BEGIN LOGGING AT Fri Nov 22 03:00:00 2013 Nov 22 03:00:17 we had this conversation last night for an infrared photodiode Nov 22 03:00:27 it used to work but it doesn't now Nov 22 03:10:08 I'm getting 1 all the time Nov 22 03:16:47 I've used DD to copy the second (rootfs) partition from a SD card to the first partition of a USB hard drive. What file to I edit on the sd card to force it to use the USB drive for the root filesystem instead of the SD card? This is the Debian armhf image. Nov 22 03:19:57 which Debian armhf image? Nov 22 03:21:05 the one from armhf.com Nov 22 03:21:21 wheezy Nov 22 03:21:31 in any case, you'd need to pass root= on the boot prompt ... possibly in uEnv.txt? Nov 22 03:23:21 guys Nov 22 03:23:24 can someone help me here? Nov 22 03:25:04 it just can't work like that Nov 22 03:25:22 IR diode is going to have a reverse voltage of < 1V Nov 22 03:25:49 frege if I remmeber from last night you had just the resistor on one side of the sensor instead of resistor on one side having one end on the ground (pulldown) or the other end on 3.3v (pullup) Nov 22 03:26:35 thews: yeah; did you see the circuit? Nov 22 03:26:47 vagrantc: thank you Nov 22 03:26:47 I think I did but you showed the resistor in series Nov 22 03:26:53 instead of T-d off Nov 22 03:26:56 NovaKitty: did you find what you needed? Nov 22 03:27:11 thews: this one? http://flockdraw.com/cvumwa Nov 22 03:27:31 vagrantc: I think youre right, I'm just looking for some examples to make sure Nov 22 03:27:41 short pin is anode? Nov 22 03:28:06 vagrantc: I did this with a Pi and it was the same thing pretty much but a different file Nov 22 03:28:44 thews: ? Nov 22 03:29:50 We are Japan IT company, we would like to buy 2pcs of beaglebone black Revision A6. where can we buy? Nov 22 03:30:11 frege: I would think you would need 3.3v on one side of the sensor by itself, and then the other side going to the pin to your input pin, and then a T off on the input pin that has a resistor and then to ground Nov 22 03:30:45 thews: would you draw it for me? Nov 22 03:30:50 because the diode needs enough forward voltage to cross the PN junction Nov 22 03:31:24 let me try Nov 22 03:32:29 Sakai: Beagleboard.org, if you click the buy button, it presents you with a list of vendors you can buy from. I would see if you can find one of these that is in Japan or ships to Japan Nov 22 03:33:09 frege: http://new.dave-auld.net/images/stories/Arduino/BasicIO/AnalogIn-PhotoResistor.jpg Nov 22 03:33:28 now all is revision A6? Nov 22 03:33:49 I got mine from Makershed in California, USA..it is rev R6 Nov 22 03:34:04 thank you. Nov 22 03:34:50 frege: another http://www.me.umn.edu/courses/me2011/arduino/technotes/photocell/schem1.gif Nov 22 03:35:25 of course for you the voltage will be 3.3v for digital pins, and resistor value could be different depending on the resistance measured across the photoresistor Nov 22 03:36:16 http://www.bristolwatch.com/arduino/img/photores.jpg examples of pull down and pull up Nov 22 03:37:06 thews: what do you suggest for resistance? Nov 22 03:37:12 10kohm? Nov 22 03:37:26 if you have some choices I'd start with maybe 1k or 3k Nov 22 03:37:36 unless you have a spec sheet on the sensor Nov 22 03:37:47 multimeters take away all of the guesswork Nov 22 03:38:36 I will buy one Nov 22 03:39:04 you can measure the individual sections of resistance Nov 22 03:39:33 at one point the photo resistor should have more resistance than the resistor Nov 22 03:39:38 and otherwise have less Nov 22 03:39:53 electricity takes the path of least resistance Nov 22 03:40:14 depending on the exposure to light Nov 22 03:41:09 interesting Nov 22 03:41:26 view the photo resistor as a potentiometer Nov 22 03:41:31 it's just a variable resistor Nov 22 03:41:53 what changes it's resistance is the exposure to what it is sensitive to Nov 22 03:41:54 but with only two leads, so you need to pair it with a fixed resistor to get a useful potentiometric output. Nov 22 03:41:57 that's what makes it a ssensor Nov 22 03:42:11 "potential" is another term for "voltage", by the way. A potentiometer is a voltage divider. Nov 22 03:42:12 I had this shit working and it made total sense to me and I got what was what Nov 22 03:42:22 photodiode != photoresistor Nov 22 03:42:48 photodiode allows electricity to flow based on forward current Nov 22 03:43:12 photodiode is a solar cell, it makes power Nov 22 03:43:23 not necessarily Nov 22 03:43:36 it's not working Nov 22 03:44:27 there are photo diodes that just behave as diodes but have properties to make the PN junction gap lessened Nov 22 03:44:33 this is an infrared sensor Nov 22 03:45:00 300nm to 1100nm Nov 22 03:46:02 that isn't really sufficient to say what it is Nov 22 03:46:29 jonpry: PT481 Nov 22 03:46:44 jonpry: P/N: OPTIC-001484 Nov 22 03:47:08 jonpry: Photo Transistor Dar. Peak(800nm) 400nm-1000nm Nov 22 03:47:13 that's the exact specs Nov 22 03:47:40 H.Sen Ic: 10mA Vce(sat):0.7V Nov 22 03:47:48 yeah phototransistor Nov 22 03:48:00 all different things Nov 22 03:48:10 so how do I get its value? Nov 22 03:48:15 I need a pullup resistor Nov 22 03:48:40 between VDD3.5 and longer pin of phototransistor right? Nov 22 03:48:54 what should be the resistance? Nov 22 03:49:02 I got all sort of resistors in front of me Nov 22 03:49:16 from 0 to 1Mohm Nov 22 03:49:33 i think you have it backward Nov 22 03:49:46 short lead is the collect and it's pnp device Nov 22 03:49:53 *collector Nov 22 03:50:13 ahh shit Nov 22 03:51:09 http://www.flickr.com/photos/61351883@N06/5846338891/ Nov 22 03:51:42 jonpry: so far VDD -----/\/\10kohm/\/\------(long-leg)(phototransistor)(short-leg)-------? Nov 22 03:51:46 what's ? Nov 22 03:52:06 gnd Nov 22 03:52:10 http://dgraves.org/mailboxmonitor Nov 22 03:52:20 looked like the long leg was ground on there Nov 22 03:52:23 have to get some rest Nov 22 03:52:27 weird Nov 22 03:52:35 jonpry: what about the input pin? Nov 22 03:52:58 wait Nov 22 03:53:29 long leg is gnd Nov 22 03:53:43 short leg is 10k to 3.3V Nov 22 03:53:59 input is short leg Nov 22 03:56:07 fuck it trurned off Nov 22 03:56:19 hopefully nothing burned out Nov 22 03:58:08 http://hades.mech.northwestern.edu/index.php/Photodiodes_and_Phototransistors Nov 22 04:00:02 vagrantc: Ok I'm looking at my uEnv.txt...It looks complicated. I pasted it here - http://pastebin.com/0ZyYEpd0. I see a line that looks to me like it sets a variable for "mmcroot" and its set to mmcblk0p2, which is the current rootfs. Is this where I should plug in /dev/sdb1? Nov 22 04:01:00 It looks to me like its checking for a SD card, booting from it if present, otherwise booting from the eMMC. Nov 22 04:02:40 NovaKitty: sounds promising Nov 22 04:03:16 Dr{Wh0}: good link! thanks man! Nov 22 04:03:18 you could set up your own uEnv.txt and put it on an sdcard, probably Nov 22 04:04:02 Dr{Wh0}: do you know what's RE http://hades.mech.northwestern.edu/images/8/82/Phototransistor_amplifiers.png Nov 22 04:04:14 what does E stand for there? Nov 22 04:04:37 NovaKitty: just putting it on an SD card will allow you to revert back easily. Nov 22 04:07:16 Emitter resistance and Collector resistance. Nov 22 04:09:14 I don't think that pullup resistor should connect to ground Nov 22 04:09:17 doesn't make sense Nov 22 04:10:04 its not actually a pullup its a bias resistor for the transistor cicruit. Nov 22 04:11:13 vagrantc: yeah i guess i can try. I can edit the fat boot partition from anything. Nov 22 04:12:19 frege: to act as a switch I think your goal then you want a higher resitance value otherwise it is just an amplifier and is used to measer to amount of light. Nov 22 04:12:49 Dr{Wh0}: I want to measure the amount of light if it's possible Nov 22 04:12:57 Dr{Wh0}: how can I do that? Nov 22 04:13:30 oh.. ok. lower restance value will give you an output of voltage you can measer with a AtoD circuit. Nov 22 04:14:06 <5k but not too low where it will burn out the transistor 2-5k should be right dont go lower than 1k Nov 22 04:15:02 I will go 3.3k Nov 22 04:15:21 Dr{Wh0}: how can I measure it? Nov 22 04:15:28 I'm using P8_10 Nov 22 04:17:03 Dr{Wh0}: can you give me a circuit please? Nov 22 04:17:07 and A/D converter but a multimeter will do to test. Nov 22 04:17:31 measure your voltage at Vout. Nov 22 04:18:14 Dr{Wh0}: http://stuffwemade.net/post/beaglebone-pinout Nov 22 04:18:18 where is Vout Nov 22 04:18:46 oh.. no i ment vout from the circuit. on that page I posted. Nov 22 04:18:58 which one? Nov 22 04:19:01 ahah Nov 22 04:19:05 does the bbb have an a/d? probably. Nov 22 04:19:19 hope so Nov 22 04:20:05 to measure the low to high level use the Commond-Collector Amplifier bigger voltage = more light. Nov 22 04:20:30 vagranc: it looks like the change had no effect. The BBB booted normaly to the SD card. I went to "File System" in in the file manager and the capacity indicates it's still the sd card. Nov 22 04:20:52 Dr{Wh0}: yeah I made it Nov 22 04:20:58 but I'm getting 0 Nov 22 04:21:08 http://beaglebone.cameon.net/home/reading-the-analog-inputs-adc Nov 22 04:24:25 naaah something is fucked Nov 22 04:24:40 we sure its a photo trans not a diode? Nov 22 04:24:54 Dr{Wh0}: what if it's a diode? Nov 22 04:25:01 I mean they could label it wrong Nov 22 04:25:06 it will produce a very low signal needing aplification. Nov 22 04:25:13 I pasted the label Nov 22 04:25:27 datasheet? Nov 22 04:25:33 >>> GPIO.input("P9_39") Nov 22 04:25:33 0 Nov 22 04:25:37 I keep getting 0 Nov 22 04:26:00 dont test with the BBB yet. you will break it :) Nov 22 04:26:06 use a volt meter. Nov 22 04:27:03 Dr{Wh0}: http://www.tel.uva.es/personales/tri/pt481-e.pdf Nov 22 04:27:14 Dr{Wh0}: I think I've burned this one Nov 22 04:27:17 gonna use another one Nov 22 04:27:29 it's cheap though 0.98$ Nov 22 04:27:47 gonna be back in 30 mins Nov 22 04:29:26 they give you a test circuit and test values use those and test. Nov 22 04:35:21 needs an input resistor to limit current or POOF <50m can go as high as 6v but i think you are doing 3v3? so use the drawing in that schematic but put a limiting resitore on Vcc you can calculate it to get your ~20ma 150ohm at 3v3 Nov 22 04:35:41 too late for this math. im out.. need food and zzz night all. Nov 22 04:53:09 hello Nov 22 04:53:19 Hello , #include #include int main() { const int is17Valid = !!gpio_is_valid(17); if (is17Valid) { printf("17 is valid!"); } else { printf("17 is not valid!"); } return 0; } i am trying to compile this program and getting this error gpio.h No such file or directory tried this in beaglebone black as well as with cross compiler getting same error pls help Nov 22 04:53:55 Hello , #include #include int main() { const int is17Valid = !!gpio_is_valid(17); if (is17Valid) { printf("17 is valid!"); } else { printf("17 is not valid!"); } return 0; } i am trying to compile this program and getting this error gpio.h No such file or directory tried this in beaglebone black as well as with cross compiler getting same error pls help Nov 22 07:42:12 HI all Nov 22 07:44:02 How can I read the "value" content of more gpio and collect them to form a binary string with a single command (or script)?? Nov 22 07:44:45 (perhaps more of a shell question than a beagle specific one...) Nov 22 07:45:50 Has anyone fully understood the BBB USB problems yet? Nov 22 07:46:24 I've seen many things suggesting noise/EMI on the data lines Nov 22 07:46:29 hi Nov 22 07:46:39 and core voltage switching etc. Nov 22 07:46:44 viv__: hello Nov 22 09:14:56 hi Nov 22 10:08:17 Hello Nov 22 10:09:03 can I use BBW miniusb/serial to type commands into u-boot? Nov 22 10:10:47 yes Nov 22 10:11:13 av500: cool... I'm trying to do that with minicom but I don't see any echo or any uboot prompt Nov 22 10:11:28 it doesn't react at all Nov 22 10:11:46 hmm Nov 22 10:12:14 nothing at all in the terminal? Nov 22 10:12:35 no Nov 22 10:12:48 115200 8.n.1? Nov 22 10:12:55 no flow control Nov 22 10:13:02 115200 8N1 Nov 22 10:13:11 Sf Flow Control: No Nov 22 10:13:16 Hw Flow Control: No Nov 22 10:13:19 ok Nov 22 10:13:31 press reset Nov 22 10:13:39 er Nov 22 10:13:42 SD card inside? Nov 22 10:13:49 and somthing on it? Nov 22 10:13:51 av500: no sd card Nov 22 10:15:11 av500: If I press reset I get this: "CCCCCCCC" printed out on minicom Nov 22 10:18:30 av500: do I need to have u-boot on my SD card? Nov 22 10:22:07 er yes Nov 22 10:22:17 CCC is the ROM code begging to be fed with data Nov 22 10:23:06 av500: where can I get some u-boot stock image? Nov 22 10:23:41 http://www.angstrom-distribution.org/demo/beaglebone/ Nov 22 10:23:49 thank you Nov 22 11:13:47 anyone has an idea why mp3s are not playing on a bbb using mplayer? i mean, they play but i have no hearable output Nov 22 11:14:02 over hdmi? Nov 22 11:14:12 connected to? Nov 22 11:14:17 av500: no, an usb soundcard Nov 22 11:14:37 it plays wav, flac, ogg, ... fine but not mp3s Nov 22 11:14:39 alsamixer? Nov 22 11:14:42 oh Nov 22 11:15:02 maybe you dont have the patent license? Nov 22 11:15:50 a license? with mplayer? Nov 22 11:16:26 :) Nov 22 11:16:29 hello Nov 22 11:18:41 ragnar76: run with -vvv and see difference between mp3 and wav Nov 22 11:23:44 ragnar76: try -ao pcm and try to play the pcm file Nov 22 11:24:09 priyanka: ask here Nov 22 11:24:16 or send money Nov 22 11:24:26 why would I answer you in pm? Nov 22 11:25:00 av500: -ao pcm does not work either Nov 22 11:25:18 but it works for e.g flac? Nov 22 11:25:24 what is the error? Nov 22 11:25:34 mplayer from angstrom feed? Nov 22 11:25:53 gnarf, -ao pcm writes a wav file. i was expecting sound :/ Nov 22 11:26:08 so, it works Nov 22 11:26:44 the wav file works? Nov 22 11:26:51 hmm Nov 22 11:26:54 but, the audiodump is pure silence Nov 22 11:26:57 ah Nov 22 11:27:10 ic Nov 22 11:34:12 https://gns3.crowdhoster.com/become-an-early-release-member Nov 22 11:34:37 ragnar76: please try mplayer --ac=ffmp3 Nov 22 11:40:52 ragnar76: try another mp3 file? Nov 22 11:40:55 not John Cage Nov 22 11:43:32 or at least a different track than 4'33" Nov 22 11:43:42 that works! Nov 22 11:45:18 what? --ac=ffmp3? Nov 22 11:45:54 yes, that works Nov 22 11:47:20 hi this is priyanka a student from India, having interest on embedded systems domain. I got introduced to BBB and by far my experience with BBB is enriching, I would like to take this experience forward and try and understand things in more depth. In this journey of my learning I would like to be associated with one of you geeks and take my learning to the next level. please let me know if I can be associated with one of you Nov 22 11:47:36 no Nov 22 11:47:40 we dont 1:1 mentor people here Nov 22 11:47:47 at least not for free Nov 22 11:47:55 we help in answering questions Nov 22 11:48:00 okay Nov 22 11:48:05 and there is ample information out there on the internet Nov 22 11:48:09 blog posts Nov 22 11:48:12 mailing lists Nov 22 11:48:16 youtub videos Nov 22 11:48:20 etc... Nov 22 11:48:22 books Nov 22 11:48:42 okay thanks Nov 22 11:59:11 * suihkulokki notes the beaglebone sd card formatting script was written by XorA Nov 22 12:00:29 yes Nov 22 12:00:37 including the magic values Nov 22 12:04:44 magic values? Nov 22 12:05:21 abracadabra factor Nov 22 12:06:20 * XorA does not remember any magic Nov 22 12:07:21 looks remarkably less magical than many of the other "oh we need something to make bootable sd card" scripts I'm checking Nov 22 12:09:20 denix: is to blame for any magic anyway, I just scripted it Nov 22 12:21:25 echo ,9,0x0C,* Nov 22 12:21:41 try it with 8 or 10 on omap3 :) Nov 22 12:21:59 * av500 foods Nov 22 13:10:57 hello Nov 22 13:13:28 I build new Angstrom based image for BeagleBone black as per steps on eLinux.org but only user LEDs on BBB working .It is not detected by PC like with factory image ? Nov 22 13:13:49 do you have a serial cable? Nov 22 13:13:56 No Nov 22 13:14:46 I just delete uImage-3.8.13 and replace it with my uImage Nov 22 13:15:40 well networking is hard to debug if you are blind Nov 22 13:15:57 when you put back the uimage it works again? Nov 22 13:16:42 if I put original uImage its again work fine Nov 22 13:17:46 Its user LEDs are blinking propery with new uImage but can't access via PC Nov 22 13:19:17 hello Nov 22 13:20:40 echo Nov 22 13:22:01 So what to do now ? Can use normal USB cable for serial debugging ? Nov 22 13:22:38 yes, yo can use a normal 3.3V serial2usb usb cable for serial debugging Nov 22 13:24:47 3.3 v means ? can I use only GND,USB+,USB- as GND.RX,TX for that in case of normal USB wire ? Nov 22 13:26:05 no Nov 22 13:26:09 6 pin serial header Nov 22 13:26:15 you need a usb2ttl cable Nov 22 13:26:22 like $5 on ebay Nov 22 13:31:40 Can we delete factory uImage of BeagleBone black and replace it with newly build Image to verify it ? Nov 22 13:32:47 nope, we cannot do that Nov 22 13:33:00 you can't for obvious reasony, and i dont own a bbb Nov 22 13:33:05 reasons* Nov 22 13:33:11 * KotH no typy today Nov 22 13:33:22 and not enough chocolate too Nov 22 13:34:05 No I am talking about SD card Image Nov 22 13:34:38 I dont talk, i type Nov 22 13:34:54 ok sorry Nov 22 13:36:10 because I delete uImage in SD card and replace it with new uImage but only user LEDs blinking but BBB is not detected by PC ? Nov 22 13:36:43 if you want answers, ask specific quesitions... not roundabout general questions, nobody feels inclined to answer because it is not clear what kind of answer you'd expect Nov 22 13:37:02 read the link in the topic for more informations on this Nov 22 13:37:32 which link ? Nov 22 13:37:33 one can replace uimage of course Nov 22 13:37:37 but it can also go wrong Nov 22 13:37:42 image could be bad Nov 22 13:37:45 wrong filename Nov 22 13:37:51 etc Nov 22 13:37:57 without serial, you are blind Nov 22 13:38:03 so check again all steps you did Nov 22 13:38:11 but not much we can help from here Nov 22 13:38:23 No I put same name as uIMAGE-3.8.13 Nov 22 13:38:25 I hate the fact that BBB has no serial out of the box as much as you Nov 22 13:40:56 Sorry but I am new to all this .And thanks for your everything.Bye !! Nov 22 13:45:36 BBB = eternal september Nov 22 13:46:54 no, september ended with the usenet Nov 22 13:47:32 http://beagleboard.org/Products/BeagleBone%20Black - I have this Beagle board. It has 46 pin headers. On which pins i can take out the VGA for monitor? and which pins i can take out to make microphone in and speaker output? Nov 22 13:47:54 on no pin Nov 22 13:47:58 it does not have VGA Nov 22 13:48:04 Oh my god??? av500 Nov 22 13:48:09 NO VGA"??? Nov 22 13:48:14 nor does it have mic or speaker Nov 22 13:48:18 it has HSMI Nov 22 13:48:21 HDMI Nov 22 13:48:27 IamTrying: tune it down. av500 might be big, but he hasnt reached god status yet Nov 22 13:48:33 you can add an audio cape for audio in/out Nov 22 13:48:55 its 2013, vga is kinda antique :) Nov 22 13:49:42 av500, KotH , very confused and nervous now i thought i can with those 46x2 pins? i need to make VGA because my all screens are VGA only (Touch screen) and i have head phone mic/speaker how can i do this 3 options with this board please? Nov 22 13:50:06 audio cape for audio Nov 22 13:50:10 for VGA, there is no cape Nov 22 13:50:17 IamTrying, depending on how much room you have, there are devices that translate a hdmi signal into audio and vga Nov 22 13:50:27 https://www.google.com/search?q=beaglebone+VGAy Nov 22 13:50:35 Russ: that cost more than the beagle Nov 22 13:50:44 http://makezine.com/2010/01/27/adding-vga-output-to-a-beagleboard/ Nov 22 13:50:59 https://www.google.com/search?q=beaglebone+VGA Nov 22 13:51:43 Russ, its too expensive then, if i have to add always new device extra on top of beagle (wanted to achieve in low cost) Nov 22 13:51:48 av500, actually a whole penny less Nov 22 13:51:50 Thank you av500 , Great Nov 22 13:52:03 thank larry and sergey Nov 22 13:52:09 I just used their website Nov 22 13:53:05 YES - thats what i mean man, if this works would be GREAT GREAT https://lh4.googleusercontent.com/-i96yPJMb4ic/T-cTXz5lJxI/AAAAAAAACVI/3-FUUQonV6s/s1600/DSCF2395.JPG Nov 22 13:53:19 so go for it Nov 22 13:54:05 ah right, ladder DAC on the LCD signals Nov 22 13:54:16 actually fairly simple Nov 22 13:54:33 and cheap too Nov 22 13:54:47 apropos... need to write some mail to get some stuff for free Nov 22 13:54:54 CC me Nov 22 13:54:55 :) Nov 22 13:54:56 av500: thanks for the reminder ;) Nov 22 13:55:01 YES - Guru av500 . Last confusion, how can i receive Arduino pin signals in the Beagle boards? In my Arduino i have 3V, 5V, Gnd, Pin 1 , 2 is it possible to do the same ? Nov 22 13:55:02 *g* Nov 22 13:55:02 ask for 2 Nov 22 13:55:18 av500: i already plan to ask for 2, one for mranostay and one for me :) Nov 22 13:55:22 IamTrying: BBB is also 3.3V Nov 22 13:55:27 meh Nov 22 13:55:32 * av500 is sad now Nov 22 13:55:44 Guru av500 , if i do not use Arduino + its Relay, can i use them in the Beagle Board (by not using Arduino i mean straight to the Beagle Board) ? Nov 22 13:55:54 av500: you got your barcelona-eltoro mug Nov 22 13:56:04 av500: and i didn't get your daughter Nov 22 13:56:48 u so cruel Nov 22 13:56:53 me? Nov 22 13:56:58 you didnt pay me! Nov 22 13:58:15 ...The Linux guys are likely frowning on my lack of guru-ishness while the BeagleBone guys are probably counting how long it will take for my setup to catch on fire.... Nov 22 13:58:18 nice Nov 22 13:58:44 KotH: I have a stack of Milka with your name on it here Nov 22 13:58:49 is there a simple way to get something with a glibc and armhf or armel running in qemua Nov 22 13:58:59 no idea Nov 22 13:59:00 or something similar Nov 22 13:59:07 ask in #qemu maybe? Nov 22 13:59:10 av500: milka isn't equivalent payment to a daughter! Nov 22 13:59:14 prolly should Nov 22 13:59:18 IamTrying: you can use two serial pins from arduino to BBB with logic converters to communicate Nov 22 13:59:23 * KotH demands to get either läderach or the daughter Nov 22 13:59:23 i'll add RitterSpocht Nov 22 13:59:40 IamTrying: you can also control relays with BB Nov 22 13:59:44 thews, WOW Nov 22 14:00:20 thews, How does the 42x2 pins works? How do i know which one is 5V pin, which one is GND and which one is Pin1, 2 etc like Arduino ? Nov 22 14:00:27 you read the doc Nov 22 14:00:30 sainsmart makes cheap relay boards, I believe they have some 3.3v boards, but they aren't higher amp, they have 10 amp relays that work off of 5v, but can take 3.3v on signaling Nov 22 14:00:33 or the net Nov 22 14:00:42 same as you did for arduino Nov 22 14:00:56 outrageous, I know Nov 22 14:01:11 IamTrying: http://lmgtfy.com/?q=beagleboard+black+pinout Nov 22 14:01:37 http://lmgtfy.com/?q=beaglebone+black+SRM Nov 22 14:02:13 :) Nov 22 14:02:30 my brain is fuzzy this AM Nov 22 14:03:04 thews: well... a 10A relay is easy to switch with even 3V3... but how much current do you have to provide? Nov 22 14:03:04 WOW - great, thank you so much av500 , thews , this is my first week playing with beagle Nov 22 14:03:51 KotH, my relay is for a lights (like stadium lights too much consume) will a 3V relay enough? Nov 22 14:03:54 http://www.youtube.com/watch?v=vvoGic3eig0 Nov 22 14:03:59 KotH: most cheap 10A 250V relays can't be switched off of 3.3v Nov 22 14:04:10 IamTrying: the voltage is not the problem Nov 22 14:04:25 IamTrying: if you try to switch a relay directly from a bbb pin, you will definitly fry your beagle Nov 22 14:04:30 IamTrying: electronics 101 Nov 22 14:04:57 thews: i wouldnt use a relay to switch 240V anyways ;) Nov 22 14:05:05 KotH, with Arduino the stadium lights were not working relay shows working but light remains forever on Nov 22 14:05:10 depends on the relay Nov 22 14:05:13 KotH, so i am switching to beagle for this reason Nov 22 14:05:30 but sainsmart makes relay boards that have logic converters already built in that can take 3.3v with minimal latching current Nov 22 14:05:42 * thews uses them for greenhouse automation Nov 22 14:05:45 http://www.amazon.de/dp/B007KM065U/?smid=A2RQ26FRS9UTKN Nov 22 14:05:54 I have relay which is in 3V pin and GND and pin 1, the stadium light is always on, even i do relay switch off or on av500 , KotH Nov 22 14:06:07 http://www.sainsmart.com/8-channel-dc-5v-relay-module-for-arduino-pic-arm-dsp-avr-msp430-ttl-logic.html Nov 22 14:06:11 IamTrying: it's probably not arduinos fault if you havent done the electronics right Nov 22 14:06:19 KotH: what would you use? huge transistors? Nov 22 14:06:23 sorry, my crystal ball is broken Nov 22 14:06:40 honestly: either opto-FETs or electronic relays Nov 22 14:06:54 right Nov 22 14:06:55 thews, i am using those already for Stadium light and they do not work Nov 22 14:07:06 honestly: the later have the advantage of switching at the zero crossing, which reduces EMI Nov 22 14:07:11 KotH, please advise why the lights are on even arduino was power off and relay is switch off? Nov 22 14:07:20 IamTrying: well of course Nov 22 14:07:22 lol Nov 22 14:07:30 you cannot run stadium lights from tiny relay Nov 22 14:07:34 IamTrying: I don't know what you mean by stadium light, they work fine for HID MH HPS lights, which are often used for stadiums Nov 22 14:07:39 you most likely fry your contacts Nov 22 14:07:41 so they stick Nov 22 14:07:53 get a proper relay Nov 22 14:07:58 av500, EXACTLY guru it was my wild junior guess. How can resolve it plz?? Nov 22 14:07:59 av500: HPS stadium lights work fine 250v with about 5 amps Nov 22 14:08:08 if needed do 3.3V -> 220 and then use 220 to switch a big one Nov 22 14:08:19 IamTrying: wrong channel Nov 22 14:08:21 :) Nov 22 14:08:27 IamTrying: most probable reason: you welded the relay contacts together, because you used a too small relay for the load Nov 22 14:08:28 but again Nov 22 14:08:30 google it Nov 22 14:08:35 google it Nov 22 14:08:36 google it Nov 22 14:08:54 IamTrying: also be aware that releasing a relay needs force too Nov 22 14:09:14 and listen to: http://www.youtube.com/watch?v=vvoGic3eig0 Nov 22 14:09:16 especially if you are using the wrong side of the relay's terminals Nov 22 14:10:14 thews: "15-20mA Driver Current" Nov 22 14:10:27 thews: that's more than your average arduino can supply per output pin Nov 22 14:10:40 thews: too much by a factor of 15-20 Nov 22 14:11:05 KotH: that board transistors / logic converters, I've used them plenty Nov 22 14:11:09 has* Nov 22 14:11:15 ah.. Nov 22 14:11:16 ok Nov 22 14:11:22 the description is a bit weird, then Nov 22 14:11:26 it's really off Nov 22 14:11:36 http://www.amazon.de/dp/B007KM065U/?smid=A2RQ26FRS9UTKN Nov 22 14:11:39 if you notice it says for RPI, which doesn't have nearly that kind of current on the pins Nov 22 14:11:43 something like that Nov 22 14:12:03 3-phase is overkill of course Nov 22 14:12:07 but there are 1-phase too Nov 22 14:12:10 av500: how many people here know what that is? Nov 22 14:12:13 yeah Nov 22 14:12:18 unnecessary Nov 22 14:12:21 OH ic av500 , those are really electrical relays i see them in my home made by professionals Nov 22 14:12:32 av500, you are 100% correct that is causing my problem Nov 22 14:12:46 av500, those small relay cant act like those relay u linked Nov 22 14:12:55 lol Nov 22 14:12:56 OK - great thank you so much av500 its much clear now Nov 22 14:12:57 no it cannot Nov 22 14:13:04 small relay -> small load Nov 22 14:13:04 http://en.wikipedia.org/wiki/Contactor Nov 22 14:13:09 large relay -> large load Nov 22 14:13:19 anyways... tea time Nov 22 14:13:20 huge relay -> huge load Nov 22 14:13:47 Man you guys are genius thank you so much i was so deadly confused its much clear now, av500 , KotH , thews Nov 22 14:13:48 av500: i've once worked on a 600kV, 500A "relay" :) Nov 22 14:14:05 IamTrying: we are not genius, we just know more than you do ;) Nov 22 14:14:15 +1 Nov 22 14:14:45 av500: https://www.youtube.com/watch?v=XtqbfGJEOr8 my first attempt at an arduino web controlled relay box Nov 22 14:14:51 IamTrying: http://www.amazon.de/Halbleiter-Schaltungstechnik-Ulrich-Tietze/dp/3642310257/ Nov 22 14:14:55 IamTrying: get this book! Nov 22 14:15:05 :) Nov 22 14:15:28 av500: you should have been at my talk ;) Nov 22 14:17:13 KotH: http://ecx.images-amazon.com/images/I/91v3-QLgCdL._SL1500_.jpg Nov 22 14:17:48 is that the german bible? Nov 22 14:17:54 * thews kids Nov 22 14:19:56 av500: if are throwing yours away, i'll take it ;) Nov 22 14:20:13 I have 1-4 Nov 22 14:20:16 miss 5 Nov 22 14:20:44 doesnt matter, i'll take them anyways Nov 22 14:21:30 thews: like your 'lectric box Nov 22 14:21:40 like that its not in my house Nov 22 14:21:57 av500: here's some of the stuff I control http://www.youtube.com/watch?v=h9X91L9okyM http://www.youtube.com/watch?v=nwR6sDBNOTY Nov 22 14:22:50 thews: the weed you grow any good? Nov 22 14:23:00 don't grow any Nov 22 14:23:05 other stuff grows like weeds though :) Nov 22 14:23:50 ah.. good.. i've found a vicitim! Nov 22 14:24:04 thews: are there any good books to learn about hydroponics? Nov 22 14:24:25 KotH: yeah, if you have amazon prime there is a good one you can borrow for free Nov 22 14:24:29 * thews digs it out Nov 22 14:24:53 there is no prime in switzerland Nov 22 14:25:07 http://www.amazon.com/How-To-Hydroponics-Fourth-Edition-Roberto/dp/0967202612/ref=sr_1_1?ie=UTF8&qid=1385130292&sr=8-1&keywords=how+to+hydroponics Nov 22 14:25:08 ahh Nov 22 14:27:50 I think book lending is also US prime only Nov 22 14:28:35 i think, i can lend/borrow books without prime and outside US ;) Nov 22 14:34:54 :) Nov 22 14:39:19 KotH: I've heard there are buildings hosting shelfes filled with books which you can lend ;) Nov 22 14:40:48 scholar.google.com is the best if you want really good information, but a book helps you piece it all together to start with Nov 22 14:41:05 once you have the basic understanding, then you can expand into the science parts Nov 22 14:41:52 lots of research into bioavailability, enzymes, aquaculture, organics Nov 22 14:43:46 it's a good hobby though Nov 22 14:44:13 not very expensive, and it's a field that is critical to survival and thriving, but most people don't care about at all Nov 22 14:44:37 most people dont care about anything but their next bigmac and whom to sleep with next Nov 22 14:46:52 because a large group of people clandestinely grow pot in america, sometimes I can get some really good deals buying stuff in bulk Nov 22 14:47:19 some parts that cost $12 normally each, I can get for a dollar or two Nov 22 14:47:52 if you are growing a lot of the same type of crop, you can grow a LOT of it for not much extra cost, and no extra maintenance Nov 22 14:48:38 * KotH doesnt grow pot Nov 22 14:48:44 and i dont inted to Nov 22 14:48:53 actually, i dont even have the space for growing anything :-( Nov 22 14:49:06 grow a beard Nov 22 14:49:56 you don't need more than a closet sized area to grow plants Nov 22 14:50:06 you can actually make it multi level and grow quite a bit Nov 22 14:50:23 one person I helped out getting started grew lettuce beside their monitor on their desk getting started Nov 22 14:50:39 then they upgraded to make a rack shelf system above their desk and grow maybe 50 plants indoors Nov 22 15:05:50 hii Nov 22 15:06:25 can any give me the link for beagle bone compiler toolchain please Nov 22 15:06:42 hmm Nov 22 15:06:42 <_vicash_> Hi all. Does the BBB have OpenGL native driver support in the default Angstrom image ? I see that my OpenGL application uses nearly 95% CPU all the time which makes it difficult to run other things Nov 22 15:06:48 no Nov 22 15:06:54 no openGL yet Nov 22 15:06:56 eta unknown Nov 22 15:06:59 probably never Nov 22 15:07:06 <_vicash_> sucks. why do they call it open hardware then Nov 22 15:07:27 Because it's way more open than most. Nov 22 15:07:33 <_vicash_> and they advertise the SGX processor like the second coming of christ Nov 22 15:07:43 where? Nov 22 15:07:45 <_vicash_> thanks ! Nov 22 15:07:49 Unfortunately, in mobile space, TI is about as good as it gets. Nov 22 15:07:56 And they're getting out. Nov 22 15:08:07 (from a documentation and openness perspective) Nov 22 15:08:37 <_vicash_> that is too bad. Nov 22 15:08:46 <_vicash_> the BBB is really nice hardware Nov 22 15:09:11 can any give me the link for beagle bone compiler toolchain please Nov 22 15:09:27 av500: is there an older angstrom release with opengl ? Nov 22 15:09:37 or opengles or whatever that one is Nov 22 15:10:00 old releases for BBW had opengl Nov 22 15:10:06 based on 2.6.32 or sp Nov 22 15:10:06 ahh Nov 22 15:10:14 with some chnages they can be made to run on BBB Nov 22 15:11:00 <_vicash_> av500: Here you go. In the first paragraph it says that BBB has OpenGL, http://www.h-online.com/open/news/item/BeagleBone-Black-aims-to-compete-with-Raspberry-Pi-1847904.html Nov 22 15:11:07 bbm: source or binary? Nov 22 15:11:16 * _vicash_ finding other press releases Nov 22 15:11:40 av500: 3.2.x had OpenGL support Nov 22 15:11:47 jkridner: good Nov 22 15:11:56 TI just released SGX code for 3.12, but it needs integration. Nov 22 15:11:58 give the man a link to download Nov 22 15:12:14 jkridner: yes, it needs integration since ever :) Nov 22 15:12:52 <_vicash_> jkridner: when you say integration you mean the 3.8 angstrom linux kernel has to be upgraded to 3.12 ? Nov 22 15:12:59 http://processors.wiki.ti.com/index.php/TI-Android-JB-4.2.2-DevKit-4.1.1_UserGuide Nov 22 15:13:28 jkridner: I saw that release and I'm really hoping it gets tied in Nov 22 15:13:33 * thews would be very thankful Nov 22 15:15:25 <_vicash_> jkridner: so basically if I run Android JB on the BBB I can get OpenGL acceleration ? Nov 22 15:17:03 jkridner: what's missing for full graphics support on the bbb? Nov 22 15:17:13 jkridner: just SGX in mainline? Nov 22 15:17:18 yup. Nov 22 15:17:29 what holding that back? Nov 22 15:17:38 * KotH remembers having seen patches a year ago Nov 22 15:17:44 I'm not sure. Nov 22 15:17:59 please dont tell me it's ACPI? Nov 22 15:18:07 DRM kernel changes Nov 22 15:18:36 I don't think ARM has ACPI Nov 22 15:18:52 ACPI is x86 Nov 22 15:19:05 _vicash_: you just need a kernel with SGX integrated and the associated userspace libraries. The Android release uses the 3.2 kernel. Nov 22 15:20:41 jkridner: do you think it'd be worth crowdsourcing some funding for getting that issue resolved? Nov 22 15:21:08 It's worth 30 bucks to me Nov 22 15:21:17 don't think it could hurt. Nov 22 15:21:27 would need to figure out who to pay. Nov 22 15:21:46 I have some other work I'd like to pay for as well. Nov 22 15:21:50 I'd figure someone over at TI on the SDK team Nov 22 15:22:00 they are already getting paid. Nov 22 15:22:08 crowdfunding wouldn't help there. Nov 22 15:22:13 maybe TI would take notice Nov 22 15:22:19 or accept it as a customization fee Nov 22 15:22:42 * jkridner is kinda reluctant to hand over money without a commitment. Nov 22 15:22:48 definitely Nov 22 15:23:21 I could try asking if a certain amount of money would generate a commitment, but I'm not sure how that would look for TI. Nov 22 15:23:37 I mean, are they supposed to do this work anyway or not? Nov 22 15:23:42 they == we Nov 22 15:23:53 I work for a software company and we accept $ for customizations that aren't part of our normal business Nov 22 15:24:14 k. I like attaching the word "customizations" onto it. Nov 22 15:24:38 guess I could try to get a quote. Nov 22 15:24:45 that's the only way I see it fitting into a model and not calling it a bribe Nov 22 15:24:56 or extortion :) Nov 22 15:25:22 you want to run the campaign and I can get a quote? Nov 22 15:25:32 wasn't there a web site to post bounties for open source features? Nov 22 15:25:50 I can definitely check out some of the crowdsource options and make some accounts to publicize it Nov 22 15:26:12 indiegogo maybe + twitter and google plus campaign Nov 22 15:26:30 we should place some bounties on TI managers Nov 22 15:26:45 I;m not that interested in OpenGL but I'm certainly in with a few bucks for the sake of supporting the BBB Nov 22 15:26:56 SpeedEvil: you are behind the times! Nov 22 15:27:27 KotH: err? Nov 22 15:27:36 * SpeedEvil fails context. Nov 22 15:27:40 * SpeedEvil needs more coffee. Nov 22 15:27:44 Or less coffee. Nov 22 15:28:04 SpeedEvil: http://lwn.net/Articles/574439/ Nov 22 15:28:27 I'm not a subscriber alas. Nov 22 15:29:04 SpeedEvil: it's a damn huge thread on linux-arm/devictree Nov 22 15:29:16 SpeedEvil: man up and get an lwn subscription ;) Nov 22 15:29:20 dwery: https://www.bountysource.com/ ? Nov 22 15:29:35 KotH: At the moment this room is at 7C because I can't afford heating. Nov 22 15:29:35 looks good Nov 22 15:29:42 SpeedEvil: ouch Nov 22 15:29:47 SpeedEvil: what did you do wrong? Nov 22 15:29:51 it's 20F here right now Nov 22 15:29:52 :S Nov 22 15:29:59 KotH: Catch a virus at age 12. Nov 22 15:30:03 :-( Nov 22 15:30:26 going outside in a bit is going to suck Nov 22 15:30:29 -> Chronic Fatigue Syndrome. Nov 22 15:30:58 SpeedEvil: what damn country are you living in that you dont get enough money for proper heating? Nov 22 15:31:03 SpeedEvil: you on any amphetamines ? Nov 22 15:31:06 jkridner: yes, I think it was that one Nov 22 15:31:08 The UK. Nov 22 15:31:20 There are no specific benefits that cover heating. Nov 22 15:31:28 SpeedEvil: damn.. another victim of that third world country :-( Nov 22 15:32:10 I do get $200/year, to help with heating - but due to the poor insulation if I was to actually heat properly to 20C say that would be used up in several weeks. Nov 22 15:32:41 * KotH knows how english houses are insulated... Nov 22 15:33:58 even here in mega capitalist america the poor get heating Nov 22 15:34:08 it comes from donations to the electric company though Nov 22 15:34:47 thews: afaik, the uk is only slightly better than the us, when it comes to social welfare Nov 22 15:39:57 <_vicash_> SpeedEvil: you can heat yourself by running a 100% CPU using application on the BBB ;) Nov 22 15:40:28 KotH: It's complex. Nov 22 15:41:00 KotH: Suffice it to say I've spent the past couple of years in much of my limited free time reading and understanding benifit rules, and caselaw, and primary legislation. Nov 22 15:41:12 Rahter than doing actual productive stuff. Nov 22 15:41:19 <_vicash_> jkridner: i like the idea of the crowdsourcing.. if there can be an estimate on the amount of effort needed that would be useful Nov 22 15:41:21 (free time = time in which I'm mentally competant) Nov 22 15:41:23 SpeedEvil: i know how that is. even living in .ch i had my fair share of that Nov 22 15:41:27 dwery: hmmm... how do I figure out a price for it? Nov 22 15:41:49 I could try to get a quote from TI to do it, but I don't know that TI could respond on bountysource. Nov 22 15:41:57 jkridner: that's the hardest part. first think to figure, is who can do it. TI only? any programmer? Nov 22 15:42:06 s/think/thing/ Nov 22 15:42:43 argh, everytime I want to share something that happens here, I see BeagleBot is down. :( Nov 22 15:42:57 jkridner: don't tell them it's crowdsourced Nov 22 15:43:28 SpeedEvil: I've read that the treatment for that problem is the same as it is for narcolepsy, mostly amphetamine based stuff Nov 22 15:43:31 hi all. On beaglebone black I saw that /etc/network/interfaces comes with a configuration for usb network device. When configuring the board must I need to leave the usb configuration untouched? Nov 22 15:43:55 thews: There is no effective treatment. Nov 22 15:43:57 At all. Nov 22 15:44:01 jkridner: if you can get a quote, we can probably make it happen one way or another Nov 22 15:44:14 SpeedEvil: have you tried the amphetamine based stuff? Nov 22 15:44:17 No treatment has been found to be clinically viable in a significant proportion of cases. Nov 22 15:44:19 k, gonna start that effort now. Nov 22 15:44:55 jkridner: In the last week I've been idling here I've seen that issue come up a lot, and I'm sure it'll get worse once tre is shipped Nov 22 15:44:57 Stimulants don't help - for many of the same reasons they don't really help people to stay up 96 hours. Nov 22 15:45:16 SpeedEvil: amphetamines are notorious for helping people stay up 96 hours Nov 22 15:45:29 SpeedEvil: but staying up 96 hours has it's own side effects Nov 22 15:45:53 Much of the time I'm in a very similar state. Nov 22 15:45:55 Integration into Angstrom images and Debian images, right? What else? Nov 22 15:46:00 After, for example, doing the washing up. Nov 22 15:46:07 Anyway - off topic. Nov 22 15:46:13 jkridner: that's all that matters to the majority I think Nov 22 15:46:46 <_vicash_> jkridner: if OpenGL libraries can use the native SGX driver to run that will be great. i think the kernel driver for SGX should be handling that seamlessly Nov 22 15:46:58 SpeedEvil: you're in #beagle Nov 22 15:47:06 SpeedEvil: being on-topic is off-topic here Nov 22 15:47:33 hmmm... http://logs.nslu2-linux.org/livelogs/beagle/beagle.20131122.txt log seems incomplete. Nov 22 15:47:50 for smaller channels staying fully on topic stifles ideas Nov 22 15:48:14 To restate it - I'm not especially interested in conversing about this in depth. If it was found that cutting my legs off would cure me, I'd have them off tomorrow. I've been doing research into actual clinical outcomes and there is nothing promising. Nov 22 15:48:15 * jkridner sees nslu2-log Nov 22 15:48:23 guess it takes a while to refresh? Nov 22 15:48:32 must Nov 22 15:51:48 SpeedEvil: I sent you a pm Nov 22 15:57:29 <_vicash_> jkridner: maybe you could contact Robert Nelson to get an idea of how much effort it would take to port the SGX from Android JB to Angstrom. Nov 22 15:58:50 if the android jb is on 3.2 as someone said earlier it would be completely different Nov 22 15:59:04 but a few TI documents showed 3.8 and 3.12 Nov 22 15:59:12 one specifically said they were testing 3.8 Nov 22 16:00:53 what port of sgx? they're running a kernel that is still supported Nov 22 16:00:57 hi there channel :-) I've just ordered yesterday beagleboard black :-) Nov 22 16:01:25 namely 3.2 Nov 22 16:01:51 they've just adapted the kernel to run with the bbb Nov 22 16:01:58 one unit 56 € I guess Nov 22 16:02:24 what other accessories can I add to it? Nov 22 16:02:35 <_vicash_> thurgood: if you try to build Angstrom from scratch there is only the option to run linux 3.7 or 3.8 .. if 3.2 works shouldn't that be an option for those who need SGX support Nov 22 16:03:13 a touchscreen display is it possible? Nov 22 16:03:20 3.2 default does not support the bbb Nov 22 16:03:22 dury: since the BBB has several interfaces there are almost unlimited possibilities Nov 22 16:03:48 <_vicash_> dury: yes there are many possibilities check elinux.org for more details on what you can do with LCDs and which LCDs to pick Nov 22 16:03:55 dury: there are touchscreen capes, also you can use hdmi + another interface Nov 22 16:05:35 are there any video on youtube or whatever to see the possibilities? Nov 22 16:06:19 <_vicash_> dury: Yes please read this guy's blog . he does a lot of work on the BBB and has great tutorial videos http://derekmolloy.ie/beaglebone/ Nov 22 16:07:22 dury: check the cape list Nov 22 16:07:43 _vicash_: he's already looking at it Nov 22 16:08:39 <_vicash_> jkridner: that's cool Nov 22 16:08:46 dwery cape list... sorry to ask ... but where is it Nov 22 16:09:07 dury: http://elinux.org/Beagleboard:BeagleBone_Capes Nov 22 16:12:18 any arm64 beagle boards available? Nov 22 16:13:11 ubitux: I don't think any arm64 popular devboards will be around for a while Nov 22 16:13:40 that's unfortunate Nov 22 16:13:41 dwery: so I can use BBB as personal computer as well Nov 22 16:14:01 well..it depends on what you want to do with it Nov 22 16:14:44 ubitux: http://microcontrollershop.com/product_info.php?products_id=4129 pretty cheap, but the popular arm64 stuff is just getting started Nov 22 16:14:46 what are the possibilities then? Nov 22 16:15:38 dury: embedded, home automation, micro server, etc Nov 22 16:16:20 dury: you might be interested in ninja blocks, which use BBB Nov 22 16:16:37 http://ninjablocks.com/collections/ninja-blocks/products/ninja-shield-for-beaglebone-black Nov 22 16:17:23 <_vicash_> dury: you can run Debian on the BBB and use it as a Linux PC to do things except run 3D software. it maybe be slightly slower than an x86 PC depending on what you're trying to do but otherwise works fine. I build display software that runs on the BBB connected to a TV via HDMI Nov 22 16:17:50 or watch videos in many formats Nov 22 16:18:45 arm7 devices are considerably slower than atom x86 for almost everything unless there are onboard chips that handle specific tasks Nov 22 16:19:18 but they're much cheaper and can accomplish a wide range of tasks very well Nov 22 16:22:59 hii Nov 22 16:23:23 can anyone please see why this is coming Nov 22 16:23:36 file included from /myspace/board-support/board-port-labs/sitara-board-port-uboot/include/image.h:37, from aisimage.c:29: /usr/include/asm/byteorder.h:6:2: warning: #warning using private kernel header; include instead! In file included from aisimage.c:29: /myspace/board-support/board-port-labs/sitara-board-port-uboot/include/image.h:190: error: syntax error before "__be32" /myspace/board-support/board-port- Nov 22 16:23:54 can I connect a sata HD with BBB? Nov 22 16:24:12 i am cmpiling the u boot Nov 22 16:25:11 <_vicash_> bbm: u-boot has a separate channel on #u-boot . you will get more help there Nov 22 16:25:30 thanks Nov 22 16:25:30 <_vicash_> dury: via USB you can connect anything to the BBB Nov 22 16:28:23 can it build a dronner? Nov 22 16:31:08 a drone I mean sorry Nov 22 16:32:46 dury: yes; as said, everything is through usb, so you have to plug this and you're done: https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcQyULr0l0OVhR-UgjrPOuwmUruqV9Ca00CKloVau1ZsuVvoaqmD Nov 22 16:34:21 ubitux all right Nov 22 16:34:24 have any of you guys had awesome hard lockups with a *lot* of USB traffic? Nov 22 16:34:51 Nedlinpopo: I've had strange lockups, but I don't know what to account it to Nov 22 16:35:03 (dury: that was a joke, right?) Nov 22 16:35:21 thews: do you have any USB devices attached which do big bulk transfers? Nov 22 16:35:28 no worries Nov 22 16:35:56 i.e. cameras, network dongles, GSM modems, some soundcards Nov 22 16:36:15 Nedlinpopo: I've maxed out usb on data transfer, and I've had a few lockups early on, I'm not sure if it was because of wifi drivers that also gave me problems, or usb drive or what Nov 22 16:36:30 bummer Nov 22 16:36:33 Nedlinpopo: I also have video and sound through hdmi, but usually don't run X Nov 22 16:36:45 Nedlinpopo: everything is much more stable now Nov 22 16:36:55 Nedlinpopo: the major thing was compiling my own wifi driver Nov 22 16:36:55 what kernel are you running? Nov 22 16:37:10 (with which patches) Nov 22 16:37:12 3.8.13-bone20 or 30 I think Nov 22 16:37:14 not at home right now Nov 22 16:37:55 where did you get the source? Nov 22 16:37:59 Nedlinpopo: https://github.com/justinledwards/beaglebone-debian-scripts/blob/master/wireless-fix.sh Nov 22 16:38:08 great Nov 22 16:38:10 thanks Nov 22 16:38:10 that's some of the stuff I did for the wireless drivers Nov 22 16:39:21 My work had had some serious sucking with USB, and on the previous project there wasn't time to debug it, but now i'm getting back to it. Hopefully I'll fix it for good. I've heard rumors of EMI/noise issues as well there. Nov 22 16:39:39 I haven't had those problems with the BBB Nov 22 16:39:58 I've majority had those problems when working with long traces / wires with other ICs Nov 22 16:40:04 majorly Nov 22 16:40:17 heh, you know the sayuing: Nov 22 16:40:47 "there are 2 kinds of electrical engineers, those with Signal integrity problems, and those who will have them" Nov 22 16:40:58 definitely Nov 22 16:41:21 I toss capacitors on most things now and try to keep the busses as short as possible Nov 22 16:41:50 my rule of thumb is one cap per power pin Nov 22 16:41:54 not worth the complications that happen otherwise Nov 22 16:42:18 I put a cap on every IC that takes / pushes signaling if they're not really close together Nov 22 16:42:28 and cap the power on input and output Nov 22 16:42:52 if there is voltage regulation / conversion Nov 22 16:43:26 i'm always leery ov caps on signal wires, but otherwise sound advice Nov 22 16:43:49 also, apparently i can't type to save my life today Nov 22 16:43:55 for SPI you can cap the latch I think, that's about all for signalling Nov 22 16:46:16 all right guys... really appreciate your suggestions. I'll be back in other time cheeerss :-) Nov 22 16:46:22 yeah capacitor on the latch pin for SPI doesn't hurt, stops flickering Nov 22 16:47:34 sounds plausible. some chips rely on set-up time from that, but probably fine mostly Nov 22 16:48:52 Anyone know good chats about electrical design? For example, I have a power mosfet and I want to test the output current using a load resistor. How do I determine a good power rating for the load resistor Nov 22 16:51:55 just do ohms law Nov 22 16:51:58 and watts law Nov 22 16:52:05 I*I*R Nov 22 16:52:18 and add 20% for safety Nov 22 16:54:45 is Gerald from the google group here? Nov 22 17:05:32 okay, off to the races. thanks for the info Nov 22 17:11:08 hi Nov 22 17:11:45 the BeagleBone Black boot up when i insert a power supplay? Nov 22 17:12:22 or i can push power botton? Nov 22 17:15:27 please answere Nov 22 17:15:43 the BeagleBone Black boot up when i insert a power supplay? or i can push power botton? Nov 22 17:15:49 paolo_: it will boot as soon as you connect power. Nov 22 17:15:59 ok tenk you!!! Nov 22 18:31:52 hi Nov 22 18:43:48 im unable boot from sd card Nov 22 18:44:04 can anybody help me out Nov 22 18:44:28 im new to embedded linux Nov 22 18:45:00 i ve downloaded u boot source code and compiled it.. Nov 22 18:45:17 i got MLO N UBOOT IMAGE FILES Nov 22 18:46:15 i've kept these in sd card and tried to boot from it.. but its not working.. Nov 22 18:46:22 plz help me out.. Nov 22 18:46:58 <_av500_> what board? Nov 22 18:47:10 <_av500_> on BBB, you need to hold the boot button while powerin up Nov 22 18:47:29 <_av500_> also, get a serial cable Nov 22 18:47:54 im using bbb.. im doing the same..ive everything with me.. Nov 22 18:48:06 i'll paste the logs here.. Nov 22 18:48:10 plz wait.. Nov 22 18:48:49 use pastebin please Nov 22 18:49:15 mmc0 is current device micro SD card found mmc0 is current device gpio: pin 54 (gpio 54) value is 1 SD/MMC found on device 0 reading uEnv.txt ** Unable to read file uEnv.txt ** gpio: pin 55 (gpio 55) value is 1 ** Invalid partition 2 ** U-Boot# U-Boot SPL 2013.04-dirty (Jun 19 2013 - 09:57:14) musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn) musb-hdrc: MHDRC RTL version 2.0 musb-hdrc: setup fifo_mode 4 mus Nov 22 18:49:27 these are the logs Nov 22 18:49:42 <_av500_> pastebin please Nov 22 18:50:04 invalid partition 2... where is your rootfs? Nov 22 18:50:21 i dont want to boot linux Nov 22 18:50:31 i want to boot only uboot Nov 22 18:50:43 which i have compiled Nov 22 18:51:31 i want the 1st bootloader to detect sd card and boot MLO and uboot.img from ext sd card Nov 22 18:52:16 <_av500_> pastebin please Nov 22 18:52:46 you already did get :) Nov 22 18:52:59 what is pastebin Nov 22 18:53:05 i didnt get you Nov 22 18:54:04 http://pastebin.com/ Nov 22 18:55:43 http://pastebin.com/gvJAchWF Nov 22 18:56:14 could you check there please Nov 22 18:56:54 that's uboot trying to hand off to the rootfs Nov 22 18:57:05 yeah... Nov 22 18:57:19 but it is not from my sd card Nov 22 18:57:31 it is executing from emmc card Nov 22 18:57:36 probably from the emmc Nov 22 18:58:08 yes but.. I am trying to boot u boot from my sd card Nov 22 18:58:19 where I have some changes to u boot Nov 22 18:58:21 you should be able to hold the boot button while applying power Nov 22 18:58:49 to change the boot order Nov 22 18:58:59 yes.... i am holding it for a long time but there is not response Nov 22 18:59:12 no led is blinking Nov 22 18:59:39 as long as i press the boot button Nov 22 19:00:39 mn_, you booted from SD card, not emmc. "MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1" Nov 22 19:01:34 I didnot get you vinifr Nov 22 19:01:40 how to confirm that Nov 22 19:04:19 "MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1" and "micro SD card found" and "mmc0 is current device" Nov 22 19:04:48 eMMC is a nand memory Nov 22 19:05:13 "NAND: No NAND device found!!!" Nov 22 19:05:35 the uboot from emmc is detecting the sd card Nov 22 19:05:38 can we use BF-810 (GND,Rx,TX pins) as serial debug wire for Beaglebone Black ? Nov 22 19:05:52 I hope this is happening Nov 22 19:06:13 check the date of uboot... Nov 22 19:08:12 it is june 19 2013 Nov 22 19:08:17 not my build date Nov 22 19:08:24 I have built just now Nov 22 19:10:59 If you remove the sd, is the log the same? Nov 22 19:11:07 yes Nov 22 19:11:12 the same log Nov 22 19:11:20 :o Nov 22 19:11:43 expect sd card detection Nov 22 19:11:44 can we use Bafo BF-810 (GND,Rx,TX pins) as serial debug wire for Beaglebone Black ? Nov 22 19:11:45 :) Nov 22 19:12:17 @sam_s you can use Nov 22 19:13:39 But can this damage 3.3v pins ? Nov 22 19:13:56 mn_, how do you write uboot-image for SD? Nov 22 19:15:35 first im formating the sd card in FAT32. then im copying the MLO and u-boot Image files inti it.. Nov 22 19:15:58 also did you set the partition to bootable? Nov 22 19:16:23 ]and connecting to the board and holding the boot button gave the power. Nov 22 19:16:31 do you use 'cp' or 'dd'? Nov 22 19:16:39 cp Nov 22 19:16:55 im doing it in windows.. Nov 22 19:17:32 so really does not work :) Nov 22 19:18:14 what am i supposed to do now.. plz help me out.. Nov 22 19:18:19 you can do the boot partition in windows fine, although in general I'd suggest having a linux box for dev work with the bbb Nov 22 19:18:37 did you set the partition to bootable? Nov 22 19:18:51 i've linux in my laptop.. Nov 22 19:19:02 how to do that..? Nov 22 19:20:03 is Bafo BF-810 is compatible for Beaglebone Black serial debug pins ?Are you sure they don't destroy GND,Tx,RX pin On Beaglebone Black ? Nov 22 19:20:04 im new to use this board.. Nov 22 19:20:52 not entirely sure on windows but you should be able to do it through the disk management panel Nov 22 19:21:17 mn_, there is a site, but in portuguese: http://sergioprado.org/desenvolver-sistema-linux-zero-beaglebone-black/ Nov 22 19:21:26 it may use the term active rather than bootable Nov 22 19:27:34 i didnt get it completely Nov 22 19:27:46 Can you tell now pls Nov 22 19:32:51 vinifr ?? Nov 22 19:33:30 Can Google Translate help you? Nov 22 19:34:43 i can translate, but take a while :o Nov 22 19:35:13 Can I do in any other way like in linux Nov 22 19:35:25 Can I do dd Nov 22 19:35:32 to these files Nov 22 19:35:51 mailny I dont want linux to boot as of now Nov 22 19:36:18 is Bafo BF-810 is compatible for Beaglebone Black serial debug pins ?Are you sure they don't destroy GND,Tx,RX pin On Beaglebone Black ? Nov 22 19:37:35 @sam__ yes Nov 22 19:37:56 Thank You !! Nov 22 19:38:35 i think you can use 'dd' Nov 22 19:38:43 mn, in linux just use fdisk to set the paritition active/bootable Nov 22 19:39:31 in bootable partition if i write the MLO and uboot.img Nov 22 19:39:42 will it boot from sd Nov 22 19:40:59 it should Nov 22 19:41:12 mn_, http://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-Bootloader:U-Boot Nov 22 19:42:35 http://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-SetupmicroSD/SDcard Nov 22 19:44:16 vinifr I dont know why he is using dd Nov 22 19:44:35 it is only making 0 of 1MB memory Nov 22 19:46:04 erase SD memory Nov 22 19:47:51 you must follow step by step Nov 22 19:48:31 mn_, Setup microSD/SD card, Install Bootloader, uEnv.txt based bootscript Nov 22 19:52:05 is uEnv.txt is necesary Nov 22 19:52:06 ?? Nov 22 19:52:25 I want to stop after the U boot propt only Nov 22 19:53:40 vinifr what is this http://pastebin.com/t2xXTb4i Nov 22 19:53:45 how to do that Nov 22 19:54:47 it create 2 partitions Nov 22 19:56:54 try type the whole command Nov 22 19:58:21 EOF split the command in lines Nov 22 20:00:21 for my particular board I use: (Format) http://rhombus-tech.net/allwinner_a10/a10_mmc_boot/ Nov 22 20:00:59 ok Nov 22 20:01:18 I have created the two partitons Nov 22 20:01:45 and i have copied the MLO and uboot.img to the /dev/sdb1 partion Nov 22 20:02:15 do i need to create any boot directory in the /dev/sdb1 Nov 22 20:02:16 ?? Nov 22 20:02:59 i think that is enough Nov 22 20:03:02 nope, Nov 22 20:03:16 ok i will check it on the board once Nov 22 20:06:43 no.... Nov 22 20:07:12 nothng is happening on the board Nov 22 20:07:57 mn_, "uEnv.txt based bootscript" Nov 22 20:08:51 what is it compulsary to load the uboot from sd card Nov 22 20:09:04 when i press the boot button CCCCCCCCCCCCCCCCCCCCCCCCCCCC Nov 22 20:09:22 this format is prining in tera term Nov 22 20:09:58 mn_, sorry, uEnv.tx is only for load linux Nov 22 20:10:08 yes Nov 22 20:10:09 hmm Nov 22 20:10:32 nothing? log? Nov 22 20:10:43 no log Nov 22 20:10:53 only CCCCCC are priniting Nov 22 20:11:12 how did you compile images? Nov 22 20:11:52 "make ARCH=arm CROSS_COMPILE=${CC} am335x_evm_config"? Nov 22 20:12:04 make ARCH=arm CROSS_COMPILE=/myspace/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux/bin/arm-linux-gnueabihf- Nov 22 20:12:07 yes Nov 22 20:12:10 i did that Nov 22 20:12:37 after that i have given the above command Nov 22 20:13:56 is the first stage bootlade able to detect sd card and load the MLO?? Nov 22 20:14:05 strange! unfortunately I do not have a bbb Nov 22 20:14:53 should be able to do that as it does for other boards like the xM Nov 22 20:15:06 hmm Nov 22 20:16:09 If I overwrite the emmc with my uboot from sd card Nov 22 20:16:25 I can boot my own image na Nov 22 20:16:28 ?? Nov 22 20:18:06 bbb is strange, because i use 'dd', not 'cp' in order to install uboot Nov 22 20:18:18 in my board Nov 22 20:18:33 yeah, but it sounds like you don't want to do that Nov 22 20:18:52 in dd how many files you have given Nov 22 20:18:58 "dd if=spl/sunxi-spl.bin of=/dev/sdX bs=1024 seek=8" Nov 22 20:19:10 "dd if=u-boot.bin of=/dev/sdX bs=1024 seek=32" Nov 22 20:19:22 my board is cubieboard Nov 22 20:19:23 the evm board is not the same as the bbb as far as I know... could be wrong there for the sake of MLO Nov 22 20:20:08 yes, they are differents Nov 22 20:20:47 both are arm, but still differents Nov 22 20:21:08 how to overwrite emmc image Nov 22 20:21:09 same CPU line, but different boards Nov 22 20:21:52 i want to overwrite MLO and Uboot.img images in the emmc Nov 22 20:22:01 it'd be like flashing a bios for one mobo onto a different mobo and hoping it works because they boath support the same CPU Nov 22 20:23:03 how to this any idea Nov 22 20:29:38 augh, which package is ptrace in in ubuntu? Nov 22 20:31:56 try the command at the console, it will probably tell you the package if it's not already installed Nov 22 20:32:43 nope Nov 22 20:32:52 hmm Nov 22 20:33:30 why my uboot.img is PPCimage Nov 22 20:33:33 python ptrace? Nov 22 20:33:37 python-ptrace? Nov 22 20:33:40 no. Nov 22 20:34:00 oh nvm Nov 22 20:34:03 ptrace is a system call Nov 22 20:34:09 [root@vijay mnt]# file u-boot.img u-boot.img: PPCBoot image Nov 22 20:34:26 I dun goofed Nov 22 20:35:23 ah... Nov 22 20:41:08 dose any know the ubuntu 13.10 root password i try useing ubuntu ubuntu but it did not work. Nov 22 20:46:44 ow can one link one or more BBB together ? Nov 22 20:47:15 how * Nov 22 20:48:15 Ethernet? SPI? I2C? RS232? USB? GPIB on the GPIO lines? Nov 22 20:52:27 ah ok thank you :) one last think thou i have a BBB with ubuntu 12.04.3 i log as ubuntu ubuntu but i just get the command line windowed how get to the normal ubuntu 12.04 desktop ? Nov 22 20:56:28 any one :O Nov 22 20:59:22 is any one running ubuntu are there BBB ? Nov 22 20:59:25 nohearth2 I believe the default user is ubuntu and pass is temppwd. If you want a root user password, you can set one with sudo passwd Nov 22 21:03:02 allright i try temppwd will it take just to the command line windowed or the environment Nov 22 21:04:01 nohearth2 never used a BBB with a monitor so I'm not sure. Always used the prompt Nov 22 21:04:33 ah ok thank you etch Nov 22 21:04:54 can the BBB run Xbmc or no ? Nov 22 21:05:53 i got to go guy but thank you for the help :D Nov 22 21:06:03 i see no reason why it can't. UI won't be as snappy as a PC Nov 22 21:06:05 np Nov 23 01:53:17 Hi, I have a Beaglebone Blacl and I can't update Image. Nov 23 01:54:21 I download https://s3.amazonaws.com/angstrom/demo/beaglebone/BBB-eMMC-flasher-2013.06.20.img.xz unxz the file and I dd the .img to my sd card but I have no result Nov 23 01:55:26 This is how I try to flash internal memory using sd card https://www.youtube.com/watch?v=2tdKHuNnSOw&feature=youtu.be (Sorry for my english, I'm a french speaker) Nov 23 01:56:53 Thank you ! Nov 23 02:26:53 hello Nov 23 02:28:04 I buy my beaglebone black... i'm trying to connect to them by firefox... but the first title is orange.. not green... and requesting the IP addrees of my board... what I can do? Nov 23 02:29:21 It's my first contact with BBB somebody can helpme pelase? Nov 23 02:35:18 dose any know how to get to the Ubuntu desktop environment in 12.04 lst i login name and pass for it but i get in to desk top environment ? Nov 23 02:41:58 i try do sudo apt-get ubuntu-desktop but it did't work. how can i get into the ubuntu desktop environment ? Nov 23 02:44:46 hello any one ??? Nov 23 02:50:56 somebody can help to solve a basic problem? tks Nov 23 02:53:44 ? **** ENDING LOGGING AT Sat Nov 23 02:59:59 2013