/srv/irclogs.ubuntu.com/2010/05/18/#ubuntu-arm.txt

aaron_liujwhere i can get the whole doc of build chrome03:35
persiaaaron_liuj: Could you be a bit more precise about which materials you seek?04:45
aaron_liuji want to comiple  chrome for arm platform04:57
aaron_liujbut i find building chromium is so different from other plalform04:58
aaron_liujbut i find building chromium is so different from other build system such as autoconfig automake05:05
persiaso, "chrome" and "chromium" are different, in that "chrome" contains special branding magic.05:49
persiaIf you download the source (`apt-get source chromium-browser`), there is a file debian/rules that contains the instructions to build the source.  Build logs are available on laiunchpad.05:50
persiaIf you've an armel install, building for arm is as simple as `apt-get build-dep chromium-browser; debuild -b` in the downloaded sources (although we usually recommend tools like sbuild or pbuilder(05:51
cooloneyamitk: do you know the quick way to import the omap4 defconfig based on our ti-omap branch configs?07:39
cooloneyamitk: i already rebased the omap4 branch from omapzoom git server07:39
cooloneyamitk: need to tweak the configs07:40
cooloneyhow about copy over omap4 defconfig to debain.ti-omap/configs/config.commom.ubuntu07:41
cooloneyand run fdr genconfigs?07:41
amitkcooloney: I'd append the omap4defconfig at the _end_ of the ubuntu config and then run updateconfigs07:41
cooloneyamitk: oh, at the end of debain.ti-omap/configs/config.commom.ubuntu?07:42
amitkcopying over the defconfig to our config will lose all our ubuntu-fication tweaks07:42
amitke.g. apparmor, security settings, etc.07:42
cooloneyamitk: right, i lost them,07:42
amitkcooloney: cat omap4defconfig >> debain.ti-omap/configs/config.commom.ubuntu07:43
cooloneyamitk: ok, got it. thanks man, will try soon07:43
zygagood morning folks07:56
cooloneyamitk: too bad, i tried that, but the new config lost all the modules.07:57
cooloneyamitk: it seems like it turned off all the module configs07:58
cooloneyany idea about that?07:58
amitkcooloney: I guess the omap4defconfig turns off modules?07:58
cooloneyamitk: no, it enable modules as the same as our omap3 config08:00
cooloneyCONFIG_MODULES=y08:00
amitkcooloney: try this, cat omap4defconfig | grep "=[ym]" > /tmp/omap4; cat /tmp/omap4 >> debain.ti-omap/configs/config.commom.ubuntu08:00
cooloneybut aparently, there is no modules config in omap4defconfig08:01
amitkok08:03
cooloneyamitk: btw, i am trying with arch/arm/configs/omap_4430sdp_defconfig as omap4defconfig, since there is no other configs looks ok to me08:06
cooloneyamitk: this trick works,08:06
cooloneythanks a lot08:06
amitkcool08:07
alf__good morning all!08:07
amitkalf__: morning08:07
zygathe ubuntu group photo is online :-)08:19
zygahttp://www.flickr.com/photos/kwwii/4610334160/08:19
=== hrw|gone is now known as hrw
hrwmorning08:26
hrwzyga: thx - I am 3rd from left in first row08:27
zygahrw, yeah, I saw you right away08:28
zygatoolchain guys, package guys, I have a question - let's say you push a toolchain patch that affects something (be it code size or some critical bug fix) - how can I (qa guy) determine which set of packages were used to build/cross build certain package - I want to be able to tell 'ah package FOO-1.2-0 was built with old toolchain while FOO-1-2.1 was built with the new toolchain'09:20
zygais this even possible? do we always bump package version on rebuild?09:20
zyga(or the inverse question, do we always rebuild as a consequence of an upload with version change)09:21
zygalool, ^^ >09:21
hrwgood question. I can not answer as I did not upload package in Debian09:21
persiaYou can check the build log in LP.09:22
zygaI have one use case that would require this and I need to check if it's even possible: tracking code size across releases09:22
zygaand, in crazy situations, across toolchain changes09:22
zygapersia, LP has a collection of build-deps for each package it built? with rich package version etc/09:23
persiaAbsolutely.  See https://launchpad.net/ubuntu/+source/libvirt/0.7.5-5ubuntu27/+build/1702547/+files/buildlog_ubuntu-lucid-armel.libvirt_0.7.5-5ubuntu27_FULLYBUILT.txt.gz as an example/09:24
persiaNote that this is a verbose format, so you'd have to parse, but there's often other interesting things in the log if you're tracking down a regression when you don't think the source changed.09:24
zygapersia, hmm, parsing is fragile, does any other part of launchpad maintain a more declarative format for the meta information of each build>09:25
persiaEvery upload generates a new build, and rebuilding the same source twice without an upload is only accepted in the case where the first attempt FTBFS.09:25
zygapersia, so what would happen if we push a new toolchain? nothing - r-deps do not become invalid?09:26
persiaNote that from the fragmentary bits I got from some of the UDS discussions, this may not hold true for some classes of repository, but it is how it is implemented in Soyuz today.09:26
zygapersia, (we have to upload each package again just to see it rebuilt?)09:26
persiaYep.09:26
hrwpersia: what about 'binary NMU'? they have same source but 'b1' added to version09:26
zygahrw, good question, I was about to ask for that - someone mentioned this during a session09:26
persiaThere's ways to arrange test-rebuilds against arbitrary toolchains with throwaway results, which the toolchain team uses.09:26
persiahrw: We don't have binNMUs in Ubuntu.09:27
zygammm09:27
zygaokay, some of the bits are more clear now, thanks09:27
persiaheh.09:27
zygaI think my use case is not really sensible then ;-)09:27
persiaWhat was your use case?09:28
hrwpersia: ok09:28
zygapersia, tracking daily/weekly binary object sizes vs toolchain revision09:28
persiazyga: Yeah, you'd need a rebuild-repo for that, and it's a heavy load on the buildds.09:29
persia(or some other class of derivative repo)09:29
zygapersia, building a sub-main variant could make sense too - like what I did some time ago - toolchain kernel libc and some basic userspace09:30
zygait takes 3 hours to build this on 8 way xeon inside a ramdisk09:30
persiaI guess.  That's more an embedded design pattern, and we don't tend to do embedded here.09:31
zygaand the results are quite representative for the whole repository09:31
* zyga has a crazy idea09:33
zygahrw, oe could build our toolchain and some packages to check for binary size experiments09:34
hrwzyga: it can, but writing recipes for it would take time09:34
zygahrw, yeah but if the new toolchain is such a big issue then it could be reasonable09:34
persiazyga: If you're just experimenting locally, why not just use schroot+qemu-user-arm+croco, and use the debian/rules files that already exist.09:35
zygacroco? what is that09:35
persiacroco is a system that allows you to wrap various binaries in a cross-arch chroot and run native.  For example, there's no good reason to run armel bash to process a bash script during build when doing local cross-compile analysis.09:36
zygapersia, one of the things I don't want to depend on is qemu - it's currently broken and it really kills performance - OE approach has the strength of working cross compilation of selected packages09:36
persiaThe results are likely to vary from those build on the buildds, but that's a different issue.09:36
persiaWhich bit is broken?09:36
persiaNote that not all debian packages *can* cross-compile.09:36
zygapersia, qemu bit - lool will tell you how it currently hangs/crashes under heavy load09:36
persiaAlso, using soemthing like croco makes it significantly less slow.09:37
zygapersia, I have a bunch of backtraces if you want to see09:37
zygapersia, that's true, it could be reasonable tradeoff for time-to-make-it-happen vs time-to-build-each-time09:37
persiaI believe you.  It doesn't tend to crash for me, but I don't push it hard.  Was that qemu-system-arm or qemu-user-arm?09:37
=== wgrant_ is now known as wgrant
zygasystem09:38
ograzyga, the chroot bit of qemu isnt broken, only qemu-system-arm is, i think croco hooks into the static builds09:38
persiaOh, yeah, I'm not advocating that for builds at all.09:38
ogras/hooks into/can hook into/09:38
persiacroco works best with qemu-user-arm09:38
ograright09:38
zygathen it could be just right09:38
persiaIt does things like call the right cross-compiler instead of calling the native compiler, but it still provides the ability to run native code, which helps with stuff like test suites.09:39
ograits a bit like OBS09:39
persiakinda sorta :)09:40
zygaOBS?09:40
persiaOpenSuSE Build System09:40
ograopensuses build system09:40
ograbah, i'm slow today09:40
persiaAnd following in the footsteps of e.e. cummings :)09:41
=== plars is now known as plars-away
=== hrw is now known as hrw|gone
neurehow is 10.04 on beagle?13:26
zyganeure, somewhat choppy, depends on which version you are talking about13:27
amitkneure: it works on the C4 beagles13:27
amitkolder ones aren't yet supported13:27
neurehow do i see my version?13:29
neurehow about C3?13:30
neurewhat is different C3 -> C4?13:30
amitkhttp://elinux.org/BeagleBoard#Revision_A13:31
neureapparently i have C213:37
neureso is the "Improved USB Host PHY power rails" that might affect keyboard / mouse?13:37
neurewhatever that means..13:38
XorAneure: means USB actually works reliably on all C413:38
XorAneure: USB EHCI is hit and miss on earlier beagles13:39
neureEHCI?13:39
neureok13:39
XorAthe normal looking usb port, not the mini B OTG port13:39
amitkneure: in addition to what XorA said, we have no real reason _not_ to support older beagles except lack of old HW.13:39
neureok13:39
XorAamitk: the installer works fine on C3, just because usb is screwed you cant install13:40
neureso if i use the mini B port, it should work even on C2?13:40
rcn-eeneure, you can use the otg port using my NetInstall setup on elinux using the commuinty kernel...13:41
neureim currently running ångström on it13:42
neurei could try ubuntu13:43
neureon the other hand, i'd like to try something with rt linux kernel13:43
sijimy experience, I have got better performance with ubuntu than Angstrom13:43
sijiSpecially with Clutter /EGL etc..13:43
rcn-eeamitk, just hit bug 563650 with 2.6.34 + dss2 -for-next with my kernel.. discussion on linux-omap... http://www.spinics.net/lists/linux-omap/msg30138.html13:44
ubot2Launchpad bug 563650 in linux-ti-omap (Ubuntu Lucid) (and 1 other project) "DSS2 oops when shutting down while DPMS is active (affects: 1) (heat: 10)" [Medium,Confirmed] https://launchpad.net/bugs/56365013:44
amitksiji: is angstrom compiled with NEON and ARMv7 ?13:44
XorAamitk: of course we do :-D13:45
* XorA puts on his Angstrom maintainer hat13:45
siji:)13:45
sijiamitk, with ARM v713:46
amitkXorA: just curious why siji is seeing the difference, is all :)13:46
amitkrcn-ee: aah, any headway?13:48
rcn-eeit might just be a thumb2 thing..13:48
rcn-eeamitk, nope... just triggered the latest opps about 10 mins ago..13:48
james_wI have my beagle partially booting now, but due to having no rtc battery it won't get pass fsck, is there a way to force mounting without an interactive shell?14:46
ograjames_w, with the official image you can just set fixrtc on the cmdline14:47
ograwe have a workaround in initramfs14:47
=== jmcgee|gone is now known as jmcgee
=== JaMa is now known as JaMa|Sports
ograXorA, do you happen to know which DSS2 patches are missing exactly to make the zoom work in ubuntu ? (same question for touchbook)16:09
ograi'd like to have screen support for both of them in maverick16:09
ogra(just basic stuff is enough though)16:09
XorAogra: no, the dss2 in the TI zoom2 tree is slightly different to what entered mainline, the patches all need rejigged16:10
ograhrm16:10
XorAogra: ask koen about touchbook, he at least has one16:11
XorAogra: and pandora support in maverick should happen as well16:11
ograit boots fine here with an ubuntu install ... i just cant convince it to output to the screen ...16:11
ogranobody on the team has a pandora16:11
XorAogra: no-one has a pandora yet16:11
XorAogra: I will have before maverick16:12
ograsweet ... i'll hunt you down for testing it then16:12
loolzyga: Build information > yes, the versions are recorded in the log, but as you note it's a bit fragile and doens't cover everything; there's a dh_buildinfo which does something more extensive16:12
XorAogra: youll have to come to #linux-omap and pester the guys there for zoom2 support16:13
ograwill do16:13
ograwe dont have a maverick kernel yet though16:13
ograi'm just looking into the missing bits atm16:13
XorAogra: well just getting patches against lucid would be good, DSS2 wont change that much now16:14
looldavidm: Sure, I already had chats with prpplague on the upcoming LCDs16:14
looldavidm: Thanks for the contact16:14
ograXorA, maverick will use 2.6.3516:14
XorAogra: there was nothing controversial in the 2.6.35 pull request for dss216:14
ograso we need them against that one16:14
ogragreat16:14
XorAogra: so the patches should only need slight rejig between lucid/maverick, its just finding someone with time to do them clean16:15
ogralucid is done, all i care for wrt lucid is 10.07 which uses its completely own kernel16:15
XorAIm not on the TI display team16:15
ograbut you are owning all that knowledge :)16:16
XorAogra: sumitsemwal I think knows the actual guys who own that part of kernel16:16
* zyga is bac16:16
zygak16:16
ograok, i'll first wait to see what we get with the maverick kernel16:17
XorAogra: extend my day to 48 hours and Ill do it :-D16:17
ograand whats still missing16:17
ograheh16:17
ograi assume dss2 improved between .33 and .3516:17
XorAI think bugfixes only, no architectural changes16:18
ograhmm16:18
sumitsemwalXorA: :) .. I will ask people who're involved with the DSS2 to join.. maybe tomorrow?16:26
amitksumitsemwal: good to see you hang out here :)16:27
ograyeah !16:27
sumitsemwalamitk: newbie, be gentle :P16:28
amitksumitsemwal: hehe :)16:30
=== sbambrough is now known as sbambrough-lunch
=== sbambrough-lunch is now known as sbambrough
=== JaMa|Sports is now known as JaMa
=== rsalveti_ is now known as rsalveti
NCommandersebjan: ping?21:58
NCommanderrobclark: ping?22:00
robclarkNCommander: pong22:00
NCommanderrobclark: see PM22:01
ogra_cmpcrobclark, how did you compile the kernel i have on the blaze ? i see a lot of segfaults using a lucid rootfs22:02
ogra_cmpcwas it cross built ?22:03
robclarkogra_cmpc: y, it was cross built.. but I don't think that is the issue22:04
ogra_cmpchmm22:04
robclarkI wonder if you are just seeing the empty_zero_page issue..22:04
robclarkkernel is unlikely to get pissy over glibc or runtime lib mismatch..22:04
ogra_cmpcmight be i just noticed that git, dpkg and apt segfault22:04
robclarkogra_cmpc: yeah, that sounds like the issue... give me a minute and I'll post real simple test code to see if you hit that..22:05
ogra_cmpci didnt resarch anything yet, juwst playing around with it while watching tv22:05
robclarkavoid 'git clone'22:05
robclarkthat is really good at triggering the problem22:06
ogra_cmpcheh, noticed that22:06
ogra_cmpcyeah22:06
ogra_cmpcfatal: git fetch_pack: expected ACK/NAK, got ''22:06
robclarkyup, that's the one22:06
* ogra_cmpc was already worried its gits fault in out amrel build22:06
ogra_cmpc*armel22:07
ogra_cmpcuntil i noticed apt and dpkg suffering too22:07
robclarkit is an arm arch prob in kernel.. from looking at code, I'm not really sure how it should work.. how copy_to_user() would trigger a page fault..22:07
robclarkone of our baseport guys claims to not see this bug.. using a newer kernel, but unsure about what commit fixes it (if it is indeed fixed)22:08
robclarkbut I've been busy with other debugging since I got back, so haven't had a chance to revisit that issue22:08
ogra_cmpcwe'll see, i think cooloney already works on a kernel package thats based on a checkout from today22:09
robclarkogra_cmpc: if you need a quick stop-gap solution, an older version of git (1.5.x) doesn't seem to trigger it22:09
ogra_cmpci should be able to test it within the next days22:09
ogra_cmpcwell, i usually dont even touch git :) but i can host trees on my laptop if needed and just rsync back and forth22:10
ogra_cmpc<- bzr user ...22:10
robclarkok.. let me know if you discover anything... it's on my list of interesting things to debug, but unfortunately I have some less interesting things to debug first ;-)22:10
ogra_cmpcheh, k22:10
=== jmcgee is now known as jmcgee|gone

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