/srv/irclogs.ubuntu.com/2012/04/22/#ubuntu-arm.txt

scientes[890160.173487] VFS: Busy inodes after unmount of mtd_inodefs. Self-destruct in 5 seconds.  Have a nice day...05:59
scientesa little bit of spaceballs eh?05:59
scientesin my kernel you say?05:59
=== gry is now known as gry2
=== gry2 is now known as gry
sveinseI'm experiencing with precise debootstrap on precise. However it fails very often with "Couldn't download package..." and it happens for different packages for each invocation of debootstrap. Other with similar experience?14:33
sveinse*experimenting14:33
=== NekoXP is now known as Neko
=== robclark_ is now known as roblark
=== roblark is now known as robclark
sveinseWhere can I find the default compiler settings for armel and armhf?16:54
NekoXPsveinse, gcc -dumpmachine17:08
sveinseNekoXP: Oh? It returns arm-linux-gnueabi only.17:10
NekoXPgood :)17:11
NekoXPsveinse, gcc -dumpspecs17:11
NekoXPthat's every default17:11
sveinseNekoXP: How do I read it?17:13
sveinseI find the specs hard to read. Then perhaps  touch foobar.c ; gcc -c -v foorbar.c  is easier to understand...17:16
sveinseLet me ask it another way: We cross compile against natty with options "-march=armv7-a -mtune=cortex-a8 -ftree-vectorize -mfloat-abi=softfp -ffast-math -mfpu=neon  -fno-omit-frame-pointer"18:00
sveinse1) Should this line be changed when using precise?18:01
sveinse2) What should the options look like when cross compiling for armhf18:01
xranby_ac100sveinse: when cros compiling for armhf you need to use -mfloat-abi=hard    and  make sure you link against a hard compiled userspace like libgcc18:56
LetoThe2ndoO( "hard compiled userspace" sounds sweet )18:58
sveinsexranby_ac100: Does the gcc-arm-linux-gnueabi packages include hf libgcc etc?19:01
xranby_ac100sveinse: gcc-arm-linux-gnueabihf  for armhf19:02
sveinsexranby_ac100: How could I miss that.. Thanks19:03
xranby_ac100sveinse: if you use the ubuntu cross compile toolchains then you do not need to pass any extra tune options, they are set by default  like thumb and armv7 optimizations19:04
xranby_ac100sveinse: to clarify if you run gcc -E -v19:05
xranby_ac100then gcc will print all default compiled in options19:05
sveinseOne option ubuntu gcc does not specify is the -mtune= (iirc). Does it have much effect specifying it compared to not?19:06
xranby_ac100well they usually pass --with-arch=armv7-a19:06
sveinseI've always wondered if it really meant something to have the tune as well as arch.19:07
xranby_ac100i cant say off hand without benchmarking if you gain anything by explicitly tune for cortex-a819:07
sveinseAnyways, do you happen to know if ld in 4.6 is compiled with sysroot support this time?19:07
sveinse(If you don't, I'll figure it out)19:08
xranby_ac100if your code are to be run on neon systems then that do make a little difference19:08
xranby_ac100since ubuntu do not enable neon by default to stay compatible with tegra2 cortex-a9 cpus19:08
Cyberwormhi19:45
CyberwormI have a problem booting Ubuntu 11.04 on the Pandaboard19:46
Cyberwormit freezes at "Enabling oem-config"19:46
Cyberworm11.10 works20:05
=== Termana is now known as Guest26482
=== robclark_ is now known as robclark
Cyberwormbut I actually need 11.0420:32
Cyberwormsooo20:32
Cyberwormis this a known bug?20:32
xranby_ac100Cyberworm: i think its a known bug. you can remove the /var/lib/oem-config/run file to let the board boot up20:36
xranby_ac100using 11.0420:36
Cyberwormisn't that neccessary for something?20:36
xranby_ac100the oem-config are the setup wizard20:36
Cyberwormah20:37
Cyberwormthank you20:37
xranby_ac100youre welcome20:38
Cyberwormhuh20:56
Cyberwormnow it doesn't freeze20:56
CyberwormI guess it depends on how you format the sd card20:56
Cyberwormon the first try I used to gparted to delete the partitions and then I used the command to transfer the image to the card20:56
Cyberwormnow I didn't format at all and just transfered the image20:57
xranby_ac100Cyberworm: so.. everything are working now? great,21:00
Cyberwormwell let's see if the setup works21:01
xranby_ac100what feature do  11.04 offer that is not found in 11.10 and later?21:02
xranby_ac100i am curious why you need to use 11.0421:02
Cyberwormxranby_ac100: there are problems with the player/server robot device server on 11.1021:08
xranby_ac100Cyberworm: have you checked if this are fixed in 12.04 that gets released next week? (you can get install images today to test)21:09
CyberwormI don't know21:09
Cyberwormbut we need it for a project so it's better for us to use something where we know it will work21:09
xranby_ac100thats fine, in which language are the robot programmed in?21:10
Cyberwormdunno, we just need player/server for simulation21:11
xranby_ac100Cyberworm: ok, good luck with the project.. if you get time left over after its finished.. please come back and i we can check out what the player/server depend on21:14
CyberwormI'll consider it, thanks21:14
sveinseWhat is the state of armhf compared to armel (and precise)? I.e. can I consider migrating my embedded system from natty armel to precise armhf?21:30
=== Guest26482 is now known as Termana
jhobbsA/wg 822:16
jeinorsveinse: as it was explained to me, Ubuntu will officially only support armhf from 12.04. All packages in apt repositories should already exist compiled for armhf.22:19
jeinorsveinse: the difference is about the same as the difference between i386 and amd64 in terms of "will my program run or not"22:20
jeinorsveinse: it might run using multiarch22:20
jeinorsveinse: someone else can probably explain it better and more correct22:20
sveinsejeinor: Perhaps my question was a bit, uhm, blunt. We're have been running natty armel on an embedded product for 1.5 years now and its working great. For the next version we're definitely going to upgrade to precise. The question was if we should consider hf (as this would give our apps a huge set of improvements)22:24
sveinseSupport is not the biggest issue22:25
jeinorsveinse: I see. Well, in that case I think there are people better suited to answer your question than me.22:25
jeinor:)22:25
sveinsethanks, anyways22:26
mythosi think, the question is already answered22:30
mythosarmhf is the supported port for precise. so if your hardware is compatible and your software compiles and is able to pass your testframework (*laughs a little*), go ahead and use precise/armhf22:32
sveinsetest framework, what is that? :P22:33
mythosthat's why i laughed =P22:33
Cyberwormupdating packages takes really long...22:34
sveinseSo if I should make up my own conclusion it would be: armel and armhf will be supported the same way. There is a larger set of FTBFS in armhf. -- yeah, I think we can do a testrun at least22:37
sveinsedist-upgrading armel to armhf on a running system is NOT going to be easy, right22:38
mythoseasy? i think, thats impossible22:38
sveinseNot completely I think22:39
mythosnothing ist completely impossible22:40
sveinseWhat makes it hard is because of glibc and libgcc?22:42
sveinseE.g. you can't have both armel and armhf on the same system, right?22:42
mythosbecause armel and armhf is not abi-compatible, so it can break _everywhere_22:43
mythosnot worth the time to try it22:43
mythoswith multi-arch, you can22:43
sveinseabi incompatible across kernel - userspace as well?22:43
mythosthe kernel does not care, if it is compiled for armel or armhf22:44
mythosand it does not care, what the userspace uses (to be clear)22:45
sveinseYes, so the armel libs and the armhf libs could co-exists22:46
sveinseexcept they clash on file-basis, right22:47
mythoswith multi-arch, not with editing the sources.list form armel and armhf and do a dist-upgrade22:47
sveinseWhat is multiarch specifically btw22:48
mythosthe new hot stuff22:48
sveinse:D22:48
mythossorry, i'm not sophisticated enough with the basis of multiarch22:48
Cyberwormit takes reaaaally long for updates23:22
Cyberwormis that a normal thing?23:22
mythossorry, Cyberworm. what are you doing?23:34
Cyberwormupdating23:35
mythosfrom what to what?23:36
Cyberwormjust the ubuntu 11.04 packages23:36
mythosso a "apt-get update"23:38
Cyberwormyes23:39
mythosi would say, that it is not the normal behaviour (except your hardware (cpu, persistent memory), internet connection, or anything else is very slow)23:49
Cyberwormit's on the pandaboard23:53

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