maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   Nokia is porting Ubuntu to ARM (https://talk.maemo.org/showthread.php?t=19282)

neatojones 2008-11-03 23:21

Re: Nokia is porting Ubuntu to ARM
 
http://dev.openbossa.org/mamona/0.2/....10-r3_arm.deb

here's the libcups2 package in the mamona repo

qole 2008-11-03 23:40

Re: Nokia is porting Ubuntu to ARM
 
I was finally able to shut up the locale difficulties by doing the following as root (substitute en_GB for whatever your LC_MESSAGES is set to in the error messages):

Code:

locale-gen en_GB

allnameswereout 2008-11-03 23:40

Re: Nokia is porting Ubuntu to ARM
 
Quote:

Originally Posted by qole (Post 239130)
...and multiverse! (as per this page)




Maybe they expect us to do that for some of the ubuntu packages, too, hence all the deb-src lines.

Good you got these.

Have you tried apt-get build-dep <package>?

Scratchbox tries to auto-resolve dependancies. Its great, until it doesn't work. Then I use apt-get -b source <package> or the previously mentioned command.

The ARM problem you described earlier is a serious concern. If you take NetBSD they don't have an ARM port they have several ARM ports for specific ARM architectures. Hence, you'd run a different port on your Acorn Archimedes than on your XScale or your OMAP2.

qole 2008-11-03 23:48

Re: Nokia is porting Ubuntu to ARM
 
VERY interesting. Apt-get is working now that I've added all of the deb-src lines (I added them after I rebuilt the debootstrap)...

qole 2008-11-04 00:20

Re: Nokia is porting Ubuntu to ARM
 
Hey, real Firefox!

http://farm4.static.flickr.com/3218/...b64faa70_o.png

Problem so far: No libgtkstylus package! tap-and-hold right-click won't work!

Not in Mamona either! Wow.

EDIT: I copied /usr/lib/gtk-2.0/2.10.0/modules/libgtkstylus.so from my Debian partition into my Ubuntu partition; I have tap-and-hold right-click now.

EDIT2: Maybe it's my imagination, but everything does seem faster in Ubuntu than in Debian... could compiling to a newer version of Arm make that big a difference? Or is it placebo?

qole 2008-11-04 01:08

Re: Nokia is porting Ubuntu to ARM
 
Hee hee... Do you like my moblin.org Mobile Internet Device?

http://farm4.static.flickr.com/3017/...db071855_o.png

apt-get install midbrowser

allnameswereout 2008-11-04 01:23

Re: Nokia is porting Ubuntu to ARM
 
Br3w3r! If you make Tux his eyes a bit bigger it looks truelly like a device from Outer Space. :)

neatojones 2008-11-04 02:16

Re: Nokia is porting Ubuntu to ARM
 
Quote:

Originally Posted by qole (Post 239081)
Me again: Just in case someone else is trying this, here's what I did. Maybe someone can help me go the next step...

1. From within my Debian partition, se the procedure outlined in "Preparing" on this page, but with this package as the source for the right script, and only copying the "hasty" scripts.

2. Run the following from within my Debian partition:
Code:

mount -t ext2 /dev/mmcblk0p4 /opt -o noatime
debootstrap --arch=arm hasty /opt http://repository.handhelds.org/hasty-armv6el-vfp/

After that's done, we've got a working root fs. But there are problems, as detailed above...

