/srv/irclogs.ubuntu.com/2010/07/11/#ubuntu-arm.txt

=== fta_ is now known as fta
=== fta_ is now known as fta
=== fta_ is now known as fta
=== fta_ is now known as fta
=== fta_ is now known as fta
=== fta_ is now known as fta
=== fta_ is now known as fta
=== fta_ is now known as fta
=== fta_ is now known as fta
=== fta_ is now known as fta
=== fta_ is now known as fta
=== fta_ is now known as fta
=== fta_ is now known as fta
=== kmargar is now known as markos_
zumbiHello guys! Which float-abi was karmic tunned for?13:14
=== fta_ is now known as fta
markos_zumbi: softfp13:26
zumbimarkos_: right I found it on the changelog13:28
loolzumbi: jaunty: armv5t, karmic: armv6+vfp(v2), lucid: armv7t2+vfpv3d1613:31
loolmaverick: as luckd13:31
lool*lucid13:31
zumbiI wonder how the benchmarks would do on lucid instead karmic13:34
zumbilool: I also wonder what this people do with vfp-configure, http://support.eurotech-inc.com/forums/topic.asp?TOPIC_ID=2693 :)13:35
loolzumbi: I would highly recommend you compare karmic and lucid, lucid is using thumb-2, and I'm sure it makes a significant difference13:36
markos_lool: in size, yes, in speed? thumb-2 is said to be ~98% as fast as ARM bytecode13:37
loolzumbi: http://support.eurotech-inc.com/developers/linux/files/tools/vfp-configure seems to be to patch the specs of gcc, very ugly13:37
zumbilool: the problem here is that i am stuck on a slow network line :-/13:37
loolzumbi: The best is to rebuild the toolchain, but otherwise it's much cleaner to use a wrapper to force default flags, or to use the Ubuntu approach to set default flags (doesn't catch all cases)13:37
loolmarkos_: The catch is that SoCs have a specific cache size13:38
zumbiUbuntu approach?13:38
loolmarkos_: Having smaller code means it might fit in cache and make a huge difference in speed13:38
markos_lool: so you did see a difference in speed?13:38
markos_got any urls I could check?13:39
loolzumbi: For years, Ubuntu used to set CFLAGS and LDFLAGS in the environment of builds (in dpkg-buildpackage)13:39
loolzumbi: Now this is about to be superseded by dpkg-buildflags, but this will take years to deploy across packages13:39
markos_lool: cool idea (dpkg-buildflags that is)13:39
loolmarkos_: We certainly witnessed differences, but we didn't do any serious benchmark I'm afraid13:39
markos_ok13:39
loolProblem is that back then, none of the Ubuntu ARM folks knew what to benchmark13:40
loolNow I could perhaps name a couple of benchmarks13:40
zumbilool: but that CFLAGS and LDFLAGS stuff was doko's request to Debian Dpkg a while a go (a couple years ago)13:40
loolbut I know that a bunch of benchmarks are private, sadly13:40
loolzumbi: Sorry, I don't get your point13:40
zumbilool: for a moment I though Ubuntu had some kind of specific thing :)13:40
loolzumbi: Well Debian doesn't want to implement that13:40
loolit's deemed too ugly13:41
loolat some level, I agree13:41
loolbut it did the job   :-)13:41
loolmarkos_: In general, I find it hard to define good benchmarks for Debian/Ubuntu use cases because they are so broad13:41
looland some things are hard to benchmark even when you think you know what you want to benchnkar13:42
zumbilool: http://www.netlib.org/benchmark/13:42
loole.g. "I want to benchmark application startup times!"13:42
markos_yes of course13:42
loolFor instance, what does benchmarking mesa really mean?13:42
loolSay you get 30x better improvement, that doesn't make the whole OS 30x better, nor mesa apps 30x better13:43
looletc.13:43
markos_yes, I totally agree with you13:43
loolnow that I talk with toolchain folks regularly, some names popup13:43
loolfor speed or for code size13:43
markos_improvement varies with the application -or library- and the use case13:43
markos_what in one case might prove great might be useless in another13:44
loolzumbi: Thanks; this seems to be a couple of benchmarks with variation?13:44
loolmarkos_: Absolutely13:44
markos_eg. I would prefer a 5% speed increase in one function that gets called 1M times, rather than a 50% speed increase in a function that gets called only once :)13:44
looleh exactly13:44
loolWhich is why thumb2 is such an interesting technology13:45
looljust like this hard-float port13:45
markos_yes, had no idea it makes such a big difference13:45
zumbilool: the interesting benchmark is whetstone.c for libm test13:45
markos_I'll test it later13:45
loolPerhaps I miss some technical details as of the state of gcc and hard-float support, whether it could go bad etc., but it feels to me it's necessary better and will improve by some small percents /all over the place/13:45
loolzumbi: Ok thanks13:46
markos_yes it should13:46
loolzumbi: I remember that for vfp we tried running the python testsuite13:46
loolyou know, it takes a while, uses some float from time to time, etc.13:46
loolwell there was improvement, but it was really minor13:46
lool(I think we benched when we added libc-vfp)13:46
markos_lool: for example, even the plain gnome desktop (karmic) feels *just a bit faster* and is more responsive because of that13:46
markos_my guess is that improvements eg in tiny places, make the difference, eg. SVG icon rendering is faster -SVG definitely uses lots of floating point13:47
markos_and stuffl like that13:47
loolmarkos_: Exactly13:48
loolmarkos_: And it's kind of obvious to the tester13:49
loolmarkos_: but really hard to prove13:49
zumbilool: for the compilers, do you run Polyhedra or SPEC on them?13:50
markos_well, in these cases I just quote the official ARM statement "it saves 20 cycles per call :)"13:50
zumbi(/me alks linaro now)13:50
markos_bbl13:50
loolzumbi: ATM nothing, we're too busy fixing bugs  :-)13:51
loolzumbi: We discussed building infrastructure to run benchmarks regularly, and I think it will be part of our release procedures, but for now we have more urgent things to finish13:51
zumbilool: sure :) -- it would be nice if you could publish results on them, once you do it13:52
* zumbi lunches13:53
loolzumbi: In general, we try to be as transparent as we can (i.e. fully transparent)13:53
loolthe only reason we might not be in a position to do so, is if the testsuite's license prevents that, or we get hardware with a license to not publish benchmark results13:54
zumbilool: yes, I see that and I appreciate you being transparent. While benchmarks are not free, AFAIK nothing prevents you from publishing its results13:55
zumbibut you are the one that knows better13:55
zumbior at least that have the right contacts13:55
loolzumbi: Well actually I've heard of some benchmarks used by compilers companies preventing you from publishing results13:57
zumbi:-/ -- anyway we have to be world champions and not only in football :)13:59
zumbiARM vs Intel13:59
loolEh14:01
rsavoyeso I've got a new Beagle board here that refuses to power up. It worked once till I swapped SD cards Any ideas ?14:09
markos_lool: don't worry about benchmarks, phoronix are quite good at comparing every OS on the planet every week :)14:09
markos_well look at that...14:14
markos_I just tried -mthumb on some Eigen benchmark14:14
markos_(hardfp)14:14
markos_and I get an extra 0.1GFLOPS with -mthumb enabled14:14
markos_0.83GFLOPS vs 0.7314:15
markos_that's a big difference14:15
markos_no doubt because there is a more space in the cache to reserve for the data14:15
TermanaIt is rather unfortunate that Lucid is using Thumb-2 though14:17
TermanaThumb-2 support is broken on OMAP3430 AFAIK (what's inside the n900 - so we can't really use Lucid)14:18
Termana(we = n900 owners that is)14:18
loolrsavoye: serial console?14:24
loolrsavoye: Does it say anything?14:25
rsavoyeI get nothing from the serial console14:25
rsavoyeit booted up once with Angstrom, then I put in an SD card with Lucid on it, now I get zilch..14:25
rsavoyethe 3 green LEDs are lit, reset doesn't do much14:26
loolrsavoye: This aint good; the serial console should always display something14:29
loolrsavoye: Since the ROM outputs to serial14:29
rsavoyethat's what I figured... /dev/USB0 115200 baud ?14:29
loolI use: screen /dev/ttyUSB* 11520014:30
loolrsavoye: check you dont have multiple /dev/ttyUSB*, can happen on older kernels14:30
rsavoyethis is on a Maverick-x86 host14:30
loolrsavoye: BTW doko's internet was borken end of last week, so I failed to chat with him, will do tomorrow I hope14:30
loolrsavoye: Ok; check nevertheless14:31
loolI had races in some conditions in the past, best to double check14:31
rsavoyeI just figured I'd get this thing up and running now that I'm back in town14:31
loolGood idea14:32
loolrsavoye: Also, try unplugging replugging the USB serial adapter14:32
loolIt happens that its serial port state gets confused by random data with mine14:32
rsavoyeah, got the serial console working this time14:32
rsavoyeRROR: can't get kernel image!14:32
rsavoyemaybe I need to reset the SD card better....14:33
rsavoyeinterestingly, kermit worked fine, minicom didn't14:33
loolrsavoye: Using serial to upload kernels is terribly slow14:33
loolrsavoye: consider writing them to a FAT partition on the SD and loading them from there14:33
loolrsavoye: mmc init, or mmcinit if you have an old u-bot, and fatload mmc 0 0xsomeaddress uImage, then nand write14:34
rsavoyethat's how I started, following the directions to boot the Lucid netinstall14:34
rsavoyeat least now I know my hardware isn't borked...14:35
rsavoyeWrong Image Format for bootm command14:36
loolrsavoye: Are you trying to push a zImage?14:37
loolrsavoye: You want an uImage for u-boot14:37
loolrsavoye: mkimage -A arm -O linux -T kernel -C none -a 0x80008000 -e 0x80008000 -n "Ubuntu Kernel" -d zImage uImage14:37
rsavoyeright now I'm just trying to get the original Angstrom SD to boot14:37
rsavoyehum, I get a No MMC card found14:41
loolrsavoye: Try a second time14:41
loolrsavoye: check that it's properly inserted too14:41
loolrsavoye: Actually, this might be from anything, what's the full output from your boot?  (paste.ubuntu.com)14:42
rsavoyehttp://paste.ubuntu.com/462063/14:43
rsavoyecan I boot a beagle XM from USB instead of SD/MMC ?14:47
=== fta_ is now known as fta
rsavoyeI have this suspicion my beagle has stopped reading *any* MMC or SD card15:01
rsavoyeI can't even get it to upgrade uboot15:01
loolrsavoye: It's not unusual to have compatibility issues with MMC15:10
loolrsavoye: it would be quite surprizing that a brand new board wouldn't take big brand cards though15:10
loolrsavoye: Do buy decent quality SDs, e.g. SanDisk; I don't have a finite list, but have prior bad experience with no name or cheap SDs15:11
loolOh you have a XM?15:11
loolrsavoye: How did you get it?  :-)15:11
loolrsavoye: I dont know what the XM boots from I'm afraid15:11
loolThat doesn't look like an XM15:12
loolIt says C415:12
rsavoyeI bought the SDm cables, and beagle from Special Computing15:12
loolOk15:12
rsavoyeit doesn't to me either, I noticed the DRAM was 256, when it should be 51215:12
rsavoyestill, it should boot with the supplied Angstrom distro15:13
loolrsavoye: Did you order a XM or a C4?15:13
rsavoyean XM is what I ordered15:14
rsavoyelooking through the purchase order now....15:14
rsavoyeah, I see it, it *is* a C4, shit.15:14
rsavoyeguess I get to see if I can swap it :-(15:14
rsavoyeI'm positive I ordered the XM, guess something went wrong15:15
loolrsavoye: It's probably not bad luck15:15
loolrsavoye: XM has unknown ETA to delivery15:15
loolthey announce 6 weeks +15:15
loolIt's kind of sad to get a C4 at this point, but to work *now* it's best15:15
rsavoyeif it works at ll, I can use it, but sure thought I was ordering the XM15:16
rsavoyeI'll call Special Computing tomorrow and see whats up15:16
rsavoyewhen's the Panda coma out ?15:16
loolrsavoye: panda sounds like it's later this year15:17
loolas in August+15:17
loolrsavoye: I wouldn't count on it to start work now15:17
rsavoyebummer. is the C4 ok for development ?15:17
loolPlus, it will be out of stock for weeks after the launch15:17
loolrsavoye: Sure15:17
loolrsavoye: it should work, I built gcc-4.4 on it15:17
loolrsavoye: You should have decent CPU speed15:17
rsavoyethen if I get it to work I can wait for something better15:17
loolrsavoye: the main issue is RAM15:17
looland it requires a bunch of accessories15:18
rsavoyebut the refusal of it to read the MMC is an issue15:18
rsavoyeah, I see the special computing web site has the XM as "pre-order"15:18
loolYup15:18
rsavoyeI'm adding OpenVG support to Gnash, so I figured I'd also use it for that15:19
rsavoyeI see what the problem is, the SD card socket won't let me push the SD card in all the way15:34
=== fta_ is now known as fta
=== fta_ is now known as fta
GrueMasterrsavoye: Looks like the Xm had memory issues prior to launch.  http://beagleboard.org/buyxM17:02
GrueMasterSays they expect to ramp by eom.17:02
rsavoyeat this point I'm hoping I can get the new C4 board I have here working17:04
=== fta_ is now known as fta
=== fta_ is now known as fta
=== fta_ is now known as fta
=== fta_ is now known as fta
=== fta_ is now known as fta
ogra_cmpcwohoo, zumbi, congrats !!! (that was a hard piece of work)22:02
ogra_cmpcwell deserved22:02
=== fta_ is now known as fta
loolsuihkulokki: Sent a patch your way for an issue I was seeing with an Angstrom image22:49
=== fta_ is now known as fta
=== fta_ is now known as fta

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