/srv/irclogs.ubuntu.com/2012/03/28/#ubuntu-arm.txt

xranby_ac100whats the best way to determine at runtime if my code are running on a armel or armhf system?06:50
xranby_ac100i find myself in the situation that i have two librarys one armel and one  armhf and i must determine which of the two to open at runtime from a no-c based language06:51
twbcompile an hf binary, if it crashes you're on soft float :P06:52
xranby_ac100well .. hehe06:52
xranby_ac100yes i was trying to avoid the crash at library load06:52
twbIIRC you can have hf and sf processes coeexisting on the same system06:53
twbMaybe the kernel has to support hf, but that would be all (that and the hardware, obviously)06:53
twbHmm, I think I'm running a hf chroot without kernel support...06:53
twb/proc/cpuinfo isn't helpful06:54
twbOh, yes, there's vfp in the feature list, that's hf right?06:54
xranby_ac100the kernel are identical so i cant ask it06:54
xranby_ac100vfp can be in the feature list on armel as well06:54
xranby_ac100its only the userspace abi that are different06:55
twbHang on, are you saying that you have only one of the libraries installed on any given system?06:55
xranby_ac100i have a java application and i have   two native librarys one armel and one armhf06:55
twbI thought you were saying you had a mix of hardware, some hf and some sf06:56
xranby_ac100i have to determine at runtime which one to load06:56
xranby_ac100if i pick the wrong one i crash06:56
xranby_ac100the java application itself are platform independent and can run unmodified on armhf and armel so i cant figure out this part at compile thime06:56
xranby_ac100i assume python have similar issues06:58
xranby_ac100say you got python code that needs to load a native library06:59
xranby_ac100can gcc produce fat binarys?06:59
twbI don't know07:00
xranby_ac100if so then i would be able to load a fat binary with both armel and armhf07:00
sveinseI'm running natty and lately I'm always forced to run "sudo update-binfmts --enable qemu-arm" when I'm about to run armel code on intel. Is there a change in policy of late regarding this since it's constantly disabled?07:38
twbsveinse: one moment07:55
twbhttp://wiki.debian.org/QemuUserEmulation talks about how to do that07:56
twbIME it's always on, but I don't think I've tried it under precise...07:56
twbPretty sure I was doing it under oneiric without troubles07:57
sveinsetwb, I've been running qemu armel binfmt emulation for a while (years). It's just very lately that I need to run update-binfmts after _every_ boot to enable to execute armel binaries08:02
twbNew one on me08:03
ppisatiogra_: could you test daily image for panda?08:37
ppisatijanimo`: could you test daily image for panda?08:43
ogra_ppisati, i think pgraner did already (he asked questions about some desktopish apps in #ubuntu-release)08:47
ppisatiogra_: i've a problem with my test monitor here, could you double check?08:52
ogra_well, i'm currently busy with ac100 testing but later today i can probably test panda08:52
ppisatiok, so it's ether the video output of my board or my lcd...09:34
=== wgrant_ is now known as wgrant
ppisatiogra_: not even P/omap4 beta1 gives me any vide output, so i'm realy starting to thing it's problem with my panda or with my lcd...10:41
ppisati*think10:41
ogra_did you try the other video output ?10:41
ppisatiyes10:42
ppisatino output at all10:42
ppisatii tried with 3 different kernels10:42
ppisatiand two preinstalled images10:42
ppisatiamong which the beta110:43
ppisatino i'll do a last test with an O image10:43
ppisatiafter that i'll declare my panda badly wounded10:43
ashiswinhey guys, does anyone know which channel I can discuss general ARM processor stuff?10:43
* ogra_ would try #linaro, there are at least a lot of arm employees in there10:45
ashiswinthanks ogra_ :)10:47
=== Guest43061 is now known as Termana
ppisatino video output even in O11:24
ppisatinice11:24
ogra_try another cable :)11:25
ogra_and power on the monitor ;)11:25
jimericksongot video ouput on my pandaboard ES with the latest image. thanks guys!13:28
ogra_great13:34
martinaldhi guys13:47
martinaldplaying around with ARM in qemu13:48
martinaldi've got a basic fluxbox install starting13:48
martinaldbut i can't seem to find a way to increase the oclour depth and/or resolution13:48
martinaldi'm using the framebuffer driver AFIAK; anyone got any ideas?13:48
=== zyga is now known as zyga-afk
Riddellstill getting my monitor/graphics driver issue (bug 961133) but found a new HDMI monitor that it does work with but only with HDMI output and only at 600x800 resolution14:25
ubot2Launchpad bug 961133 in linux "No video output from Ubuntu Desktop ARM Images on my Pandaboard to my DVI monitor" [Medium,Confirmed] https://launchpad.net/bugs/96113314:26
* Riddell wonders why this channel exists instead of using #ubuntu-devel14:26
hrwRiddell: question is rather 'why you joined here instead of asking on #ubuntu-devel'14:52
Riddellhrw: because I think there is a need for arm communications still, that's why I've been arguing for an ubuntu-arm mailing list14:52
hrwthere was ubuntu-mobile for that14:56
hrwand finally got dropped in favour of ubuntu-devel14:56
Riddellyes, so it's inconsistent14:57
=== doko_ is now known as doko
Riddellrobclark: I'm to nudge you towards bug 961133 again, still broken with my monitor (but worked with oneiric and works with that 3.3 one you showed me at) but works with an HDMI monitor at 640x480 resolution15:00
ubot2Launchpad bug 961133 in linux "No video output from Ubuntu Desktop ARM Images on my Pandaboard to my DVI monitor" [Medium,Confirmed] https://launchpad.net/bugs/96113315:00
janimo`Riddell, I think ARM  emails should be good for ubuntu-devel if they are developer oriented. ARM should get more and more widespread so bringing it in the discussions more visibly can't hurt15:03
Riddellwhat do I need to test omap (not omap4) images?15:05
GrueMasterA beaglexm platform.15:05
=== yofel_ is now known as yofel
ogra_even though it might be funny to see kubuntu oin a beagle C4 or A8 *g*15:12
RiddellGrueMaster: so that's a beagle board?15:32
Riddellogra_: what's funny about that?15:32
GrueMasterRiddell: http://beagleboard.org15:33
ogra_Riddell, A has 128M, C has 256M ... both will oops at some point running a full desktop15:33
ogra_you dont want to test kubuntu on that :)15:34
Riddellogra_: so how do you test ubuntu desktop images?15:34
ogra_oh and they are 400 and 600 MHz15:34
ogra_Riddell, we use beagle XM, as GrueMaster stated15:34
GrueMasterRiddell: beagleXM.  See above link.15:34
ogra_1GHz/512M15:34
ogra_any former revisions arent really for desktop use15:35
ogra_(XM is the "current" one)15:35
Riddelland while I'm asking what do you use to test mx5 and ac100?15:36
ogra_ac100 is teated on an ac100 :)15:36
ogra_mx5 is the freescale quickstart board15:36
GrueMasterFreescale Quickstart for mx5.15:36
Riddelland they're dev board that look a bit like this pandaboard?15:37
GrueMasterAlthough any you buy now are highly likely to not work due to a usb bug.15:37
ogra_Riddell, apart from the ac100 they all are dev boards15:37
GrueMasteryes, very similar in size.15:37
ogra_(ac100 is the little netbook i run around with at events)15:37
Riddellah nice15:38
ogra_they are not produced anymore but you can get them chap at ebay or so15:38
ogra_like between 100 and 150€15:38
Riddellso why do we have images if they're not commercially interesting?15:38
ogra_because there is a big community for it15:39
Riddellthat's very generous of us :)15:39
ogra_and the majority uses ubuntu on that device15:39
ogra_no, thats very helpful for us, the devs among them help with ubuntu on arm since thats a device they actually *use*15:40
ogra_opposed to a dev board ...15:40
Riddellah hah15:40
ogra_we tend to get a good amount of bugs (and sometimes also fixes) from that side15:41
Riddellogra_: where do bugs appear in arm?  linux sure and I know there are compiler errors if you don't do your real vs double right in qt but what are the other gotchas?15:42
ogra_well, sound servers that down work properly with alsa ... desktop bugs you dont encounter during a short test but that show up after a while of actually using an image etc15:42
ogra_just do give two examples15:43
RiddellI guess unity-2d gets more of a workout on arm15:43
Riddellthat name makes me cringe each time I use it15:43
ogra_well, we're working on 3D for panda at least15:44
ogra_i should have a patch from linaro readily packaged next week or so for compiz15:45
ogra_so you can use 3D then15:45
ogra_but i doubt it will be fun to use ... will still be slow and slightly buggy15:46
ogra_its a start at least :)15:46
RiddellI have graphics accelaration on this pandaboard15:48
RiddellI don't see any need for unity-"3d" just overhead as far as I can tell15:49
ogra_on oneiric15:49
ogra_there is no driver for precise yet15:49
Riddellhmm I have fancy shadows on my windows which I can turn off when I tell kwin not to use accelaration15:49
ogra_sure15:49
ogra_SW rendered composite15:49
ogra_works even on xfbdev drivers ;)15:50
ogra_especially if the system can donate one core to all the SW stuff15:50
Riddellmm15:50
ogra_there are no drivers installed by default15:50
ogra_for oneiric they are in the TI PPA15:51
ogra_for precise they sit in NEW and wait for being moved to multiverse15:51
GrueMasterFor precise, I think they are in -proposed, but I know they are at least waiting for beta freeze to lift before hitting the pool.15:51
GrueMasterOh, new.15:52
Riddell-proposed isn't open, we haven't released yet15:52
ogra_-proposed is open15:52
GrueMasterI had thought they had enabled proposed for stuff to flow into during the freeze.15:52
ogra_compiz was built there during the freeze15:52
Riddellthat's early15:52
ogra_right15:52
ogra_it is to avoid archive skew through package sets with close dependencies15:53
GrueMasterMakes sense.  Keep stuff flowing withouth disrupting beta.15:53
ogra_so they can be uploaded and built and once the freeze is lifted the binaries just get copied15:53
Riddellclever these archive admins15:53
infinityRiddell: We're getting more clever, anyway. :P15:59
prpplagueGrueMaster / ogra_ any of you guys heard of anyone running ubuntu-arm over on some of the slower arm920's ? i.e. s3c2440?16:24
ogra_nope16:25
GrueMasterWe only support armv7 core.  If they support it, our stuff should run.16:25
infinityWould be a neat trick, since they're not v7.16:25
infinityAnd GrueMaster beat me to it.16:25
prpplagueahh ok16:26
ogra_i think we had some back in jaunty or karmic though16:26
prpplaguei'll probably look at some angstrom builds them, thanks16:26
infinityprpplague: Or Debian.16:26
ogra_++16:26
infinitySomeone still needs to retroactively rename all of the ARM core designs and ISAs to not confuse people.16:29
* ogra_ votes for "frank" ... or "bill"16:30
=== infinity changed the topic of #ubuntu-arm to: Ubuntu ARMv7 Discussion & Development | If you have a Pi, try Debian! | https://wiki.ubuntu.com/ARM | Submit a Bug? https://bugs.launchpad.net/ubuntu/+filebug | Logs at http://irclogs.ubuntu.com/ | ARM cores != Instruction sets: http://en.wikipedia.org/wiki/ARM_architecture#ARM_cores
infinityThere.16:30
ogra_heh16:30
=== yofel_ is now known as yofel
=== sbambrough is now known as scottb

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