Which ones are "hasty" scripts? I'm looking in /usr/share/debootstrap/scripts but, I'm not sure which ones to cp to /usr/lib/debootstrap/scripts/
Thanks-
Edit: I just copied all of them from that directory. Now, my problem is that when I try to run the debootstrap command I get the error: Permission denied (yes, I'm running as root)

b-man 2008-11-04 03:47

Re: Nokia is porting Ubuntu to ARM
 
Did you check to make shure all of the scrpts in that directory have executeible permissions?
That might be the problem...

meizirkki 2008-11-04 06:02

Re: Nokia is porting Ubuntu to ARM
 
The debootstrap package in hasty pool, gave me stcripts for hasty, grumpy, and frisky.

I believe that it can be a lot faster than debian, because debian armel is for armv4 (correct me if i am wrong)

Got another problem, Xephyr does not start:

_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/i-know-you-are-watching-me:1
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
error opening security policy file /etc/X11/xserver/SecurityPolicy
sh: /usr/bin/xkbcomp: No such file or directory
sh: /usr/bin/xkbcomp: No such file or directory
Could not init font path element /usr/share/fonts/X11/misc, removing from list!
Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list!
Could not init font path element /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType, removing from list!

Fatal server error:
could not open default font 'fixed'

Bootable ubuntu would be as fast as maemo (i dont know i just guess)
But how can i get those nokias restricted packages?
I tried to use "make repository" that appears in /usr/libexec/tablet-nonfree/ when you install tablet-hw-n8x0-nonfree, but i got unauthorized error... How does the deblet installer do it?

neatojones 2008-11-04 06:23

Re: Nokia is porting Ubuntu to ARM
 
Quote:

Originally Posted by meizirkki (Post 239201)
The debootstrap package in hasty pool, gave me stcripts for hasty, grumpy, and frisky.

Okay, well, that's what I was expecting, but I downloaded the linked script and I got breezy, dapper, hardy, gutsty, sid, woody, etc.

Hmmm. I'll go directly to their server, grab the package and try again.

meizirkki 2008-11-04 06:36

Re: Nokia is porting Ubuntu to ARM
 
[root@Debian: /]midbrowser

(midbrowser:1751): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Segmentation fault


Help! this is only one example. almost every app gives me Segmentation fault :(

qole 2008-11-04 06:53

Re: Nokia is porting Ubuntu to ARM
 
I just want to say that my overall feeling of mojo-ubuntu is one of disappointment. The number of available packages, compared to Debian, is tiny (no OpenOffice, and things like Gimp are older versions), and even the few unique packages don't install well. The most interesting package, moblin-media, can't install due to missing gstreamer plugins (bad and ugly). So far, the only package I've found that's remotely interesting to me is Firefox. It seems a bit more responsive than Iceweasel, and that might be because it is compiled for a newer version of the ARM instruction set.

So, overall, unless someone can give me a compelling reason to keep hammering away with this, I'm going back to good ol' Debian. It seems to have lots and lots of toys to keep me happy.

meizirkki 2008-11-04 08:01

Re: Nokia is porting Ubuntu to ARM
 
This would be good, because it is faster...

Is it possible to hack apt-get to accept armel repos and dpkg to use --force-architechture as a default option?

meizirkki 2008-11-04 08:45

Re: Nokia is porting Ubuntu to ARM
 
I got bored with this...

Ubuntu is really experimental and sometimes everything runs okay, sometimes i cannot install anything... they will soon release interpid ibex (don't know whay it will be called...) I will try it, but for now, debian is the best choise.

allnameswereout 2008-11-04 16:07

Re: Nokia is porting Ubuntu to ARM
 
Maybe you can recompile Firefox/Iceweasel (3.1?) as optimized build and pack this as .deb to achieve a better performance?

qole 2008-11-06 23:55

Re: Nokia is porting Ubuntu to ARM
 
Just installed the Ubuntu version of OpenGL on the tablet, and yes, I can confirm that Ubuntu apps run faster than Debian ones. GLX Gears, the famous OpenGL test program, gets only 9-12 fps under Debian, but a fairly steady 15.5 fps under Ubuntu.

qole 2008-11-07 08:24

Re: Nokia is porting Ubuntu to ARM
 
I know, I said I wasn't going to play with it anymore; I lied. I wanted to see if the extra bit of speed helped some of the games that Ubuntu has available...

Here is a tarball of the Mojo Ubuntu rootfs with Firefox installed (99 MB). It also has the basic stuff in place (GTK stylus support, HW key stuff like fullscreen and popup keyboard) to use it effectively with the Easy Debian package. No Flash support. I think it has the OpenGL stuff in it, I can't remember if I installed that stuff before or after I made the tarball. Anyway, you can find out by running "debbie glxgears" and see what happens.

To use this (with Easy Debian), you really need to make a partition, untar the filesystem into it, then point your ~/.chroot file at the Ubuntu partition.

Some silly game stuff:
  • Full Quake 2 is really nice looking (SDL software rendering, not GL). Runs fast!
  • Armagetron (uses OpenGL) is just barely playable at 4-5 fps. Somehow I find this game addicting, even at this speed...
  • Alien Arena (uses OpenGL) starts up, gets about 5fps at the menus, but won't finish loading a level.

Some tech details:
  • I don't have alsa set up. You'll have to do that yourself, or wait for a possible next-generation tarball that I might put up if people show some interest.
  • I've added all of the mojo distributions to the sources.list, because some stuff, like Quake2, was dropped from later versions of Ubuntu, but it is still there in the older distributions.
  • Enabling the mamona distribution can lead to some serious problems, because Ubuntu and Mamona seem to have slightly different package names in many cases, and that can lead to all sorts of conflicts in dependencies.
  • Enabling the Debian distribution is even worse. It downloads arm packages (instead of armel) no matter what you tell it the architecture is. One possibility here is to download just the missing packages from Debian armel and dpkg -i install them, using --force-architecture and --force-depends (because the Debian version numbers tend to be higher than the Ubuntu Hardy numbers). I tried this for the gstreamer0.10-plugins-bad package, but it is a long and arduous process, and I just ran out of steam before I got finished...

Browse the Ubuntu repositories and see if there's anything you'd like (me) to test out.

meizirkki 2008-11-07 09:58

Re: Nokia is porting Ubuntu to ARM
 
I said too i got bored, but i am so intrested in ubuntu mobile, that last 3 days i have been playing with it. It really is good UI for small devices like NITs. There are many missing packages that can simply be force installed from debian repos, like locales-all. It gives you all the locales.

Stskeeps 2008-11-07 10:08

Re: Nokia is porting Ubuntu to ARM
 
Johnx and I are slowly working on a proof of concept of Maemo Reconstructed (http://wiki.maemo.org/Maemo_Reconstructed - please keep the discussion to technical issues on the wiki, not high level goals such as open source everything in GPLv3 or "A2DP" and such, you can put those in this thread instead :P it's a system level discussion, not world domination discussion).. based on mojo for now to see if it's feasible to have a generic Maemo platform (with room for other things than Hildon.)

But if you do have a genuine clue about system architecture or comments about SDK and such, feel free to contribute.

Just wanted to let you know.

meizirkki 2008-11-07 15:14

Re: Nokia is porting Ubuntu to ARM
 
Thanks for the tarball qole!

Today i just debootstrapped and installed all the ubuntumobile packages via my schools fast internet. Then i came home and every single app says segmentation fault :( I have HORRIBLY slow internet connection here, so i hate to start all over again...

So, this time i am going to use your tarball instead of debootstrapping. :)

neatojones 2008-11-10 05:39

Re: Nokia is porting Ubuntu to ARM
 
Quote:

Originally Posted by qole (Post 240050)
I know, I said I wasn't going to play with it anymore; I lied. I wanted to see if the extra bit of speed helped some of the games that Ubuntu has available...

Here is a tarball of the Mojo Ubuntu rootfs with Firefox installed (99 MB). It also has the basic stuff in place (GTK stylus support, HW key stuff like fullscreen and popup keyboard) to use it effectively with the Easy Debian package. No Flash support. I think it has the OpenGL stuff in it, I can't remember if I installed that stuff before or after I made the tarball. Anyway, you can find out by running "debbie glxgears" and see what happens.

To use this (with Easy Debian), you really need to make a partition, untar the filesystem into it, then point your ~/.chroot file at the Ubuntu partition.

Some silly game stuff:
  • Full Quake 2 is really nice looking (SDL software rendering, not GL). Runs fast!
  • Armagetron (uses OpenGL) is just barely playable at 4-5 fps. Somehow I find this game addicting, even at this speed...
  • Alien Arena (uses OpenGL) starts up, gets about 5fps at the menus, but won't finish loading a level.

Some tech details:
  • I don't have alsa set up. You'll have to do that yourself, or wait for a possible next-generation tarball that I might put up if people show some interest.
  • I've added all of the mojo distributions to the sources.list, because some stuff, like Quake2, was dropped from later versions of Ubuntu, but it is still there in the older distributions.
  • Enabling the mamona distribution can lead to some serious problems, because Ubuntu and Mamona seem to have slightly different package names in many cases, and that can lead to all sorts of conflicts in dependencies.
  • Enabling the Debian distribution is even worse. It downloads arm packages (instead of armel) no matter what you tell it the architecture is. One possibility here is to download just the missing packages from Debian armel and dpkg -i install them, using --force-architecture and --force-depends (because the Debian version numbers tend to be higher than the Ubuntu Hardy numbers). I tried this for the gstreamer0.10-plugins-bad package, but it is a long and arduous process, and I just ran out of steam before I got finished...

Browse the Ubuntu repositories and see if there's anything you'd like (me) to test out.

Yeah, a few things I've noticed...
Tried the tar and couldn't chroot it due to an error complaining about there being no /bin/bash which obviously isn't true...so I'm not sure what happened there. I may try it again with a fresh install because I crapped out my deblet install somehow. Somehow, I keep running into crashes of the installer this time around, but haven't seen where it's going wrong because I just go back and the IT has rebooted a long while into the process.
Also, qole is right about the mamona problem with the repos. It appears to have some serious issues with using alternate names and causes problems with libc6.

I'll give it all another shot soon. This is just interesting stuff to mess with.

neatojones 2008-11-10 05:49

Re: Nokia is porting Ubuntu to ARM
 
Quote:

Originally Posted by Stskeeps (Post 240064)
Johnx and I are slowly working on a proof of concept of Maemo Reconstructed (http://wiki.maemo.org/Maemo_Reconstructed - please keep the discussion to technical issues on the wiki, not high level goals such as open source everything in GPLv3 or "A2DP" and such, you can put those in this thread instead :P it's a system level discussion, not world domination discussion).. based on mojo for now to see if it's feasible to have a generic Maemo platform (with room for other things than Hildon.)

But if you do have a genuine clue about system architecture or comments about SDK and such, feel free to contribute.

Just wanted to let you know.

I took a look at that project. Looks good. Maybe I'll get a chance to hit up the IRC sometime.

By, the way, the webpage here states that armv5 is being used because armv6 isn't complete yet. I was under the impression from the webpage that armv6 is now complete. Will this change anything?

Stskeeps 2008-11-10 11:28

Re: Nokia is porting Ubuntu to ARM
 
We also keep a Jaiku channel noting progress/new packages/images etc and such at http://jaiku.com/channel/reconstructedPOC , (if you need a jaiku invite, send me a private message)

qole 2008-11-10 17:48

Re: Nokia is porting Ubuntu to ARM
 
I'm still trying to find Thunderbird (or something like it) for the tablets.

Seamonkey Mail looks and feels a lot like Thunderbird, because they share most of their code.

I tried setting up "Iceape" under Debian, but it kept segfaulting, and I finally gave up.

I tried setting Seamonkey up under Ubuntu, and it sorta works, but it is extremely "fragile" ... It seems like you have to close and open it every time you make a configuration change, and I've yet to actually read a message; when I click on a message in the top pane, the app closes without any errors (not even a segfault message).

So still no Mozilla-based e-mail...

Bundyo 2008-11-10 18:21

Re: Nokia is porting Ubuntu to ARM
 
http://www.spicebird.com/

qole 2008-11-10 18:40

Re: Nokia is porting Ubuntu to ARM
 
Not sure what the point of that link was... Just checked, it isn't in the Ubuntu (nor Debian) repositories.

Perhaps you are taunting me with all the choice available to the x86 architecture?

Are you offering to build us a hildonized port? ;)

allnameswereout 2008-11-10 21:27

Re: Nokia is porting Ubuntu to ARM
 
Spicebird is neat, but in still in heavy development. Have you ported it to Maemo? Maybe mention it as suggestion on the PIM thread @ Maemo Wiki.

nuttttz 2008-11-11 00:20

Re: Nokia is porting Ubuntu to ARM
 
Is it not possible to install Ubuntu, (or Debian or Android) natively on the N810 rather than in a chroot environment?

qole 2008-11-11 00:23

Re: Nokia is porting Ubuntu to ARM
 
Quote:

Originally Posted by nuttttz (Post 240934)
Is it not possible to install ... Debian ... natively on the N810 rather than in a chroot environment?


http://bsd.tspre.org/~stskeeps/deblet_no_swirl.jpg

neatojones 2008-11-11 01:51

Re: Nokia is porting Ubuntu to ARM
 
Stskeeps,
I couldn't get the Maemo-R image on Jaiku to boot on my device. Not sure what the problem is though. The bootloader spits out all of that info from linuxrc,but then stalls.

I'm using an n810 with the OS on my internal (deblet is using my external card).

Anyone have any ideas?

neatojones 2008-11-11 02:14

Re: Nokia is porting Ubuntu to ARM
 
Also, for what its worth: I debootstraped mojo using deblet and it ran smoothly in chroot without any locale issues, etc.

Bundyo 2008-11-11 06:18

Re: Nokia is porting Ubuntu to ARM
 
@qole & allnameswereout: No, i didn't port it, just qole mentioned he was running out of Thunderbird-like options :)

Stskeeps 2008-11-11 06:38

Re: Nokia is porting Ubuntu to ARM
 
Quote:

Originally Posted by neatojones (Post 240943)
Stskeeps,
I couldn't get the Maemo-R image on Jaiku to boot on my device. Not sure what the problem is though. The bootloader spits out all of that info from linuxrc,but then stalls.

I'm using an n810 with the OS on my internal (deblet is using my external card).

Anyone have any ideas?

Oh, forgot - splash doesn't work on m-r just yet (it doesn't actually stall), so hold down the home button when you're booting it (after you've selected it and pressed enter) and select console mode / usbnet etc in the rescue menu, then console comes up

neatojones 2008-11-12 18:08

Re: Nokia is porting Ubuntu to ARM
 
Quote:

Originally Posted by Stskeeps (Post 240994)
Oh, forgot - splash doesn't work on m-r just yet (it doesn't actually stall), so hold down the home button when you're booting it (after you've selected it and pressed enter) and select console mode / usbnet etc in the rescue menu, then console comes up

