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

=== DanaG1 is now known as DanaG
DanaGbeagleboard is spiffy.02:35
Shambatanyone here have any experience with the Sheevaplug?08:30
pranithhello, i want to install ubuntu on the ipad. which version should i choose?08:32
pranithUNR?08:33
Stskeepsis ipad at all hackable?08:33
pranithStskeeps, i have special priveleges ;)08:34
Stskeepswell get a linux kernel working first, :P08:34
pranithim sure the kernel works08:34
pranithits a general ARM core in the A4 chip08:35
Stskeepswell, not so much about that08:35
pranithcortex-A9 to be specific08:35
Stskeepsbut you need to have linux kernel booting and chipsets/SoC supported etc08:35
pranithso which version of ubuntu do i choose? UNR? Ubuntu MID?08:35
Stskeepsand iphone linux attempts haven't gone that well, afaik08:36
pranithStskeeps, ya, it's a imaginary scenario... i dont really have the ipad08:36
pranith:)08:36
pranithi was asking for ipad like ARM touch devies08:37
pranithdevices*08:37
ShambatI want to build a custom Ubuntu based on 9.04 that has support for a lot of wifi chipsets ... This is for a Sheevaplug ... what is the best resource for accomplishing this?08:45
Shambatbasically, I need to learn how to gather the parts and compile the OS, and install it....08:46
ograpranith, as long as you have a kernbel and bootloader, try rootstock to assdemble a userspace09:03
ogra*assemble09:03
* ogra needs to take a typing course it seems09:03
ograi would start with a simple ubuntu-minimal build to see if the kernel works with the userspace, if that works, install whatever desktop env you like (use the ubuntu-desktop or ubuntu-netbook metapackages for that, MID is rather dead nowadays)09:05
pranithogra, thanks!09:11
noisi hi! i search for sql-server and client for arm720t. can you give me some advice, please?11:56
loolWould be great if someone could test valgrind on armel   :-)12:05
loolI'm aware of one upsteam issue which might affect some code pathes, basic testing against e.g. "ls" would be great12:05
loolnoisi: Are you looking for binaries?12:06
noisiyes, everything :-)12:06
loolnoisi: Your CPU is very old, I'm not sure it's supported by ARM anymore12:06
loolnoisi: Also, it's of the ARMv4 family, and Ubuntu never supported this12:07
loolWe supported ARMv5t in jaunty (9.04) but that is getting old12:07
loolnoisi: Debian does support ARMv4T though, so Debian binaries should work12:07
loolnoisi: Are you using EABI or OABI?12:07
noisii donĀ“t know eabi/oabi12:08
loolnoisi: That's important, you should find out12:08
loolnoisi: check your kernel config, look for ABI in CONFIG_ names12:08
loolwe have CONFIG_AEABI=y CONFIG_OABI_COMPAT=y in Ubuntu for instance12:09
noisii got a box with arm720t form http://www.owasys.com/12:09
noisiwith no sources12:10
loolnoisi: I understand, but arm720t wont work with Ubuntu and depending on which ABI you're using, you should use one or the other Debina port12:10
loolBoth will work on your hardware, it depends of your kernel12:10
loolnoisi: So you don't have a kernel?12:10
noisiok12:10
noisithere is running a system12:11
loolnoisi: With Linux?12:11
noisiLinux (none) 2.4.18-rmk3 #1264 Tue Nov 28 11:40:43 2006 armv4l unknown12:12
noisiif i type uname -a12:12
loolnoisi: This is antique12:13
loolnoisi: But you should have gotten the sources with your kernel (per the GPL)12:13
loolnoisi: I am not sure how well Debian will work on 2.4.x kernels at this point though12:14
noisiokk12:15
ogralool, do you have any elegant pygtk reciepe to make Popen non-blocking without having to fiddle with fnctl and additional filehandles ?12:16
ograi.e. a magic switch i dont know about for subprocess12:17
StevenKI'm sorry, you can't use 'pygtk' and 'elegant' in the same sentence.12:17
ograpfft12:17
ograi just cant imagine that subprocess doesnt have anything builtin12:17
loologra: I don't understand the problem12:19
loologra: The default for Popen is to not block12:20
loolI mean subprocess.Popen12:20
loologra: By default, subprocess.Popen does os.spawn with P_NOWAIT12:21
loolIt's only if you interact() that it will block on it (obviously)12:21
loolerr communicate()12:21
loolSorry, I'm confused by expect terminology12:21
ograhmm12:22
ograwell, if i have output where the subprocess is busy for a while without spilling a new line my UI gets unresponsive12:23
loologra: How are you reading from your subprocess?12:23
loologra: code?12:23
ograhttp://paste.ubuntu.com/379703/12:24
ograstdout.readline()12:24
ograi tried communicate but its buffering eternally12:26
loologra: I think you need to use select.select() and os.read()12:27
ograand fnctl then i guess12:27
loologra: oh you're doing while output.poll() is None:12:28
loolSo you should use poll()12:28
loolcheck for POLLIN12:28
ograah, thats what i was looking for i think12:30
ograall solutions i found yet route through additional filehandles which i'd like to avoid12:30
loolThe pipes should be fine12:31
asacnon-blocking IO for the python world!12:38
ograasac, well, even python can do fork() and pipe() :) its just that i dont use that12:42
JamieBennettwe'll get asac loving python sooner or later ;)12:42
ograyeah12:42
asacjust remember gwibber spawning threads for blocking IO ;)12:43
ograi luckily have never seen gwibber from the inside :)12:44
* asac reboots after upgrade12:48
ogradont !12:48
ograyou'll lose your sound12:48
loolSadly there's no proper threading in python   :-(12:51
loolonly real child processes12:51
ograyeah12:52
asacseems my upgrade removed a bunch of stuff i didnt spot ;) ... like nm-applet etc.13:02
* asac goes fixing his system13:02
asachmm. is it possible that the sata port of bbg is really really slow?13:03
ograyes, because it is no SATA port13:07
JamieBennettIt hangs off of USB doesn't it?13:08
ograright13:08
ograwith usb speeds13:08
ogra16MB/s13:08
ogracan peak up to 20 ... but thats rare :)13:08
asacogra: my sata drive is definitly slower than what i had with USB13:15
asacits really crawling13:15
asacmaybe i should go for SD card again ;)13:16
ograheh13:17
ograogra@babbage2:~$ sudo hdparm -t /dev/mmcblk0p2|grep MB13:19
ogra Timing buffered disk reads:   32 MB in  3.17 seconds =  10.09 MB/sec13:19
hrwmorning14:31
hrwStskeeps: hi here14:33
Stskeepsmoo14:33
hrwI see that next ubuntu release will target armv7 cpus only. which devices/cpus are supported?14:34
hrwas https://wiki.ubuntu.com/ARM/DeviceSupport is rather not up-to-date14:35
ograhrw, imx51 (freescale) and dove (marvell armada)14:36
ograup to now ...14:36
hrwogra: no omap3?14:36
ograno kernel14:36
hrwok14:37
ograso we dont build images14:37
ograbut userspace indeed works on all v7 CPUs14:37
hrwhow many people work on ubuntu/arm?14:37
ograwell, hard to say ... we ven have a good bunch of beagle people helping on it :)14:38
ograor do you mean inside canonical ?14:38
hrwinside14:38
hrwI have a bunch of arm boards on desk and just checked how many of them can run ubuntu.14:39
ograin the distro/mobile team we're 8 if i didnt miscount, plus a bunch in the kernel team14:39
hrwbut most of them are armv5te or armv6. just beagleboard and n900 are armv7a ones14:39
ograv5 was supported in jaunty14:40
ograin karmic we switched to v6+vfp14:40
ogralucid now is v7+thumb214:40
hrwI noticed14:40
ograbtw, as you can see on http://webapps.ubuntu.com/employment/ it will soon be more than 8 :)14:40
ogralike ... a lot more :)14:41
hrwogra: I do not have to go there to know ;) I just looked into my inbox14:41
hrw;D14:41
ogralol14:41
asachmm14:43
* asac blind14:43
asacdoesnt see where ocaml uses arm.S14:44
asaci guess its not used at all14:44
asacanyone can check if i miss something?14:45
asachmm. is ASPP a default variable for make?14:45
asacdont see it defined either14:45
asacoh14:46
asac;)14:46
* asac should go one up14:46
* ogra hands asac some glasses14:46
asacstill cant find that arm.o is really used14:46
asacdont see anything in the build log either14:46
* asac thinks about marking it as invalid14:46
asacdmart: ^^14:47
asacocaml ... cant find in build system that arm.S is actually used14:47
hrwbtw - armel is not 1st class arch in ubuntu? it is not present in packages.ubuntu.com interface14:48
asachrw: thats just a technical detail14:49
asacit still lives in ports.ubuntu.com for a few reasons14:49
asacbut its supported ;)14:49
hrwok14:49
hrwwhere I can read more about devices which are supported?14:50
asacwe currently support marvel dove and freescale imx51 devboards14:51
hrwthx. both looks like hard-to-get devboards14:55
NCommanderhrw: Ubuntu lucid will work on any board with VFP+Thumb2+ARMv7 support, you just need to use rootstock to spin your own image.15:04
hrwok15:04
asacupdate-notifier: Depends: update-notifier-common (= 0.95) but 0.96 is to be installed15:16
asacwhtas going on :(15:17
ograasac, still ?15:17
asacit definitly built15:17
asacso its something else15:17
* asac tries what apt-get install says15:17
ograwas it published etc15:17
asacthat doesnt have a problem15:17
ograweird15:18
asaci didnt ran it, but it didnt complain and asked to go ahead15:18
asacogra: http://people.canonical.com/~ubuntu-archive/livefs-build-logs/lucid/ubuntu-netbook-imx51/20100219/livecd-20100219-armel.out15:18
asacmaybe thats not a new run=15:18
asac?15:18
asacogra: can you kick off a llivefs build manually?15:18
ograyes15:19
asacogra: can you do? :-P15:19
ograrunning15:20
ogratakes 3h though ...15:20
ograasac, didnt fail yet, thats a good sign15:36
ograunless the livebuilder locked up :)15:36
=== dmart is now known as Guest48348
=== hrw is now known as hrw|gone
Martynhey, for those pegatron nettops .. is there a 9.10 or 10.4 image I can throw on it?16:10
ogranope16:10
ograwe dont have a kernel16:10
Guest48348Martyn: I found Karmic can work, though it requires a bit of a bodge to run it on the existing jaunty kernel16:22
=== Guest48348 is now known as dmart_
* dmart_ curses nick lockouts16:23
dmart_ogra, asac: Did anyone have a chance to connect a board running the current imx51 kernel via a hub?16:23
asacdmart_: ogra tried that16:24
ogradmart_, i dont have a hub around and nobody around me seels them :(16:24
asache wasnt able to reproduce issues16:24
dmart_IRC _really_ does not like that I have to keep pulling out my uplink cable to download things onto the board...16:24
ogra*sells16:24
asacreally16:24
ograasac, i only tested on switches16:24
asacogra: you sent a mail16:24
asacogra: why did you test switches ;)16:24
asacdmart_: ok scratch that. seems we dont have a hub then16:24
loolCan one still find hubs?16:25
ograasac, because i dont have hubs and nobody said there was a prob with hubs until after i sent the mail16:25
ojnMartyn: I never got any useful information out of ARM, so I just went with the Genesi-side docs instead. They use a different wifi chip but the rest works: http://blog.efikamx.info/2009/12/releases-for-22nd-december-2009-u-boot.html16:25
asacogra: your mail really sounded like you tested hubs ... i wouldnt have expected a mail aabout switches at all16:25
asacbecause noone complained about those16:25
ograasac, huh ?16:25
asacnevermind16:25
asaclool: maybe on ebay16:27
ograor as a do-it-yourself soldering kit for kids to learn about network HW :)16:27
dmart_Maybe fsl could help with this?16:28
ograwell, i didnt see any issues with iftop on switches when testing karmic and lucid ... there was a difference of 5Mbit/sec between the two though16:29
ogradmart_, are you seeing that on lucid too ?16:30
dmart_It's only on lucid --- it may have come in at the time of the fsl .31 kernel merge, since it didn't happen very early in the cycle.16:30
ograearly in the cycle we used the karmic kernel16:31
ogralucid is 100% freescale now16:31
dmart_But boards running the current kernel are ~ unusable for development unless I uplink directly --- download drops from normal speed to 10-100kB/s16:31
dmart_This has been seen with Babbage 2.0 and 3.0, and with multiple hubs.16:32
ograbad :/16:32
dmart_Unfortunately our IT temporarily ran out of switches too...  but I'll try and order one.16:32
ograi'll try to get a hub somewhere over the weekend16:35
ogracant be that hard to find one16:35
dmart_hopefully not...16:35
ogra(i only checked the closest HW shops around)16:35
dmart_On another topic, is anyone else having trouble with the current armel images?16:36
dmart_For me, ubuntu-netbook 20100215 (current) -> ubiquity crashes shortly before completion16:36
dmart_ubuntu-desktop 20100218 -> the same, + nautilus crashes and repeatedly respawns16:37
ograthere were a lot of fixes to ubiquity within the last three days16:37
ograthough i heard partitioning is broken atm16:37
dmart_I didn't try to run ubiquity on 20100219, but nautilis still crashes.16:37
ograignore ubuntu-desktop please16:37
ograthe livefs isnt updated anymore16:37
ograStevenK, ^^^ can we stop producing images as well here ?16:37
dmart_I did a debootstrap instead and I get a working-ish system (except rsyslogd eats all the CPU), and nautilus does not crash, weirdly.16:38
ogra(gah, i still didnt check how late it is for steve ... )16:38
dmart_Ah, if the livefs is no longer updated that would explain why nautilis isn't fixed.16:38
ograright16:38
dmart_I was only using -desktop because the netbook image was borked...16:38
ograignore desktop, i'll care for it not showing up on cdimage anymore next week16:39
dmart_Sounds sensible16:39
dmart_Is there a metapackage for -netbook in case I need to bootstrap it?16:39
ograyep16:39
ograubuntu-netbook :)16:39
dmart_ Hmmm, looked for that but couldn't find that before16:39
ograthough better try the task16:40
ograapt-get install ubuntu-netbook^16:40
ogra(mind the caret)16:40
dmart_Found it now, maybe my package list was out of date.16:40
ograi just did a rootstock testinstall today like that16:40
ograright, should be there16:40
dmart_Found it... maybe my lists were out of date16:41
ograyeah16:42
dmart_Is the intention that ubuntu-desktop should still work?  It's a bit nicer for development purposes, but building images is not really needed.16:42
ograshould still be installable, yes16:43
ograwe just dont test it or roll images16:43
dmart_Sure.  It looks like mono unbroke, so I can install it now, anyway.16:43
ograbut unless there are massive regressions (which i wouldnt expect) it should just work16:43
dmart_Nothing untested ever "just works" ;)  But that's fine in this case16:44
ograheh16:44
dmart_asac: How's the Thumb2 porting stuff going?16:45
asacdmart_: currently working on it my self.16:45
asacocaml invalidated (asm isnt used at all)16:45
dmart_Should we have another sprint?  I don't think a time was suggested yet.16:46
persiaI also haven't seen a time suggested.16:46
asacdmart_: next week about the same time i would suggest16:46
asacproblem is that australia wants to participate16:46
persia11:00 UTC on Thursday?16:46
asacthats good16:47
asacthen US has to skip i guess16:47
asacbut they had their chance last time16:47
persiaOr come late.16:47
dmart_I can possibly do an evening, so long as it doesn't happen too often ;)16:47
asacdmart_: 1100 UTC it is16:47
asaci will send an invite16:47
dmart_OK, fine for me.16:48
dmart_That's a week away though, did we want to do it earlier?16:48
asacand try to get the team to work on that next week with more pressure ;)16:48
persiadmart_: The issue is that midnight UTC is a good time to start working in Asia, so "evening" can get quite late :)16:48
asacdmart_: you are always here ... thats ok; we just need to work outside of the sprint on it too16:48
asacwhich I feel we didnt do enough the last week (partly excused by part of the team on the road this week)16:49
dmart_Is there a list of packages which nobody has picked up yet?  I've been a bit distracted this week, but hopefully I can look at a couple17:02
persiaPeople should be updating the wiki when they do something.  If you find a pacakge not updated, it's fair game.17:03
dmart_OK17:03
=== dmart_ is now known as dmart
dmartHow is dove these days?17:06
ogracurring17:13
ogra(sorry couldnt resist :P )17:13
ograX0 should be fine again17:13
dmartsounds good17:14
ograand i heard even Y1 was good according to GrueMaster17:14
dmartWas that from kernel updates, or something else?17:14
ograkernel updates, mainly the most recent fix afaik17:15
* asac apt-get source mono17:15
* asac find | xargs grep mov.*pc17:15
ogra 2.6.32-201.1017:15
ograonly went in yesterday17:15
persiaFor lucid also, or just karmic?17:16
asacdmart: we have really odd issues in the mono testcases... one that strikes me is that Integer.MAX_VALUE++ seems to not overflow ... does that ring any bell?17:16
dmartNot really.  Is this a regression since Thumb2?17:17
asacunlikely17:17
asacin karmic 40 testcases failed17:17
asacnow its just 37 ;)17:17
dmartah17:17
asacnevermind. have to check the code what is actually happening for increment to get an idea17:17
dmartMaybe the code which detects the overflow is not correct.  I don't know the mono internals myself...17:17
asaculong a =  UInt64.MaxValue; ulong t = a++;17:18
asacthats what is not overflowing17:18
loolasac: find | xargs grep => rgrep or grep -r17:18
asacdmart: yeah probably. its odd that it works on other archs though ;)17:18
asaclool: i know ;)17:18
loolOh ok17:18
asacits jus tthat that flows out of my fingers automatically ;)17:18
asacalso you can more easily restrict what to search with find imo17:19
* lool has grep -rl in his fingers instead17:19
asacbut could be i am just too old ;)17:19
* persia things xargs is obsolete anyway, since find grew exec +17:19
loolasac: I do **/*.c when I need to limit to certain file types17:19
asacwill try to change my habit ;)17:19
loolasac: Oh just suggested it in case you wouldn't use it17:19
loolI discovered grep -r after some years of linux and it changed my life17:20
loolWould have been suprizing if you hadn't known about it17:20
persiagrep -rn is key to understading source files.17:20
asacto be honest i discovered it not that long ago ... couple of years maybe ;)17:20
asacdmart: #define ARM_DEF_BX(reg,sub,cond) (0x12fff << 8 | (reg) | ((sub) << 4) | ((cond) << ARMCOND_SHIFT))17:40
asacthat is supposed to emit bx ;)17:40
asacis that number correct?17:40
dmartIt looks probably correct for ARM, but the Thumb encodings are different.17:41
asacright.17:41
dmartDo you know what gets passed for sub17:41
dmart>17:41
rbelemHey guys! Are you using any crosscompiling toolchain?17:41
ograrbelem, nope17:42
asacdmart: http://paste.ubuntu.com/379877/17:42
ograrbelem, use qemu-arm-static and do native builds in chroot :)17:42
asacso ARMREG_IP17:42
asaclet me check what that is17:42
rbelemogra, i'm using that, but i want make builds faster17:43
dmartProbably the register numper for ip (it's r12)17:43
rbelemusing icecc17:43
rbelemicecc rocks!17:43
rbelem:-)17:43
dmartasac: The fact that mono is doing code gen might be an issue --- it's presumably generating ARM code, so we need to watch out for calls into and out of that code.17:43
asacdmart: so sub == 117:44
asacdmart: not worth fixing the code to emit thumb2 code?17:44
dmartYes, but that might be a larger job.  Is this a JIT, or it just generating a few native call veneers or similar?17:45
asacits a jit ... we have all the defines in the mono/arch/arm/arm-codegen*.h17:45
rbelemogra, i'm using maemo(RIP) with qemu-arm-static and icecc to speedup the builds17:46
asacthere is mono/arch/arm/arm-codegen.h and also mono/arch/arm/arm-codegen-vfp.h17:46
asacand otheres17:46
ograrbelem, ah17:46
asacdmart: wanna take a look at those files to see how much changes it would be to come up with thumb?17:46
asacfeels like if i knew this stuff it would be just going through that full file ;)17:47
asacdmart: so whats the idea to watch for calls-in and out?17:47
rbelemogra, and the scratchbox toolchain17:47
ograright, thats fine for maemo stuff :)17:47
* dmart apt-get source mono ...17:47
rbelemogra, but now i'm planning help you with arm porting :-)17:48
asachmm they already have stuff like: "THUMBOP_TST"17:48
asace.g. ThumbOpcode17:48
asacin mono/arch/arm/arm-codegen.h17:48
ograrbelem, well, then qemu and icecc to do native builds are likely the best you can do beyond using real HW17:49
ogra(or distcc)17:49
rbelemogra, that's why i want a crosscompiler. The build nodes will use it.17:51
ograjust make the nodes run it in qemu-arm-static ?17:52
rbelemogra, but it is very painful17:52
ograwell, cross building is more painful imho17:52
ograas long as you have dependenciesw at least17:53
ograits surely suitable for something like a kernel testbuild17:53
rbelemogra, i use my colleagues computers, so i can not install it on each computer17:53
ograbut i wouldnt want to build any desktop package in a cross way17:53
ograand beyond that you might hit toolchain issues that arent present in native builds or vice versa17:54
ograor compiler issues17:54
rbelemogra, which issues are possible?17:55
=== asac_ is now known as asac
asacreconnect17:55
ograwell, you use a different compiler17:55
asacdmart: didnt get anything from last 5 minuts17:55
ogradifferent version, other features etc17:55
dmartasac: Are you still talking about mono?  If so, not yet --- NFS (slow)17:56
rbelemogra, isn't it the same compiler but compiled to be cross?17:56
ograrbelem, where do you get that compiler ?17:57
ograwe dont offer a cross build of our gcc 4.4.317:57
asacdmart: just notified you so you can repost if you said something17:57
dmartOK.  still waiting I'm afraid17:58
dmartrbelem: You could try using the Ubuntu gcc source and messing with the configure args.  But that's only feasible if you've already build cross-compilers (there are many pitfalls and I've not done it myself recently)17:59
rbelemogra, it is just an assumption17:59
ograwell, its a techincal impossibility atm :)17:59
rbelemdmart, it would be nice17:59
ograright18:00
persiarbelem: Even if the same compiler, but compiled differently, one can encounter ABI skew, which makes things segfault for unexpected reasons.  It's essential to compile everything in the same way.18:00
ograif someone would build a cross compiler from the same source you would be on the safe side18:00
ogra*safer18:00
persiaSince we compile everything native, anything that needs to link to it should also be compiled natively.18:00
rbelemlet me check a cross compiler package contents18:02
NCommanderrbelem: what are you trying to build specifically?18:02
rbelemNCommander, nothing specific. But i'm planning to build kde stuff18:03
dmartWell, there should be no ABI skew in principle between cross and native compilers build from the same compiler source.  But native/cross compatibility is not well tested--- most people use just one of the other, and there have been discrepancies in the past.18:04
NCommanderrbelem: you *really* don't want to cross-compile KDE unless you love torture :-)18:04
rbelemeheheh18:04
dmartTo accelerate local package hacking, a cross compiler + scratchbox could be useful.  But this is no good for the Ubuntu archive.18:04
NCommanderCMake supports cross compiling, but its really really different from auto**** and kinda wonky18:04
ograthe dependency cahin will be fun :)18:04
ogra*chain18:04
NCommanderdmart: indeed. We've made some progress improvmenting qemu-linux-user18:05
ograNCommander, none WRT speed though18:05
asacdmart: i think it might speed things up if you are joining #monodev on irc.gimp.net18:05
ograand i doubt you can speed it up18:05
rbelemdmart, i can do almost the same thing with qemu-arm-static18:05
asacdmart: the guy that knows all this is currently there it seems ;)18:06
rbelemdmart, to remove the "almost" i need the cross toolchain18:06
NCommanderogra: with some cross-compiler hooks, you can offload compiling to native; I played around with it on m68k18:06
rbelem:-)18:06
NCommanderIts fairly stable as a buildd actually.18:06
persiarbelem: dmart There's also lots of packages that have assumptions in the build systems that make them unsuitable for cross-compilation which would need to be sorted.18:06
ograNCommander, you mean that scary hack suse is using in OBS ?18:07
NCommander(in that case, there was no QEMU, but I had hacked up distcc to do the offloading)18:07
ograah18:07
rbelempersia, it is transparent if you use icecc18:07
rbelempersia, the cross will be in other machine18:07
NCommanderogra: I remember pitching the idea at UDS jaunty, but we decided that native compiling was just easier18:07
ograrbelem, he talks about hardcoded stuff in packages etc18:08
ograNCommander, the OBS idea ?18:08
ograthats a horrid hack18:08
NCommanderogra: using cross-compilers via distcc to speed up compilation18:08
rbelemogra, which kind of stuff?18:08
asacdmart: so we need to adjust all ARM_DEF defines vargaz said18:08
ograrbelem, injecting x86 libc into the amrel chroots18:09
asacdmart: with #ifdef thumb18:09
asacif we go the full jit way18:09
rbelemogra, i didn't get. do you have an example?18:10
rbelem:-)18:10
ograNCommander, i would support using distcc across a bunch of machines using qemu-arm-static ;)18:10
asacdmart: is it usually just the OPTAG that needs to be adjusted?18:10
asaclike ARM_MUL_TAG18:10
asacor the full ARM_DEF_MUL_COND ?18:10
dmartYou cannot generate Thumb code from an ARM JIT implementation without significant work, because a lot of assumptions break down.18:11
asacthey use BX at least they told me18:11
asacbut yeah18:11
rbelemogra, "Now based on GCC 4.4.1!"  - http://www.codesourcery.com/sgpp/lite/arm18:11
ograrbelem, they inject the x86 libc into an arm chroot and use the x86 gcc in there, what comes out is arm code like its been cross compiled but the env it is built in is arm, that speeds up and solves the dependency issues18:11
ograrbelem, right, we use 4.4.318:12
rbelem:-(18:12
dmartasac: I haven't looked in detail yet18:12
asacdmart: sure so i guess too much work ;) ...18:12
asac19:09 < vargaz> thumb2 support is only required on cpu-s without the arm classic instruction set, which are rare.18:12
asacdmart: ^^18:12
ograheh18:12
asacor is he just saying that -marm is ok?18:13
ograso we should revert the archive ...18:13
dmartasac: If they have the interworking correct, then that statement is true.  There is no special reason to convert a JIT from Thumb to ARM unless it is the only way to resolve interworking issues.18:13
asacok18:14
asache claims there are thumb-2 only CPUs out there ;)18:14
asac19:13 <@kangaroo> someone makes thumb-2 only cpus?18:14
asacah ok18:14
asac19:13 < vargaz> yes.18:14
asac19:13 < vargaz> there is the cortex-m series or something, which are micro-controllers.18:14
asaci guess we are not ready for that ;18:14
asac)18:14
dmartThe ARMv7-M profile does not have the ARM instruction set.  Cortex-M* profiles implement this.  These are intended for microcontrollers and don't have an MMU etc., so this is uClinux territory.18:15
asacyeah ... was just kidding18:15
rbelemogra, yeah! :-( When will them will launch 4.4.3?18:16
ograno idea18:16
asacdmart: anything you would like me to ask now that the right folks for mono seem to be available?18:16
ograasac, seems the livebuild doesnt get forward and lamont it in the air :/18:16
asacogra: sigh18:17
asacogra: single point of failure is just bad18:17
ograyeah18:17
asacis there someone in the pipeline?18:17
ograsingle lifevfs builder too :(18:17
asac;)18:17
ograi pinged in #is18:17
dmartasac: Sounds like ARM/Thumb interworking in the mono JIT should be discussed with vargaz?  If he can explain why it works, we're probably fine.  If he doesn't understand the question, we have some work to do ;)  (but it sounds like he has thought about it...)18:17
rbelemogra, do you think it is possible for lucid+1?18:17
asacdmart: see pmsg18:18
ograrbelem, i dont think we'll ever support it because you cant be sure the cross built stuff is really identical to a native build ... and i suspect codesourcery might always be behind in versions18:18
persiarbelem: native build doesn't take *that* much longer.  IF you want it really fast, run distcc on a bunch of ARM hardware.18:19
ograasac, seems its still running, just not spitting out logs atm18:20
rbelempersia, i just have two arm devices :-(18:20
persiaYeah, well.  That is still a problem for most of us :)18:21
rbelempersia, ogra suggested to run icecc inside a chroot with qemu-arm-static as an alternative18:22
ograasac, ah, there just popped up some logs for dove ;)18:22
ograseems to run fine ...18:23
armin76persia: you can always run cross distcc18:23
persiarbelem: Sure.  ARM boxes can be real or emulated :)18:23
ograi dont get why dove was built before imx51 though ... i gave the command in a different order :/18:23
persiaarmin76: I don't trust the reliability of mixing that with native, give that it's not well tested and there have been issues in the past with alignment, etc.18:23
persiaarmin76: If it's all cross or all native, no issues.  Since the rest of the archive is native...18:24
armin76always worked for me :)18:24
* ogra goes afk and will check the builds later tonight again18:24
ograarmin76, you mix cross and native stuff ?18:24
armin76ogra: for building my stuff yes18:25
ograwith a toolcahin and compiler on the edge and highly optimized default flags ?18:25
asac19:24 <@kangaroo> yes18:25
asac19:24 <@kangaroo> we use interworking all the time18:25
asac19:24 <@kangaroo> if its not, its a bug and we'll fix it18:25
asac19:24 <@kangaroo> we have to support it to pinvoke thumb libs from C#18:25
asacdmart: ^^18:25
dmartProbably it works then... I'll try and chat with him on Monday and check.18:26
armin76ogra: no, i use what we call stable, which is gcc-4.3.4,glibc-2.10,binutils-2.19 atm18:26
dmartasac: Mind you I can't figure out where the arm-codegen stuff is actually used from.18:27
asacdmart: in in mono/mini/arm*18:27
asaci think18:27
asacat least thast how i found the codegen parts ;)18:27
asac(those filse have the mov matches ... which turned out to be just comments before they use those macros)18:27
ograanyway ... -> afk18:27
dmartOh yes, I see (the first function I searched for wan't used...)18:27
asacls mono/mini/mini-arm*18:28
asacmono/mini/mini-arm.c  mono/mini/mini-arm.h18:28
* rbelem goes check for toolchains18:29
loolpersia: sudo works for me in latest qemu-arm-static18:46
Martynojn : Still about?18:46
Martynojn : I'm downloading your installer and karmic image .. hopefully this will all work sans serial, since I don't have a serial cable for this pegatron18:46
ojnMartyn: not mine, but genesi's. Yeah, I got a hold of one of the debug boards they have that brings out serial and jtag. I'd been dead in the water with out.18:49
MartynWithout the serial and jtag, do I have a hope in heck of getting this installer SD and image to work?18:52
NCommanderMartyn: on a pegatron imx51 board?18:54
Martynyep18:54
NCommanderProbably not. Pegatron uses Lange which is a variant of babbage18:54
Martynthe little white one that looks like a genesi18:54
NCommanderKernel is incompatible18:54
ojnMartyn: You can borrow my debug board if you want18:54
MartynHmm .. where can I find the original system image for the white Lange based unit?18:54
ojnMartyn: dmart kept promising one but I never saw one.18:55
Martynbecause what happened is that someone in the company decided to try upgrading from 9.04 to 9.10 using the system updater18:55
Martynand let me tell you, it's in a sorry state :)  Kernel panic :)18:55
persialool: works for me too.  Nice work!18:56
armin76Martyn: yes it will18:56
Martynarmin76 : Wait, so the genesi installer _will_ work on this white pegatron?18:57
armin76Martyn: you can always change the kernel :)18:57
armin76Martyn: ask neko on #efika, but i guess so18:58
ojnMartyn: That's what I used on mine18:58
ojnMartyn: on a separate SD card18:58
armin76i believe it still has the nice bug that once you reboot it, ssh won't come up again18:59
Martynojn : So - sequence of events is -- installer-sd.img onto an SD card .. change DIP to 0001 .. power up system18:59
Martynwithout a serial cable, will there be any external indication that the process is complete?18:59
ojnMartyn: correct. Yes, framebuffer should come up18:59
armin76it tries to get a ip from dhcp19:00
armin76Martyn: the efika boots from sd before internal 'ssd' without touching the DIP19:00
Martynthen copy the karmic-minimal tar to a SD card?19:00
armin76Martyn: there's a dd image19:01
Martynarmin76: so installer-sd.img is sufficient on it's own then...19:01
armin76i believe so19:01
Martynallright .. I'll be right back then.    Lets give this a spin19:02
MartynI flipped the DIP to 0001, light went blue for a few moments, then power light went green.  No framebuffer came up19:09
Martynhow long should I leave it be?   What is the expected time before the framebuffer should come up if this was at all successful?19:09
Martynarmin76: I used the image from http://www.powerdeveloper.org/platforms/efikamx/linux19:09
asacheh http://infocenter.arm.com ... doesnt work on chromium for me19:10
armin76Martyn: there is some problems with the display, i don't believe that image has them fixed19:10
armin76its from last year, so definitely it doesn't19:11
armin76Martyn: check if it looks for dhcp requests, then you could access it through ssh19:11
Martynarmin76: Is there an /original/ system image available?  The 9.04 image Pegatron used?19:11
MartynFrankly, I'd be happy just getting this unit back to factory-working condition19:11
armin76i don't have it19:12
armin76nor its hosted there afaik19:12
MartynGrrr.. how the heck can I fix this thing then.19:13
armin76put gentoo on it *g*19:13
MartynIt's all fine for them to give them away, but an original system image would be nice.19:13
Martynarmin76: not the point :)  I'd like to get it just working again.19:13
Martynokay, I'll look for a DHCP request .. so far none show up19:13
Martynonce the SD card installer has finished, is there any exernal indication?19:13
armin76Martyn: maybe you could try replacing the kernel in that image with the one you already had19:14
Martynthat's the problem .. without serial, there's no way for me to get to the uboot19:16
Martynso I need some sort of flash-recovery image19:16
MartynHmm .. no evidence of DHCP activity19:17
MartynI'll flp the DIP switches back to the original state and reboot19:17
Martynsee if anything changes19:17
armin76oh, thought the original image was on another sd card19:17
Martynno.  They just toasted the box by attempting an ubuntu upgrade from 9.04 to 9.1019:17
armin76ok, then definitely you're screwed if you aren't able to boot the kernel19:17
armin76blame ubuntu for breaking stuff :P19:18
=== armin76 changed the topic of #ubuntu-arm to: Ubuntu ARM Discussion & Development | https://wiki.ubuntu.com/ARM | Want to Submit a Bug? https://bugs.launchpad.net/ubuntu/+filebug | Debian ARMel TODO: http://wiki.debian.org/ArmEabiTodo | Build a rootfs from scratch: https://wiki.ubuntu.com/ARM/RootfsFromScratch | build probs with your packages in lucid ? see https://wiki.ubuntu.com/ARM/Thumb2
armin76(i just removed the thing about pinging me wrt anyone going to mwc)19:18
MartynSo what is this thing called exactly?  Babbage 2?19:22
armin76lange 5.1 i believe19:22
armin76thats what uboot says19:22
MartynI'm obviously going to have to either talk to Pegatron or Freescale about getting a recovery system image19:22
persiaI believe it's sufficiently different from the babbages that the babbage kernel doesn't work (but base this entirely on hearsay)19:23
armin76Martyn: canonical has lange boards as buildd's, maybe they could help you19:24
armin76Martyn: just a question, can't you access uboot from video output?19:28
armin76(haven't plugged my efika, no hdmi monitor)19:29
* lool is a bit pissed off that bzr needs more than 200 MB of RAM to checkout d-i20:00
Martynarmin76: Nope, can't access uboot from video20:39
Martynarmin76: uboot doesn't seem to have framebuffer20:39
armin76ok. thanks :)20:39
LaibschHello21:01
LaibschI come from an Openembedded background, but as a user of Ubuntu I'm increasingly interested in Debian/Arm and Ubuntu/Arm21:01
LaibschI'll have a few dumb questions if you don't mind21:02
LaibschWhy are karmic and lucid only available for armv6 and armv7 respectively?21:02
LaibschI have a Sharp Zaurus spitz, that is armv5te and I would like to see if I can't get some kind of Ubuntu running on it21:03
loolLaibsch: We build natively and we don't have enough hardware or manpower to build and qa multiple flavours21:07
* lool &21:08
Laibschlool: Hi21:08
LaibschNice to see you again21:08
loolHey21:08
LaibschWhat do you mean "/me &"21:08
LaibschI take that as "me too"21:09
LaibschYou have a spitz as well?21:09
loolI mean I'm putting myself in the background21:09
persia'&' as in backgrounding21:09
loolAs in going to sleep21:09
LaibschI see21:09
Laibschgood night21:09
loolyou too21:09
LaibschJust five more minutes?21:09
Laibschlool: I understand your question that if more people with more hardware where trying things out there is nothing in the way of relaxing armv7 to armv5te, for example?21:10
LaibschCorrect?21:10
* Laibsch REALLY hopes that assumption is correct21:11
MartynLaibsch: No, the armv7 + thumb was pretty much a -requirement- for lucid21:12
Laibsch:-(21:12
Martynarmv5 support is dropped21:12
Laibschd'oh21:12
LaibschCan you explain why?21:12
loolLaibsch: We want v7 + thumb2 in any case due to performance benefits on the platforms we mainly target21:13
Martynthumb2ee support21:13
persiaIt's a parallel set of reasons to the reasons that real i386 isn't supported by the i386 flavour anymore.21:13
Martynso even armv6 is dropped21:13
persiaBasically, newer code runs faster on newer chips.  As there aren't a lot of people who run Ubuntu ARM right now, the baseline has been set high.21:13
LaibschI have a Freerunner that I don't use for anything else21:13
persiaThis *should* reduce complaints about insufficient optimisation in the future.21:14
LaibschSo I guss that will have to become the test target, then21:14
persiaI thought the freerunner didn't even support ARMv4 fully.21:14
LaibschOh no!21:14
LaibschWell, I think I'll give it a try nonetheless21:14
Laibschand don't expect anything really working21:14
LaibschWell, if all else fails, at least Debian seems to run on the Freerunner21:16
MartynSince new cheap platforms are now mostly v7 (beagleboard, etc) this shouldn't be a huge problem21:16
Martynwe'll see more platforms based on the omap3xxx omap4xxx armada smooth-stone, etc...21:17
persiaThere's even stuff in nice consumer plastic boxes (like the Efika MX and Netwalker)21:17
Martyntrue21:17
Martyn*curses that his Pegatron i.mx51 board isn't as easy to reflash as the Efika MX*21:18
MartynI mean, I --thought-- the hardware would be identical21:18
LaibschThe way ubuntu-arm works is to compile natively or pull packages from the repo, right?21:19
LaibschOpenembedded used cross-compilation21:19
persiaMartyn: There's something special about those boards.  The Netwalker is similarly trivial to reflash.21:20
persiaLaibsch: Indeed.  Full native compilation.  This will become less painful when the rumoured >1GHz >1GB devices become easily available.21:21
Martynpersia : *nod*  Driving me up the wall though ...21:21
Martynpersia: I'm --working-- on it as hard as I can.  -lol-21:21
MartynIt's not that easy to tape out a chip, yanno?21:21
persiaMartyn: given the time, you're probably stuck until Sunday night, but I think you need to get support from Pegatron directly for those.21:21
persiaOr at least I haven't heard of a sufficient release that normal folk can get them.21:21
persiaMartyn: Understood.  I'm looking forward to new toys, although I'm hoping you can fit it in a smaller box.  Something the size of a Mac Mini would be a perfect addition to my desktop :)21:22
Martynpersia : We can fit into a 5cm x 5cm board :)21:23
Laibschhttp://unstable.buildd.net/buildd/armel_Failed.html nice, Debian is even building opie!21:23
persiaWith all the power you showed at UDS?21:23
Laibschhm, seems to be something else from what I was expecting21:24
Martynpersia : more performance, less power21:26
Martynpersia: We're probably now going to be able to clock up to 1.6, maybe 1.8GHz21:26
persiaOh, excellent.  And I presume that someone is going to package that into a set-top or monitor-back or similar form-factor?21:27
* persia has a weakness for plastic cases21:28
LaibschAre you guys intensively using icecc or distcc or is all compilation really done on arm devices?21:46
Martyncompilation is done natively21:53
Martynpersia : It's an SoC for anyone to package, but I believe the majority of them are going to be stuffed into high-density clusters in a blade, 1U, 6U or whole rack chassis21:53
Martynperisa : 30 to a board or some such21:54
persiaMartyn: Yeah, I suspect you're right.  Same issues I have getting a Sparc: my use case is the extreme minority.22:09
Martynpersia : What I /can/ guarantee is that we're going to produce a ton of development boards22:10
Martynwith at least TWO chips each22:10
Martynso you can practice making little clusters22:10
persiaAnd I can probably stuff one in an old NAS or something.  I'm just a bit lazy :)22:12
Martynheh22:20
Martynlikely they will come in a little plastic box22:20
persiaOh, now I suspect I'll have to get one :)22:21
kblinMartyn: yay, new toys :)22:27
Martynand if I have anyting to do with it .. the system images will be <easy> to find, the wiki will be <open> to edit, and god-damnit the thing will run ubuntu22:31
persiaMartyn: If I can add to the wishlist: could you add a dual-booting bootloader, so that one can easily swap userspace/kernels with a low chance of bricking the unit?22:32
persia(or n-booting :) )22:33
persiaWhile I have issues getting new kernels for the Netwalker (I should go study kernel hacking), I know that I've used this a couple times to reinstall with great confidence.22:35
plarspersia: he left already22:44
persiaYeah.  That happened during my first response.22:45
persiaBut I figured I'd complete my thinking for the logs.22:45
plars:)22:46
persiaMaybe someone else is also making cool devices that run Ubuntu and will also implement it :)22:46
persiaIt's really cool.  If I hold down both mouse buttons, I boot off SD, and if I don't, I boot off SSD.22:47
persiamakes it trivial to install different flavours, etc.22:47
persiaUnfortunately, most of the cool flavours with which I want to play don't exist for Jaunty :(22:47
plarsbut at least you know you have an easy way to test it if you (or anyone else) feels like hacking it together :)22:52
persiaAbsolutely.22:54
persiaAnd I'm sure someone will produce a newer kernel someday.22:54
persiaBut for some reason, nobody outside Japan seems to be buying these.  I've only enountered one user from elsewhere.22:54
GrueMaster1Maybe if/when device tree ever hits the streets22:54
persiaSo there's almost no English-language sites about it.22:54
persiaGrueMaster1: When that happens, I get a kernel in just a few hours :)22:54
=== Tscheesy is now known as tSCHEESy
=== tSCHEESy is now known as tschee-K

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