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

lilstevieso what was the result of the whole discussion with srwarren? are the r16 libs getting fixed?05:44
marvin24lilstevie: it will be fixed, but maybe not in time08:27
bizulkjust a question about makefile : I export a CFLAGS variable for a target that configure gstreamer. The configure step is passes but when compiling I get a bunch of errors. What I found is that at the compile step the CFLAGS have been passed with the "..." so that compiler (libtool) that this as a file. When I call the configure the same way in the shell everything is ok. So how do we avoid such export error in makefile ?08:33
bizulkinfinity: but kernel installation are not overriden, right ? So after updating the new kernel will be selected. If I want to fallback I'll just have to update the symlink to uImage (BB xM)08:36
dmartbizulk: for your makefile question, do you have a log you can share?08:38
bizulkdmart: Yes give 2 minutes to make a pastbin08:38
lilsteviemarvin24, hm ok08:47
lilsteviemarvin24, is there a package that works with precise though?08:47
bizulkdmart: http://pastebin.com/GS5W1sCZ08:54
bizulkdmart: I tried $() ${} , always getting error at compile time08:55
dmartbizulk: Hmmm, I'm not sure exactly why that ends up quoted09:00
dmartbizulk: What happens if you put the flags in the environment instead of on the configure command line09:01
dmartbizulk: i.e.09:01
bizulkwell I'll try it now09:01
dmartbizulk: hang on, forget that for a moment -- do you have the Makefile?  I'm wondering whether it adds inappropriate quoting to the make variables corresponding to GSTREAMER_CFLAGS and GSTREAMER_LDFLAGS09:02
bizulkwell it does not work09:03
bizulkYou mean the gstreamer Makefile ?09:04
dmartbizulk: yes... or were the lines at the top of your log part of the Makefile?  I had assumed they were shell commands issues before typing make09:05
bizulkI'll post the whole makefile09:05
bizulkhttp://pastebin.com/KaKeasVU09:07
bizulkmaybe I am messing the configure step with my GLIB custom makefile. I trying to make a diff09:07
dmartbizulk: Normally people do not put quotes directly in Makefile variable assignments, because Make doesn't need them and they become part of the variable09:10
bizulkdmart: you mean when I export ? I thought I needed them because of space09:11
ogra_lilstevie, i think i'll upload a package with the broken libs, the direver works fine without them and we can then SRU the fixed libs09:15
dmartbizulk: Make generally doesn't use quotes at all09:17
bizulkdmart: you're right I've just been inspecting the gstreamer generated Makefile09:17
dmartbizulk: but rule commands may need them because those are executed by the shell09:17
dmartMaybe something like this:09:17
dmarthttp://pastebin.ubuntu.com/1257570/09:17
lilstevieogra_, ok cool, I do find I care more about the driver than the libs anyway09:17
ogra_yeah, not many gles apps around yet and unity is broken with the nvidia driver anyway09:18
bizulkdmart: right. I got it working now but I don't know why. So I'll use your models09:18
lilstevieogra_, even with r16?09:19
ogra_infinity, would you let the tegar package in even with broken libs (to make SRUing the fix easier) ?09:19
ogra_lilstevie, apparently, though the reports i had were from precise ... with luck quantal unity works better (though i doubt it)09:20
lilstevieshame09:20
bizulkdmart: ok it seems to be compiling. Variable assignement rule is using the whole line after ' = ' and not quote then.09:21
ogra_the patches should be largely the same in both, just that they are upstream in quantal09:21
dmartyes09:21
lilstevieyou would have thought they would have fixed it though, seeing as their test env is now a 12.04 armhf image09:21
ogra_which still falls back to unity2d09:21
ogra_when i asked them last they were convinced unity works ... turned out in the end that they looked at 2d :)09:22
lilstevieyeah, but it doesn't fall back with the tegra driver (although it might with broken libs)09:22
ogra_yeah. not anymore09:22
lilsteviehm09:24
bizulkdmart: Thanks for help09:24
lilstevieI'm not quite satisfied with our r16 kernel anyway09:25
dmartbizulk: no problem09:25
ogra_janimo, !11:21
ogra_janimo, could it be that you changed the config wrt usb-storage in the last kernel ?11:21
ogra_people arent finding the USB key during install anymore11:21
janimoogra_, you mean the very  last kernel which was supposed to be the NVAVP change?11:23
ogra_janimo, dunno, is that in already (meta ?) whartever is on todays image doesnt find a /dev/sda1 anymore in the installer initrd11:24
ogra_USB plug events are seen11:24
ogra_that smells like usb-storage moved from =y to =m11:24
ogra_(the initrd is built without any modules due to size issues if you remember)11:25
janimosure. I do not remember touching usb-storage though11:26
janimoI'll check11:26
ogra_yeah, might be marvin24 changed it11:26
ogra_that would break everyone who runs rootfs on USB though11:26
janimoI do not use defconfig so not sure how marvi could have affected this though11:26
ogra_ah, k11:27
janimobut yes, thatwas it. storage is modular :(11:27
ogra_heh11:27
janimopart of the first r16 kernel upload11:27
janimowhere I actually did merge with defconfig11:27
janimoI hate this crap (kernel packaging)11:27
ogra_funny, i thought that made it onto beta211:28
ogra_you wanted it :)11:28
janimoI was young and stupid11:28
ogra_i wuld have kept it (and maintained it in tarballs) ... now its in git .... else i'd take it back :P11:28
janimoI think it is better for it to be in git, as it is - in theory at least - easier to team-maintain11:29
janimoright now the lack of interest not of git is the blocker11:29
janimoogra_, but really git is winning , sooner or later you will have to use it11:29
janimoso why not now ;)11:29
ogra_enough other stuff on my plate :)11:30
ogra_i'm happy if i can git pull, the rest i stay away from11:30
marvin24janimo, ogra_, sorry folks that I broke it11:32
janimowell it has an annoying hurdle at the beginning of the learning curve, but it pays off later11:32
janimomarvin24, np, this is error-prone and boring  stuff11:32
marvin24pc distros prefer all modules11:32
marvin24and load them in the initrd stage11:32
marvin24I wonder why this doesn't work on ARM11:33
ogra_it does11:33
ogra_just fine11:33
janimoit's not ARM but our ac100 initrd11:33
ogra_its just that there are no modules to load11:33
ogra_since we dont include any in the initrd on ac10011:33
ogra_else it would get to big11:34
suihkulokkipeople are just too lazy in ARM world to do things in the generic way and just take vendor trees and build everything in the kernel11:34
ogra_suihkulokki, its not that :)11:34
suihkulokkiit is :P11:34
ogra_its a constraing of the dveices bootloader we have to obey to11:34
suihkulokkibut it is changing with the unified kernels and device trees etc11:35
ogra_your initrd cant be bigger than 2.5M or so11:35
ogra_or even 2M ... i dont remember the exact value11:35
ogra_if i want to use a standard ubuntu initrd i have to cut down size massively due to setting other defaults for initramfs-tools11:36
ogra_ogra@panda:~$ ls -lh /boot/initrd.img-*11:36
ogra_-rw-r--r-- 1 root root 4.6M Sep 26 17:37 /boot/initrd.img-3.5.0-211-omap411:36
ogra_ogra@panda:~$11:36
ogra_that would be the normal size11:36
ogra_no way to fit that into the ac10011:37
ogra_s7due to/through/11:39
ogra_janimo, oh, you are not in #arm anymore on the other server :(11:41
janimoogra_, oh that's because that channel used to say 'closing. move along' or similar half a year ago11:42
janimoand it was inactive11:42
janimodid I miss something lately?11:42
ogra_well, the channel has still 35 residents :)11:43
janimoogra_, but are they alive?11:43
ogra_and we occasionally talk there11:43
ogra_rarely :)11:43
ogra_i just didnt want to talk in #canonical ... and you arent in#distro either11:43
janimoogra_, well, I thought those too were kind of quiet11:44
marvin24janimo: it seems you were right a few weeks ago ...12:15
marvin24there is significant work towards multi arch kernel on arm12:15
marvin24or better multi cpu12:15
marvin24I wonder how they will solve the errata problem12:16
ogra_devicetree needs to learn about them12:16
janimomarvin24, tegra in 3.7 seems quite nice (from a codebase point of view, not sure how it actually works)12:16
janimoogra_, but still checking for them incurs runtime overhead even for unaffected hw12:17
marvin24yes, seems tegra is the first platform to kill board files12:17
janimounless some live patching is done at bootup, which may not be that hard on ARM as it is on x86. No idea12:17
ogra_janimo, you dont check for anything thats not in your DT database for the HW you run on12:18
ogra_thats the purpose of DT12:18
janimoogra_, I mean errata code is inside #ifdef12:19
janimoand not built unless selected for the particular target in config12:19
ogra_that needs changing indeed12:19
janimoso if you want to support all boards you make the checks at runtime12:19
janimoso some overhwead12:19
ogra_which would be a part of "devicetree needs to learn about them"12:19
janimoor decree you go one stepo further and ARM kernels will not only not accept machines that are not DTbaserd, but not accept machines that have hardware bugs12:20
janimowould make arm kernel maintenance so much easier12:20
bizulkI am compiling glibc against arm2009q1 (code sourcery), and gstreamer, for BB xM. But when calling for gst-inspect I have this error : "/lib/libglib-2.0.so.0: /lib/libc.so.6: version `GLIBC_2.9' not found (required by /lib/libglib-2.0.so.0)". I can't understand as I did install the libc from the toolchain dir.13:40
bizulkHow can glib ask for a glibc version later than the one it has been compiled with (what a headache !)13:41
ogra_ugh, why do you use such an outdated toolchain13:41
bizulkI was using the last one but because I could have tidspbridge support (still not sure about the reason) I fallback to the one my colleagues are actually using13:45
bizulkActually the glib version is "glib-2.24.1"13:45
bizulkwhy did I choose this one ? Maybe because I wanted to use same gstreamer version as the gst-dsp project and that it is compiled with this version og glib13:46
bizulkI'll cry if I have to recompile the whole stuff (BSP and userspace) with another toolchain13:49
ogra_bizulk, you recompiled ubuntu ?14:06
ogra_note that the whole ubuntu userspace is compiled with gcc 4.714:07
ogra_i_m not even sure that old toolchain you use has proper armhf support14:07
bizulkno that standalone stuff (I have to) , I am using ubuntu as "witness test". I'm wondering If I can generate minimal FS with ubuntu14:07
ogra_use debootstrap14:08
ogra_or qemu-debootstrap for cross building a chroot/rootfs14:08
ogra_(note that this will be compelertly unconfigured though)14:08
TerrorConcan anyone help me with Qt's audio classes under ubuntu for pandaboard14:17
bizulkogra_: I'll take an eye one it. infortunately I have to be base on the one I receive and populate it with the builds I make14:17
bizulkok I recompile with a more recent kernel arm-2012.03-57-lite14:44
ogra_s/kernel/compiler/ ?14:45
bizulkI hope one day we'll adopt OE/Ubuntu u14:45
bizulkcompiler14:45
ogra_urgs14:45
ogra_thats like saying for the desktop you want a merge of gentoo and ubuntu14:45
ogra_ubuntu isnt an embedded OS ... dont use it as one14:46
bizulkso why port on a omap ?14:46
ogra_we needed to start somewhere14:46
ogra_ompa support is a legacy we only carry on because we get it for free from te mainline kernel14:47
ogra_*omap14:47
ogra_focus in on cortex-a9 and beyond14:47
ogra_which are systems that are capable of running a general purpose desktop distro14:48
ogra_bug 102890514:51
ubot2Launchpad bug 1028905 in debian-installer-utils "cdrom-detect in quantal omap4 hangs trying to look for install media on an extended partition" [High,Fix released] https://launchpad.net/bugs/102890514:51
ogra_janimo, did you include the fuse fix as well in your ac100 upload (changelog doesnt talk about it )16:51
janimoogra_, I rebased on marvin's branch so it should be there16:52
ogra_good16:52
janimoI have a LP buglink which should point to that16:52
ogra_just wanted to make sure16:52
janimobut indeed, forgot to mention it otherwise16:52
janimoI am not sure of anything now, so let's see who yells when it builds :)16:52
ogra_hopefully thats the last upload :)16:52
ogra_yeah16:53
ogra_theoretically it should be good now16:53
infinityCan I just yell for the sake of yelling?16:54
* ogra_ plugs his ears 16:54
janimoinfinity, always16:54
ogra_GO ON !16:54
ogra_:)16:54
infinityWell, that's no fun.16:55
infinitydannf: Around?16:57
dannfinfinity: yeah16:57
infinitydannf: Can you re-do your qemu-linaro SRU with the patch headers actually being sane? :P16:57
infinitydannf: They include ufilled boilerplate, a reference to an unrelated bug, etc.16:58
* dannf looks16:58
infinitydannf: Err, oh, I see the problem.  There's a debian-changes patch in there.16:59
infinitydannf: So, yeah.  Fix that, please. :P16:59
infinitydannf: That debian-changes patch looks like maybe a mistake while fiddling?  Can't see why you'd want to remove the stdint.h include.16:59
infinitydannf: http://launchpadlibrarian.net/117670218/qemu-linaro_1.0.50-2012.03-0ubuntu2_1.0.50-2012.03-0ubuntu2.1.diff.gz17:00
infinitydannf: (Always pays to debdiff and cruft-check before upload)17:00
ogra_debdiff ++17:00
infinitydannf: Rejecting that one, give me something gooder.17:00
dannfinfinity: ok - i don't see those changes in my branch.. did i post this debdiff?17:02
infinitydannf: That's the diff generated in the queue from the package you uploaded...17:02
dannfi didn't upload a package17:02
infinityOh.  Did someone else sponsor that?17:02
dannfexcept to my ppa (i don't have ubuntu upload rights)17:02
dannfhere's my changes: https://code.launchpad.net/~dannf/qemu-linaro/highbank17:03
* dannf remembers hallyn poking me last week while i was travelling about qemu-linaro - i'd forgotten about that & never got back to him17:03
infinitydannf: Check, I'm chastising the wrong person.  I didn't check the signature to see who sponsored it. :P17:04
dannfinfinity: np - thanks for working on this17:04
infinityLooks like it was mvo who broke it.  That's surprising.17:05
infinityI so wanted it to be you.17:05
infinity*sniff*17:05
infinityI'll re-do this and upload.17:05
dannfheh - sometimes i wonder if i should try and get upload rights.. then i remember the blame that comes w/ privilege :)17:07
infinityOh, curious, mvo's debian-changes patch unapplied Colin's FTBFS fix.17:09
infinityWeird.17:09
infinityAaaanyhow.  Reuploading a less broken version.17:09
infinitydannf: Alright, fixed version uploaded, double-checked that the diffs are now clean, and accepted into -proposed.17:26
dannfyay!17:27
* xnox is playing with ac100 android install before reinstalling it with ubuntu18:38
* xnox ac100 no tarball found hm =/19:29
GrueMasterxnox: Why would you reinstall that piece of vile vomit back on the AC100?  It isn't even true Android, but a hackified version (similar to the nook, only not as nice).21:44
fly-awaylolwhat21:46
GrueMasterfly-away: The Toshiba AC100 came preloaded with a heavily modified version of Android (2.3 iirc).  Very ugly and not as easy to use as true Android.21:49
GrueMasterThe system could have been very good if it had more memory and a real OS out of the box.21:50
fly-awaythat preinstalled Android pretty close to original21:51
fly-awayone annoying thing - android is for touchscreens now21:51
fly-awaykeyboard really unusable21:51
GrueMasterIt felt a lot different than the android I worked with on other systems.  At any rate, there was a lot missing from that system, both hardware and software.21:53
prpplaguewell that version of android is pretty old and had "hacks" for keyboard/mouse support21:53
GrueMastertrue.21:54
fly-awayin that android video plays with subtitles very smoothly21:56
fly-awayif you remember)21:56

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