Oh...that would make sense.

meizirkki 2008-11-26 09:38

Re: Nokia is porting Ubuntu to ARM
 
Qole, the offical ubuntu port seems to have most up-to-date versions of openoffice.org, firefox, gimp, etc...

qole 2008-11-26 17:16

Re: Nokia is porting Ubuntu to ARM
 
Hey, meizirkki! That's good news! Can you give me directions to their web page and repositories?

mtron 2008-11-26 17:27

Re: Nokia is porting Ubuntu to ARM
 
the jaunty armel builds are not complete yet, so there might be many packages missing...

You can view the completed builds at : https://code.launchpad.net/ubuntu/ja...ld_state=built

But i guess it's in an too early state to be useful right now.

qole 2008-11-26 17:32

Re: Nokia is porting Ubuntu to ARM
 
Someone give me the heads-up when there's a repository, and I'll bootstrap and post a rootfs for everyone to play around with.

meizirkki 2008-11-26 17:41

Re: Nokia is porting Ubuntu to ARM
 
debootstrap deb and the whole system is available at ports.ubuntu.com

The only desktop-environment available for now is ubuntu-desktop (basically gnome with gimp and open-office.) But many apps are already built, like Thunderbird, Firefox, openoffice, gimp, epiphany-webkit (witch i like) and of course all apps that are dependencies of ubuntu-desktop.

It is armv5el. It should be 10-20 % faster than debian (not sure). They will compile arnv6el and armv7 later, when they first get this built.


All times are GMT. The time now is 02:26.

vBulletin® Version 3.8.8