/srv/irclogs.ubuntu.com/2010/02/14/#ubuntu-arm.txt

=== Martyn is now known as Berstrom
=== Berstrom is now known as Martyn
=== ogra_ is now known as ogra
saeedlool12:19
saeedogra12:19
armin76saeed12:32
saeedhi armin12:35
loolsaeed: Hey13:22
saeedas you know, the suspend button worked for me14:18
saeedbut when I convert it to KEY_POWER , and configure the g-p-m to "Ask Me" when power pressed14:19
saeednothing happens14:19
saeedwhen I configure the g p m to suspend when power pressed, it works14:20
persiasaeed: So, g-p-m is capturing your button press, but not launching the GUI when configured to "Ask Me"?14:45
loolsaeed: In a terminal, killall gnome-power-manager and then run gnome-power-manager --verbose15:06
loolsaeed: That should give you some debugging info on what GPM is seeing15:06
saeedpersia yes exactly15:52
therealgalenWhat is everybody using to build for ARM? Are there particular compilers that are optimized for ARM?16:08
armin76codesourcery's16:09
therealgalenarmin76: fastest?16:12
persiatherealgalen: We use native compilation in Ubuntu: compiling ARM on ARM.17:07
therealgalenpersia: I don't mean the hardware so much as the software - the compiler17:29
therealgalena lot17:29
therealgalenof vendors claim to have "faster" or "better" compilers17:29
persiaAh.  I don't think Ubuntu claims faster or better, but I know a lot of work has gone into making it appropriate for ARMv7+Thumb217:30
persiaBut no special secret sauce: most of the changes are upstream, so I suspect anyone could grab them if they felt it was a competition.17:31
* persia is more concerned about making the software work than about the compiler being especially fast17:31
therealgalenpersia: architecture-specific issues, or just general development?17:32
persiaBoth :)17:32
persiaAlthough a lot of what I personally do is actually neither, but rather just things like improving developer tools to make it easier to do those, or reviewing cases where something didn't build for reasons involving how the distribution is developed, etc.17:33
therealgalenwell, i am looking at a variety of companies offering gcc alternatives claimed to be faster; i was hoping to hear from people who have tried them17:36
armin76therealgalen: its known to be the most optimized, yes17:40
therealgalenarmin76: are there any benchmarks *not* from the vendor online?17:41
persiaarmin76: optimised for which?  execution time, code size, compilation time, etc.?17:42
* persia is fairly certain it's not possible to optimise for those three things simultaneously, and suspects there are other similar variables.17:42
therealgalenexecution performance primarily; compilation time does not matter, code size does not matter17:43
armin76persia: no clue, its just what they tend to say17:47
armin76persia: in fact they tend to say that vanilla gcc sucks17:47
armin76therealgalen: no clue, sorry17:47
persiatherealgalen: From what I understand, it really depends on which code you need so optimised.17:48
persiaTry a few different toolchains, and see which one compiles your application in the fastest way.17:49
therealgalenhmm, ok17:53
therealgalenpersia: most of the functions are kernel stuff, ath9k, ec.17:53
persiaThe kernel gets kinda fussy about opimisation.  Generally, I think it's better to walk the code path and optimise in code than try to adjust toolchains for that class of issues.17:54
persiaJust because the kernel code makes some assumptions about how it will be compiled.17:54
DanaGoh heya, where do I get the ARM toolchain for cross-compiling stuff?19:35
DanaGapt-cache search gcc doesn't show anything related to ARM.19:35
persiaWe don't cross-compile :)19:36
persiawe just rebuilt everything natively.19:36
DanaGHow'd you get the first one up, then?  =þ19:37
persiaUsed Debian's compilation.19:37
armin76they stole it :D19:37
* persia prefers to think of it as "sharing"19:37
* DanaG wishes somebody would make something like that "touchbook" but with the new Marvell 1.2GHz thingy.19:53
DanaGThe worst embedded thing I've ever (tried to) use: Microblaze. It was so bad, that building the cross-compiler made the HOST compiler segfault!19:56
DanaGhmm, what systems do you run the armel compilation on?20:04
persiaI'm not sure precisely.  I suspect there's at least one package that shows it in the build log, but :)20:06
persiaI do know that they are ARMv7 machines.20:06
persiaPersonally, I do test-compilation on a Sharp Netwalker, but we only upload sources.20:07
DanaGOh yeah, worst distro fail I've ever seen was Angstrom on a Zaurus SL-5500.  I can understand drivers not working... but to have your kernel config for that board not enable the ALREADY-IN-KERNEL drivers for that board?  That's just epic fail.20:13
DanaGI wish I could get Ubuntu running on the thing.20:13
persiaThe 5500?  That's too old.20:16
persiaJaunty should run on the 1000, 1100, 3000, 3100, 3200, and 330020:16
persiaBut karmic or lucid won't.20:16
DanaGMy gripe was that they discontinued OpenZaurus in favor of the supposedly superior "Angstrom" -- but then seemingly didn't even TRY to make the old hardware work.20:18
DanaGHaving it work slowly and poorly... fine.... but disabling in-kernel touchscreen driver?  fail.20:19
DanaGAnyway, now I'm using a beagleboard, and that's cool.20:19
persiaWell, Sharp discontinued the device, which may have had something to do with that.20:19
persiaYou're running lucid on your beagleboard?20:19
DanaGYeah.20:20
DanaGStill, they could've at least set CONFIG_UCB1100_TS true, or whatever that was.20:20
DanaGanyway, enough bashing Angstrom.20:20
DanaGI'm using Ubuntu on it because it'll be just like my main development environment.20:20
DanaGToo big for the onboard flash, though -- I'm using a 2-gig SD card.20:20
DanaGhmm, is there anything useful I COULD use the onboard flash for?20:21
persiaI think we still need a slightly better way to dispatch test-builds to other machines though.  I have to manually scp sources to armel or powerpc devices from my laptop to build them.20:21
persiaBut other than that, I think it works just fine.20:21
persiaHow big is the onboard flash?20:21
DanaGI think it's just 256 megs.20:22
armin76i didn't know the bb had internal flash20:22
DanaGAnd u-boot takes up some of that.20:22
persiaThat's tight.  You might be able to stuff your kernel and initramfs in there.20:23
persiaBut I don't think you can do anything advanced with it.20:23
DanaGMight as well just leave it on initramfs.20:23
DanaGnow, this would be cool, if not for the tiny battery: http://eeepc.net/superthin-netbook-runs-on-marvell-armada-510/20:24
DanaGOh yeah, I did have a lot of trouble getting the usb host-to-device networking working.... it was encoding the packets badly (off-by-one error).20:26
persiaNobody seems to want to put a full-size battery in with a low-power device.  I really wouldn't mind an extra 100g for an extra 10 hours of power.20:26
DanaGyeah, that sucks.20:27
DanaGMy network issue: I set guest device to mac address 00:11:22:33:44:55, and the parent saw "Ethernet II" frames from address ff:ff:00:11:22:33 sending packets of type 4455.20:27
persiaWell, it probably also costs an extra 12,000円 for that extra 100g, which makes it perceived as less competitive.20:27
DanaGWhat currency unit is that?20:28
persiaWah!  That's just not right :)20:28
DanaGI finally fixed it by passing g_ether.use_eem=020:28
persiaOh, right.  That gets used in multiple contexts.  JPY is what I was thinking.20:28
DanaGthen it used full cdc-ether instead of cdc-subset.20:28
jonnorHi. What libc implementation is being used in Ubuntu ARM?20:32
armin76windows!20:32
armin76jonnor: eglibc20:33
jonnorarmin76: cool, thanks!20:34
DanaGheh, note to self: ext4 as root on flash means I can't use ext2load.20:35
=== DanaG1 is now known as DanaG
DanaGinit: ureadahead main process (41) terminated with status 5        mountall: Could not connect to Plymouth       init: procps main process (369) terminated with status 255        init: ureadahead-other main process (466) terminated with status 421:12
DanaGthat's on the beagleboard.21:12
ograseems your kernel misses a good bunch of options and plymouth isnt installed21:29
ogranone of these issues should stop it from finishing the boot though21:31
* ogra goes back to weekendish stuff21:32
DanaGinit: ureadahead main process (40) terminated with status 521:34
DanaGoh yeah, I don't plan to use the video output for much (at least for now), anyway.21:35
DanaGAlso weird: the default user's named group is not 1000 like it is on the host system.21:35
DanaGbeagleboard has this:21:39
DanaGmtdparts: mtdparts=nand:512k(x-loader),1920k(u-boot),128k(u-boot-env),4m(kernel),-(fs)21:39
=== asac_ is now known as asac
DanaG!find pkg-config22:40
ubot4DanaG: Found: pkg-config22:40
DanaG22:40
DanaGodd that command-not-found doesn't seem to work on ARM.22:40
DanaG!find dbus-glib-122:51
ubot4DanaG: Found: libdbus-glib-1-2, libdbus-glib-1-2-dbg, libdbus-glib-1-dev, libdbus-glib-1-doc22:51

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