**** BEGIN LOGGING AT Thu Apr 19 02:59:59 2012 Apr 19 03:01:32 it was booting ok, then I tried to use zcat on it, after than nothing will boot, even after I made a new sd Apr 19 03:21:13 I tried saveenv to erase the nand but nothing happened Apr 19 03:21:19 still the same Apr 19 03:21:52 this is with a new image too Apr 19 03:29:50 hello ? Apr 19 03:31:24 cbt? Apr 19 03:31:42 ? Apr 19 03:32:07 anyone here ? guess not ? Apr 19 05:14:26 <_av500_> no Apr 19 05:14:44 ?? Apr 19 05:15:03 <_av500_> ok, yes Apr 19 05:16:34 _av500_, can u look at this? https://groups.google.com/forum/?fromgroups#!topic/beagleboard/ArKFc3HS7_o Apr 19 05:16:56 I have a feeling something is hosed hardware wise :| Apr 19 05:21:24 <_av500_> sorry, no idea Apr 19 05:21:40 <_av500_> to verify the HW, boot an angstrom setup Apr 19 05:22:29 _av500_: why are you so helpful lately? Apr 19 05:22:37 :) Apr 19 05:23:47 _av500_ both angstrom and android hang about the same place with that usb init stuff Apr 19 05:24:10 _av500_ is cool :P Apr 19 05:28:08 i keep forgetting the xM Rev A had a NAND still Apr 19 05:41:10 emeb_mac: looks like you are working on a cool project Apr 19 05:41:43 mranostay: which one? :) Apr 19 05:42:07 <_av500_> the cool one Apr 19 05:42:19 <_av500_> you mean you have 2 cool projects? Apr 19 05:42:39 _av500_: all my projects are cool. Except the ones that are hot. Apr 19 05:42:55 <_av500_> mechanical stress must kill you Apr 19 05:43:05 which is most of them, now that summer is coming to AZ Apr 19 05:43:23 heh Apr 19 05:43:57 Seems like I always end up working on high-power RF amps just as the weather gets warm here... Apr 19 05:44:07 * koen yawns Apr 19 05:44:17 emeb_mac: space heaters in AZ? :) Apr 19 05:44:23 Office full of power supplies & analyzers. Apr 19 05:44:51 * emeb_mac nudges koen Apr 19 05:45:28 koen: liked the post in the google group about leading by example Apr 19 05:46:02 so TI has a warehouse in ND? Apr 19 05:46:44 Closer to Thief River Falls? Apr 19 05:47:02 <_av500_> emeb_mac: which post? Apr 19 05:47:31 _av500_: koen posted diffs for the dvi audio driver Apr 19 05:47:33 emeb_mac: I know some people want to plan digikey face to face meetings during ski season :) Apr 19 05:47:45 emeb_mac: probably. my tracker says Grand Forks ND Apr 19 05:47:51 middle of nowhere :) Apr 19 05:48:21 koen: Maybe Nordic. Not a lot of downhill in that area I'd say. Apr 19 05:48:58 I knew some folks from Egan who loved the winter snowmobile touring though. Apr 19 05:51:23 mranostay: yep - looks like it's just a hop-skip from Grand Forks to TRF. Apr 19 05:52:23 yay! my (beaglebone) OS can context-switch Apr 19 05:53:20 <_av500_> like a BOSs Apr 19 05:54:00 it can also crash Apr 19 05:54:11 and sometimes it crashes and context-switches at the SAME TIME Apr 19 05:54:56 como un jefe. Apr 19 06:03:13 anybody have an error when trying to install python-pyserial with opkg? Apr 19 06:04:21 yes, command not found Apr 19 06:05:07 hm, not here, it collected errors: Cannot install package python-pyserial Apr 19 06:06:01 preceded by unknown package Apr 19 06:08:31 any thoughts? Apr 19 06:11:11 it is an unknown package? Apr 19 06:11:24 that's what it says Apr 19 06:12:19 and you won't accept that? Apr 19 06:12:52 well I accept that it thinks it's an unknown package Apr 19 06:13:15 but others have seemed to not have troubles Apr 19 06:14:50 did you do opkg update? Apr 19 06:16:13 no Apr 19 06:16:16 I'll do that Apr 19 06:18:54 well that was embarrassing Apr 19 06:18:55 thanks koen Apr 19 06:19:09 <_av500_> koen: why does it still no do that by itselfß Apr 19 06:19:11 <_av500_> ? Apr 19 06:19:19 <_av500_> at least in the error msg Apr 19 06:25:05 _av500_: I asked the opkg developers and they said "we don't know, that's how it has always been" Apr 19 06:25:39 mdp: from a quick look the AVS patchset doesn't have ABB support, only SR class3, ABB is class 1.5 iirc Apr 19 06:36:26 _av500_: they care for our running gags Apr 19 07:28:10 * aholler moans about the weather Apr 19 07:28:32 weather shrugs Apr 19 07:29:10 * dm8tbr moos Apr 19 09:21:51 Hi Apr 19 09:22:32 can any body help me in how to cross compile opencv for beagleboard-xM Apr 19 09:22:37 please Apr 19 09:22:47 use angstrom, it has opencv already Apr 19 09:23:13 I am using angstrom Apr 19 09:24:01 so Apr 19 09:24:28 i know it has opencv but what is the procesure to compile any opencv sample code Apr 19 09:25:30 Ifrom net i came to know that u have to cross compile Apr 19 09:25:56 I am very new to this Apr 19 09:26:55 you dont have to cross compile Apr 19 09:27:20 you can install all the opencv stuff with angstrom and then compile your app that uses opencv on the board Apr 19 09:27:27 then how to compile and run on beagleboard it self Apr 19 09:27:39 well, I am not going to teach you how to compile code here Apr 19 09:27:40 can u please help me Apr 19 09:27:55 bascially, the same way you would compile on your PC Apr 19 09:27:58 like you would compile x86 code on an x86 machine Apr 19 09:28:14 it does not have gcc Apr 19 09:28:21 think of the beagle as a small "computer" :) Apr 19 09:28:25 install gcc then :) Apr 19 09:28:48 by opkg install gcc command Apr 19 09:28:52 also, these questions have been asked before Apr 19 09:29:14 yeah, google might have thousands of hits for that issue Apr 19 09:30:04 thanks a lot Apr 19 09:34:44 av500: what's this 'google' you keep talking about? Apr 19 09:37:17 koen: clean your glasses, I did not mention google Apr 19 09:37:30 there are many other fine search engines out there Apr 19 09:37:39 like quackquackfly Apr 19 09:40:18 * koen cleans glasses Apr 19 09:40:24 ogra_: what's this 'google' you keep talking about? Apr 19 09:40:26 Hi there, is anyone got a good how to that explains how to implement SPI on beagleboard? Apr 19 09:43:53 Hi friend Apr 19 09:45:15 I was trying to find procedure to compile a c program on beagleboard but unsuccessful Apr 19 09:45:49 can u direct me to some proper link or .. Apr 19 09:45:59 [11:27:54] bascially, the same way you would compile on your PC Apr 19 09:47:24 pradeep: are you trying cross compiling or you want to compile directly on the board? Apr 19 09:48:43 as u told I am thinking for compile directly on board Apr 19 09:49:15 pradeep_: are you being purposely obtuse, youve been given the answer 3 times now Apr 19 09:50:16 pradeep_: gcc hello.c -o hello_bin Apr 19 09:50:36 pradeep_: chmoad a+x hello_bin Apr 19 09:50:48 pradeep_: ./hello_gin Apr 19 09:51:09 pradeep_: ./hello_bin Apr 19 09:51:16 hello gin! Apr 19 09:51:18 once I have beagleboard running, go to gedit create hello world program. then ... Apr 19 09:51:51 pradeep_: like on any other linux computer Apr 19 09:52:15 hi all :) after some check with osilloscope i think that my lcd can work..so the problem i think is software...so i have some question. How can i get what /dev/fbN is used to lcd header? Apr 19 09:52:15 yeah ,i m trying again Apr 19 09:52:26 pradeep_: then what? Apr 19 09:52:44 koen: btw, what is that 2E: MAC on the beagle? Apr 19 09:52:55 my netgear router thinks it is bogus :) Apr 19 09:53:18 stuk_gen: /deb/fb0 most likely Apr 19 09:53:34 av500: isn't that the one based on the die ID? Apr 19 09:53:47 could be Apr 19 09:54:05 av500: i have /dev/fb0 fb1 fb2 and fb.... how can i get SURE that lcd header are on fb0? Apr 19 09:54:21 lcd headers are on the baord Apr 19 09:54:23 board Apr 19 09:54:48 av500: ok but where is the connection from /dev/fb0 to lcd header? is there some file configuration? Apr 19 09:55:14 reads DSS documentation Apr 19 09:55:16 read Apr 19 09:55:58 linux/Documentation/arm/OMAP/DSS Apr 19 09:58:12 koen: based on die id maybe, but it should still be valid Apr 19 10:02:54 koen: If the second bit transmitted on the wire is a 1, then the address is considered locally administered. If the second bit is a 0, then address is globally administered and the first 24-bits must be a globally unique OUI assigned by the IEEE. Apr 19 10:03:01 av500: is correct that i have in /sys/devices/omapdss a display0 dvi and display1 tv ? Apr 19 10:03:06 koen, yes, that's what I noticed…no ABB in there. I briefly reviewed the older ABB patches so I would have expected it to jump out at me if it were there Apr 19 10:03:18 av500: why isn't there a display lcd? Apr 19 10:03:18 koen: now, is it msb or lsb 1st :) Apr 19 10:03:35 stuk_gen: because "lcd" is just a name Apr 19 10:04:03 av500: ok...but beagleboard xM have a dvi port, s-video tv port, and lcd header Apr 19 10:04:22 av500: i'm especting display ... dvi,tv and lcd no? Apr 19 10:04:28 3 display* Apr 19 10:04:35 no Apr 19 10:04:49 you obviosly did not read the schematics Apr 19 10:04:51 or the SRM Apr 19 10:05:40 av500: no i'm not look the schematic...so i have to know that lcd header and dvi port have the same pins? Apr 19 10:07:18 stuk_gen: you are not curious? Apr 19 10:18:28 totally unrelated: http://www.lyricsvip.com/Violent-Femmes/Lack-of-Knowledge-Lyrics.html Apr 19 10:20:11 hi Apr 19 10:20:40 I tried to compile Apr 19 10:21:44 it is giving following errors -sh Apr 19 10:22:00 -sh: gcc:not found Apr 19 10:22:35 pradeep: you didn't install Toolchain dev Apr 19 10:23:03 Have you compiled your distrib using Narcissus?$= Apr 19 10:23:19 yes Apr 19 10:23:44 strictly speaking narcissus doesn't compile is the CS sense of the word, only in the publishing sense of the word Apr 19 10:24:43 koen: CS = common sense? Apr 19 10:25:01 ok you mean, it's just a website :) Apr 19 10:25:31 pradeep: is your board connected on internet throught Ethernet port? Apr 19 10:25:43 it created two images one distribution and other toolchain Apr 19 10:26:01 ok, but you don't need toolchain curently Apr 19 10:26:15 ok Apr 19 10:26:23 try "aptitude install gcc" on ur board Apr 19 10:26:27 yes it is connected Apr 19 10:27:48 aptitude? Apr 19 10:28:00 it's the same of apt-get Apr 19 10:28:06 * koen starts looking for some hard liquor to survive today on #beagle Apr 19 10:28:12 but safer in my mind Apr 19 10:29:30 hi Apr 19 10:30:11 i-sh: aptitude: not found Apr 19 10:30:25 and apt-get? Apr 19 10:30:57 * lpi is joining koen to his table Apr 19 10:31:26 pradeep_: opkg update; opkg list Apr 19 10:32:01 av500: I forgot that I was working on ubuntu ^^ Apr 19 10:32:15 yes, ubuntu does that to people... Apr 19 10:32:48 scary: http://www.heise.de/imgs/18/8/2/1/2/6/2/USB-Power-c433ad30a541bc3f.png Apr 19 10:32:53 it kills kitten too... Apr 19 10:33:46 mainline kernel has sound on bbxm - that's pleasant Apr 19 10:34:15 av500, wow, so i can sell my welder and just use my laptop and a USB cable in the future ? Apr 19 10:34:18 awesome ! Apr 19 10:35:52 i wonder if you can make it 20V 10A with a Y-cable :) Apr 19 10:36:14 You can use this stuff to start your car Apr 19 10:36:15 well, usual hub has 4 ports, so..... Apr 19 10:36:31 400W would be enough to power a PC Apr 19 10:37:37 hi apt-get not : found Apr 19 10:38:15 [12:31:25] pradeep_: opkg update; opkg list Apr 19 10:40:25 it gives so many thing starting with perl -module-unicore-lib.... Apr 19 10:40:28 av500: not if he's running fedora ;) Apr 19 10:42:17 https://groups.google.com/forum/?fromgroups#!topic/beagleboard/UcaeHFWUgzY Apr 19 10:43:18 sorry Apr 19 10:43:27 what for? Apr 19 10:44:14 just Apr 19 10:44:31 to bring attention Apr 19 10:44:57 * mdp reads "perl" and "unicorns" Apr 19 10:44:59 mmm Apr 19 10:45:00 forgiven Apr 19 10:45:22 "sorry" is the new "ping" ? Apr 19 10:45:26 panto, that's good news Apr 19 10:45:31 hi mdp Apr 19 10:45:46 pleasantly surprised Apr 19 10:45:48 hi panto Apr 19 10:45:58 now moving to the video part Apr 19 10:46:03 now what i should do? Apr 19 10:46:09 read Apr 19 10:46:12 * panto scrambles to find the hdmi to dvi-d connector Apr 19 10:46:36 here, once again: https://groups.google.com/forum/?fromgroups#!topic/beagleboard/UcaeHFWUgzY Apr 19 10:46:40 panto, I can fax you serveral Apr 19 10:46:44 or several Apr 19 10:47:57 severe faxing Apr 19 10:48:17 kindly fax me severely the codez Apr 19 10:49:01 panto, if I could fit the connector in 8KB I'd ship a 27c64 with it through .gr customs Apr 19 10:49:15 panto, you'll get it in ~3.2 months Apr 19 10:49:18 I was able to cross compile hello world and easily run on BB-xm Apr 19 10:50:14 can u suggest if i want to cross compile opencv and run on BB-xm Apr 19 10:51:59 lol Apr 19 10:53:16 pradeep: you dont need to compile opencv Apr 19 10:53:21 its already compiled Apr 19 10:54:08 if this was a ph0rum, opencv would have a sticky Apr 19 11:12:12 mdp: 'sticky' is dutch 70s slang for a joint Apr 19 11:12:37 hrm Apr 19 11:13:06 appropriate for opencv questions :) Apr 19 11:13:10 indeed Apr 19 11:14:02 koen, with your access to TI know-how, have you been given any updates on the USB DMA situation? Apr 19 11:14:47 no Apr 19 11:14:53 koen, I was reminded by one of the posts to the list Apr 19 11:15:13 just that OMAPN, where N>4 has silicon bugs Apr 19 11:15:34 nothing on software or AM parts Apr 19 11:15:47 I used to be cced on the internal debug progress..since I was the one to finally document the issue(s) in detail Apr 19 11:15:48 I did see that RMK sent a patchset to convert hsmmc to dmaengine Apr 19 11:15:54 but no longer Apr 19 11:16:15 yes, that was expected to happen Apr 19 11:16:51 AIUI that is a huge step in getting 'mainline' mmc working on bone Apr 19 11:17:02 the other TI asked him to handle the sdma->dmaengine conversion Apr 19 11:17:42 * koen looks for board-am335x.c in mainline Apr 19 11:17:50 yeah, we have to write an edma dmaengine driver now though Apr 19 11:17:55 koen, lol :) Apr 19 11:18:32 some people said I should push to mainline Apr 19 11:18:41 but I have trouble finding am335x support Apr 19 11:18:46 I must be doing something wrong Apr 19 11:19:01 koen, khilman and I were talking last night, and with VH's latest round of patches you can now actually boot the bone off of mainline Apr 19 11:19:27 first time this is possible with an under review patchset..pretty cool Apr 19 11:19:36 it is Apr 19 11:20:20 trouble is, you need to distract boris houndleroy with some scooby snacks cause he'll think this means "it's done" Apr 19 11:20:49 I have trouble communicating about mainline on bone Apr 19 11:21:21 me too Apr 19 11:21:31 it is hard to get the point across to non-software people about the progress being made while managing expectations Apr 19 11:21:47 it's difficult to soundbite the situation and the good reasons why the path in is slow Apr 19 11:22:49 but yeah, mr houndleroy will badger me about using 'mainline' this week Apr 19 11:24:13 on a good news front, we at least got the blessing to shift one person away from am37x upstream to help with am335x Apr 19 11:24:25 specifically because of this Apr 19 11:25:17 I'm afraid mr. houndleroy wil think this means the finish line is 2 weeks away :) Apr 19 11:30:06 koen, I found that the summary of the situation is in another mail. basically, the debug continues but is at the point where ajay will need to go to dallas Apr 19 11:30:22 koen, that should give you an idea of the status Apr 19 11:43:25 can any one help me Apr 19 11:44:14 i am unable to find any proper way to run opencv on beagleboard Apr 19 11:46:00 even i am not able to compile hello world on BB Apr 19 11:46:23 I can do this by cross compiling Apr 19 11:46:44 but not cross compile opencv Apr 19 11:46:55 please Apr 19 11:47:02 please Apr 19 11:47:16 http://narcissus.angstrom-distribution.org/ Apr 19 11:47:24 there's a opencv option, use this Apr 19 11:47:58 I have done that Apr 19 11:48:13 i have created distribution Apr 19 11:50:10 oO( sounds a bit like "i have made fire." ) Apr 19 11:52:04 please help Apr 19 11:52:55 any idea how to use I2C_READ_REPEATED_START ob beagleboard?? Apr 19 11:53:12 on Apr 19 11:54:22 hello Apr 19 11:54:44 is any one there to help me Apr 19 11:54:49 ? Apr 19 11:55:40 pradeep: obviously, at the moment nobody here is able to help you. please stop asking every few minutes now, come bak in a few hours. Apr 19 11:55:47 why do you want to compile opencv when it;s already available as binaries? Apr 19 11:56:38 bitbake koen; opkg install koen; ./koen Apr 19 11:57:21 XorA: MACHINETYPE=irc-supporter Apr 19 11:57:44 i find only c codes in that not binary codes Apr 19 11:58:34 * XorA is staying away from this as he doesnt even know what opencv is, I lost track at OpenGL :-D Apr 19 11:59:00 XorA: some vision thing. super fancy, many people love buzzwording it ;) Apr 19 11:59:07 beaglebone system question: /var/lock & run are mounted on tmpfs, but I do not see the entry in /etc/fstab. Which script does that? Is it somehow configured in sytemd? Apr 19 11:59:27 LetoThe2nd: so the computer watching me watching my pr0n, erm no thanks :-D Apr 19 11:59:56 XorA: yeah, nobody wants to see YOUR pr0n, i guess. Apr 19 12:00:38 any idea how to use I2C_READ_REPEATED_START ob beagleboard?? Apr 19 12:07:43 Hi, I'm new to the BeagleBone, so bear with me. (and still pretty new to Linux) :) I have a expansion board with a touch screen, but don't know how to change the P8 and P9 Mux modes. I'm running Fedora 15 on the BeagleBone. Could someone point me in the right direction? Should I switch to a different Linux distribution? Apr 19 12:10:34 yes, switch to angstrom, that has the best support for expansionboards Apr 19 12:10:38 thomas_fogh: somewhere in /sys/debug/xyz should be the possibility to change muxing. Apr 19 12:11:05 LetoThe2nd: that's answering the question, not solving the problem :) Apr 19 12:11:31 * koen suspects the actual question is "how do I make this expansionboard work" Apr 19 12:11:32 koen: hehe Apr 19 12:11:47 LetoThe2nd: Thanks! but I don't have a /sys/debug directory... Apr 19 12:11:49 http://mywiki.wooledge.org/XyProblem Apr 19 12:12:25 thomas_fogh: then either read up on debugs, and/or do what koen said ;) Apr 19 12:19:44 LetoThe2nd: I don't want to you to help me make the expansion board work, but help me understand the basics... Apr 19 12:21:02 thomas_fogh: well than, reading up on what debugfs is and how to use it certainly will help you understanding basics. Apr 19 12:21:33 thomas_fogh: http://en.wikipedia.org/wiki/Debugfs Apr 19 12:22:07 mdp: I'm trying to find a booting config, here's another failed boot: http://fpaste.org/6ZVw/ Apr 19 12:23:26 LetoThe2nd: debugfs is useless to get lcd+ts working Apr 19 12:23:43 since linux cannot to runtime init of pdata Apr 19 12:23:51 koen: i have never stated that it is helpful for lcd/ts. Apr 19 12:24:18 thomas_fogh: you need to install angstrom and look at how the angstrom kernel handles expansionboards Apr 19 12:26:12 koen: Thanks, I'll look into the angstrom distribution. Don't know why my boss installed Fedora 15, when there's a BeagleBone distribution available... Apr 19 12:26:34 koen: see, now angstrom is "The BeagleBon Distribution" Apr 19 12:29:00 LetoThe2nd: Well, closer to a BeagleBone distribution than Fedora 15. Apr 19 12:30:41 the kernel is the secret sauce Apr 19 12:31:04 * mdp considers that opencv may well be the beowulf cluster of a new linux generation Apr 19 12:33:07 mhhh.... sauce Apr 19 12:35:13 LetoThe2nd: angstrom is what comes with the beaglebone box, so yes, it is the beaglebone distro Apr 19 12:36:19 koen: linux can happilly do runtime pdata initalisation Apr 19 12:36:54 XorA: but not easily, you need to compile stuff :) Apr 19 12:37:17 koen: nope, create a mfd device that doesnt probe your device until its handed a binary blob Apr 19 12:37:27 agreed, there's no blessed userspace api :) Apr 19 12:37:57 XorA: echo new_mfd > /sys/class/something? Apr 19 12:38:06 or does it involve a .c file that needs to get compiled? Apr 19 12:38:27 mdp: when you say booting bone off of mainline, are you talking linux mainline? Apr 19 12:38:30 koen: no-one does it not as its not really sane, but in theory it would be quite simple Apr 19 12:38:51 koen: we have sysfs, we have mfd class add_children call Apr 19 12:39:52 travalas, sorry, linux kernel mainline, correct Apr 19 12:40:01 travalas, it's not useful for users, of course Apr 19 12:42:33 XorA: there's a few different way to get at that... Apr 19 12:43:13 mdp: yeah, I was listing one possible Apr 19 12:43:19 XorA, for i2c devices, there's already a logical place to extend this with the new_device interface that is quite dumb atm Apr 19 12:43:58 I looked a bit at doing the same for spi devices, but quite frankly, it all hinges on having a standard way to instantiate free form platform data for any of these devices Apr 19 12:44:13 there's very few i2c/spi devices that have any value without platform data :) Apr 19 12:44:44 but I agree, in concept the implementation is simple. Apr 19 12:45:34 mdp: yeah I was just trying to get across there is no actual requirement for pdata to be const at boot Apr 19 12:46:16 right, I think you guys are just talking past each other..koen's just lamenting that there's no user framework for this today Apr 19 12:46:36 to be really useful to the wider community, it needs to be somethign driven upstream Apr 19 12:47:27 hi, can dsp write directly to framebuffer ? Apr 19 12:47:32 I'm already frightened of somebody producing a "cape mfd" or similar one-off crap :) Apr 19 12:48:10 oooh Apr 19 12:48:14 excellent suggestion Apr 19 12:48:17 cape mfd device Apr 19 12:48:25 * mdp deletes the logs Apr 19 12:48:56 * mdp flings uv eraseable eproms at koen Apr 19 12:51:57 beaglebone system question: /var/lock & run are mounted on tmpfs, but I do not see the entry in /etc/fstab. Which script does that? Is it somehow configured in sytemd? Apr 19 12:53:09 XorA, outside of the interface to shove a platform data blob descriptor into the kernel and attach it to a platform/i2c/spi device is the interesting question of what tools do you use to generate that blob? Apr 19 12:54:11 XorA, I was thinking that for runtime instantiation like this, there's no sense reinventing the wheel..you simple use a DT fragment, dtc, .dtb output and post process if necessary..shove that in Apr 19 12:54:48 even on a DT enabled kernel, there's a use case to not have to reboot to add a device Apr 19 12:55:34 hotpluggin spi and i2c? Apr 19 12:56:22 I'm using avr-devices with bitbanged usb for that ;) Apr 19 12:56:23 not necessarily Apr 19 12:56:46 but we've been hotplugging platform devices by instantiating code in an fpga for a long time on other platforms Apr 19 12:56:48 and so forth Apr 19 12:57:26 there's tons of reasons it shouldn't be forced to reboot to add something Apr 19 13:00:31 aholler, I've been hacking on using an msp430 as a tool to emulate some popular i2c/spi ICs…so that is a hotplug case Apr 19 13:05:46 aholler, that boot log looks crazy bad Apr 19 13:13:05 ok,i'm reading more document for know how can i connect and run my lcd on beagleboard xM. I read a module omap-dss but in sys/devices/platform i have a omapdss and in dmesg i not found anything that cointains omapdss...so can do this the problem? Apr 19 13:35:06 stuk_gen: its the same DSS that outputs to DVI or LCD Apr 19 13:35:13 its even using the same pin Apr 19 13:35:29 all you need to do is to tell it to use the correct resolution and timing for your LCD Apr 19 13:35:38 *same pins Apr 19 13:35:56 av500: i try fbset and have correct resolution for all fb0 fb1 fb2 framebuffer Apr 19 13:37:58 jkridner_: ping Apr 19 13:38:05 pong Apr 19 13:38:49 mdp: I'd be happy to have the boot-only case handled initially. Apr 19 13:39:29 the ability to add a device at run-time is a care-about, but I think that improving drivers with solutions like 'new_device' in sysfs could be a workable approach for that. Apr 19 13:40:22 using device tree fragments would be ideal, but I wouldn't want to hold up until that was solved architecturally. Apr 19 13:40:41 \o/ DT Apr 19 13:41:05 koen: pong Apr 19 13:43:53 so Apr 19 13:44:05 if I change the code to match the schematics the DVI board stops working Apr 19 13:44:35 and I', 99% sure the bug is in my code Apr 19 13:49:42 jkridner_, well you already have the boot-only case in process with the massive DT effort in ARM Apr 19 13:50:02 so you particular use case is met Apr 19 13:51:01 it just isn't in a usable state. Apr 19 13:51:06 jkridner_: I don't meaning using fragments in the way you were thinking Apr 19 13:51:20 jkridner_: you can boot boards with DT Apr 19 13:51:38 but I can't get to the same level of functionality as with koen's kernel. Apr 19 13:51:56 yeah, just need to throw more people at it Apr 19 13:53:26 some problems want to be solved in the short-term too..since we are talking a 1 year horizon to have full functionality in mainline Apr 19 13:53:47 1+ years :) Apr 19 13:53:53 texas years or metric years? Apr 19 13:54:15 Is it possible to have a member of a global struct be a module parameter? Apr 19 13:54:17 :) Apr 19 13:55:06 koen, may need to translate to stardates Apr 19 14:01:37 jkridner_, there are patches posted constantly to expand DT support…they just need people to review and test on platforms that matter to them Apr 19 14:02:25 hi everyone! I'm currently trying to build an angstrom-based beaglebone image with a customized kernel. after building the original systemd-image, I ran bitbake virtual/kernel -c clean, -c menuconfig, -c compile, -c deploy. the resulting uImage in the deploy folder is still the one from the systemd build. what am I missing here? Apr 19 14:05:17 Why when you configure a pin (let's say UART4_RXD) to be pinmuxed to its uart function, why does the 0x20 bit (which normallly says its an input or an output) not seem to be reflected when you look at the pinmux debug fs entry? Apr 19 14:05:33 right now it says PIN_OUTPUT ... but it's the uart RX and it's working so obviously it's not rdiving it as an output Apr 19 14:05:44 does the PIN_OUTPUT vs. PIN_INPUT only matter if it's configured as a GPIO? Apr 19 14:07:48 Somebody know if it's obligatory to copy the MLO file first on the SDCard? I've read a post that said that the OMAP is looking for a file called "MLO" on the partition, and it doesn't matter the order of copying Apr 19 14:07:52 +s Apr 19 14:08:39 indeed Apr 19 14:08:43 its not obligatory Apr 19 14:09:23 ok, is it since the beginning of times, or it was fixed by revisions of the board? Apr 19 14:09:46 I follow the better safe than sorry credo and always put it on first Apr 19 14:10:06 lpi: it was the 11th commandment Apr 19 14:10:20 just that Moses had no idea what "MLO" meant Apr 19 14:10:32 of these 15.. ooops10 commandments? Apr 19 14:11:14 av500: thanks! Apr 19 14:11:32 * lpi is getting his holy Bible Apr 19 14:11:46 get a wholy beagle instead Apr 19 14:12:10 can someone tell me how to make beagleboard i2c in REPEATED_START mode?? please Apr 19 14:12:32 which file to modify? Apr 19 14:13:50 what does i2c repeated start do? Apr 19 14:14:07 wooly beagles Apr 19 14:14:32 why would i want a dog with holes in it? Apr 19 14:14:48 to read continuously ( for example 2 bytes of data) without stop bit for the first byte Apr 19 14:16:19 ah, dunno then sorry Apr 19 14:37:35 repeated start is a way to send a request and get the response in the same sort of i2c "frame" Apr 19 14:38:02 the purpose of it is to not allow any other master to squeeze in between and screw you up. Apr 19 14:38:09 is it from a different address? Apr 19 14:38:15 no Apr 19 14:38:22 ah Apr 19 14:38:32 yeah Apr 19 14:38:48 what hiwaeng said Apr 19 14:39:14 I'd guess that the bone driver supports this and the place I'd start is the i2c-dev docs, assuming you're playing in userspace right now Apr 19 14:39:55 ugh, what would cause msleep() to never return? Apr 19 14:39:56 can you prevent anything else from squeezing in without realtime support? Apr 19 14:40:07 mru: a time machine Apr 19 14:41:48 a sleeping pill Apr 19 14:42:05 or a poisoned apple Apr 19 14:42:17 try to kiss it Apr 19 14:42:23 an omap-kernel Apr 19 14:43:30 thurbad: I'm not sure the answer to that, but, keep one thing in mind here: somebody else squeezing in only matters if you're in a multi-master i2c bus Apr 19 14:44:04 if there' sonly one master (for instance the bone itself) then it's not really an issue; you just have to make sure YOUR software (which you control) does the right thing and doesn't stomp on itself or other pieces of sofwtare running on the system Apr 19 14:44:50 but there could be several devices on the bus Apr 19 14:44:57 and different drivers reading from them Apr 19 14:45:01 no? Apr 19 14:45:06 yeah Apr 19 14:45:13 true, and I suppose it would have to be playing with the same address to cause a problem? Apr 19 14:45:21 no Apr 19 14:45:26 hmm Apr 19 14:45:31 haha Apr 19 14:45:40 i meant yeah there coudl be multiple drivers all accessing the same bus Apr 19 14:45:54 but there probably wouldn't be multiple driver accessing the same devices on said bus Apr 19 14:46:26 There would be a low level 'bus driver' to keep them apart Apr 19 14:46:31 I'm just suggesting that this particular question gets into an area that doesn't affect very many people Apr 19 14:48:20 I thought i2c-dev would allow you to read a "block" of data anyway, and have its own synchronization at least at the i2c driver level... I'm not sure. Apr 19 14:48:32 I really hate I2C. A lot. Apr 19 14:48:59 i2c was simple when we used 2 GPIOs to bitbang it Apr 19 14:48:59 a repeated start is usually used to read after write. Apr 19 14:51:05 Is the serial port is initiliazed during the first or the second stage boot sequence? Apr 19 14:52:51 what stages? Apr 19 14:53:07 aholler: 1st stage = xloader, 2nd stage = Uboot Apr 19 14:53:08 yes Apr 19 14:53:16 first Apr 19 14:53:23 possible again in 2nd Apr 19 14:53:27 and in kernel too Apr 19 14:53:27 hello Apr 19 14:53:31 thurbad: no Apr 19 14:53:35 my beagleboard doesn boot Apr 19 14:53:39 doesnt* Apr 19 14:53:44 its the most overinitialized part of the SoC Apr 19 14:53:55 jude: what a pity Apr 19 14:54:19 lpi: since MLO prints stuff on serial, it has to, no? Apr 19 14:54:19 lpi are you saying it doesn't get initialized multiple times, or just being contrarian Apr 19 14:54:25 does the beagle need to have the 3 lights on? Apr 19 14:54:37 cause i only have 1 light on Apr 19 14:54:45 which one? Apr 19 14:54:46 jude which beagle type? Apr 19 14:54:49 av500: true ^^ Apr 19 14:54:54 :) Apr 19 14:54:57 beagleboard xm Apr 19 14:55:04 mru: is it still sleeping? Apr 19 14:55:26 how are you powering it Apr 19 14:55:49 5v adapter Apr 19 14:55:58 thurbad: I didn't know that serial is configured more than one time in fact Apr 19 14:56:17 av500: yes Apr 19 14:56:29 the clock disappeared ;) Apr 19 14:56:33 thurbad: 5v adapter Apr 19 14:56:54 how many amps? Apr 19 14:58:11 thurbad: how do you how much is the adapters amps? Apr 19 14:58:22 read the label Apr 19 14:58:36 it should have a milliamp rating on it Apr 19 14:58:50 or an amp rating Apr 19 14:59:02 true Apr 19 14:59:03 or megaamp! Apr 19 14:59:39 winamp? Apr 19 14:59:51 audacious Apr 19 15:00:01 thurbad: but im using the adapter for the beagleboard Apr 19 15:00:30 thurbad: i think its 2.0 amps Apr 19 15:00:31 one that someone sold you with the board? I wasn't aware of an official adapter Apr 19 15:00:51 2.0 amps should be fine Apr 19 15:01:37 thurbad: but there is only one light on (the power light), the usb light is not on Apr 19 15:01:59 jude: did you made a bottable sdcard, Apr 19 15:02:03 bootable Apr 19 15:02:10 do any more lights come on in the boot sequence Apr 19 15:02:10 +? Apr 19 15:03:03 koen optimized them away, took too mutch time ;) Apr 19 15:03:09 thurbad: it's not even booting up, I have the mx tester beta bootable card Apr 19 15:03:16 aholler: +1 Apr 19 15:04:04 how can I install LXDE on angstrom without wiping my xorg config? last time I did it I lost the ability to play multimedia smoothly Apr 19 15:04:16 cp Apr 19 15:04:22 lpi: yeah i have a bootable sdcard Apr 19 15:04:33 do you have a terminal attached to the xM's serial port Apr 19 15:04:44 no Apr 19 15:04:55 do that Apr 19 15:04:59 then come back Apr 19 15:05:38 ok Apr 19 15:05:46 just a moment Apr 19 15:06:21 does it need to have the 3 lights on? Apr 19 15:06:52 eventually, but they don't all come on at once Apr 19 15:09:01 If I recall, all but the power led are controlled by the omap/software Apr 19 15:10:35 thurbad: how do you connect a terminal to the serial port?\ Apr 19 15:10:45 no point in speculating, connect serial and observe Apr 19 15:11:32 generally you need a usb-serial cable... unless you have a machine with a serial port, then you need a serial cable Apr 19 15:12:43 then you bring up minicom if you're using linux on your host machine Apr 19 15:13:38 thurbad: im using windows. do you have mincom for windows? Apr 19 15:13:42 and configure the port for 115200baud, 8 bits, 1 stop, no flow control Apr 19 15:14:12 looks for realterm if you're using windows 7, that's whatI've usedon windows Apr 19 15:14:38 hyperterminal should work in older releases Apr 19 15:14:47 putty is nice and simple and free Apr 19 15:15:22 alrighty... imma try to do just that... just a moment. Apr 19 15:15:28 fair enough.. I've only used that for ssh :P Apr 19 15:16:38 I think once he went to all the hassle of working terminal emulation adding serial support was a doddle :-D Apr 19 15:19:30 thurbad: is it possible to test the board without a terminal program? Apr 19 15:20:34 not really, youd be blindly guessing rather than reading a printout telling you what is actually happening Apr 19 15:20:34 jude: mayne things are possible Apr 19 15:20:39 many Apr 19 15:21:12 * XorA remebers in the old 2.0 days when the keyboard LED could blink morse at you Apr 19 15:21:19 possible maybe likely, not really Apr 19 15:27:35 XorA: thank you for the mksdcard script you wrote. Very efficient Apr 19 15:28:04 the sector 9 cargo cult thing? Apr 19 15:28:12 it works by accident Apr 19 15:28:17 cylinder 9 Apr 19 15:28:24 try cylinder 10 instead Apr 19 15:28:39 thurbad: is hyperterminal ok? Apr 19 15:28:43 sure Apr 19 15:29:02 lpi: there have been a few patches now that transformed it from basics I wrote to what you see now Apr 19 15:30:24 XorA: sry, I didn't understand your sentence ^^ Apr 19 15:30:53 lpi: I wrote the oritinal, but 2-3 people improved it and made it reliable Apr 19 15:31:04 ok ^^ Apr 19 15:32:50 is hyperterminal for windows 7 using a usb-to-serial adapter work? Apr 19 15:33:54 hyperterminal doesn't work Apr 19 15:34:01 do yourself a favour and delete it Apr 19 15:34:18 jude: yes it works Apr 19 15:34:25 just select the correct COM port Apr 19 15:34:39 we don't have a serial to usb adapter yet Apr 19 15:35:25 jude: you may use Putty, it's a good terminal Apr 19 15:35:36 hyperterminal doesn't even come with windows since vista Apr 19 15:35:42 +1 Apr 19 15:35:58 hyperterminal = ie6 Apr 19 15:36:10 hyperterminal = the hot shitz! Apr 19 15:36:44 the hyperterminal is created after a hot curry then Apr 19 15:36:52 It kills kitten, and eats all your candies. Apr 19 15:37:16 XorA: where is the current version of that reliable script? Apr 19 15:37:27 av500: meta-ti I beleive Apr 19 15:37:45 av500: I handed it over to TI dudes to maintain, it was koen, no idea who it is now Apr 19 15:37:58 does that have a url or do I need to extract a patch from koen? Apr 19 15:38:14 Im sure he will give you a 500M tarball :-D Apr 19 15:38:36 thats the problem, he wont Apr 19 15:38:42 XorA: still me and denix Apr 19 15:38:51 he will give me a git to checkout a tarball and then apply patches Apr 19 15:38:59 and feathers Apr 19 15:39:21 ah I was wrong he kept it in Angstrom Apr 19 15:39:22 https://github.com/Angstrom-distribution/meta-angstrom/blob/master/contrib/omap3-mkcard.sh Apr 19 15:40:10 although I personally use the script for freescale, intel, marvell etc CPUs as well, anything that likes to boot from FAT partitions Apr 19 15:40:13 ok, still magic number 9 inside Apr 19 15:40:21 try with 10 :) Apr 19 15:40:56 9 was big enough for beagle and zoom2/3 :-D Apr 19 15:41:03 is putty (instead of hyperterminal) on windows 7 using a usb-to-serial adapter fine? Apr 19 15:41:06 try 8 then Apr 19 15:41:23 av500: I cant actually rememeber why I settled on 9 Apr 19 15:41:32 because it magically worked Apr 19 15:41:35 av500: but I did choose it for a reason Apr 19 15:41:45 every odd number works Apr 19 15:41:46 jude - yes, just make sure to set the speed and flow control correctly in putty's serial options Apr 19 15:41:49 av500: I think I worked out how much space I needed and 9 did it :-D Apr 19 15:42:25 it may however have been the space needed to store a PSP CFW flash file :-D Apr 19 15:43:07 XorA: dont get me wrong, cargo cult is fine, its job security :) Apr 19 15:44:45 av500: it was originally a bigger number and I do remember reducing it for a reason, but I dont remember what that wa Apr 19 15:45:23 * XorA blames koen Apr 19 16:01:39 ti doesn't care to fix that stupid requirement? I thought the rom is sw, so easy fixable ;) Apr 19 16:04:44 just need to apply a patch to your rom Apr 19 16:04:54 but I assume just nobody wants to fix that because of responsibility ... Apr 19 16:05:08 nobody knows who writes the romcode Apr 19 16:07:07 some in a cellar, guarded behind thick walls and dozens of security guards Apr 19 16:07:28 in contact with the world over a wire only Apr 19 16:09:07 * prpplague wonders if koen is alive today Apr 19 16:09:45 aholler, you are closer to the truth than you might think Apr 19 16:11:38 big companies like it to do so Apr 19 16:12:50 aholler: nobody will touch omap3+4 rom code Apr 19 16:12:57 (any more) Apr 19 16:13:19 they touched it for omap5 since it boots from sata too :) Apr 19 16:13:48 I bet it doesn boot when the fat has a even number of cylinders Apr 19 16:14:12 evne is actually good Apr 19 16:14:35 but its only the interaction between MBR and mkfs.msdod Apr 19 16:14:37 but its only the interaction between MBR and mkfs.msdos Apr 19 16:16:02 cylinders is irrelevant Apr 19 16:16:13 even number of sectors is needed with mkfs.msdos Apr 19 16:16:42 unless mkfs.msdos is fixed to not adhere to the FAT spec like M$ does :) Apr 19 16:17:17 m$ surely has a patent on that Apr 19 16:22:02 Hi everybody, I try to crosscompile for arm, sinmple program and I cannot get over: Apr 19 16:22:12 Symbol 'CLOCKS_PER_SEC' could not be resolved Apr 19 16:22:32 Anybody know what's wrong ? Apr 19 16:23:19 forgot to #include something? Apr 19 16:23:24 somewhere in your code you have tried to use 'CLOCKS_PER_SEC' but not included or built the files containing it Apr 19 16:23:57 #include "time.h" Apr 19 16:24:29 Apr 19 16:25:00 ja Apr 19 16:29:03 or perhaps have -I set incorrectly? Apr 19 16:29:53 possibilities abound Apr 19 16:30:32 I have: #include Apr 19 16:30:51 why sys? Apr 19 16:32:48 OK I corrected to "time.h" but still same - I have cross compile setted up in eclipse... Apr 19 16:34:20 OK I see - compiler complains but actually it gets compiled :) Apr 19 16:34:22 have you set the includes directory up ineclipse? Apr 19 16:36:34 I have this plugin from: http://gnuarmeclipse.sourceforge.net/updates and Sourcery_CodeBench_Lite_for_ARM_GNU_Linux Apr 19 16:37:54 ok thought maybe you had set up eclipse manually to cross-compile Apr 19 16:41:53 so how do I get miliseconds in c? What function ? Apr 19 16:42:12 multiply seconds by 1000 Apr 19 16:42:22 thurnbad: yes Apr 19 16:42:38 thurbad: yes Apr 19 16:42:53 clock_gettime() Apr 19 16:52:55 aaah: error: 'CLOCK_REALTIME' undeclared (first use in this function) Apr 19 16:56:17 zhivko: read the man page Apr 19 16:57:48 XorA: https://github.com/Angstrom-distribution/buildhistory/commit/c4790bbe1534c8c536f6cacf509d93b14cf6050c Apr 19 16:58:11 i wanted to know. if i make a custom cape (ill produce one or 2) if i get an eeprom on it and configure say pins for uart , will it mount a new uart port automatically in linux Apr 19 16:58:41 only if you make a patch for the kernel and send it to the beagleboard list to get it accepted Apr 19 16:58:46 koen: nice, logfiles in git Apr 19 16:59:12 html logfiles? Apr 19 16:59:55 koen: thx. so the board sees which pin i use but doesnt configure them or it only configures the muxing Apr 19 17:07:22 pastjean: it only sees the eeprom Apr 19 17:08:19 koen: ok thx , so i have to make a kernel patch to configure everything right Apr 19 17:08:22 thank you Apr 19 17:08:37 correct Apr 19 17:09:15 er, can I ask a quick panda question? Apr 19 17:09:35 copuing u-boot.img to the FAT partition is OK Apr 19 17:09:40 as in the name is fine Apr 19 17:09:54 yes, as long as your using the MLO from u-boot... Apr 19 17:10:03 MLO from meta-ti Apr 19 17:10:11 I assume it works, just curious Apr 19 17:10:21 well.. MLO from u-boot, not the old MLO from X-loader (which looked for u-boot.bin) Apr 19 17:12:14 Crofton|work: OFFTOPIC! Apr 19 17:12:22 wewe Apr 19 17:12:24 wew Apr 19 17:12:36 got it before the topic police arrived Apr 19 17:12:41 :) Apr 19 17:12:52 i'll write you a ticket anyway Apr 19 17:13:08 well, the beagle's the same in this case.. so it's more of a generic question.. ;) Apr 19 17:13:13 anything here is offtopic, it seems... Apr 19 17:14:58 isn't musb bashing the only offical topic. ;) Apr 19 17:15:19 yes Apr 19 17:17:14 khasim: where is my hawkboard? Apr 19 17:17:44 av500: is this channel called hawk or beagle? Apr 19 17:17:56 touche Apr 19 17:23:59 denix: trolling is ontopic :) Apr 19 17:24:24 exactly! :) Apr 19 17:25:26 and real people don use linux, they program their own thing Apr 19 17:28:01 btw : is socketcan driver already compiled in the kernel &? Apr 19 17:46:14 Hello, I just got my beaglebone, Does anyone know of a good tutorial on connecting an serial lcd display ( a 2x16 char display ) Apr 19 17:46:45 use wires Apr 19 17:47:55 timholum: I dont know of one Apr 19 17:47:58 but google might know Apr 19 17:48:17 https://www.google.com/search?q=beagle+board+character+lcd Apr 19 17:49:30 I am doing some googling on it, and found a few things that I might be able to work with it, But I figured I would ask to see if there is a good one that I have not found yet :) Apr 19 17:49:57 we gave up being better than google Apr 19 17:50:07 we just accept defeat Apr 19 17:50:28 :) sounds good Apr 19 18:31:14 I think you will need some level-shifters. Apr 19 18:32:29 those are the new requirement for doing hw-friggling with newer SoCs. Apr 19 18:40:48 "Does Contreras have the same linguistic origin as "contrary"?" ;) Apr 19 18:40:56 9 Apr 19 18:46:36 <_av500_> aholler: yes Apr 19 19:09:16 topfs2: stupid question: what's the easiest way to have xbmc display a v4l2 input (e.g. webcam) on the screen Apr 19 19:10:51 <_av500_> koen: write code? Apr 19 19:11:18 I'd think paying someone else to would be a lot easier, imo Apr 19 19:11:36 <_av500_> koen: yeah, sell the Ferrari Apr 19 19:11:47 drat Apr 19 19:13:01 trade the Ferrari for the code Apr 19 19:16:44 yes, barter trade is getting popular :p Apr 19 19:16:52 koen: might be a clue here: http://forum.xbmc.org/showthread.php?tid=32136 Apr 19 19:17:26 <_av500_> koen: its a trap - a forum! Apr 19 19:18:17 <_av500_> hahm windows media encode :) Apr 19 19:19:30 koen: yes, forums, beware! http://tech.groups.yahoo.com/group/ts-7000/message/21858 Apr 19 19:19:58 "We've been told over the years that the web forum based format is a better and more scalable alternative than subscribing to a large mailing list anyway" Apr 19 19:20:51 <_av500_> ynezz: and that forum abounds with postings and replies Apr 19 19:20:56 <_av500_> all 12 of them Apr 19 19:21:39 it's soo fresh Apr 19 19:21:46 clue != solution Apr 19 19:25:44 ynezz: that's ts systems, they probably found a forum that runs on BSD Apr 19 19:26:47 ScottCh: the webcam would be attached to the beaglebone (not usb, but gpmc, so a 'real' camera) Apr 19 19:30:28 is socketcan driver already compiled in the default kernel ? Apr 19 19:31:43 zgrep CAN /proc/config.gz Apr 19 19:33:29 :) thanx i love to get to know how things work Apr 19 19:33:44 learning a lot with you guys Apr 19 20:03:22 groumpf, i hate that stupid usb bug Apr 19 20:03:44 which one Apr 19 20:03:59 you need to be more specific, there are too many usb bugs on beagle* :) Apr 19 20:04:04 usb webcam timeouts before even getting a frame on beaglebone Apr 19 20:05:31 why does musb suck so much? Apr 19 20:05:51 the answer is in the "M" Apr 19 20:06:14 i figured... so it begs the question why does mentor suck so much? Apr 19 20:08:20 <_av500_> its an OTG host Apr 19 20:08:30 <_av500_> made for 2 phones to exchange vcards Apr 19 20:08:40 and nothing more. ;) Apr 19 20:08:45 <_av500_> to replace IRDA on the new nokias Apr 19 20:09:00 <_av500_> I swear, that *is* the design document Apr 19 20:09:38 and why is this usb an otg one ? doesn't omap3 have real usb host ? Apr 19 20:10:05 <_av500_> it has Apr 19 20:10:16 but .. ? Apr 19 20:10:18 <_av500_> but bone is not omap Apr 19 20:10:26 <_av500_> omap3+4 have EHCI Apr 19 20:10:29 ah ok Apr 19 20:10:37 <_av500_> that worls reasonably well until you want it to suspend Apr 19 20:10:40 <_av500_> works Apr 19 20:10:55 <_av500_> which on a phone, nobody sane would ever want.... Apr 19 20:11:10 <_av500_> but again, EHCI was added by nokia to connect a usb 3g modem maybe Apr 19 20:11:33 TIL... nice Apr 19 20:12:26 (modem on droid3 is on usb at least) Apr 19 20:12:33 <_av500_> see Apr 19 20:14:07 otg block is the same between bone and board? Apr 19 20:14:37 it looks like a never revision.... Apr 19 20:14:54 bone has 2 blocks Apr 19 20:14:56 <_av500_> GalaxyMusb →→ Apr 19 20:14:59 <_av500_> GalaxyMusb II Apr 19 20:15:01 the driver is written for one Apr 19 20:15:06 <_av500_> GalaxyMusb S2 II Apr 19 20:15:12 so tons of locking problems and race conditions Apr 19 20:15:23 <_av500_> koen: xzibits what? Apr 19 20:15:48 _av500_: http://knowyourmeme.com/memes/xzibit-yo-dawg Apr 19 20:16:47 for the academics: http://www.yodawgyo.com/xzibit-yo-dawg-i-herd-you-like-functions-newton-edition/ Apr 19 20:16:51 <_av500_> ah Apr 19 20:17:52 koen: you mean that disactivating musb slave would make it work ? Apr 19 20:18:02 Hmmmm Apr 19 20:18:04 xzibit would probably like scheme Apr 19 20:18:23 because i don't care at all about the usb gadget, while i need usb host :D Apr 19 20:18:53 phh: if only Apr 19 20:19:16 there are some versions where that could be the case Apr 19 20:20:02 ds2: last time I looked someone was creative with the #ifdef CONFIG_FOO sections Apr 19 20:20:22 ds2: e.g. ignoring CONFIG_FOO Apr 19 20:20:37 koen: hehehehe... thought Felipe will bring sanity to that code? Apr 19 20:20:45 or did he resign from that task? Apr 19 20:21:10 yo yo! Apr 19 20:21:42 ds2: like which versions ? Apr 19 20:21:44 ds2: felipe is working for WBU Apr 19 20:21:50 <_av500_> is he now? Apr 19 20:21:55 ds2: am335x code is not done by WBU Apr 19 20:21:55 oh Apr 19 20:22:05 koen: I who they are Apr 19 20:22:18 but felipe is suppose to be impartial with all the different musb dejour flavors Apr 19 20:22:44 ds2: felipe did use some nice expletives when being asked about the dual-musb design Apr 19 20:22:57 hehheheeh Apr 19 20:23:06 <_av500_> yo dawg, we put musb in your musb? Apr 19 20:24:08 has PM for the AM33x arrive yet? Apr 19 20:24:15 * ds2 ducks first Apr 19 20:24:19 <_av500_> ds2: still in memphis Apr 19 20:24:37 ds2, technicall, since musb doesn't work.. PM works. ;) Apr 19 20:24:59 we don't need no stinkin musb Apr 19 20:25:16 _av500_: MEM? Apr 19 20:25:18 someone just needs to jump in a debug it... it isn't THAT painful Apr 19 20:25:19 ds2: the firmware for the m3 is opensource now Apr 19 20:25:34 ds2: so if you luck out in the silicon lottery, resume works Apr 19 20:25:45 koen: Oh... Apr 19 20:25:47 * koen didn't luck out and only gets suspend Apr 19 20:25:56 * ds2 waits for ES2.x silicon Apr 19 20:26:04 is there any board like the bone for the size (could be 30% larger), with a proper cpu (bb rasp pi), with a working host usb available ? Apr 19 20:26:19 phh: what speed host? Apr 19 20:26:27 FS? LS? HS? Apr 19 20:26:33 hs Apr 19 20:26:35 gumstix overo? Apr 19 20:26:46 the classic should have a working HS host Apr 19 20:26:58 ds2: too big :( Apr 19 20:27:15 I don't think the BB classic exceeds the 30% larger then the Bone Apr 19 20:27:17 koen: that would be an option indeed, costly though Apr 19 20:27:22 but I am counting volume Apr 19 20:27:26 not footprint ;) Apr 19 20:27:42 ds2: xm is classic right ? Apr 19 20:27:51 phh: the xM is the xM...the classic is the classic Apr 19 20:27:57 there are 3 beagles - Apr 19 20:28:00 oh, i thought it had the same format Apr 19 20:28:10 AM33x based bone. OMAP3530 based classic. DM3730 based xM Apr 19 20:28:19 arrange in order of increasing footprint Apr 19 20:28:31 and probally also processing power ;) Apr 19 20:28:42 rasp pi is a proper cpu? Apr 19 20:28:45 phh: or you can find someone to debug that code for you. musb isn't THAT bad Apr 19 20:28:53 rasp pi is a fail. Apr 19 20:28:58 no docs == non starter Apr 19 20:29:07 ds2: well my problem is the arm11. Apr 19 20:29:07 not available as parts == non starter Apr 19 20:29:11 <_av500_> docs are everywhere Apr 19 20:29:57 phh: it just takes time to debug it. Apr 19 20:30:16 what the musb driver really needs is having a rep. from each flavor all meet up at a conference and just has it out Apr 19 20:30:43 * Russ discovers that there is a reason you can't put a swap file on btrfs...and attempting to subvert that limitation is "bad" Apr 19 20:48:14 <_av500_> what is swap? Apr 19 20:48:26 ew gross Apr 19 20:54:49 and beagleboard classic's usb host works properly ... ? Apr 19 20:55:25 <_av500_> the EHCI Apr 19 20:55:26 on the c4/c5 yes.. Apr 19 20:55:54 _av500_: yeah not the otg Apr 19 20:58:33 * Russ notices 8139too taking over his 8129 card on his server Apr 19 21:03:14 phh, arduino uno..it has a proper cpu Apr 19 21:03:19 err...its supposed to be an r8169...why is it claiming to be an 8129 Apr 19 21:03:34 mdp: it's all relative. Apr 19 21:03:40 <_av500_> absolutely! Apr 19 21:03:54 phh, just saying… :) Apr 19 21:04:05 mdp: but considering i said rasp pi sucks, i won't even talk about an atmega Apr 19 21:04:25 it has docs, the h/w works, huge community Apr 19 21:04:28 epic win Apr 19 21:05:14 mdp: does it have an usb uvc webcam driver available ? Apr 19 21:05:28 <_av500_> it can talk to the serial JPG cam :) Apr 19 21:05:32 oh, now you want to get fancy Apr 19 21:05:48 <_av500_> http://www.sparkfun.com/products/9334 Apr 19 21:06:04 i like my cpus in DIPs, reminds me of old days Apr 19 21:06:07 I don't understand why everybody wants CPPI 4.1 DMA to work..PIO ought to be good enough for anybody Apr 19 21:06:36 my only problem with atmegas are I can't erase in the UV oven :-/ Apr 19 21:06:37 mdp: i tried usb on pio, doesn't work either. Apr 19 21:06:40 damn flash crap Apr 19 21:06:50 <_av500_> flash is dead Apr 19 21:07:28 phh, so you hit the "other bug" Apr 19 21:07:35 cool. Apr 19 21:07:59 at least the sekrit is safe on this secure channel Apr 19 21:09:25 my fingers are tied :) Apr 19 21:09:55 <_av500_> djlewis: they are just sticky from that taco.... Apr 19 21:10:13 nope. Burrito Apr 19 21:10:23 172 people…bound together with this sekrit…a burden for all to carry Apr 19 21:14:28 i feel heavier already Apr 19 21:15:03 my pci product id changed from 8169 to 8129 Apr 19 21:15:56 <_av500_> Russ: I feel for you Apr 19 21:16:08 <_av500_> when it happened to me I was devastated Apr 19 21:16:35 <_av500_> but years of counseling and these pills helped me in the end... Apr 19 21:16:50 funny thing is, 8 months ago when I first ordered the card, the first one had the same problem Apr 19 21:17:03 so I returned it for a new one Apr 19 21:17:39 8169, do I smell realtek? Apr 19 21:17:44 ya Apr 19 21:17:48 http://www.newegg.com/Product/Product.aspx?Item=N82E16833166005 Apr 19 21:17:51 throw it in the bin Apr 19 21:18:03 strange coincidence, its the cheapest gige pci card you can buy Apr 19 21:18:40 buy an intel pro1000 or something instead Apr 19 21:18:44 rock solid stuff Apr 19 21:19:09 the price difference is worth it Apr 19 21:20:03 hmmm...its double the price Apr 19 21:20:14 as long as it lasts twice as long, I'm sold Apr 19 21:20:33 double $15 is still cheap Apr 19 21:20:47 heh, on the r8169, 'Pros: Works, cheap. Cons: Inedible.' Apr 19 21:21:43 I've had nothing but bad experiences with realtek Apr 19 21:22:05 hey, I've had great experiences with the $15 I saved too Apr 19 21:22:27 what'll that get you, two beers? Apr 19 21:23:30 <_av500_> or a latte in mountain view Apr 19 21:24:03 beers are only 4 dollars in mountain view so you can have 3 and change Apr 19 21:24:20 is that real beer we're talking about? Apr 19 21:24:33 is newcastle real beer? Apr 19 21:24:39 no Apr 19 21:24:50 <_av500_> 4$? I call GOOG a sell! Apr 19 21:25:23 they have all sorts of IPAs and stuff too but those are too strong for me Apr 19 21:26:46 IPA == Anhydrous Isopropyl? Apr 19 21:27:06 indian pale ale i think Apr 19 21:28:37 the problem with the US is that when most people say beer they mean a superchilled liquied with almost as much flavour as diluted water Apr 19 21:28:47 even though there are some really good breweries around Apr 19 21:29:37 i think people just get what they like Apr 19 21:29:41 takes all kinds to make a world Apr 19 21:30:12 ooh... beer :) Apr 19 21:31:08 mru: could be worsed...could be as flavored as distilled water ;) Apr 19 21:32:38 whats vpfe_init ? Apr 19 21:33:08 some davinci thing Apr 19 21:35:31 <_av500_> vidoe processin front end Apr 19 21:47:12 anyone familiar with how the bash prompt gets generated? must it detect a tty? If I want to pipe in data, do I have to fake a tty? Apr 19 21:47:27 why do you need the prompt? Apr 19 21:47:49 I believe it does check for a tty... many scripts check if PS1 is set to decide if it is interactive or batch Apr 19 21:48:40 jkridner_: that should be covered in the manual Apr 19 21:48:54 I didn't see it in 'man bash' Apr 19 21:49:09 but probably didn't know for what I was looking. Apr 19 21:49:29 I'm creating an app that opens up and remotes a shell... Apr 19 21:49:37 I'm thinking I'll try pty magic. Apr 19 21:49:55 jkridner: from man bash: " PS1 is set and $- includes i if bash is interactive" Apr 19 21:50:05 jkridner: PS1 is the prompt Apr 19 21:50:26 did you try the advance bash shell scripting guide? Apr 19 21:50:45 http://tldp.org/LDP/abs/html/ Apr 19 21:51:00 In the shell I have open, $PS1 is empty and $- is 'hB'. Apr 19 21:52:13 jkridner_: "An interactive shell is one [...] whose standard input and error are both connected to terminals, or one started with the -i option." Apr 19 21:52:18 my bash shells follow that rule Apr 19 21:53:06 Russ: I did find that, but haven't found the magic in it yet. Apr 19 21:53:59 are you starting a shell for interactive use? Apr 19 21:54:43 k. -i was all I seem to have needed. Apr 19 21:54:46 yes. Apr 19 21:55:17 thought I'd tried that already, but I guess not. my program had --login, which is wrong. Apr 19 21:55:45 are you reinventing expect functionality? :) Apr 19 21:56:54 kinda, but it really is interactive over a web page. Apr 19 21:57:01 replacing that slow gateone thing. Apr 19 21:57:25 oh... web console for the bone? Apr 19 21:57:30 yeah. Apr 19 21:57:41 heh Apr 19 21:57:53 wonder if that is lighter weight then VNC + the VNC java client Apr 19 21:58:12 seem to have a side-effect with -i in that it captures stdin on the real tty in addition to taking input from the app. Apr 19 21:58:40 well, that does rely on java working, but embedding the VNC java client on the bone does make sense. Apr 19 21:58:42 can you close(0), close(1) before starting it? Apr 19 21:58:50 or prehaps dup it to /dev/null or something else? Apr 19 21:59:11 that only requires java on the web browser side, not on the bone Apr 19 21:59:26 what are you talking about closing? on what handle? Apr 19 21:59:44 closing fd 0 and fd 1 so it can't grab the tty Apr 19 22:00:21 you are, on some level, doing a fork() and exec so in the child process side close off fd 0, 1, and maybe 2 should avoid it grabbing the tty Apr 19 22:00:36 I remember using a java ssh client years ago Apr 19 22:00:43 what about my debug output? Apr 19 22:01:07 if you do it in the child, it won't effect the parent Apr 19 22:01:19 if you can't, you could play games with dup2() before and after starting it Apr 19 22:01:19 I'd also do a test later to see what other fd's you might have inherited Apr 19 22:01:33 since I'm passing the streams to the child, I'm not sure how it is getting the parent. Apr 19 22:01:37 test? if you want a list, that's what lsof is for Apr 19 22:01:54 jkridner_: most likely it is looking at fd 0, 1, and maybe 2 (stdio) Apr 19 22:02:03 another side effect is that bash is now repeating what I send to its input stream. Apr 19 22:02:16 or if you are totally ghetto...ls -l /proc/${PID}/fd Apr 19 22:02:39 wonder if bash has a echo disable option Apr 19 22:03:28 bash does not echo anything unless you set -x Apr 19 22:04:06 mru: thought readline included in bash might do that Apr 19 22:04:56 if you're interactive on a real terminal, sure Apr 19 22:05:08 if it's just reading from a pipe it shouldn't do that Apr 19 22:05:24 I think in this case, it grabbed a tty and is probally thinking it is on a real terminal Apr 19 22:06:13 now speaking of fd juggling, here's something I did recently: exec 3>&1; exit $(exec 4>&1; (command1 args ... 2>&1 >&3; echo $? >&4) | command2 >&2) Apr 19 22:06:44 ds2: http://pastebin.com/0jJ0jaPM Apr 19 22:06:52 weird, doing some googling, the pci id changing on the r8169 to 8129 is pretty common Apr 19 22:07:14 Russ: I have board with an 8111 that randomly vanishes entirely Apr 19 22:07:40 I disabled it in the bios and plugged in an intel card instead Apr 19 22:08:11 yeah... it grabbed it from the parent's stdio Apr 19 22:08:16 closing it before hand should fix it Apr 19 22:08:40 but why that one bit of the id register Apr 19 22:08:56 either fork(); close(0...2); dup2(0,yourpipe); dup2(1, yourpipe); dup2(2, yourpipe); exec() Apr 19 22:08:58 or Apr 19 22:09:43 in parent - foo[0...2] = dup(0..2); close(0...2); startshell(); dup2(0...2, foo[0..2]); Apr 19 22:10:04 you might have to follow up the close(0...2) in the 2nd case with some dup2's Apr 19 22:10:38 daemon() is handy too Apr 19 22:10:57 if you want to be lazy about it and pull in more GPL'ed Apr 19 22:11:01 :) Apr 19 22:11:05 guys, did you hear about the school dance where the night before the building got hit by lightning? Apr 19 22:11:18 I guess it was an electrically erasable PROM. Apr 19 22:11:20 also, instead of closing fd's after the fork, you can set O_CLOEXEC Apr 19 22:12:01 but that doesn't give you the chance to replace those with your pipe Apr 19 22:12:15 and leaving 0, 1, 2 close is a potential security issue Apr 19 22:12:46 well yes, once you fork, you daemon Apr 19 22:13:02 er, just daemon Apr 19 22:13:06 it does fork for you Apr 19 22:13:28 unless you don't want sedsid Apr 19 22:13:31 er, setsid Apr 19 22:16:16 eh, ds2 is probably right Apr 19 22:23:24 xm rev c demo/test images should work on the a2 right? Apr 19 22:33:06 borillion: yes, they should. it is possible to make code incompatible between them, but we were careful to put out starting point images that worked on both once the rev C came out. Apr 19 22:48:45 jkridner_, ok, Its getting further than the other images :D (a relief usb is ok), but not past that vpfe_init . I dunno what the heck happened to this board just stopped cooperating yesterday Apr 19 22:52:06 blow it up? Apr 19 22:52:26 often helps to provide a pastebin of the entire serial log here. Apr 19 22:52:38 vpfe_init on a beagle? Apr 19 22:59:58 yea Apr 19 23:00:02 Ill grab one Apr 19 23:07:41 Can someone here answer me a question about pinmuxing & the beagle.h file? If I have a beagleboard-xm Rev C, does the MUX_BEAGLE_C() code get executed or does only the MUX_BEAGLE_XM() code get called? Is the MUX_BEAGLE_C() code reserved for older beagleboard revisions? Apr 19 23:10:07 gonna sound stupid but there is no scrollback with screen, how do you log it :P Apr 19 23:10:51 screen does have scrollback Apr 19 23:12:34 if I need to enable UART2 on the expansion header, do I simply need to add -- MUX_VAL(CP(MCBSP3_FSX), (IEN | PTD | DIS | M1)) /*UART2_RX*/\ -- to the end of the #define MUX_BEAGLE_XM() ? It looks like everything else is in place (TX/RTS/CTS), just not the RX... Apr 19 23:12:51 jstearns74 - i believe the recommended way to do muxing is in the kernel, not u-boot now, look at board-omap3beagle.c Apr 19 23:13:35 really? man - all the stuff I have been reading has me going after uboot for pinmuxing.... Apr 19 23:29:21 HUH its not scrolling for me :P Apr 19 23:30:50 set screen to not switch the terminal the alternate screen and use whatever scrolling features your terminal emulator has Apr 19 23:30:58 that's how I prefer it at least Apr 19 23:34:11 you can also have screen log to a file if that's what you need Apr 19 23:35:10 I reset the terminal, fixed it lol I dunno what was up with that Apr 19 23:35:18 anyways here is the pastebin http://pastebin.com/YSYtnNkd Apr 19 23:45:52 jkridner_, thanks https://www.e-techeshop.com/index.php?main_page=quick_checkout Apr 19 23:45:58 lol wrong thing Apr 19 23:46:10 jkridner_, I mean http://pastebin.com/YSYtnNkd LOL Apr 20 00:07:13 Hello Apr 20 00:10:25 Can anyone tell me how to ask for the mounting hole dimensions to be added to the BeagleBoard manual? Apr 20 01:19:59 does anyone know if rcn-ee's netinstall images use the daily images? Apr 20 02:55:02 Hello everyone, Im using BB-xM RevB, I wanna to set defaultdisplay to S-video, but when I boot, defaultdisplay=dvi Apr 20 02:55:14 defaultdisplay=tv Apr 20 02:55:40 I edited file uEnv,txt **** ENDING LOGGING AT Fri Apr 20 02:59:58 2012