/srv/irclogs.ubuntu.com/2009/06/22/#ubuntu-arm.txt

=== Martyn- is now known as Martyn
bandwidthcrunchHi friends, I have a omap3430 based hardware and i want to compile ubuntu for the armv7 architecture. Any pointers on how to go about the same ?07:58
MartynYou don' thave to08:10
MartynCanonical is working on it, it's just going to take a bit08:10
MartynAre you also working with Cortex-A9 hardware?08:11
Martynor just Cortex-A8?08:11
bandwidthcrunchcortex-a808:11
MartynRight, 3430 ... du08:11
Martynduh ratehr :)  I'm tired, it's 2:11am for me08:11
bandwidthcrunchohh08:12
bandwidthcrunchcatch some sleep08:12
Martynnot quite yet08:12
MartynI'm in the middle of debugging a multicore ARM kernel08:12
bandwidthcrunchomap4 ?08:12
MartynI'm not at a place where I can checkpoint .. still doing the instruction trace08:12
MartynCortex-A908:12
Martynbut not omap4 SoC08:13
MartynI'm using the realview-eb fastmodel08:13
bandwidthcrunchis canonical working on that too ?08:13
Martyn(since the only real A9 hardware is the PBX, being released in super-limited quantity, based on an eASIC running at 70Mhz)08:13
Martynno08:13
MartynHowever, they will be.08:14
Martynogra and I should both be getting PBX'es around the same time08:14
MartynBetter question -- why do you want a v7 compile?08:14
Martynv6->v7 won't result in a huge performance increase08:14
bandwidthcrunchoptimisations ? Isnt it going to make a difference ?08:15
Martynthe difference between the omap 2xxx and 3xxx series isn't much08:15
Martynjust speed08:15
Martynif you have a specific application you'd like to compile v7, go for it08:15
Martyncross compile it using CodeSourcery's tools08:15
Martynhowever, you can't just turn on v7 arch and expect magical optimization and speed08:16
Martynglibc needs to have changes made to take advantage of v708:16
bandwidthcrunchAn application like firefox has a lot of dependecies and i would end up cross compiling a lot more of those08:16
Martynyep08:16
bandwidthcrunchi used Codesourcery08:16
MartynWhat optimization level?08:17
Martyn-O2?08:17
bandwidthcrunchJust that my folks here want me to get the whole of ubuntu build for armv7 . yeah O208:17
Martynso do my folks08:18
Martynwe're doing an SoC08:18
Martynbut recompiling the entire distro isn't in the works for the moment, simply because we lack the platforms to do native v7 compiles08:18
Martyn(and cross compiling is really dicey)08:18
bandwidthcrunchi supplied those platforms to canonical 2 months back08:19
MartynAh!  Twas you :)08:19
bandwidthcrunchyeah08:19
MartynWhat SoC are the boards based on?08:19
MartynTI's omap?08:20
Martynor the freescale i.mx51?08:20
bandwidthcrunchTI's omap 350308:20
MartynWell, hopefully we'll see more v7 compiled code in karmic08:21
bandwidthcrunchwhat would be required to get the whole distro built using codesourcery toolchain ? anything we are missing ?08:21
Martynso much in the air...08:22
MartynI wouldn't want to build it in cross08:22
Martynhowever, I'm the wrong person to ask about the build engine..08:22
Martynthat's ogra, ncommander, etc...08:22
* Martyn works on ARM linux porting, and device drivers :)08:22
bandwidthcrunch:) cool got that. I am gonna ping them and see if we can do some magic faster08:23
Martynhowever, I've been doing some pretty close looking at what v7 buys as far as performance goes using profiling ...08:24
Martynit's not much08:24
Martynv7 does make a big difference in the power used though.  v7 code takes better advantage of the A8's power saving capabilities08:26
MartynWhere you get massive performance increases are in any code that takes advantage of vfp/NEON08:27
Martynas well as video decoding08:27
Martynfor the same reason .. since you can pass that on to the coprocessor08:28
bandwidthcrunchyeah we plan to use neon too08:28
bandwidthcrunchmy current processor lacks the DSP08:28
loolMartyn: I think there could be a significant difference if we'd start using thum or thumb2 in actual binaries, but this sounds like a large project08:29
Martynnod08:29
lool*thum08:29
loolRgah08:29
Martynlool : No kidding08:29
lool*Thumb08:29
Martynthe thumb compression in the A8 is a nice feature08:30
Martynand I'm discovering that pretty significant changes were made to v7 (for the better) on the A908:30
MartynSection "Device"08:31
MartynIdentifier"Card0"08:31
MartynDriver"fbdev"08:31
MartynOption"fbdev" "/dev/fb0"08:31
MartynVendorName"Unknown"08:31
MartynBoardName"Unknown"08:31
MartynEndSection08:31
MartynSection "Screen"08:31
Martyn...08:31
MartynDevice"Card0"08:31
Martyn...08:31
MartynEndSection08:31
MartynAck!08:31
Martynsorry08:31
loolWhat changed on A9?08:32
MartynthumbEE08:34
bandwidthcrunchOgra , NCommander Any tips on the build process for armv7 ?08:34
MartynL2 is huge08:34
MartynREALLY huge08:34
Martynlike "a full meg"08:34
MartynL1's aren't shabby either08:34
bandwidthcrunchnice08:34
Martynbut the real treat is the four cores08:34
MartynI have a fully multicore jaunty working now08:35
Martynwhich is quite the achievement :)08:35
Martyn"on the shoulders of giants"08:35
bandwidthcrunchgreat work Martyn ..08:37
loolMartyn: Wasn't ThubEE on the A8 already??08:37
Martynlool : It is, but it has been improved in the A908:38
Martyninstruction execution time is -way- down08:38
loolAh08:38
Martynin theory, there's no reason these chips won't be able to go 1.5Ghz08:39
loolMartyn: Are there interesting patches to merge from your work on getting jaunty to work on MP?  :)08:39
Martynall the patches minus two are now part of the arm-linux.org tree08:39
loolSo only kernel?08:39
Martyn(course, they are a critical two ... that have to do with using WFE rather than WFI to halt the other cores during bootloading, then releasing them with an SVC call into the secondary_boot process)08:40
Martynlool : Only kernel.08:40
Martynand a BUTTLOAD of drivers08:41
Martynbecause ARM is so fucking fractured as an architecture08:41
loolarm-linux.org => linux-arm I guess08:41
MartynI swear, we need a unified bootloader (UEFI) and then we need a unified boot process08:41
Martynwww.linux-arm.org 's git repository, yes08:42
Martynfrankly, there are a bunch of merges that have to happen now between that tree, and the mainline linux kernel tree08:42
Martynright now there are four fractures trees that people are building from .. the omap-linux tree, the arm-offical tree, the beagle-flavored tree, and the mainline linux repo08:43
MartynThe //problem// is the ARM gatekeeper for the linux kernel08:43
MartynRussel is slowing things down08:43
loolIs the OMAP tree going via the ARM tree?08:43
Martynno08:44
Martynit's got it's own little world08:44
Martynand it's become quite the fork at this point, especially the framebuffer code08:44
loolRight, it seems they have a pile of not-easily upstreamable patches08:44
MartynAnd it's resulting in this kind of mess: http://osdir.com/ml/linux-kernel/2009-06/msg05879.html08:45
MartynI mean, you don't see the x86 side of the kernel doing this kind of insanity08:45
Martynnor the MIPS guys, really08:45
Martynbut ARM?  We've got the worst part of the Linux source tree .. our branches look like a teenager's room after an all-week party kegger08:46
loolHaving per subarch or even per board trees is not really nice indeed08:48
Martynsub arch is acceptable08:49
Martyn<board> is ... crazy08:49
Martynit's partially ARM's fault08:50
Martynand partially the phoneset manufacturer's fault (odd bootloaders, TrustZone, etc)08:50
Martynbut mostly the Linux Maintainer's fault08:50
loolbandwidthcrunch: Hey, who are you?  :)10:11
bandwidthcrunchHi lool10:12
bandwidthcrunch Manav Gautama10:12
ograbandwidthcrunch, i doubt using codesourcery to cross-build *the whole distro* is easily possible without a year of building infrastructure :)10:12
ograwe build the whole system natively10:13
loolbandwidthcrunch: I'm working on a tool to rebuild the distro with a different toolchain10:13
bandwidthcrunchWilling to chuck codesourcery10:13
loolIt wouldn't be crossbuilt though, but natively built within qemu10:13
Le1Is it a buildd or obs like system?10:14
ogralaunchpad buildds10:14
bandwidthcrunchThat should also be ok. I was interested in having armv7 using qemu or building them natively10:14
bandwidthcrunchhave some omap3 board10:14
bandwidthcrunchalso shipped one to canonical10:15
loolbandwidthcrunch: Who did you ship it to?10:15
bandwidthcrunchgive me a minute10:15
loolLe1: obs?10:15
ogralool, suse10:15
loolOh10:15
Le1opensuse build service10:16
loolUbuntu uses Launchpad-driven buildds; my system will use EC2 running Debian-style buildd tools10:16
ograLe1, https://launchpad.net/builders10:16
ogra(scroll down to armel, they are integrated and used natively as any other arch buildd)10:17
loolThat's how we do it in for Ubuntu itself10:18
Le1i see.10:20
Le1I've thought it's a local buildd. :P10:20
bandwidthcrunchlool , shipped to to kress10:22
loolbandwidthcrunch: If this is pubic information, could you share details about what board this is?10:24
lool*public10:24
bandwidthcrunchits not yet public but its been a while i heard anything. So am trying to setup a build out here and see if we can do things faster10:26
loolbandwidthcrunch: I think you should talk to Mike Kress and check directly with him10:26
bandwidthcrunchI just got his address and seeing if i can get any more information10:27
lool*I* personally neverheard of your project/board, so if it's not public we can't really discuss anything; we're a larger company now, so it's probably other people are working on it10:27
=== Le1 is now known as eggonlea
bandwidthcrunchbut at the same side i would also like to start builds here at my end  . I understand lool. Am just checking up with anyone else is working on a armv7 port10:28
ograthe whole 9.10 release will be armv6+10:28
loolbandwidthcrunch: The main Ubuntu armel port is going to move to ARMv6 + VFP when our buildds are moved to this10:28
bandwidthcrunchmojo ?10:28
ogranot sure thats sufficient for you, but if it is you wont need to rebuild the whole of it10:28
loolbandwidthcrunch: What with mojo?10:29
bandwidthcrunchisnt that armv6 +VFP ?10:29
bandwidthcrunchi already have a rootfs based off it and it looks pretty decent.10:29
ograthey stopped a year ago, didnt they ?10:29
loolbandwidthcrunch: mojo provides various optimized *arm* archives already (Note: not "armel"); if that works for you, that's ok; note that you wont be compatible with the Debian and Ubuntu armel ports10:31
ografor rolling a 9.04 rootfs (which is armv5 though) just see the topic :)10:31
bandwidthcrunchActually i have both jaunty and mojo working for me .10:31
bandwidthcrunchJust that i wanted to have armv7 port and source control  of the whole rootfs and be able to build the same natively or in qemu10:33
loologra: Did you rename the project holding the rootfs builder?   :-)10:34
ogralool's work in karmic should help with that10:34
ogralool, not yet10:34
loologra: Did you pick a name?10:35
ograno, then i would have asked for renaming already10:35
bandwidthcrunchthese launchpad builders armel builds happen on canonical servers ? any way i can throw a build there or setup the same infrastructure at my end ?10:38
loolbandwidthcrunch: The official Ubuntu buildds are administered/hosted by Canonical; they are using Debianish tools + Launchpad10:40
ograwith lool's tool you will be able to10:40
bandwidthcrunchwhere can i locate the tools ?10:41
loolbandwidthcrunch: So you can't just throw your buildd; to setup your own buildd, you should check the Debian tools, but that's not enough to rebuild the distro10:41
loolbandwidthcrunch: Start reading up from sbuild10:41
lool(The package)10:41
loolIt should help you setup dchroot and the like10:41
ogralool, how about "rootstock" for the project ?10:41
ogranot very original, i know and less funny than your suggestions ... but its a name10:42
loologra: It's a decent name10:43
ograright, i'll take that one then10:43
* ogra waits for an answer in #launchpad ...10:45
loolYou probably want to file it as a question, but well10:46
ograi wanted to ask first10:49
ograhttps://answers.launchpad.net/ubuntu-arm-roofs-builder/+question/7497510:49
ogra*sigh* why do i get all that cyrillic spam ... i cant even read it10:51
bandwidthcrunchthanks lool, ogra , will look up the tools you have mentioned and see if i can cook up something tho it sounds to be quite a task10:58
rek_heloooo17:42
rek_where can i download ubuntu arm and ubnt arm packages?17:43
ograhttp://ports.ubuntu.com/ has all armel packages17:44
rek_arm ?17:45
rek_can i install them with smart q5 ?17:45
ograif you have a kernel and bootloader 9.04 should work ... see the topic17:47
rek_what?17:47
ogra"Build a rootfs from scratch: https://wiki.ubuntu.com/ARM/RootfsFromScratch"17:47
rek_armel ihow can i port ubuntu into my device?17:48
ograyou need a kernel and bootloader for your device, with the script from the wikipage you can build an ubuntu rootfs for it17:48
rek_is not simle17:49
rek_simple*17:49
rek_r u able to do dis ?17:49
ograwell, i wrote the script ...17:50
ograso if i would have such a device, a kernel and a bootloader i surely could do it17:50
rek_really??17:50
rek_amzing....baffling you're the man...17:50
Martynrek_ I'ts not hard, really.17:51
rek_i should read17:51
MartynYou have to pay attention to detail, but the building of a rootFS is straightforward17:51
Martynogra : BTW .. looks like I might have to replicate the build system here in house in the next couple months.17:52
Martynogra : The interest in a v7 build is increasing, and I've been put on UEFI duty17:52
rek_however my device i'm gonna buy has alread installed a linux distro... i think it's arm ubuntu... they said so... so i'm worried about how could i install new programs... how could i run a new os ecc17:52
rek_it's smart q517:53
* ogra points Martyn to https://blueprints.launchpad.net/ubuntu/+spec/mobile-karmic-arm-cloud-builds17:53
rek_so ogra is a genius ?17:53
ograMartyn, though i doubt v7 will give you much more than v6+vfp and thats what karmic will default to anyway17:53
Martynogra : I need NEON support17:54
rek_the processor is arm11 ...17:54
Martynogra : amongst other things .. however for me it's a Mandate From Above(tm)17:54
ograisnt that a matter of kernel support and drivers ?17:54
rek_is this good?17:54
ografirst of all at least ...17:54
MartynAlso application support, and apps have to be compiled with support for the NEON extensions17:55
rek_what?17:55
ograah, right ...17:55
ograMartyn, so you will try NEON on the babbage ??17:55
Martynogra : So it's a big, hairy ball of a mess17:55
rek_ogra is it simple to add spplications?17:55
Martynogra : no, I'm going to use NEON on our chip once it tapes out17:56
Martynand on the PBX17:56
Martynwhich just arrived in a nice big box.  The PBX is -huge- man, and s l o w17:56
ograrek_, if there is already ubuntu on the device that should be straightforward, yes17:56
Martynbut dual core, implemented on an eASIC17:56
rek_but17:56
Martynno buts :)17:56
rek_but.... it's arm i think17:56
Martynso?17:56
rek_which packages do i need?17:56
Martynthe pools are all compiled17:56
Martynjust install the rootfs, in it's entirely17:56
rek_no butts lol17:57
Martynyou'll have a base rootFS (no graphics) then you'll have to configure and install xorg-core17:57
Martynetc.17:57
rek_i don't have to...may be if i change os17:57
MartynOR .. you can run the version of Intrepid that the smart Q5 comes with, and /not worry about it/17:57
ograMartyn, the cloud spec should make it easy to rebuild parts or the whole archive17:57
rek_ninfact...17:57
Martynin fact, after poking around and doing a bit of research, it seems that the Smart Q5 may even have Jaunty o it17:57
MartynJaunty on it17:58
rek_do u know smart q5 ?17:58
Martynogra : I agree.  Looks good.17:58
Martynogra : What's the timeframe for working on the tool?17:58
rek_is the touch good?17:58
ograMartyn, ask lool, he implements it17:58
Martynrek_ : There aren't a lot of ARM platforms that I haven't played with at this point.17:58
rek_what?17:58
rek_the processor is arm11 samsung 667mhz what coul i install?17:59
Martynogra : Will do.17:59
Martynrek_ : Anything you want17:59
rek_lol :-) what?17:59
rek_i think only some distro for pda17:59
Martynanything you want.  If it's in the armel software pools, you can aptitude install <xxx> whatever you want17:59
Martynthe thing runs ubuntu perfectly.18:00
rek_what's armel ?18:00
Martynrek_ : *groan*  Sir, you need to do a lot more reading please.18:00
rek_i know but could u tell me?18:00
rek_arm is armel?18:01
Martynrek_ : You have a rather large gap in your knowledge, and this is mostly a developer-related channel as opposed to a user-install channel.18:01
rek_user-install chan lol :-)18:01
ograthere are different flavours of ARM CPU ... google for the difference between big endian and little endian :)18:01
rek_i'm sorry...18:01
Martynnot that I want to put you off, please understand, but I don't want to spend a great deal of time educating :)18:01
ograarmel means the packages are built for ARM with little endian18:01
ogra(arm-endian-little = armel)18:02
rek_i like to being teached if it's correct18:02
rek_little endian?18:03
ograhttp://en.wikipedia.org/wiki/Endianness18:03
Martynrek_ : wikipedia is your friend18:03
rek_i'd like to buy also the axim x30 ... but i want linux there thx fr da link18:04
rek_but i know the port is not completed18:05
* ogra calls it a day (late here)18:06
rek_what do you call?18:06
ograrek_, it means "gooybye, i'm off for today"18:07
rek_really?18:07
rek_means u ar tired ?18:07
ograyes, i'm working since 11h18:08
rek_working on ?18:08
ograubuntu ...18:08
rek_can i find a iso image of arm ubuntu?18:08
* ogra is really gone now, before the shops close18:08
rek_really are u a developer?18:08
rek_ah what's the time ?18:08
Martynrek : he's in Germany18:09
Martyni'm in the US (texas)18:09
rek_19.09 here18:09
Martynpeople are spread around18:09
Martyn12:09 here18:09
Martynrek : I too am going offline for a bit, for lunch18:09
Martynand yes, ogra's an ubuntu developer18:09
rek_it's my fault maybe18:09
Martynso are lool, amitk, ncommander, armin76 .. etc..18:09
rek_congratulation ogra18:09
MartynI'm a linux kernel developer, and work in the x86 and ARM tree18:10
rek_i'd like to ask a lot of things but....18:10
rek_good18:10
rek_how old are u?18:10
Martynnot associated with any particular distro, but more Debian/Ubuntu of late because the company I'm with has connections to Canonical18:10
MartynNow that's a bit of a personal question, don't you think?18:10
Martyni'm in my late 30's18:11
rek_canonical? yes i think so...18:11
MartynAnd it's not a question relevant to ubuntu development.18:11
rek_i'm 19-2018:11
MartynVery good.   Well, please pardon me .. but I do have to go as well.  Lunch awaits.18:11
rek_yes because... it's smthg difficult so you cannot be there at an early age ain't it ?18:11
rek_ok have a nice dinne18:12
rek_r18:12
loolMartyn: bon appétit18:12
loolMartyn: Re: the rebuild tool: you might have seen some efforts in building a good qemu setup; that's part of this project18:13
rek_buon appetito18:13
Martynlool : awesome18:13
loolI'm almost done with that part, I'd like to rebase on a .30 and use highmem18:13
armin76rofl18:17
armin76Martyn: i'm not, i'm a gentoo one18:17
rek_what sould i do to install zydas zd1211 on damn small ?18:18
NCommanderAnyone got any idea what this does or why it might be necessary? http://paste.ubuntu.com/201603/19:12
NCommander(from thunderbird 3.0 source, no comment explaining it)19:12
Martynre19:28
rek_ciao19:29
rek_hello19:30
Martynre19:34
MartynBack from lunch19:34
Martynarmin76 : Pardon me :)  I even _knew_ you were into gentoo...19:34
MartynSlipped my mind :)19:34

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