/srv/irclogs.ubuntu.com/2011/01/18/#ubuntu-arm.txt

=== Jack87_Away is now known as Jack87
=== Jack87 is now known as Jack87_Nap
josheee12[1]i have a device with a Cortex A8.  how difficult would it be to build Maverick's kernel for it?01:33
rsalvetijosheee12[1]: depends a lot on what kind of device you're using01:44
rsalvetisaying it's cortex a8 only doesn't help much01:44
=== Jack87_Nap is now known as Jack87
hrwmorning08:16
sveinseI was a little surprised to find that --sysroot was removed from binutils-arm-linux-gnueabi. I understand it conflicts with xdeb, but isn't it a drastic measure. It breaks the way we crossbuild ubuntu apps (that are not debian packages). How can I do so without sysroot?10:55
loolhrw: ^10:57
loolsveinse: I10:58
loolsveinse: I'm not sure which exact sysroot you mean; you mean with the support for --sysroot, or with a specific sysroot setting?10:58
hrwsveinse: sysroot was not enabled in lucid time too10:58
loolI think we just fixed the linker path to look in the right dirs, and didn't need the sysroot hack; but if --sysroot is useful, it should be enabled in both ld and cross-ld builds10:58
loolDoesn't really relate to what we do though10:59
hrwsveinse: did you used 10.04 or only 10.10?10:59
sveinse10.1011:00
sveinseafter sysroot was enabled, we have found a realiable way to build non-deb apps for ubuntu target11:01
sveinsebasically we have a armel rootfs which we sysroot ld with "--sysroot=/home/user/rootfs-dev -L=/lib -L=/usr/lib"11:04
hrwsveinse: if you do not use xdeb then use binutils from maverick not from maverick-updates11:04
sveinseAs mentioned in #692987 we pin against 2.20.51.20100908-0ubuntu2cross1.50 to keep our buildsystem up and running11:05
hrwsveinse: sysroot support was enabled by mistake in 10.1011:05
hrwI got it sneaked in during doing lot of changes in whole toolchain11:05
sveinseSo basically, this (sysroot) is something we will never have then?11:05
hrwnot in official packages11:06
sveinseThats too bad because the other cross compiler alternative, CSL, has a different libc configuration which makes problems during starting of apps on target11:06
sveinseThe beauty of the ubuntu cross compiler is the fact that it is harmonized with the native compiler/libs on target11:07
=== njpatel_ is now known as njpatel
sveinseSo I raise my question again then: How can we cross build non xdeb apps for ubuntu target?11:08
sveinseI'd be happy to blog about how we managed to build apps for ubuntu target, but I don't know how relevant this is now if sysroot is a mistake...11:10
sveinseNor how we shall continue to build our apps11:10
hrwsveinse: use xapt to install cross libs and do compilation11:12
hrwxapt will fetch armel libs, mangle them and install to /usr/arm-linux-gnueabi/ dir11:12
hrwcompiler will look there11:12
hrwlinker too11:12
hrwand then you can copy results into your device11:12
hrwsveinse: so instead of installing into your sysroot you install into system11:13
sveinsethanks, I'll look into it!11:13
sveinsehrw: Do you happen to have a description of how somewhere? As a kickstart, I mean.11:14
hrw"xapt -aarmel install ncurses" or sth like that11:15
hrwI used it once and it was easy11:15
sveinsedoes this setup a fakeroot environment somewhere?  ok.... I'll read myself up on it before asking 10000 questions.11:16
hrwno, it will not give you copy of rootfs11:16
hrwthis one you need to generate. rootstock does it11:16
hrwor multistrap11:16
sveinseYes, I'm using rootstock to make the rootfs I use sysroot against, so that part is known11:17
sveinseHave to leave. Back in 45 mins..11:18
=== zyga_ is now known as zyga-vaio
=== Jack87 is now known as Jack87_Bed
=== _dmart_ is now known as dmart
=== ian_brasil__ is now known as ian_brasil
loolrsalveti: Around?14:07
loolrsalveti: I'd like to confirm the x-loader package names with you14:07
loolrsalveti: We moved everything to a x-loader source package and the names x-loader-omap3-beagle and x-loader-omap4-panda are final, right?14:07
loolrsalveti: I'd like to add an IGEP build as well14:09
loolrsalveti: Not sure that's supported though14:10
loolrsalveti: Overo would also be helpful14:10
loolrsalveti: Seems IGEP was submitted and fixed; anything preventing its merge?14:13
loolrsalveti: How do I contribute to your x-loader packaging to add an overo flavor?  Could we keep it in Launchpad instead?14:22
rsalvetilool: hey14:25
rsalvetilool: are final, and it'd be ok to add igep as well14:25
loolrsalveti: Can you commit to the main x-loader tree to add IGEP?  Or would you be ok to pull them in the Ubuntu tree?14:26
rsalvetilool: igep patches are still not merged14:26
rsalvetilool: I'd prefer to wait the patches to be in the main tree first14:27
rsalvetibut if it takes too long we can for sure push it at the package itself14:28
loolAnand works in Linaro and announced the new x-loader stuff; I've emailed him to ask him for a review14:32
loolrsalveti: So, I'd like to contribute to the packaging, how do I do this?14:32
rsalvetilool: and the only 2 flavors that were actually tested were beagle and panda14:33
rsalvetieven on the main tree14:33
rsalvetithat's why I just activated these 2 first14:33
loolrsalveti: the announcement said overo support should work14:33
ian_brasilthx to whoever fixed the kubuntu mobile natty builds14:33
loolCurrently, thanks mainly to Steve's efforts, the tree builds for and14:33
loolworks on the following platforms: the OMAP3 EVM, the Overo and Beagle14:33
lool(both 35xx and 37xx), and the Pandaboard.14:33
loolrsalveti: ^14:33
rsalvetiwell, it *should* work but as I don't have the hardware and nobody said that was using it, I didn't add it by default14:34
rsalvetibut ok, can easily activate it14:34
rsalvetilool: I can move it to bzr if you want14:34
rsalvetinot something I actually like, but ok14:34
loolrsalveti: I don't mind either way, but I need some kind of way to update it14:35
loolrsalveti: Another option would be a gitorious team with a lot of Ubuntu Developers in it14:35
loolrsalveti: But we should leverage launchpad for packaging really14:35
loolrsalveti: Up to you, just tell me where to commit14:35
loolI can work with either git or bzr, just can't commit to ~rsalveti obviously  ;-)14:36
ograits more upstream stuff whats in gitorious, no ?14:36
rsalvetiogra: not in my tree14:36
loologra: It's just a git hosting place; you can think of it like Launchpad -- merge requests etc.14:36
ograah14:36
rsalvetiI have 2 trees, one for upstream work and another for packaging14:36
loolJust like github14:36
ogralool, i know what gitorious is14:36
ograi was referring to rsalveti's branch14:36
rsalveti:-)14:36
rsalvetilool: will move to LP, will make it easier14:36
rsalvetilool: ping you back when I'm done14:37
loolrsalveti: thanks14:37
rsalvetilool: can you test overo?14:37
loolrsalveti: No, I gave them all away, but we have 6 tobi + overo in linaro14:37
rsalvetior we'll be just creating the package without testing it?14:37
rsalvetilool: can you ask someone to test current master tree?14:38
loolrsalveti: I'd rather have them test of the package14:38
loolThat way we're testing binaries built with our in-archive toolchain etc.14:38
rsalvetiwell, it's the same toolchain they are probably using at the desktop14:38
rsalvetior at least should14:38
loolrsalveti: There's one u-boot build rule that is not in the x-loader rules which I suspect might be important14:38
rsalvetilool: which one?14:39
loolrsalveti: jcrigby stripped -Bsymbolic from the LDFLAGS explicitly, noting that it broke relocation; I don't think your x-loader relocates, but it could have other side effects14:39
loolMaybe not though14:39
loolJust wanted to mention it14:39
loolrsalveti: Why do you assume it's borken?  :-)14:39
loolrsalveti: Steve Sakoman was testing his tree regularly, and I think this tree started of his tree;14:40
rsalvetilool: because the tree is new and nobody said to me it works :-)14:40
loolrsalveti: One thing I'd like to discuss in the future is merging the MLOs in a single package14:40
loolI think one package per board doesn't scale14:41
rsalvetix-loader should die14:41
loolthat too14:41
rsalvetiit's not going to get a lot more boards14:41
loolwe have the same problem with u-boot-linaro though14:41
loolwhich is getting a lot of boards14:41
rsalvetiu-boot sure, not x-loader14:41
loolrsalveti: LP #70204614:41
ubot2Launchpad bug 702046 in x-loader (Ubuntu) (and 2 other projects) "Overo support (affects: 1) (heat: 8)" [Undecided,New] https://launchpad.net/bugs/70204614:42
loolrsalveti: Well I'd rather have the same layout for x-loader and for u-boot14:42
loolit's essentually the same problem and we're shipping both in linaro hwpacks14:42
loolanyway, we have time to discuss this14:42
loolmaybe we can move to IPL instead14:42
rsalvetilool: one question, how is it done with the linaro packages at the archive?14:53
rsalvetithe ones that are mainly done at git.linaro.org?14:53
rsalvetilike u-boot?14:53
rsalvetiif you want to change it, for example14:53
rsalvetior any other ubuntu developer14:53
loolrsalveti: Until now, I grabbed the u-boot-linaro source package and uploaded to the archive; last week, I saw that u-boot-linaro has a Vcs-Git; I checked that the branch had all my uploads and asked slangasek about it; I don't remember the outcome, but I want to chat with jcrigby to find out14:55
loolrsalveti: I don't want to commit to git://git.linaro.org/boot/u-boot-linaro-stable.git for package updates either14:56
rsalvetiwell, at least with gitorious you can created a merge request14:56
rsalvetiso if any ubuntu dev want to change the package, it will probably need to send the patch to the owner, right?14:57
rsalvetiI14:57
rsalvetiI'm just trying to understand the packaging policy14:57
* rsalveti brb15:00
jcrigbylool: ping?15:04
looljcrigby: In a call, give me 30mn?15:04
jcrigbysure, just saw my name mentioned15:05
=== ian_brasil__ is now known as ian_brasil
looljcrigby: pong15:48
looljcrigby: Yeah, I wanted to ask about the u-boot-linaro packaging15:48
looljcrigby: it's in git.linaro.org, which means other ubuntu developers can't commit it when updating15:48
looljcrigby: Maybe we should just release u-boot-linaro tarballs monthly, or when we see fit, and maintain the packaging in a bzr branch on launchpad15:48
jcrigbylool: for me git is easier and I'm willing to accept patches via email.  How main ubuntu u-boot developers are there?15:53
looljcrigby: Problem is the Vcs field15:54
jcrigbyjcrigby, I don't understand15:54
looljcrigby: The usual workflow to work on a package with a Vcs field is something like debcheckout, hack, commit, upload; but they can't commit15:54
loolSo they wont commit and the next person doing debcheckout will be looking at an old version of the package15:55
loolalso, you risk uploading a new u-boot-linaro overwriting packaging changes which are only in the archive and not in git15:55
jcrigbyso lets just take it out of bzr completely15:55
loolbzr?15:55
loolI'm speaking of the git packaging branch15:56
loolis it in bzr??15:56
jcrigbyno15:56
looljcrigby: If instead we would put the packaging under a bzr branch owned by ~ubuntu-dev, anybody able to update the package in the archive woudl also be able to commit15:56
rsalvetiit could be in git, but then you need to add permission to every ubuntu developer15:56
rsalvetior change to bzr and add ~ubuntu-dev15:56
jcrigbyhow does the kernel deal with this same issue?15:58
ograthe kernel doesnt use bzr at all15:59
ograthey refuse to15:59
jcrigbyI think that was my point15:59
rsalvetijcrigby: kernel is different15:59
jcrigbywhy15:59
rsalvetiprobably because they want :-)15:59
jcrigbyupstream u-boot is git15:59
rsalvetiI know, same as x-loader15:59
looljcrigby: I personally don't like the fact that the kernel is different, it's an unfortunate exception15:59
looljcrigby: A lot of upstream are in git, and while it's ok to have different Vcses for differnet packages, it's not ok to prevent the upload of more and more packages16:00
looljcrigby: kernel team is also much larger  :-)   you are guaranteed to find a kernel developer every hour of the day, while you might personally go on leave :-)16:01
jcrigbyok,so what needs to happen?16:02
ogralots of upstreams are git btw16:02
looljcrigby: Well it could be a number of things16:02
jcrigbyogra, I know, I just don't like bzr much16:02
looljcrigby: Perhaps the simplest conceptually is to stop worrying about the packaging branch in git, kill it entirely, and use the Ubuntu archive and its corresponding bzr branches for history16:03
ograwell, at some point bzr might become required to build a deb16:03
jcrigbyogra, fine I'm willing to learn16:04
looljcrigby: that way, you can either use bzr if you need to dig up history, or just apt-get source + hack + prepare a debdiff for sponsoring to get something uploaded16:04
loolBasically, you keep both the apt-get source option and the bzr option open16:04
jcrigbybut no git option16:04
loolAnother way would be to start some gitorious/github team16:04
jcrigbyno16:04
looland we'd add as many people who'd like to join to it16:04
loolbut that wont ever match the set of people who can upload to Ubuntu16:05
jcrigbyso what prevents non packaging patches from being uploaded16:05
looljcrigby: I expect the packaging updates of u-boot-linaro to be relatively straightforward from now on, so maybe it's not a big deal?16:05
looljcrigby: Nothing prevents it16:05
looljcrigby: And that's fine; gcc-linaro releases are patched before they go into Ubuntu16:06
jcrigbyand how do those non packaging patches go upstream16:06
looljcrigby: Depends16:06
looljcrigby: Sometimes they come straight from upstream, but didn't propagate into a tarball release yet16:06
looljcrigby: Sometimes they are sent upstream by the person uploading to Ubuntu16:06
looljcrigby: Sometimes they are quick workarounds which need another solution upstream, and only a bug is filed16:07
ograsometimes (if its a bad ubuntu maintainer) they arent forwarded at all too16:07
looljcrigby: I think you had a lot of chats about this type of stuff with slangasek; I don't mind if you prefer getting his own explanation on this stuff; he is native and has usually better arguments than I do16:08
jcrigbylool, for the latest release I thought we had arrived at a pure git solution16:09
looljcrigby: Well, it's valid as long as you keep it to Linaro PPAs for instance16:10
looljcrigby: Because people who can commit to git can also upload an updated package to the PPA and vice-versa16:10
jcrigbylool: ok lets assume that all we get from git.linaro.org is a tarball which is upstream + linaro patches (if any)16:14
jcrigbylool, and all packaging is in bzr16:14
looljcrigby: Yup16:15
jcrigbyand someone commits and uploads a non packaging change16:15
loolYes16:15
jcrigbyI notice the change and decide it needs to go upstream so I send it up and while waiting for upstream to accept it I also apply it to git.linaro.org16:15
loolOk16:16
lool(You're being nice :-)16:16
jcrigbyas always:)16:16
jcrigbyso I do a new tarball release (maybe on demand or every two weeks)16:16
jcrigbyhow do I do the bzr merge with the new tarball?  Is that easy?16:17
looljcrigby: it's easy16:17
jcrigbylool, ok then I see no problem16:17
looljcrigby: It will sound complex if I describe it to you on IRC, but it's really easy16:18
looljcrigby: The main reason for complexity is the way in which the packaging changes are added16:18
looljcrigby: For instance, the packager could either add a debian/patches/foo.patch16:18
loolor (s)he could just change the package tree and upload, that would end up in the diff16:18
jcrigbyright, in the foo.patch case then with new tarball they would just remove it?16:19
loolin the latter case, bzr might be able to see that the changes were merged upstream (not 100% sure); in the former case, the package would fail to build because the build would apply a patch which is already applied16:19
jcrigbyright16:19
loolso the packager would have to remove the patch when updating to the new tarball (which is what we usually do)16:19
jcrigbyok16:20
jcrigbylool, I see my bzr skills will need improving but that is fine16:20
looljcrigby: Frankly, if you can git I don't see why you wouldn't bzr16:20
loolYou can't even rebase, and there is no working-copy versus staged changes stuff, so there is less to learn  ;-)16:21
jcrigby:)16:21
ograhmm, looks like ubuntu-netbook is installable17:40
* ogra fires off an image build17:40
rsalvetiogra: hm, no logs :-)18:08
rsalvetieven worse18:08
ograrsalveti, yeah, seems to always happen if a manually triggered build fails18:08
ograbut i found our issue18:08
ograseb128 will solve it tomorrow18:09
rsalvetiogra: what was it?18:09
ograrhythmbox is ftbfs18:09
ograand the old RB depends on the old webkit18:09
ograwhat was the status of banshee ?18:09
rsalvetihm, ok18:09
rsalvetimaybe janimo knows better18:10
ograif it works we could just drop RB18:10
janimorsalveti, ogra, I am waiting for banshee 1.9.2 to be uploaded by mono team18:24
janimoand see if the crash on startup appears18:24
ograk18:24
ograthen we'll just wait another day for the rhythmbox fix18:24
janimoI guess that neds to come anyway so I am not wokring on it , they had a maemo crash bugfix there, may be the same18:25
rsalvetilool: which group should I add, ubuntu-core-dev or ubuntu-dev?18:30
ograjanimo, yeah, i was only worried about our builds and was thinking of ripping out RB18:31
janimoogra, I thought I'd leave alone RB and other desktop apps while webkit and indicator transitions are being done18:32
janimoafter that settles it will probably nolonger be FTBFS on new uploads18:32
ograwebkit is done, i was about to look at RB but seb128 seems to have a new upstream ready for tomorrow18:32
loolrsalveti: main > ubuntu-core-dev, universe > ubuntu-dev18:32
janimotoo bad LP cannot figure out to only start builds until build deps are satisfied (or maybe they are not stated strictly enough?)18:33
loolrsalveti: You don't necessarily need a team BTW18:33
ograso i was looking into the opportunity to drop RB and pull in banshee for today so we get images18:33
loolrsalveti: You could just rely on the UDD branches18:33
ograbut it can wait another day i suppose18:33
janimoogra, I see.18:33
ografor the RB fix18:33
rsalvetilool: well, I created a project for it, so a team sounds fine18:35
rsalvetijust to put the debian stuff into a proper bzr branch18:35
loolrsalveti: A project just for a packaging branch?18:35
loolrsalveti: a team is enough to hold it18:35
loolrsalveti: lp:~team-name/x-loader/ubuntu-packaging18:35
loolUsually ~ubutnu-core-dev or ~ubuntu-dev/x-loader/ubuntu18:36
loolUnless you created the x-loader project, which would be a good idea indeed18:36
rsalvetilool: x-loader project18:36
rsalvetiI'm not in ubuntu-dev nor ubuntu-core-dev yet18:37
rsalvetibut working on it18:37
rsalvetilool: at lp:x-loader you can find the latest branch for the debian package stuff19:31
rsalvetilool: also released a new version, can you sponsor the update?19:32
rsalvetiotherwise I can just ask janimo or ogra :-)19:32
rsalvetiif you prefer I can also generate the debdiff19:32
slangaseklool, jcrigby: for those packages where we have the same person maintaining both the upstream linaro branch and the Ubuntu packaging, I've been favoring a git-buildpackage solution for now on the grounds that using bzr for packaging branches isn't going to make anything /easier/ than where we are now.  But if you think there's a concern that other Ubuntu folks will be changing these packages, I'm equally happy to get jcrigby going with bzr19:42
kaimHello all!  I'm a bit new to "embedded linux" so need some help. Going to migrate my GPS from WinCe to Linux 4 ARM CPU and is searching for some guide. or HowTo to figure out what I'll need and what the troubles may be. Can one send me a web link on the subj?19:44
armin76kaim: good luck20:23
kaim=)20:24
armin76kaim: what you mainly need is a kernel for your device20:25
armin76and a way to load it, of course(bootloader)20:25
kaimAs i do find for now ARM Linux has a support of my cpu20:26
kaimbut for the rest I have to examine the hardware first20:26
armin76well, support for the cpu is easy to find20:27
armin76but the device is what matters20:27
kaimIt seems like there is now distribution for handlets yet.20:27
armin76and again, you need a bootloader first20:27
kaimgrub is not an option?20:27
kaimit must be some port some wher20:27
kaimwere20:27
jhobbs=(20:27
jhobbsyou could start playing with arm on linux on a device that's well supported already to get the ropes20:28
jhobbslike a beagleboard20:28
jhobbsotherwise you have to learn a lot at once, it may be rough times if there is no guide for your device!20:28
kaimthere isn't and thats why its an interesting one20:31
jhobbswell sir, let me know when grub for arm is ready!20:33
kaimjhobbs: I did hope there is one already =)20:35
kaimi.e. GRUB20:35
loolslangasek: I understand; I personally pushed to be able to upload stuff when people were on leave and I had to get some stuff done; it could be that we can live with the owner of the Vcs then merging back later in these cases20:38
slangaseklool: right, though it does reintroduce the classical Debian NMU problem20:39
loolslangasek: Exactly20:39
=== ian_brasil____ is now known as ian_brasil
EmbeddedLinuxGuyHi ubuntu-arm. I'm having a bit of trouble booting an Ubuntu image I created with rootstock23:03
EmbeddedLinuxGuyon my Gumstix Overo OMAP3530. It may be the "sh -> dash" issue.23:04
EmbeddedLinuxGuyWhere does "dash" mess things up? Is it (1) on my host PC, (2) on the target FS created by rootfs, or (3) in the qemu image where rootfs runs?23:06
elesueurwhat actually happens?23:06
EmbeddedLinuxGuyI boot up and it gets as far as Freeing init memory: 160K, then no more output.23:07
elesueuri doubt this is a dash/bash problem23:08
EmbeddedLinuxGuyOK. I'll try a different kernel.23:09
loolEmbeddedLinuxGuy: Did you setup a serial console?23:12
EmbeddedLinuxGuyYeah I did --serial ttyS2 as per the Gumstix wiki23:13
loolEmbeddedLinuxGuy: dash shouldn't matter anyway, host PC or not23:13
loolEmbeddedLinuxGuy: Which kernel is this with?  newer OMAP serials are ttyO2 and not ttyS2 IIUC23:13
EmbeddedLinuxGuyOK some web page said this would cause it to halt and cause corruption.23:13
loolHmm Andy just submitted a patch to linaro-image-tools to use ttyS2, maybe it's just ttyS2 for overo23:14
EmbeddedLinuxGuyI was using the Angstrom 2.6.35 from November 15, but I am switching to a 2.6.3423:14
loolOh that would certainly use ttyS223:14
loolYou need some initrd to go with it23:15
loolas to honor stuff like serialtty= and fixrtc on the cmdline23:15
EmbeddedLinuxGuyOK. I was following a Wiki page that said: just put the kernel image, an MLO file, and a u-boot file on your first MicroSD partition23:17
EmbeddedLinuxGuyand the root filesystem on the second partition.23:17
EmbeddedLinuxGuyI assumed if there were an initrd it would be embedded in the kernel image.23:18
loolEmbeddedLinuxGuy: You need to have the proper cmdline arguments to match your kernel23:29
loolEmbeddedLinuxGuy: also, the rootfs might try to setup a tty of some sort as to allow you to login over serial; that's the goal of serialtty=, but that only work with an Ubuntu-ish initrd23:29
EmbeddedLinuxGuylool: Thanks, I have a feeling the kernel cmdline is being set by my u-boot.bin file.23:34
EmbeddedLinuxGuyI have been trying to work from http://www.gumstix.net/wiki/index.php?title=Installing_Ubuntu_10.04_on_Gumstix_Overo but I am willing to try a different recipe23:36
loolEmbeddedLinuxGuy: When we have Linaro hwpacks (hopefully RSN now :-) I should have another one for you  :-)23:37
loolrsalveti: i sponsored your x-loader and did some packaging cleanups23:51
loolrsalveti: You have a fair number of patches, are this reviewed by upstream?23:51
loolrsalveti: Also, I was wondering whether we need -fno-stack-protector both in a patch and in rules23:51
loolrsalveti: Ah I can't join yet23:52
lools/jon/push23:52
loolrsalveti:23:54
loolhttps://code.launchpad.net/~lool/x-loader/packaging-fixes/+merge/4671723:54

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