/srv/irclogs.ubuntu.com/2010/08/01/#ubuntu-arm.txt

rsavoyeI was just trying to install Lucid on a BeagleBoard XM, but it fails in two places01:54
rsavoyeif says it can't load kernel modules, so of course later it can't find the MMC card to install to...01:55
rcn-eersavoye, which kernel? ubuntu's?01:58
rsavoyeI was trying the lucid one off the BeagleBoardUbuntu page01:59
rsavoyealthough maverick would be better01:59
rcn-eeif it's my kernel, it has to be atleast 2.6.34+01:59
rsavoyeI'll try the prebuilt maverick image from the same page02:00
rcn-eethe maverick alpha-2 listed there will boot. ;)  i've tested it on my xm..  just testing an alpha-3 for next week..02:01
rsavoyecool, it's still downloading02:01
rsavoyewill it default to the serial port ?02:01
rcn-eeyeap ttyS2...02:02
rsavoyeI need to get a HDMI DVI-D adapter02:02
rcn-eeit's actually both, it's setup to load ttyS2 with login and tty0 (hdmi)02:02
rsavoyeeven better :-)02:02
rsavoyeI just mostly need to compile a a bunch of stuff to track down some problems02:03
rcn-eethe big issue with that kernel thou, the xm will only run about 500mhz, i didn't fix that till my 2.6.35-rc stuff..  i had one user have problems running at full speed 1Ghz he had to back down to 800mhz, still figuring out TI's voltage change stuff.02:03
rsavoyeouch, I was looking forward to 1Ghz :-)02:03
rsavoyesince I have piles of compiling to do02:04
rcn-eemy works.. ;) but not all.. this patch will fix the issue.. the problem not all the infrasture is in mainline, so i'm cherry picking still... http://bazaar.launchpad.net/~beagleboard-kernel/%2Bjunk/2.6.35-devel/annotate/head:/patches/arago-project/0001-OMAP3630-PM-Update-for-OPP-1GHz.patch02:05
rsavoyeI'm having similar problems...02:07
rsavoyeI assume it'll be fixed RSN anyway ?02:07
rsavoyemy MMC shows up as /dev/mmcblk0p1, so I assume I'll need the other setup script ?02:09
rcn-eewe will see, it'll defintelly get fixed faster as the xm's start shipping..(beagle group email metioned new memory in..)02:09
rsavoyeso they fixed the memory problem ?02:10
rcn-eeno.. alpha-2, does not have the issue...  That bug came out after i released the 10.04 image in "may"... it takes time to upload 70mb's on my slow cable..02:10
rsavoyeah...02:10
rcn-eei'm not sure, as i have one of the very early 256mb models.. but it sounds like they got good 512mb memory now..02:11
rsavoyethe unit I just got has 512mb02:12
rcn-eeyeap, if it's marked with an "A" on the corner it's a production unit..02:12
rsavoyemine doesn't have an A, it came from TI with zero docs02:14
rcn-eebeagle's don't come with docs.. ;)  everything is on beagleboard.org  (well the schematic's aren't up yet)02:15
rsavoyeI'm used to getting hardware before docs anyway. :-)02:18
rsavoyecopying to the SD...02:18
rsavoyercn-ee: root passwd ?02:22
rsavoyeit obviously booted fine02:22
rcn-eeno root... user: ubuntu pass: temppwd  (the alpha-3 image will bring up oem-config, just got to sacarfise 100Mb to swap)02:23
rsavoyewow, that was too easy :-)02:23
rcn-eeif you look at dmesg, there is atleast one oops with usart 3..02:24
rsavoyesweet, I'm in, thanks02:25
rcn-eeno problem..  it'll be interesting if your board fails at 1Ghz too..  the latest kernel: http://rcn-ee.net/deb/maverick/v2.6.35-rc6-dl12/install-me.sh if it hard locks on boot, change mpurate from 1Ghz to 900/800 etc...02:26
rsavoyeyeah, might be worth trying as long as I can  hack it work at a slower speed02:30
rsavoyebut 1Ghz would be nice for builds02:30
rcn-eethe script will back up the existing uImage and uInird so it's pretty easy to back and forth. ;)02:31
rsavoyehum, apt-get doesn't like ports.ubuntu.com02:31
rsavoyeok, downloading it, I'll try it02:32
rsavoyewow, this is a reasonably decent performing little machine02:33
rsavoyeI'm sort of used to 200-400Mhz :-(02:33
rcn-eeyeah the xm is pretty quick..  of course i thought the original beagle 500mhz/128mb was quick too a couple years back.. it keeps geting better..02:34
rsavoyemv: cannot move `/tmp/boot/uImage' to `/tmp/boot/uImage_old': Read-only file sym02:35
rsavoye`/tmp/boot/uInitrd' -> `/tmp/boot/uInitrd_old'02:35
rsavoyeguess I should have done it as root02:35
rcn-eeno it calls sudo...02:35
rcn-eeis mount showing /dev/mmcblk0p1 as "ro" sounds like the same weird thing that till's board is doing.. (why mine doesn..t002:36
rsavoyehum then I have a problem02:36
rsavoyeyeah,. read-only file system02:37
rsavoyeso I guess I can02:38
rcn-eeis there a 'write protect' switch on your mini-sd card?02:38
rsavoyet run at 1Ghz ?02:38
rsavoyecould be, let me pull it out and check02:38
rcn-eei don't think there is, but it's weird both your's and till's xm (512mb) models default to write-protect on the sd, whereas mine stay rw..02:39
rsavoyeI don't see one, even put my reading glasses on...02:40
rcn-eei'd hope it would be pretty obvious..02:41
rsavoyejust making sure. :-)02:43
rcn-eersavoye, use nano and add this line: http://pastebin.com/wUNVc9Y7  (it should remount it as rw)02:43
rsavoyeok, done. trying again02:45
rsavoyethat time it was happy02:48
rcn-eecool thanks.. i'll add a ro check and workaround for future install-me scripts. ;)02:49
rsavoyeseems to hang on reboot after "Uncompressing Linux... done, booting the kernel.    "02:51
rsavoyeImage Name:   2.6.35-rc6-dl1202:51
rsavoye   Image Type:   ARM Linux Kernel Image (uncompressed)02:51
rcn-eeyeah that's the clock speed... :(  use the boot.cmd from the ubuntu directory and change it to mpurate=800 instead of muprate=${mpurate}02:51
rsavoyeI assume I do that with the MMC mounted to a different machine ?02:52
rcn-eeyeap, with another pc, so you need the sd card reader..02:53
rcn-eetill got it too boot every 3rd/4th time..02:53
rsavoyethe ubuntu directory is where ?02:54
rcn-eein the extracted dir.. ubuntu-maverick-alpha2-minimal-armel/boot.cmd02:55
rcn-eethen it's just: sudo mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "Boot Script" -d ${DIR}/boot.cmd ${DIR}/disk/boot.scr02:55
rsavoyeDIR being my MMC card ? or where ubuntu* is untarred ?02:57
rcn-eethe first DIR is your ubuntu-maverick-alpha2-minimal-armel/ directory an the 2nd one is your mmc card.. (just remember to edit boot.cmd first)02:59
rsavoyelooks like 800 doesn't do it either, 600 next ?03:03
rcn-eevery weird, 800mhz should have worked no problem..  maybe go back to the *_old  i'll do some more testing on my xm tomorrow..03:04
rsavoyeI'll 600, then go back to the original image03:05
rsavoyemaybe I screwed up a step03:05
rcn-eeno, i don't think you did..  the install script been tested quiet a bit in weird enviroments...  You just have serial access right?03:06
rsavoyeyep, I'm redoing it 80003:07
rsavoyejust to be sure03:07
rsavoyeand yeah, only serial access till I get the network up03:09
rsavoyeyep, that time it worked. user error...03:10
rsavoyeit says 2.6.34-l2 ?03:11
rcn-eethat's the original...03:11
rsavoyeoops,03:11
rsavoyeso let me get this right, I should run install-me.sh on the but the boot.cmd is in the original tarball ?03:16
rcn-eethe install-me can only be run on the beagle...  the original boot.scr that is created with the setup_sdcard.sh script sets mpurate=${mpurate} this passes 1000 from u-boot to kernel, which then trys to set 1Ghz on the omap.. but it's not 100% yet, so we force mpurate=800 and copy that new boot.scr to the fat partition on the sd card..03:18
rsavoyethat's what I thought03:19
rsavoyeso after I run the install-me script, I have to reboot. But editing boot.cmd and running setup goes back to the original03:20
rsavoyeor since I edited boot.cmd, ran setup, and then install-me.sh ?03:20
* cwillu_at_work blames the sd cards03:20
rcn-eeyeah... the 'setup_sdcard' will reformat the sd card and use the original kernel image again..03:21
rsavoye2.6.35-rc6-dl12. I had the order wrong at first :-)03:21
rsavoyenow it's up and set to 80003:22
rsavoye800Mhz is better than 500Mhz :-)03:26
* cwillu_at_work feels inadequate with his 720mhz03:27
* rcn-ee to have 512Mb...03:28
cwillu_at_workoddly enough given that I'm running a webapp fullscreen in firefox, I'm cpu bound, not memory bound :p03:28
rsavoyeyeah, the extra memory may be better than the clock speed for builds03:29
rcn-eei wouldn't do it for any of your in the field boards, but bump the mpurate value.. ;)03:29
rsavoyeabove 800 ? I'm a developer anyway. :-)03:30
rcn-eeoh i was bugging cwillu_at_work he should overclock his to 820.. ;)03:31
* cwillu_at_work installs a water cooler :p03:31
rsavoyeya gotta love working on mobile devices, it's like coding was 20 years ago03:31
cwillu_at_workyep03:32
cwillu_at_workI remember my 32 bit atari with 256mb of memory running at 500mhz03:32
* cwillu_at_work blinks03:32
cwillu_at_workactually, I remember my 16/32 bit atari with 2mb of memory and a 20mb scsi hard drive :p03:33
* cwillu_at_work reminisces about gfa basic03:33
cwillu_at_work... where a misindented line was a syntax error enforced by the editor :)03:33
rsavoyemy first machine was a time sharing system that I dialed into at 110 baud :-)03:34
rsavoyeeven the keypunch machines were an improvement to that03:34
cwillu_at_workI used to go to the sleep to the beep beep beep of my mom typing thesis in my bedroom03:34
cwillu_at_workyears later, she bit me03:35
* cwillu_at_work wonders what happened there03:35
cwillu_at_worknow I deal with the psychological issues by buying overpriced sd cards03:35
cwillu_at_workit's a mad world :)03:35
rsavoyemy mom hated getting rid of her IBM Selectric typewriter for a word processor...03:35
wgrant[A807:47
KosiNusshi, I'm running 10.04.1. the sound output of mpd on my system sounds awful and disorted, but e.g. ffmpeg plays the files perfectly. do you have an idea, where the problem is? i used the mpd.conf in 9.10 without any problems.07:48
=== Termana_ is now known as Termana
=== freeflyi1g is now known as freeflying
rsavoyehum I just got this: /tmp/ccUKtcol.s:77154: Error: redefined symbol cannot be used on reloc, which then went away next time I typed make...15:43
rsavoyeon maverick onj an Xm15:44
loolrsavoye: memory might still be unstable?17:04
rsavoyeah, could be17:05
rsavoyeI also found it runs one build fine, but don't try two :-)17:05
rsavoyeOpenJDK is chugging along slowly building on maverick17:05
loolrsavoye: I'd be interested if you manage to run into proven hardware failures17:06
loolIt could always be a kernel mm issue, but still17:06
rsavoyeI'll see if it happens again, I might have just pushed it too hard17:06
rsavoyeI'm running 2.6.35-rc6-dl12, so it might be17:07
rsavoyecause of the clock speed issue17:07
rsavoye800Mhz seems to work ok though17:07
=== JaMa is now known as JaMa|Off
KosiNusshi, I'm running 10.04.1. the sound output of mpd on my system sounds awful and disorted, but e.g. ffmpeg plays the files perfectly. do you have an idea, where the problem is? i used the mpd.conf in 9.10 without any problems.18:38
=== prpplague_2 is now known as prpplague
=== fta_ is now known as fta
=== fta_ is now known as fta
=== fta_ is now known as fta
kblinevening folks22:18
=== NC|Alaska is now known as NCommander

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!