== Dev Week -- Something about ARM -- ogra -- Tue, Aug 28th, 2012 == {{{#!irc [17:01] yay [17:01] * ogra_ waves [17:01] hello everybody [17:02] soo, i'm here to tell something about arm :) [17:02] arm is the most recent addition to the supported arhitectures in ubuntu [17:02] (sorry for my typos i just got a new kbd and am not 100% used to it yet, feel free to laugh about them as you like ;) ) === someone is now known as Guest98978 [17:03] so about 4 years ago there was the ubuntu-mobile team ... originally founded for building ubuntu on MID devices [17:03] (MID means mobile internet devices, i.e. tablet) [17:04] but somehow these devices didnt take off on the market ... (until the ipad came) [17:04] so the focus of this group moved forward to support ARM [17:05] with jaunty we actually had our first arm release ... back then for the freescale babbage board, a poorly powered 700MHz single core machine with 512M ram [17:06] back then the fcus was still on just getting it to work, we didnt invest much but pulled the debian arm port into ubuntu and made sure everything builds [17:07] with the more powerful devices showing up (specifically the pandaboard from TI) and ARM getting intrested in ubuntu and joining a partnership with canonical, the focus shifted towards optimizing for the new CPU architectures [17:07] so we can get the most out of the HW [17:07] originally the debian port is buiolt for the ARMv5 architecture, which in the intel world would probably comparable to 486 [17:08] we now wanted to have all the bells and whitles and after some work with the people from ARM we decided to switch to the ARMv7 architecture ... which in the intel world you would see as 686 [17:09] so from lucid on you could opnly isntall on armv7 HW ... [17:09] with the lucid cycle we also joined a deep partnershipü with TI to develop on the pandaboard [17:10] even though the contract ran out today, we still work closely together [17:10] around the same time linaro was founded by canonical and arm ... to actually solve the huge fragmentation in the arm market [17:11] most pf the low level work (kernel, toolchain, drivers etc) moved over to linaro and the ubuntu team could concentrate on making ubuntu doesktop rock on the architecture [17:11] this we did until precisee ... [17:12] during this time the canonical management saw how well arm worked and wanted to try to get arm out of its second class citizen status [17:13] i.e. until then there was always this arm team you coudl dump your bugs on as a member of another ubuntu team ;) [17:13] so the arm team was split up and spread across the different other teams, more hardware was bought and now every team should have pandaboards for developemtn and testing [17:14] with this split and nobody actively focusing on arm the developemtn side already works pretty well... [17:14] but we are still lacking QA from the community ... so if you have a panda, feel free to help out ;) [17:14] .... so much about the past ... [17:15] btw, if you have any questions, feel free to just ask ... [17:15] oh, i just learned that i have to driver the classbot myself :) [17:15] !q [17:16] !y [17:17] whoops, seems tehere are issues with Classbot === ogra_ is now known as ogra [17:18] prashanth asked: heard that if you get the source code using "apt-get source " is old compared to ones posted in git is it true? [17:18] yay [17:18] sorry :) [17:18] that looks like a leftover from dholbach :) [17:19] netzvieh asked: So there won't be any ARMv6-Supoort? [17:19] well [17:20] we currently build armhf and armel architectures, while the former is still there it isnt actually actively cared for or actively supported [17:20] but with the begin of the quantal cycle armel was switched to build for ARMv5 [17:20] sadly it isnt clear yet if the armel port will stay around at all [17:21] so for now onl yarmhf and the ARMv7 build is supported [17:21] FlowRiser asked: What does the "intel world" reference thingy mean ? [17:21] well, i try to make people that never got in touch with arm understand the differences [17:22] you surely dont want to run ubuntu on a 486 machine nowadays :) [17:22] and this is similar to running ubuntu on an ARMv5 system [17:23] FlowRiser asked: Does Ubuntu support ARMv8 ? [17:23] linaro works on the v8 port and their achievements will immediately land in ubuntu once they are done [17:23] Letozaf__ asked: I do not understand the difference between armhf and armel a part that one goes on ARMv5 and the other ARMv7. What is the diffrence? [17:24] CPUs have floating point units (thats what the f in armhf stands for) ... [17:25] older ARM ports used a software emulated floating point unitt (softfp) [17:25] so does for example ARMv5 [17:26] with newer hardware actual floating point unity in hardware shoed up [17:26] *showed [17:26] thats usually the case for ARMv6 and newer [17:27] with the decision to make use of this floating point unit the whole archive has to be recompiled for this, hardfloat binaries can not run under a softfloat userspace (binary incompatible), so a new architecture was introduced in debian for this ... called armhf [17:28] thats why we currently have two arm ports (but only one supported one of which we build actual distro images) [17:28] ajitesh asked: As android kernel code has been merged with linux, will ubuntu desktops will be able to run .apk files without an emulator? [17:29] i dont think that enough code has been merged upstream yet to do this, once the mainline kernel fully supports this out of the box we will likely see such support in ubuntu arm [17:29] on the distro side nobody is actively working on it to my knowledge though (patches accepted indeed :) ) [17:30] ajitesh asked: Wat about android application support in ubuntu for mobiles? [17:30] well, the same applies i think :) [17:30] i know there are community projects for this but i doubt anyone ever worked on ubuntu integration for it [17:31] the probelm i think is that you still need to (from a linux distro perspective) rip open a few security holes in your kernel to make it work properly [17:31] marcosb asked: ubuntu mobile isn't a environment to use ubuntu as desktop with a dock? [17:32] no, ubuntu-mobile is long dead ... even predates the android hype :) [17:32] ubuntu-mobile was actually focusing on creating a desktop for touch on MID devices [17:33] i think what you are talking about is ubuntu-on-android [17:33] about which i sadly dont have any infos, it is developed by a different team i dont work much with [17:33] marcosb asked: s/'ubuntu mobile'/'ubuntu for smartphones'/g [17:34] right, thats ubuntu-for-android then [17:34] to my knowledge this is a full yubuntu desktop you run once you dock your phone to a tablet of laptop dock ... but there isnt much more i can tell you abut [17:35] i dont belive you will see it in the mainline ubuntu distro, it is rather something that (by design) has to be built together with a HW vendor [17:35] so we had the past of arm and a bunch of questions ... lets take a look at the precence :) [17:36] up to quantal ubuntu arm was proivided on images that were actually speficially focusing on the target hardware with their installation ... [17:37] they were so special that they always needed handholding if minor HW aspewcts of an arm board changed ... not so great as you can imagine [17:38] so with quantal we dropped all these specialized images, if you install on a panda today tah install is 100% identical to an install on an x86 machine ... you wont see a difference ... [17:38] (and in fact there isnt any beyond a different kernel and bootloader setup) [17:39] we also dropped a lot of the heavyweight images and only kept desktop for panda (i'll explain later why), a bunch of server images (ubuntu server was introdusced in precise for various target arches) and the netinstall images [17:40] the graphics driver situation on arm is way worse than i.e. nvidia or fglrx on x86 [17:40] luckily TI managed to get us a distributable version of the driver for the pandaboard [17:41] with the drop of unity-2d and the full switch to needing GL capable HW on the target devices, we cant really build images for arm without having a GL capable driver installed [17:43] so we moved all non panda images to other desktops (i.e. for teh ac100 netbook which is widely used in the ubuntu community we switched to lubuntu-desktop) or left them as netinst images (whcih mens more complex install but also more flexibility) [17:43] the different sources for info about the different images are on the ubuntu wiki [17:44] namely: https://wiki.ubuntu.com/ARM/OMAP for the panda and beagleboard ... https://wiki.ubuntu.com/ARM/TEGRA/AC100 for ac100 netbooks and http://ports.ubuntu.com/ubuntu-ports/dists/quantal/main/installer-armhf/current/images/ for all the netboot images [17:45] even though there is no dedicated arm team anymore, all people with interest in ubuntu-arm usually hang around in #ubuntu-arm on freenode [17:45] so inb case you have any questions, want to help out with install tests, have an arm device you want to port ubuntu to (if its not the raspberry :)) or are just curious, feel free to drop by there [17:46] it doesnt look like there are many more questions [17:46] and i dont really have much more to say :) === itnet7_ is now known as itnet7 [17:48] ♩ ♪ ♬ ♫ [17:48] (TheLordOfTime suggested i shoudl sing ) [17:49] FlowRiser asked: ARM vs x86; [17:49] easy answer: http://www.googlefight.com/index.php?lang=en_GB&word1=arm&word2=x86 [17:50] TheLordOfTime asked: What's the advantages/disadvantages between ARM and x86? (FlowRiser) [17:50] ARM draws abouth a thenth of the power of an x86 machine [17:50] (even the lowest end atom draws lots and lots more still) [17:50] There are 10 minutes remaining in the current session. [17:51] that also the reason why datacentres are massively intrested in arm, you can run a big datacenter without any air conditioning if you run it on arm machines [17:52] the ac100 netbook i mentioned above currently runs >8h with a 3 cell battery under ubuntu (note normal intel laptops usually have 6-9 cell ones) [17:52] goddard asked: what sorts of stuff do you do with ARM? [17:53] for ubuntu i just care that the images work :) [17:53] privately my heatinf and solar system of my house completely run under ubuntu arm driver beagleboards :) [17:53] http://www.grawert.net:81/ [17:53] and http://www.grawert.net:81/rooms [17:54] paulo_gomes asked: i dont understand, so there's no arm team, who takes care of development and integration? [17:54] everybody ! [17:54] the desktop team takes care for all desktop issues on x86, amd64 and arm ... server for all server issues, foundations for the plumbing etc etc [17:55] the work and responsibility is actually on all teams, not on a single arm team anymore [17:55] There are 5 minutes remaining in the current session. [17:55] goddard asked: What sorts of work does orgra personally do ? [17:56] well, taking care for the arm images, helping colleagues to get their arm systems set up, so they can fix unizty bugs etc ;) [17:56] FlowRiser asked: How can we find arm compatible hw, what do we look for ? [17:56] if you want the best ubuntu support, go to pandaboard.org [17:56] paulo_gomes asked: any links of use of ARM in home automation? [17:57] i think i linked the stuff i used from the pages above (on grawert,net) [17:57] there are also some infos on http://ograblog.wordpress.com/, i usually blog about changes to my home automation thingies :) [17:58] (and usually also link to the SW i use) [17:58] k, seems the time is up, thanks for participating everyone ! [17:58] Thanks to you too, ogra, that was an informative session [17:59] if you have any more questions etc, i'm available in #ubuntu-arm around european business hours usually [17:59] and many thanks to the organizers of this event, you guys do an awesome job ! }}}