**** BEGIN LOGGING AT Sat May 12 02:59:59 2012 May 12 03:27:25 KeatonT: he's a brogrammer..... May 12 03:27:47 lol May 12 04:01:14 alright, what is the trick to finding the link to download code sourcery on this mentor website May 12 04:05:55 I need to update my beagle board's kernel from 2.6.32 to 2.6.36 or greater... can some one explain to me how to do this? May 12 04:07:29 there are a lot of different approaches you could take May 12 04:07:40 are you just running the stock image May 12 04:08:34 narcisis angstrom May 12 04:08:55 but I don't want to have to rebuild my image May 12 04:09:54 can you build an image from narcissus that has 2.6.36 or greater? May 12 04:12:37 doesn't look like the option exists May 12 04:13:24 well, I am pretty new to this so I dont want to give you wrong advice May 12 04:13:44 but I think you can just replace MLO, uboot, and uimage in the boot partition with newer files May 12 04:13:48 and be good to go May 12 04:14:14 but I am not sure if there is an easy way to get them May 12 04:14:34 that is what I was hoping, and I think that you can get them with OPKG May 12 04:14:48 oh, you could do opkg update May 12 04:14:51 and opkg upgrade May 12 04:15:09 did you try that May 12 04:15:12 ? May 12 04:15:14 but then you have to copy them over to the boot section May 12 04:15:31 I havn't tried the copy over yet. May 12 04:15:41 I would assume opkg would take care of that for you but maybe not May 12 04:15:41 I read on a blog of that not working May 12 04:16:11 that would be too easy:) May 12 04:16:57 can any one verify that the process we are talking about is correct? May 12 04:17:56 btw thank you for the feedback serekson May 12 04:31:22 well.. I don't think that will be working any time soon as there is no updated kernel for angstrom May 12 04:31:49 hmm May 12 04:31:59 I build 3.2 from source the other day May 12 04:32:38 so maybe it isn't released officially or something, but the code is out there May 12 04:33:26 I believe that I only need the Uimage to upgrade is that correct? May 12 04:34:03 the uImage is the kernel image May 12 04:34:30 but you might need to update MLO and/or uboot to go with it May 12 04:35:03 of course.. updating just one file would be too easy. May 12 04:35:23 I mean, they are all tied together May 12 04:35:27 MLO calls uboot May 12 04:35:32 uboot calls the kernel May 12 04:35:48 right May 12 04:40:23 I am involving angstrom into this conversation as well May 12 07:00:02 rweber: angstrom has kernel 3.2.16 May 12 07:29:14 I know.. but how do I get it? May 12 07:33:24 I don't know the angstrom-way May 12 07:34:13 but compiling the kernel yourself isn't that hard May 12 07:35:10 I am attempting to do just that with bitbake May 12 07:35:48 I am just trying to grind down the learning curve a little bit. May 12 07:38:02 can I make just the kernel and then put it onto my fat32 partition May 12 07:38:03 ? May 12 07:38:37 yes, but your rootfs will need the modules too May 12 07:40:20 I have a feeling that it is going to be easier to just make a new sd image May 12 07:41:00 how do I bit bake a new SD card image? May 12 07:41:19 if you have installed task-sdk-native, building an installing a kernel needs about 3 commands May 12 07:41:41 Thank you for your help btw... total noob to bitbake May 12 07:41:42 but I can't help you with bitbake May 12 07:46:40 task-sdk-native on the beagle? May 12 07:47:50 yes, building native will install the modules too. if you prefer cross-compiling you have to copy the modules over by hand May 12 07:48:24 compiling native needs about 3h May 12 07:48:51 and off course, some space on the sd. May 12 07:49:18 I have 2 gigs free.. How much space? May 12 07:51:01 should be enough, it needs about 1.5gb when build, but you could clean it after building which would free about 1gb May 12 07:51:34 cool May 12 07:53:56 ok, here it is: cd /usr/src; git clone -b linux-ti33x-psp-3.2-r11h+gitr720e07b4c1f687b61b147b31c698cb6816d72f01 git://github.com/koenkooi/linux.git; cd linux; zcat /proc/config.gz >.config; make oldconfig; make uImage modules modules_install May 12 07:54:38 afterwards you just have to copy arch/arm/boot/uImage to the fat May 12 07:55:07 ok.. so those are the build commands? May 12 07:57:19 yes, make oldconfig might ask a lot of questions, if you currently use an old kernel, it might be easier to get a ready-to-use 3.2.config from somewhere else May 12 08:00:01 I'm using that on my c4: http://ahsoftware.de/config-3.2.16.beagleboard May 12 08:01:04 for the xm you might have to enable the ethernet-driver, I don't know which one. May 12 08:01:58 I do have the XM May 12 08:03:57 while making the configs will it be smart enough to turn on the ethernet-driver? May 12 08:04:18 no, use make menuconfig May 12 08:05:36 cd /usr/src; git clone -b linux-ti33x-psp-3.2-r11h+gitr720e07b4c1f687b61b147b31c698cb6816d72f01 git://github.com/koenkooi/linux.git; cd linux; zcat /proc/config.gz >.config; make menuconfig; make uImage modules modules_install May 12 08:05:54 like that? May 12 08:06:28 yes, but I would suggest to call all the commands separately May 12 08:06:46 yes.. I am just writing notes down write now. May 12 08:07:03 and forthe config you could try to find what angstrom uses. May 12 08:07:28 what do you mean? May 12 08:08:31 zcat copies the config from your current kernel. I don't think you are able to switch that to a working one for 3.2.16 May 12 08:09:28 so either use mine and enable the ethernet-driver, or get the config for 3.2.x from angstrom. angstrom might have enabled other stuff like dsp (which I don't use) May 12 08:12:39 I will take a look around.. May 12 08:12:54 out of curiosity.. how do you build your angstrom images? May 12 08:13:04 I don't use angstrom at all May 12 08:15:53 oh... What do you use? May 12 08:16:06 gentoo May 12 08:17:49 I will have to look more into gentoo... so far angstrom has been a pain in the but. May 12 08:18:11 TY for the advice May 12 08:18:30 gentoo will need a lot of linux knowledge, you might try ubuntu instead May 12 08:19:29 or arch-linux May 12 08:19:51 I have tried ubuntu on the BB.... it seemed way too bulky. May 12 08:20:20 you don't have to install everything May 12 08:20:44 it's just there default install which makes it bulky May 12 08:21:22 and the newer version are compiled for armv7 and not for armv5 as before May 12 08:21:31 I also tried ubuntu without x11, May 12 08:23:48 without x11 it seems to work ok, but it makes development kind of a pain because I am developing video applications. May 12 08:24:23 ubuntu offers lxde or such too May 12 08:24:41 really? May 12 08:25:37 I will also have to look into that. May 12 08:26:04 ty once more for the help, I am going to try this out and see how it goes. May 12 08:26:15 but for now I need to sleep May 12 10:56:42 Russ: thanks for your tips about clock_nanosleep. finally got it all working last night. May 12 10:58:50 i2c+spi latency on the BB is on the order of just a few ms. i didn't time it but we were running a 50Hz LFO from I2C ADC -> SPI DAC and looking on an oscilloscope, there was just a small amount of visible lag. May 12 11:12:28 major noise issues on the DAC SPI communications though. my logic analyser read perfect curves from the SPI lines, but the DAC was popping and spitting all over the place. not a CPHA/CPOL issue either... May 12 15:26:43 Which USB peripheral controller driver should I use for rev C4? May 12 15:27:00 The one that works. May 12 15:28:06 Yes, very true, but which one works? I need a name. May 12 16:31:31 hi! May 12 16:31:57 I have a question, did anyone succeeded with running a minecraft server on the beagle bone? May 12 16:34:14 I have a question, did anyone succeeded with running a minecraft server on the beagle bone? May 12 16:34:37 repeating yourself will not get you more answers. repeating yourself will not get you more answers. May 12 17:29:19 how to enable interrupt in beagleboard expansion board??? May 12 17:49:12 Hi everybody - has somebody idea how to pull 3.2.16 angstrom from git ? May 12 17:49:29 I am getting 3.2.14 on my ubuntu... May 12 17:49:48 with: git clone git://git.angstrom-distribution.org/setup-scripts May 12 17:52:14 reclone from the github one May 12 17:53:37 koen: that means issuing "git clone git://git.angstrom-distribution.org/setup-scripts" again ? May 12 17:53:48 koen_: or something else ? May 12 17:56:23 ok doing: rm -rf ./setup-scripts :) May 12 17:57:52 koen: will you try to include that patch for i2c? It looks this guy who created patch just gave up :) May 12 18:03:19 which path? May 12 18:03:38 if someone sends an actual patch rcn-ee and I can take a look May 12 18:03:42 quick SPI question: when i set spi_ioc_transfer.bits_per_word = 24, my spi transfer blocks endlessly. why might this be? May 12 18:04:15 (i have exactly 3 bytes in the .tx_buf. should .len be a measure of bytes (ie 3) or words (ie 1) ? May 12 18:06:29 koen: this pathch: https://groups.google.com/forum/?fromgroups#!searchin/beagleboard/i2c/beagleboard/Q1pDr1lT7Gk/aSxge51ZohcJ May 12 18:10:57 didn't I respond in that thread? May 12 18:12:10 in 3.2.16 I am getting "/usr/bin/updatedb: line 278: /bin/sort: No such file or directory" using updatedb May 12 18:12:55 should I install sort separatelly ? how ? May 12 18:14:53 koen: yes you did - but this guy couldn't produce patch in git-format-patch - so is there workarround ? May 12 18:15:38 mru: does [libav-devel] [PATCH] arm: dsputil: fix overreads in put/avg_pixelsfunctions fix the mplayer slices problem or is that a different one? May 12 18:15:54 zhivko: produce a patch in git-format-patch format May 12 18:16:01 it's not rocket science May 12 18:16:11 * koen just doesn't have the time/motivation to do it May 12 18:18:03 koen: but... actually this i2c stuff is quite cruical to have usefull platform - if timings are wrong than actually how can we use it ? May 12 18:19:58 it works just fine May 12 18:20:04 only at a lower rate May 12 18:20:16 if you care so much, produce a patch May 12 18:20:25 :) yes that should be stated! also in whitepapers :) May 12 20:16:32 Hi where can I found MLO? I am following: http://cwraig.id.au/?p=507 May 12 20:21:59 how can I create image for sdcard from setup-scripts? May 12 20:33:26 ok its: MACHINE=beaglebone ./oebb.sh bitbake u-boot May 12 21:00:54 koen: got the cape configuration from eeprom working. What should get priority, init code in the kernel or eeprom contents? May 12 21:31:47 hey fellas May 12 21:31:56 someone here willing to help me out. May 12 21:31:59 ? May 12 21:33:59 only if you ask smart questions May 12 21:35:02 lol May 12 21:35:22 i have managed to put my usb belkin n150 to work in my beaglebone. May 12 21:35:33 through connman May 12 21:36:09 however if my wall adapter 5V/3A the wifi connection is extremely slow May 12 21:36:33 dunno why. May 12 21:37:41 before I go about and purchase beaglebone, I have my system on a standard desktop running ubuntu comminicating to the usb device perfectly - when I switch to beaglebone/arm would I run into any problems making my whole project much smaller with beaglebone May 12 21:38:50 arthurnn: what does the PSU have to do with your WiFi throughput? May 12 21:39:31 i dont know. if there is something .. probably not. May 12 21:39:57 if u ssh using ethernet cable the ssh connection it is just normal. May 12 21:40:17 but once a unplug the ethernet cable, and leave just the wifi. the connections slows down a lot. May 12 21:40:37 probably the issue is not the PSU May 12 21:40:46 so, what do u think that could be the issue? May 12 21:40:54 connman config ? May 12 21:42:40 well wifi is a lot slower than 100M ethernet in most cases May 12 21:43:42 i am aware of that .. however when i say slow.. it is like almost stoping. May 12 21:43:45 more then normal May 12 21:48:27 did you measure throughput? May 12 21:54:12 nop May 12 21:54:20 how can i measure ? May 12 21:55:28 Download a file and see how long it takes? May 12 21:55:42 Same way you measure throughput on anything else, really. May 12 21:56:16 check this out May 12 21:56:17 PING 10.0.1.9 (10.0.1.9): 56 data bytes May 12 21:56:17 64 bytes from 10.0.1.9: icmp_seq=0 ttl=64 time=1.618 ms May 12 21:56:17 64 bytes from 10.0.1.9: icmp_seq=1 ttl=64 time=1.548 ms May 12 21:56:17 64 bytes from 10.0.1.9: icmp_seq=2 ttl=64 time=1.428 ms May 12 21:56:17 64 bytes from 10.0.1.9: icmp_seq=3 ttl=64 time=3.832 ms May 12 21:56:17 Request timeout for icmp_seq 4 May 12 21:56:17 64 bytes from 10.0.1.9: icmp_seq=5 ttl=64 time=6.148 ms May 12 21:56:18 Request timeout for icmp_seq 6 May 12 21:56:18 Request timeout for icmp_seq 7 May 12 21:56:19 64 bytes from 10.0.1.9: icmp_seq=8 ttl=64 time=6.016 ms May 12 21:56:19 Request timeout for icmp_seq 9 May 12 21:56:20 64 bytes from 10.0.1.9: icmp_seq=10 ttl=64 time=4.017 ms May 12 21:56:20 ^C May 12 21:56:21 --- 10.0.1.9 ping statistics --- May 12 21:56:21 11 packets transmitted, 7 packets received, 36.4% packet loss May 12 21:56:46 please learn about pastebin! May 12 21:57:08 http://pastebin.com/zyffukjf May 12 21:58:06 do other devices on your wireless network have problems with packet loss? May 12 21:58:12 nop. May 12 21:58:19 everthing works just fine. May 12 21:58:27 iphone..notebooks. all wireless devices May 12 21:58:27 does the usb stick suffer packet loss while connected to other devices? May 12 21:58:41 ummm.. thats a good question.. dunno.. i can try that out May 12 21:58:56 u think that could be some hardware problem in the usb stick ? May 12 21:58:59 Are you overdrawing your power supply? May 12 21:59:25 what do u mean by overdrawing ? May 12 21:59:39 i have a wall adapter 5V/3A connected as well as the serial USB May 12 22:00:20 USB WiFi sticks are rarely of good quality. May 12 22:00:32 Yeah, so, are you drawing more than 3 amps? May 12 22:00:58 yes.. is there a problem about using 3A ? May 12 22:01:33 i know that ideally beaglebone requires a 5V/2A adapter .. however I am using a 3A one. May 12 22:01:34 arthurnn: what he is asking if the beaglebone is consuming more than 3A May 12 22:01:49 ummm.. i have no idea how to check that. May 12 22:01:51 that is just the _rating_ May 12 22:01:57 arthurnn: If you try to draw more than 3A from your supply, the supply will drop to voltage. May 12 22:02:15 uhumm.. but i dont have anything else connected to my beaglebone. May 12 22:02:17 arthurnn: YOu need to put a multimeter, set to current mode, in series with the supply. May 12 22:02:21 So? May 12 22:02:22 i just have the belkin n150 usb May 12 22:02:26 So? May 12 22:03:00 Unless you actually measure, you do not know. May 12 22:03:09 I'd guess it consumes not more than 500mA. so a 3A PSU should be well within its operating margin May 12 22:03:20 Also, ping is not a suitable way to measure throughput. May 12 22:03:25 Ping only measures latency. May 12 22:03:44 dm8tbr: Probably a true assumption, but not necessarily. May 12 22:03:52 even if it would consume 1A it would still be OK. ofc the PSU could be shite... May 12 22:04:05 Also, arthurnn should put a scope on the power supply output, to see how clean the power is. May 12 22:04:14 Exactly. May 12 22:04:24 agmlego: if it draws more than 1A it would fail on most PC hardware May 12 22:04:43 most ports max out at what? 600, 700mA? May 12 22:05:11 dm8tbr: And we do not know that the stick is not to blame. May 12 22:05:17 I rather suspect that this is just musb saying hi... May 12 22:05:19 can i check the power supply output from any gpio ? May 12 22:05:29 dm8tbr: Also, just because the spec says a max of 500mA, does not mean most hardware stops there. May 12 22:05:39 arthurnn: No. May 12 22:05:53 agmlego: I'm well aware of such things... May 12 22:06:35 agmlego: what do u mean when u say put a scope on the power supply ? May 12 22:06:47 is that a hardware, or such thing for that ? May 12 22:06:49 arthurnn: do you have an oscilloscope? May 12 22:06:54 yes May 12 22:07:11 well, then use it May 12 22:07:12 arthurnn: "scope" is short for "oscilloscope" May 12 22:07:19 ok! .. got it now. May 12 22:07:30 (sorry, english is not my first language) May 12 22:07:48 arthurnn: What I am telling you to do is measure the positive side of your supply referenced to the negative side to ensure it is putting out DC. May 12 22:08:07 Crappy supplies can have significant ripple, which may be causing issues. May 12 22:08:25 uhummm i am pretty much sure thats the problem. May 12 22:08:38 the wall adapter that i have it is pretty old. May 12 22:08:46 Also, you should definitely check throughput on the stick on a different computer, preferably one running Linux so it uses the same driver. May 12 22:09:06 uhum… i have Mac. which i can probably use to check the USB May 12 22:09:09 right ? May 12 22:09:30 It will not be the same driver as on Linux, but at least it will rule out a hardware issue. May 12 22:09:37 uhumm May 12 22:09:52 question about how to mesure the supply May 12 22:09:56 OK. May 12 22:10:22 Go ahead. May 12 22:10:29 i am using DC jack for the power May 12 22:10:34 Yup. May 12 22:11:03 so where can i measure that ? is there any Px in the beaglebone that i can stick my scope? May 12 22:11:24 Px ( i mean expansion header) May 12 22:11:27 You can probably try the leads on the jack. May 12 22:11:30 P8, P9 ... May 12 22:11:33 uhummm May 12 22:11:37 got call. May 12 22:11:43 lemme check that right now May 12 22:11:43 Or if ythere is an *unregulated* output on the headers. May 12 22:12:25 u know what else. May 12 22:12:30 Nope. May 12 22:12:36 if i boot the board, just using the wall adapter. May 12 22:12:41 it doest not boot. May 12 22:12:49 Exciting. May 12 22:12:55 How have you been booting it? May 12 22:13:05 so it is probably the wall adapter that it is not working well May 12 22:13:11 Could be. May 12 22:13:36 if i try just to connect the DC Jack to the board. May 12 22:13:45 the board doest not work. May 12 22:14:01 So how *have* you been running the board? May 12 22:14:03 one LED works. but it does not boot the board May 12 22:14:10 using the Serial USB May 12 22:14:23 ...you have been powering the board off the serial port? May 12 22:14:51 Oh, right, the 'bone has a working USB device port on it. May 12 22:14:51 i tried with that wall adapter that i have. May 12 22:14:58 yep. May 12 22:15:05 `bone has 2 USB. May 12 22:15:11 a host one and another one. May 12 22:15:20 My experience is solely with the xM and the PandaBoard. May 12 22:15:28 uhumm.. May 12 22:15:31 then you are most likely only powering by USB May 12 22:15:32 Neither of which have functional USB device ports. May 12 22:15:55 arthurnn: If you cannot power the board up by using your adapter, I would suggest getting a new adapter. May 12 22:15:57 yep! i guess i am only powering by USB, thats why WIFI is not FULL wokring. May 12 22:16:06 and it is dropping all the time May 12 22:16:12 The reason for your slow throughput is probably low voltage on the USB subsystem. May 12 22:16:17 yes. May 12 22:16:19 Exactly. May 12 22:17:43 that was my first suspicion. May 12 22:18:04 so u guys think that the problem is the Voltage or the Current ? May 12 22:18:09 To confirm, run the board off a lab/benchtop power supply and see if that fixes it. May 12 22:18:31 arthurnn: At this point, it is probably not worthwhile even to figure that much out. May 12 22:18:40 Adapters are cheap. May 12 22:19:04 yes. May 12 22:19:21 i am wondering where can i go in a saturday 6pm to get a new one. May 12 22:19:35 lol ! would like to make that work still today. May 12 22:19:36 =) May 12 22:19:38 arthurnn: Are you in the US? May 12 22:19:43 Canada May 12 22:19:46 Toronto May 12 22:19:52 Hmm...still might be able to. May 12 22:20:00 yep.. ! May 12 22:20:16 or maybe i could try to use some battery adapter that i have in here. May 12 22:20:23 i have a 4AA adapter May 12 22:20:45 which will make me 4*1.2V = 4.8V correct ? May 12 22:21:02 arthurnn: Try going to your local AT&T store or other DSl provider, and ask them if they have a spare adapter. May 12 22:21:09 arthurnn: Or a UPS or shipping store. May 12 22:21:31 When folk return modems, they frequently return the adapter too, and those end up piling up in a corner. May 12 22:21:53 ummm there is a UPS just at the corner in here. May 12 22:22:09 nice one.. thanks! May 12 22:22:43 where do u are at ? US ? May 12 22:24:15 ...what? May 12 22:24:20 Try rephrasing that, please. May 12 22:24:28 lol.. May 12 22:24:39 dont worry! i will rush . to try to find that adpter. May 12 22:24:43 thanks for your help May 12 22:24:57 o probalem. May 12 22:25:14 Specifically, you are looking at a UPS store for an AT&T DSL or Uverse modem adapter. May 12 22:25:22 But others may have similar. May 12 22:25:41 Worst-case, you go to Best Buy or another big-box store and get a multi-voltage adapter. May 12 22:25:50 Or you use a benchtop supply. May 12 22:26:33 right on. May 12 22:26:35 thanks.. May 12 22:38:31 I powered mine using a cell phone AC to USB adapater for a while May 12 22:38:40 those should be pretty easy to come by May 12 22:38:56 a lot more power than a PC can put out on USB **** ENDING LOGGING AT Sun May 13 02:59:59 2012