|
[00:19] <jerone-mobile> https://bugs.launchpad.net/bugs/487979 |
|
[00:19] <ubot4> jerone-mobile: Error: This bug is private |
|
[00:19] <jerone-mobile> ubot4, wrong channel |
|
[00:19] <ubot4> Factoid 'wrong channel' not found |
|
[00:19] <jerone-mobile> ubot4, sorry about that |
|
[00:19] <ubot4> jerone-mobile: Error: I am only a bot, please don't think I'm intelligent :) |
|
=== asac_ is now known as asac |
|
=== bjf is now known as bjf-afk |
|
[01:39] <Ramiz> hello |
|
[01:39] <Ramiz> any one know ETM 3.2? |
|
[01:45] <Ramiz> any one know ETM 3.2? |
|
[01:50] <Ramiz> hi |
|
[01:54] <Ramiz> hi |
|
[01:54] <Ramiz> any one know ETM 3.2? |
|
[01:55] <Ramiz> any one know ETM 3.2? |
|
[01:57] <Ramiz> any one know ETM 3.2? |
|
[02:00] <ojn> Ramiz: Repeating your question over and over will not give you a quicker answer |
|
[02:00] <Ramiz> no i am so sorry |
|
[02:01] <Ramiz> i repeted cuz i did not sure if it sent or not cuz i am not login |
|
[02:01] <Ramiz> sorry |
|
[02:01] <Ramiz> i am wating |
|
[02:01] <ojn> ah. What's ETM anyway? |
|
[02:01] <Ramiz> Embedded Trace Macrocell |
|
[02:08] <ojn> ok, figured it was but was but wanted to make sure. I'm guessing most people here aren't working with tools that low level |
|
[02:08] <ojn> you might be better off asking in a group related to the specific SoC you're trying to debug |
|
[02:09] <Ramiz> where i can find this on irc u think? |
|
[02:13] <ojn> depends. what chip are you working on? |
|
[02:13] <Ramiz> it is arm11 cutome one |
|
[02:13] <Ramiz> it is like omap |
|
[02:14] <ojn> custom? so your own soc? |
|
[02:14] <Ramiz> it is not mine |
|
=== Q_Continuum is now known as Q_Contixicated |
|
[11:32] <lool> ogra, asac: I see https://blueprints.launchpad.net/ubuntu/+spec/mobile-lucid-multiarch-execution-environment just got a work item: research possibility of integrating the build-arm-chroot script |
|
[11:32] <lool> functionallity directly into debootstrap (2 days): TODO |
|
[11:32] <lool> Isn't that what I just did? |
|
[11:34] <ogra> lool, well, sending that patch to colin, getting it approved upstream etc ... see the spec now, we postponed it |
|
[11:35] <lool> Is it research or is it implementation then? |
|
[11:35] <ogra> if we keep binfmt as well as the build-arm-chroot script for now the world wont end |
|
[11:35] <ogra> well, actually both, i could have formulated it better |
|
[11:36] <lool> This work item doesn't mention the static versus shared bit |
|
[11:36] <asac> the work items are kind of void as we pushed it back for lucid |
|
[11:36] <ogra> lets just keep it as is... if one gets to create the code beyond a proof of concept it gets implemented ... i consider it nice to have |
|
[11:36] <asac> if you want to fill stuff in in the spec go ahead |
|
[11:36] <ogra> s/it gets implemented/and it gets implemented/ |
|
[11:36] <lool> I've put down my research; did you guys check it out? |
|
[11:37] <lool> I was surprized not to hear back from any of you two |
|
[11:37] <ogra> i read it, yes |
|
[11:37] <asac> ogra: right. thats what "Low" means. if someone gets to it fine. otherwise no problem |
|
[11:37] <lool> s/put/written |
|
[11:38] <asac> lool: will read it later today. needed to work full-time on spec stuff esterday ;) |
|
[11:39] <ogra> lool, if you feel like implementing what you found, feel free (i'm not really happy with the idea to fiddle with binfmt on the fly, but as long as it doesnt stop working i dont care) |
|
[11:39] <lool> What would really rock is doing it with multiarch, but it's not clear it will happen this cycle |
|
[11:39] <ogra> right |
|
[11:39] <lool> ogra: Well I'm not happy with relying on the host setup instead :-) |
|
[11:39] <ogra> until then i'm happy to keep it as is |
|
[11:39] <ogra> right, i know |
|
[11:40] <lool> Frankly where the binfmt stuff happens is just a technical detail; I hate the requirement that the chroot pathname needs to match the host pathname though |
|
[11:40] <ogra> as i said, as long as the functionallity persists i dont really care, if you have spare cycles to implement it your way, feel free |
|
[11:40] <lool> Moving binfmt to this script is the only thing I didn't research -- as noted -- I dont know whether it's container friendly |
|
[11:41] <lool> It's probably though to do it in the chroot without a special helper: you can't run anything in the chroot without the wrapper and you need to setup the wrapper from withing the chroot for the container stuff to work :-/ |
|
[11:41] <ogra> i think the container stuff happens at another level ... i wouldnt see why it shouldnt work |
|
[11:42] <ogra> the kernels binfmt module just reacts on the magic number ... i dont think it cares if that happens in a container or not |
|
[11:43] <ogra> as long as the wrapper is found at least |
|
[11:43] * suihkulokki has a way to execute arm binaries in a chroot using a dynamically linked qemu-arm without binfmt_misc |
|
[11:43] <lool> suihkulokki: I can do that for a single binary as well, but not one that forks |
|
[11:44] <suihkulokki> including forks |
|
[11:44] <lool> suihkulokki: Oh scratchbox2? |
|
[11:44] <ogra> lool, anyway, if you find a way thats as easy as buiold-arm-chroot for the user, feel free to go ahead and implement it |
|
[11:44] <suihkulokki> well, sb2 can do that too |
|
[11:44] <lool> suihkulokki: Would love to hear your way then |
|
[11:44] <suihkulokki> my way is just much more lightweight |
|
[11:44] <lool> suihkulokki: I've documented what I tried in https://wiki.ubuntu.com/Specs/Mobile/QemuStaticExecutionEnv/Research |
|
[11:44] <ogra> what i dont want is that the user needs to type in a chain of commands and options to create a chroot |
|
[11:45] <lool> ogra: That can always be reduced to a script :-) |
|
[11:45] <ogra> as i said, feel free :) |
|
[11:45] <lool> ogra: My worries with the proposals I heard at UDS were: specific to Ubuntu, package proliferation |
|
[11:45] <ogra> i will only put time into it if i actually have a lazy day before FF ... |
|
[11:45] <ogra> which is unlikely |
|
[11:45] <suihkulokki> I hope to show my way next weekend latest |
|
[11:46] <lool> suihkulokki: Well you said too much now; mind sharing the high-level idea? |
|
[11:46] <lool> suihkulokki: Did you patch qemu to spawn itself on forks? |
|
[11:46] <lool> or exec rather |
|
[11:48] <suihkulokki> basicly a LD_PRELOAD a library that executes qemu on exec if the binary to be executed is not host arch |
|
[11:48] <lool> Ok; I thought of something similar by patching qemu's syscall emulation of the exec() syscall |
|
[11:49] <lool> Your approach is probably more self-contained and might also allow calling into a host binary more easily |
|
[11:49] <lool> Hmm not sure actually |
|
[11:50] <lool> LD_PRELOAD has to be inherited by all childs; it fails with env -i and the new childs will look for the preload data in the chroot |
|
[11:50] <lool> But still more self contained |
|
[11:50] <Stskeeps> ld.so.preload maybe? |
|
[11:50] <dpb> and will fail for static binaries.. |
|
[11:51] <suihkulokki> dpb, look, the ld_preload only affects qemu, not the binaries running inside qemu so it doesn't matter if the muck the env or are static |
|
[11:52] <suihkulokki> s/look/lool/ |
|
[11:54] <lool> suihkulokki: Oh so it's a ld_preload trick to change qemu's behavior for exec(); ok that's exactly what I thought of except I envisionned that in the qemu code itself |
|
[11:54] <lool> That would work very well I think; good idea |
|
[11:59] <suihkulokki> lool: yeah. if some hardcoding is acceptable it would be easy to do the same modifying qemu's exec |
|
[12:00] <lool> suihkulokki: Is hardcoding really necessary? can't qemu-arm exec() into itself with enough info to proceed to the target binary? |
|
[12:00] <dpb> suihkulokki: ah, right. I'm tired. :) |
|
[12:00] <lool> (I didn't look at the qemu syscall emulation itself at all, so feel free to call that impossible or very hard!) |
|
[12:20] <lool> asac: glib > we want to get rid of swp uses for v7 in any case, a short term stop gap would be to change the build flags of glib to build in arm mode; that would at least avoid failing a gazillion of builds, images etc. |
|
[12:21] <asac> lool: right. we dont want arm mode ... unles we cant find a patch quickly ;) |
|
[12:21] <lool> Well I'm only suggesting that as a stopgap |
|
[12:22] <lool> glib impacts a lot of packages |
|
[12:22] <lool> Of course we want thumb2 |
|
[12:22] <ogra> lool, do you know swp will fail with -Wa,-mimplicit-it=thumb ? |
|
[12:22] <asac> lool: right. i just hope we can have a patch really quick ;) |
|
[12:22] <asac> (this afternoon) |
|
[12:22] <lool> I think it's not available in t2 mode |
|
[12:22] <asac> otherwise i agree we hsould upload with -marm |
|
[12:22] <ogra> hrm |
|
[12:23] <lool> Which would seem logical since v7 introduced thumb2 AND new stuff to get rid of swp |
|
[12:24] <asac> http://paste.ubuntu.com/333081/ |
|
[12:24] <asac> thats the code |
|
[12:26] <lool> SWP instruction |
|
[12:26] <lool> is not supported in Thumb2 mode at all |
|
[12:26] <asac> i know |
|
[12:26] <lool> As confirmed from the Slide 5 notes in https://wiki.ubuntu.com/Mobile/ARMv7AndThumb |
|
[12:26] <asac> ;) |
|
[12:26] <lool> You were asking whether implicit-it=arm would help, it will not |
|
[12:26] <lool> I just double checked |
|
[12:27] <asac> its also here: https://wiki.ubuntu.com/ARM/Thumb2 |
|
[12:27] <asac> lool: right. thats what i suspected |
|
[12:27] <lool> or here https://wiki.ubuntu.com/Mobile/ARMv7AndThumb |
|
[12:27] <lool> Well since ogra was about to fire a build with implicit-it=, I figured it was worth mentionning that it wouldn't help |
|
[12:27] <lool> Anyway, /me hops to pressing stuff |
|
[12:28] <ogra> well, i'm still writing on a spec |
|
[12:28] <asac> __sync_val_compare_and_swap |
|
[12:28] <ogra> i wouldnt have fired it off right away :) |
|
[12:47] <asac> is there a good resource to track armel build failures? |
|
[13:08] <lool> ubuntuwire |
|
[13:08] <lool> http://qa.ubuntuwire.com/ftbfs/ |
|
[13:28] <asac> th |
|
[13:28] <asac> x |
|
=== bjf-afk is now known as bjf |
|
[16:40] <lool> that's the failing qt4-x11 code http://paste.ubuntu.com/333247/ |
|
[16:40] <lool> The #else |
|
[16:41] <ogra> ../../corelib/io/qfsfileengine_unix.cpp:1309: error: unrecognizable insn: |
|
[16:41] <ogra> (insn 636 635 218 23 ../../corelib/io/qfsfileengine_unix.cpp:1286 (set (reg:SI 9 r9 [+4 ]) |
|
[16:41] <ogra> set reg sounds like assembler to me, surely not like C++ |
|
=== dyfet` is now known as dyfet |
|
=== ogra 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 | <suihkulokki> is there gym excersizes to make ARMs faster? | 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 |
|
[17:29] <ojn> Hm, what's the reason for using softfp? I thought all supported platforms today had proper implementations? |
|
[17:29] <ojn> oh, nevermind. that's just the abi |
|
[17:35] <fta> asac, do you need -Wa,-mimplicit-it=thumb or is -mthumb good enough? |
|
[17:43] <ogra> fta, https://wiki.ubuntu.com/ARM/Thumb2 |
|
[17:43] <ogra> i dont think -mthumb is enough |
|
[17:44] <fta> i get /tmp/ccRUIN1V.s:131: Error: thumb conditional instruction should be in IT block -- `moveq ip,#8' |
|
[17:44] <fta> but as it happens after 19h+ of build, i prefer to ask ;) |
|
[17:45] <fta> i should probably setup a crosscompile env |
|
[17:48] <ogra> no, that gets painful |
|
[17:48] <ogra> since you need to cross build all the deps first |
|
[17:49] <ogra> crossbuilding is fine for packages with only a few deps ... i wouldnt build something with lots of deps in a cross way |
|
[18:27] <fta> ogra, upstream provides this recipe: http://code.google.com/p/chromium/wiki/LinuxChromiumArm |
|
[18:27] <fta> looks possible but could be easier :P |
|
[18:31] <ogra> well, as long as you are sure the cross toolchain they provide uses the same options, that might work |
|
[18:32] <zumbi> ogra: our cross toolchain is not sysrooted |
|
[18:34] <ogra> zumbi, well, does it default to the options documented on https://wiki.ubuntu.com/ARM/Thumb2 ? |
|
[18:34] <zumbi> ogra, no, i do not think so |
|
[18:34] <ogra> right, thats what i suspected |
|
[18:35] <ogra> so it doesnt help much unless you hack around it in debian/rules since fta wants to fix build errors happening on the buildds |
|
[18:36] <zumbi> btw, which cross tool do you use? lool PPA? |
|
[18:36] <ogra> none |
|
[18:36] * ogra is highly anti cross :) i build on real HW |
|
[18:37] <zumbi> ogra: do you native build kernels for new bootstraps? |
|
[18:37] <ogra> for small packages i use the ubuntu qemu-arm-static package |
|
[18:38] <ogra> oh, for test kernels i sometimes use codesourcery ... |
|
[18:38] <zumbi> yes, qemu is nice and helpful, also cross building |
|
[18:38] <ogra> but most of the time i simply use my dove board :) |
|
[18:39] <zumbi> which is fine and if you have the time and the power, it is best practice :-) |
|
[18:39] <ogra> but cross building does only cut down buildtime in half or so ... and i usually dont touch kernels |
|
[18:39] <zumbi> ogra: you can not native build a uclibc based device (no space) |
|
[18:40] <ogra> we dont use uclibc in our ubuntu images |
|
[18:40] <ogra> all devices we support have at least 800MHz and 512MB |
|
[18:40] <ogra> and usually a SATA port |
|
[18:40] <armin76> ricer board |
|
[18:40] <zumbi> yes, in those cases, cross building is not needed |
|
[18:41] <zumbi> but, i can not native build on my lynksys |
|
[18:41] <ogra> armin76, still envious, eh ? |
|
[18:41] <ogra> zumbi, well, i did native builds on my nslu2 ... but i agree its no fun |
|
[18:41] <ogra> armin76, just wait for the next gen sheeva plug :) |
|
[18:42] <armin76> boo |
|
[18:42] <armin76> ogra: why do i have to wait?! |
|
[18:42] <ogra> it will be dove based |
|
[18:42] <ogra> at least thats what roumours said :) |
|
[18:42] <zumbi> armin76: still you have not got an armv7? |
|
[18:43] <armin76> zumbi: nope |
|
[18:43] <armin76> zumbi: ogra doesn't wanna share *g* |
|
[18:43] <zumbi> armin76: get a beagleboard :) |
|
[18:44] <ogra> or if you are rich, get a babbage board |
|
[18:45] <zumbi> ogra: cross building is needed when you have to maintain a distro which runs on 4MB devices up to several GB |
|
[18:45] <ogra> indeed |
|
[18:45] <ogra> luckily ubuntu went beyond that :) |
|
[18:45] <zumbi> also uclibc would enter in thecocktail |
|
[18:45] <Stskeeps> zumbi: or compiling qt and not waste several days on it :P |
|
[18:46] <zumbi> qt-embedded ? |
|
[18:46] <armin76> ogra: i could get your babbage *g* |
|
[18:46] <ogra> Stskeeps, https://launchpad.net/ubuntu/+source/qt4-x11/4.5.3really4.5.2-0ubuntu1/+build/1292073 22h :) not even a day |
|
[18:48] <ogra> armin76, sure, i could sell it to you :) it being used i would even go down with the price by $50 ... so it would only be $700 :P |
|
[18:48] <ogra> afaik freescale sells them now |
|
[18:52] <ojn> genesi are shipping their pegatron smarttop rebranded device too (with u-boot as firmware) |
|
[18:53] <ogra> right, but you could only use ubuntu userspace with it |
|
[18:53] <ogra> there is no pegatron kernel |
|
[18:53] <ogra> and its stuck on 2.6.28 ... |
|
[18:53] <ojn> yeah i know. nice gpl compliance there. |
|
[18:53] <ogra> heh |
|
[18:54] <ogra> lucid will use uboot on the babbage too ... |
|
[18:56] * ogra calls it a day |
|
[18:56] <ojn> yikes, 800 bucks from arrow |
|
[18:56] * zumbi wonders if any of you know mpc8548 ppc processors |
|
[18:57] <ojn> zumbi: plenty of people on #mklinux do |
|
[19:00] <zumbi> ojn: yes, i just went there |
|
=== Q_Contixicated is now known as Q_Continuum |
|
[21:14] <fta> ogra, i'm confused by the "-Wa,-mimplicit-it=thumb is not implemented as of gcc-4.4 4.4.2-3ubuntu1".. does it mean that passing it is useless as won't work, or that it's just not yet the default? |
|
[21:14] <fta> +it |
|
|