/srv/irclogs.ubuntu.com/2008/12/26/#ubuntu-mobile.txt

snookie_Anyone tell me how to checkout the ubuntu mobile source code using bzr?  What's the latest branch that's stable and I can compile?03:09
persiaThe source isn't organised like that.03:12
persiaEach of the Ubuntu Mobile flavours (MID, UMPC) is a collection of packages from Ubuntu.03:12
persiaEach package in Ubuntu is managed separately: some are in bzr, but the majority are not.03:13
snookie_really?03:13
persiaOr rather, the majority are, but aren't managed that way: they've been imported.03:13
persiaYes.03:13
snookie_so I'm interested in cross compiling the file system for another processor, how in the heck do I go about getting the source for the filesystem (known to compile)03:14
persiaWhich processor?03:14
snookie_coldfire03:14
snookie_it's a freescale processor03:14
persiaThat's m68k, right?03:14
snookie_yeah03:14
persiaWell, you'd need to bootstrap it.03:15
persiaI'd recommend starting with Debian m68k, and recompiling the Ubuntu base packages first.03:15
snookie_well, bootstrapping is step two03:15
snookie_I need the filesystem first03:15
persiaNCommander, What's your thought on trying to port Ubuntu to m68k?  How long might it take?03:15
persiasnookie_, Right.  It doesn't exist.  Like I said, you'd want to start with Debian m68k.03:16
snookie_but that's easy, freescale has a one click solution, they have their sources and compiler and a beautiful set of menuconfigs03:16
snookie_compiling their standard debian distro is easy03:17
snookie_I want to use the kernel I get from them with the ubuntu mobile filesystem, or maybe it's harder than that....03:17
persiaHrm?  "their standard debian distro"?  How does this differ from Debian itself?03:17
snookie_I don't know if it does, it's just a source tree included on their site that's known to compile03:18
persiaAh.03:18
persiaWell, I'd say it's both easier and harder than you think.03:19
snookie_what are you thinking?03:19
persiaDebian already has a userspace that works on m68k, with mostly the same packages as those used in Ubuntu (something like 85% of the packages are identical).03:19
persiaSo, you should be able to get a Debian system up with a minimum of fuss.03:20
persiaIf you install the same selection of packages as for one of the Ubuntu Mobile flavours, you'll end up with a fairly similar system, probably nearly sufficient for hacking about.03:20
persiaYou might want to recompile a few Ubuntu packages against this, but probably not too many.03:21
snookie_a few ubuntu packages?03:21
snookie_not sure I follow03:21
persiaOn the other hand, if you want to have a proper Ubuntu for m68k, you'll have to recompile everything: you'd start with the toolchain, getting the Ubuntu toolchain compiled (from under Debian is probably the easiest way to do this), and then use those packages in a chroot to compile the rest of things.03:22
snookie_why can't I use the freescale toolchain?03:22
persiaOK.  85% or so of the packages in Debian and Ubuntu are identical.03:22
persiaSo, if you build a collection of packages for personal use, there's a good chance that you don't need to recompile much to handle patches you want.03:23
persiaThat's why I say "a few".03:23
persiaWell, you could use the freescale toolchain, but the result wouldn't really be either Debian or Ubuntu.03:23
persiaAlso, if you use the freescale toolchain, you would probably want to recompile everything, which would take a very long time.03:24
persiaPersonally, I don't think it's worth that much time unless you're going for a full port, in which case, you'd want to use the Ubuntu toolchain.03:24
persiaAlso, as those machines aren't known for fast compiles, I'd think you'd do a lot better starting from Debian, where everything is already compiled for m68k.03:25
snookie_but I'd have to recomplie the ubuntu toolchain for the freescale processor no?03:25
persiaLet's step back.  What's your ultimate goal?03:25
snookie_The ultimate goal is to benefit from all this being done on ubuntu mobile for the touch screen/mobile X/ etc03:26
snookie_but I don't want to go about starting my own distribution 03:26
persiaOK.  So you have some device, and you want to run Ubuntu on it for the touchscreen stuff.03:27
persiaWhat's the specs on the device, roughly?  Memory, resolution, etc.?03:27
snookie_yeah, but all the other work they are doing is great too03:27
snookie_64 Megs of DDR2 03:28
snookie_resolution tbd03:28
persiaI'll suggest going for a minimum resolution of 800x600, as anything less starts cutting off widgets in Ubuntu.03:28
snookie_okay03:29
snookie_Can you hold on two seconds, I'm being kicked out, gotta run to another room03:29
snookie_I'll probably lose internet03:29
persiaThere are some people who run as low as 640x480, but that gets fairly small.03:29
snookie_I really appreciate your help03:29
persiaOK.  I'll wait.03:29
snookie_okay back03:32
snookie_thanks for waiting03:32
snookie_I can't imagine doing something smaller than 800x60003:32
persiaNo problem, especially that short.03:32
persiaYeah: some people like the low resolution, I'm not sure why.  There's 800x600 0.35" screens available, which is more DPI than most people want, but still lots of people talk about lower resolution.03:33
persiaAlso, 64MB RAM is extremely low for a full Ubuntu installation.03:34
persiaGenerally, 128 is considered minimum, 192 still low, and 256 a base beneath which it's hard to run.  That said, I know of several people who run with 64, and at least one who runs with 36, so it's possible.03:34
persiaNext, do you have proper X drivers for the display, or is it a framebuffer?03:35
snookie_but isn't mobile-ubuntu better optimized for lower end processors?03:35
snookie_the freescale is only 200Mhz03:35
persiaNot really.03:35
snookie_So what's the ARM this is targeted for?03:35
persiaWell, the hildon environment has some tricks to work better with low resources, but it's still fairly hungry.03:35
persiaUbuntu as a whole is being ported to ARM, with a minimum of ARMv5t, but I would expect it to be slow.03:36
persiaSlowest ARM I've heard about anyone running Ubuntu on is a 416MHz XScale 26203:38
snookie_so you think I would be better off dropping this dream of a freescale processor and using an ARM03:38
snookie_200 is a lot slower than 40003:38
snookie_I just don't like how arm doesn't use real DDR203:38
persiaWell, processor clockspeeds can't really be compared between architectures well.03:39
snookie_yeah true03:39
persiaThat said, I'd recommend selecting x86, ppc, or ARM for your device, because Ubuntu is already ported to those architectures.03:40
snookie_Yeah, that's what I'm thinking03:40
persiaThat means you'd have very little compilation to do: mostly just installation, and maybe working with the kernel or toolchain a bit to make sure your device is well supported.03:40
persiaYou could also choose ia64, sparc, or hppa, but I don't know of any low-power chips for those architectures.03:41
snookie_Well, if anything, I'd use an arm03:42
snookie_the atom is very closed, it's hard to get a development board and the whole bios thing scares me, how do I get one without having to pay the ridiculous licensing fees03:43
persiaMakes sense: those are more widely available.03:43
persiaThe coreboot project supports the Intel Menlow platform, if you want a bios for the Atom.03:43
persiaAlso, there's some interesting stuff being done with PowerQUICC03:44
snookie_as far as what?03:44
persiaIn terms of low-power (watt) processors for various applications.03:45
persiaAnyway, as long as you don't have a dev board yet, there's lots of options.03:46
persiaI was afraid you already had the Coldfire dev board, and were looking to install Ubuntu.03:46
snookie_no03:46
snookie_my buddy is really pushing coldfire, and I just think it's a dead end03:46
snookie_thank god03:47
snookie_I have a good reason to fight back03:47
snookie_= P03:48
persiaColdfire is fairly nifty, just not supported by Ubuntu.03:48
snookie_yeah03:49
persiaPart of that is the immense effort seen in Debian to keep m68k up-to-date.  If you did want Coldfire, you'd really want to run Debian unless you were prepared to run a porting project.03:49
snookie_yeah I know what you mean03:49
snookie_the way they set it up, they are assuming you'd never use anything else03:50
persiaHrm?03:51
snookie_Anything being done at the moment for QUICC and ubuntu?03:51
snookie_I'm unfamiliar with it, I see it's PPC, but do they have it up and running on anything yet?03:51
snookie_I don't want to pick something that I'm going to have to dig myself out of to be on level playing ground...03:52
persiaI haven't heard of anything PowerQUICC specific: most of the PPC crowd seems to be focused on old Macs and the PS3.03:53
snookie_yeah03:53
persiaThat said, you'd really want to ask freescale if it works: it should.03:53
snookie_lol03:53
snookie_so how do I keep up with the arm port, I'd like to be involved, get a development board, report my progress, etc03:54
snookie_well, I'll have to talk to my buddy, but I'm nearly certain we'll start out with an arm03:55
persiaA lot of the discussion on the ARM port happens in #ubuntu-devel or on the ubuntu-devel@lists.ubuntu.com mailing list.03:55
persiaThere's also an #ubuntu-arm channel for arm-specific discussions.03:56
persiahttps://launchpad.net/ubuntu/jaunty/armel/+builds shows the current build status of the packages03:56
snookie_how about the source code, it's going to be the same deal isn't it03:57
persiaYep.03:57
persiaDo you run Ubuntu on any of your systems currently?03:58
snookie_but I imagine the packages have pre-built kernels and filesystems yes?03:58
snookie_yeah03:58
persiaNo, the packages are the same as for your Ubuntu system.03:58
persiaSo, if you want to look at e.g. teg, you'd look at the teg package, which is then compiled for each architecture.03:58
persiaYou can get the source with e.g. apt-get source teg.03:59
persiaIt's really the same Ubuntu system, just that you might install different packages on a handheld device than you might on a workstation or server.03:59
persiaSame with the kernel: it's the same source as builds the kernel for any other architecture.04:01
persiaThe filesystems are built from the installation of a base set of packages.04:01
snookie_oh I was confused, I think  I understand.  I'd need to find out what the base set of packages are for a basic filesystem, use a ubuntu install to download the source, and then cross compile them04:02
persiaIf you select a supported architecture, you don't need to cross-compile: everything should already be built.04:03
snookie_terribly sorry, I'm confused now, how do I start out?  How do I go about getting a kernel and file system (if possible) for a supported arm kernel?04:04
bizkuthttp://www.geloraworld.org/bizkut/3pcs.png04:05
persiaWe're really getting off-topic for here: let's continue in #ubuntu-arm.04:05
snookie_okay thanks persia04:06
NCommanderpersia, with 22 m68ks? Maybe six months to a year06:54
persiasnookie_, Based on that, I'm firmly recommending against the coldfire option :)06:55
snookie_rofl06:56
snookie_And that's probably for someone who wouldn't be doing this for the first time06:56
snookie_= P06:56
snookie_but that's just between you and me06:56
snookie_oh and the 36 other people in the chatroom06:57
persiaThat's why I asked someone who had worked on that sort of thing before: best to have the experts answer :)06:57
NCommanderpersia, wait, coldfire?06:58
NCommanderpersia, I thought you meant traditional m68k06:58
NCommanderColdfire probably could be done at half the speed of ARM since we can't leverage the existing Debian port06:58
persiaWe can't?  Why not?06:59
NCommanderpersia, coldfire and m68k use different instruction sets07:01
NCommanderdifferent op codes, and coldfire doesn't have FPU on most of their boards07:01
persiaI thought that was solved last year, and that the m68k binaries worked for both coldfire and regular m68k.  Sorry for my confusion.07:02
snookie_but why can't you leverage the existing debian port for ARM?07:03
persiaIt was leveraged.07:03
persiaOh, I see.  The plan was identified last year, but m68k glibc still emits opcodes that confuse coldfires.  Indeed.07:05
* NCommander would like to see a MIPS port before ColdFire07:06
NCommanderMostly because MIPS netbooks actually exist07:06
persiaheh07:06
* StevenK mutters about doorstops07:06
* StevenK hides07:06
* persia doesn't have any coldfire hardware heavy enough to stop a door07:07
* NCommander doesn't either07:07
persiaNow, in traditional m68k, they built heavy stuff, but there's only a couple coldfire solutions (e.g. UPSs) that would actually hold the door open.07:08
persiaMind you, that leads to the argument that coldfire isn't a doorstop architecture because it's not even useful enough to hold a door open, but that's probably off topic (plus, I am very happy with my coldfire devices)07:08
* NCommander would like to see a LPIA Debian port ...07:09
* NCommander runs07:09
* StevenK kicks both NCommander and persia and mutters about metaphors07:09
NCommanderThe holiday spirit already left StevenK :-/07:10
persiaIt melts quickly at 26 degrees.07:10
StevenKIt had to be in me in the first place to leave07:10
* NCommander tries to picture StevenK happy and smiling ...07:12
NCommanderNope, nothing07:13
StevenKOh, come on, I think I smiled once at UDS07:13
persiaI saw that.07:13
StevenKBut happy? No.07:13
NCommanderStevenK, you smiled at people's misery07:14
NCommandersuch as my own07:14
StevenKYes.07:14
NCommander-_-;;;07:15
HobbseeNCommander: i'm fairly sure he also smiled when you kept falling off your chair.07:16
StevenKBwaha07:16
Hobbseeand was also happy :P07:16
=== crevette__ is now known as crevette
kingCan someone comment on this?18:25
kingThis version of the Ubuntu Desktop operating system will target the ARMv7 architecture including ARM Cortex-A8 and Cortex-A9 processor-based systems.  Canonical’s support of a full ARM distribution will strengthen the ARM Linux ecosystem and widen the opportunity to leverage ARM technology into fast-growing markets. 18:25
kingDoes ubuntu MID run on Openmoko Freerunner, an older ARM based handset?18:26
NCommanderkirma, no, it won't work. OpenMoko's ARM chipset is too old19:06
NCommanderer, king19:06
NCommanderoh, missed him19:07

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