Ubuntu Jaunty for the N810/N800
2 Attachment(s)
Ubuntu 9.04 (Jaunty) for the Nokia Internet Tablets
Ubuntu-N8X0 screenshot gallery; http://www.bman.maemobox.org/project...s/gallery.html NOTICE: I am not responsible for what you do to your tablet, following theas insrtructions incorrectly might cause you to have to reflash your tablet. Also, keep in mind that it is recommended that you use swap if you chose to install ubuntu-desktop ;) First, i would like to thank the following people in helping with making this work. :) Johnx: for providing helpful advice in making the xserver and gdm for the ubuntu-desktop function properly. Stskeeps: for also providing helpful advice and for allowing me to use his mer/deblet packages for a sane bootable ubuntu install. neatojones: for the awsome E17 port and for getting wireless working :D - link to the instructions for e17 and wireless are provided for below. ------------------------------------------------ UPDATE: ver 2.1 Installing Ubuntu from a rootstrap image; (special thanks to Andrewfblack on #maemo for providing a host server for this :) ) I have made a pre-built rootfs for a fast, easy installation of ubuntu jaunty. This version includes a basic bootable system with xserver-xorg, deblet-rescue-menu, aptitude, synaptic and deselect. Just simply extract it to a partition, install a desktop env, and create a bootmenu item. (information provided in the second post) What's Fixed: * Image now uses deblet-rescue-menu (mer's version would not start) * No more xserver-xorg crashes * Xsessions is now fonctioning properly You can obtain the rootstrap from here Also, the default password for root is root and the default user password is user, eather of witch can be changed using passwd root or passwd user and it is highly recommended that you remove xserver-xorg-input-all and xserver-xorg-input-synaptics using apt mainly because there has ben some reported problems with xserver-xorg-input-synaptics overriding xserver-xorg-input-tslib's functionality causing the touch screen to stop working. :( And last, it is suggested that you add a newline to /etc/X11/xorg.conf, you can do this by pressing the enter buttun at the bottom of the file when you edit it - sorry :( ------------------------------------------------ New: E17 (enlightenment) v2 updated Instructions for installing E17 by neatojones are provided here :) ------------------------------------------------ Updated: wireless Instructions for setting up wireless are provided here -The next version of tablet-network-setup will include thease changes :) ------------------------------------------------ Ubuntu-rescue-menu, ubuntu-n8x0-repository, and nit-bootmenu-compat; This is a beta1 release of the new Ubuntu-rescue-menu, nit-bootmenu-compat, and Splash. Screenshots: http://www.bman.maemobox.org/project...escue-menu.jpg http://www.bman.maemobox.org/project...-fb-splash.jpg http://www.bman.maemobox.org/project...e-bootmenu.jpg To upgrade to ubuntu-omap-fb-splash, nit-bootmenu-compat 1.6ubuntu1, and ubuntu-rescue-menu, add the following to /etc/apt/sorces.list Code:
deb http://www.bman.maemobox.org/repository alpha contrib main non-free Code:
apt-get update To run the rescue menu simply press home+power for 5-7 seconds when booting. ------------------------------------------------ What works: *Dsme *Hal (partly) *Screen diming *Xserver-xorg *Simple compiz visual effects (in ubuntu-desktop) :D *Power management *Usbnet emergency talend *Powersave *Bluetooth *Right click *Wierless *keymapping (hw keys and virtual keyboard) :D What needs work: *Usplash (fails to start, perhaps our kernel doesn't support it?) *Sound (closed sorce components :( ) This installation prosess requires that you have the following installed on your system: *easyroot / rootsh / becomeroot *debootstrap *basic knowledge with the command prompt *e2fsprogs *2-4GB mmc - 4 GB+ if you are planning to install the ubuntu-desktop. *Bootmenu form deblet *binutils Step 1 ~ partitioning the memory card with sfdisk To do this we are going to type in the following in a terminal as root (i''m using a 4GB internal mmc with a 356mb fat16 partition and a 3.6GB for linux83 - our rootfs partition) Code:
umount /dev/mmcblk0p1 Step 2 ~ Formatting your newly created partitions As root, run the following in a terminal. This will format your first partition in vfat and your second partition in ext3 for Ubuntu. Code:
umount /dev/mmcblk0p1 Step 3 ~ Bootstraping the basic Ubuntu jaunty system First, we will create a target directory to bootstrap Ubuntu jaunty by doing the following as root: Code:
mkdir -p /mnt/jaunty Next, we will copy over a bootstrap script witch will allow us to properly bootstrap Ubuntu Jaunty. Download the bootstrap-script.tar.gz file, remove a symlink using rm -f /usr/share/debootstrap/scripts/jaunty, and extract your new script to your /usr/share/debootstrap/scripts directory as root. Then, we need to add md5sum to our /bin directory so debootstrap functions properly. Download the md5sum file and extract it to /bin as root. Next, we will mount our ubuntu partition to /mnt/jaunty and start the Ubuntu jaunty bootstrap prosess. (Keep in mind that this will likely take a while, so go watch some tv :) ) Code:
insmod /mnt/initfs/lib/modules/`uname -r`/mbcache.ko Code:
mount /proc /mnt/jaunty/proc First, we will need to give our base system the nessesary sorces so dpkg installs packages properly. You can do this by typing the following as root in a terminal; Code:
mount /dev /mnt/jaunty/dev |
Re: Ubuntu Jaunty for the N810/N800
1 Attachment(s)
(updated - ver.3.3)
Then, we will export LC_ALL=C so locales doesn't complain when we eventually start installing our base packages. Type the following in a terminal: Code:
chroot /mnt/jaunty Code:
passwd root Code:
#Ubuntu jaunty alpha Code:
touch /etc/apt/preferences Code:
Package: * Code:
wget http://packages.tspre.org/repo.key Code:
apt-get update Code:
apt-get -t alpha install cx3110x-module cx3110x-umac-module ke-recv-l10n-public kernel-diablo-modules-fbcon kernel-diablo mce-dummy nokia-n8x0-firmware nokia-tablets-pointercal omap-fb-console omap-fb-tools usbnet-emergency-telnetd utelnetd xresponse-visualize tablet-wireless xserver-xorg-video-omapfb synaptic aptitude console-tools Code:
apt-get remove xserver-xorg-input-all xserver-xorg-input-synaptics Do the following in a terminal as root (assuming you've downloaded it to /home/user/MyDocs) Code:
cp /home/user/MyDocs/boottime.kmap.gz /mnt/jaunty/etc/ Edit your /etc/X11/xorg.conf file to look like the following; Code:
# xorg.conf (X.Org X Window System server configuration file) Code:
#!/bin/sh -e Next, we will edit /etc/fstab for Ubuntu to properly boot. This example is based on my fstab setup, witch mounts my swap partition, mounts my internal flash to /mnt/rootfs, and mounts my external mmc to /media/mmc1 for extra user space. for now, the first line is only nessesary. Code:
rootfs / rootfs defaults,errors=remount-ro,noatime,nodiratime 0 1 Then, we will need to edit /etc/X11/Xwrapper.config so we have proper permissions for the console if the system needs repair. Edit it to look like the following: Code:
# Xwrapper.config (Debian X Window System server wrapper configuration file) Next, we will get the hardware clock working by adding the following vareables to /etc/init.d/hwclock.sh by doing the following; edit Code:
HWCLOCKPARS= Code:
HWCLOCKPARS="--directisa" Code:
echo 'HWCLOCKPARS=--directisa' >> /etc/default/rcS Code:
apt-get install insserv Code:
exit Step 5 ~ Installing the ubuntu desktop (optional) Congratulations!! You shuld now have a bootable, fairly functional, and productive Ubuntu Jaunty base system! :D This phase is pritty much optional, however if you like gnome as much as i do and have a mmc that has 4GB+ in free space and plenty more for swap, follow theas instructions. run the following in a terminal; keep in mind that this will take 2-3 hours depending on your connection. ;) Code:
apt-get install ubuntu-desktop matchbox-keyboard Code:
[daemon] Step 6 ~ activating swap (recomended for ubuntu-desktop) This is assental for ubuntu-desktop to run smothly/sainly. Do the following in a terminal as root; (assuming your swap partition is /dev/mmcblk1p3) Code:
mkswap /dev/mmcblk1p3 Code:
/dev/mmcblk1p3 swap swap defaults 0 0 Step 7 ~ creating a proper bootmenu item for Ubuntu. Making shure you have bootmenu installed, create a file called ubuntu.item in your /etc/bootmenu.d directory and apply the following information to the file; (assuming your ubuntu partition is /dev/mmcblk0p2) Code:
ITEM_NAME="Ubuntu on mmcblk0p2" Code:
refresh_bootmenu.d Btw, if anyone has questions or suggestions, fell free to tell me. I would really like some feedback :) http://www.bman.maemobox.org/project...reenshot-6.png |
Re: Ubuntu Jaunty for the N810/N800
i can confirm that Bluetooth works, but are you serious about compiz? does it really work?
Is the nm-applet working with gnome in jaunty? it did not work in hildon.. |
Re: Ubuntu Jaunty for the N810/N800
Yes, compiz does have (some) functionality, allthough they arn't true 3d effects, just little things like phase in/out and buttons expanding/fading.
as for the nm-applet, i haven't confermed that yet. |
Re: Ubuntu Jaunty for the N810/N800
added bootstrap-script.tar.gz to the second post :)
|
Re: Ubuntu Jaunty for the N810/N800
any way one could get this in 770?
|
Re: Ubuntu Jaunty for the N810/N800
I got sound working using the same steps we did for deblet.
It's just scratchy. Like having too much crap running when listening to music. |
Re: Ubuntu Jaunty for the N810/N800
Quote:
|
Re: Ubuntu Jaunty for the N810/N800
Quote:
|
Re: Ubuntu Jaunty for the N810/N800
hmm, my suggestion for this how to:
Add both Mer and deblet repos to sources.list, then just install needed packages with apt. Is there a good reason to not add these repos? |
Re: Ubuntu Jaunty for the N810/N800
If you add both repos to sorces.lst that will cause major package conflicts unfortunately :(
e.g. gnomevfs package from Mer would override gnomevfs packages from Ubuntu witch would make it allmost impossible to install a nother desktops other than hildon that depend on gnomevfs. it would also likely cause other unstability problems within the system since some applications depend on package versions that are spacific to the os. Also, dispite Ubuntu being based on Debian, ubuntu uses a slightly different filestructure than debian. e.g. gdm for debian won't work in ubuntu due to some spacific differences in LSB. Most of the deblet packages that i included don't have the following issues and that's why i'm including them in the install. |
Re: Ubuntu Jaunty for the N810/N800
Sounds like it would be a good idea to look into pinning the priority of certain packages or repos depending on what you want to accomplish. Pinning Ubuntu higher than Mer in this case seems reasonable: That way you'll get packages from Ubuntu, unless it doesn't exist in ubuntu, then you'll get it from Mer. try: man apt_preferences or google "apt pinning"
|
Re: Ubuntu Jaunty for the N810/N800
Thanks! :D, i'll definitely look into that :D
|
Re: Ubuntu Jaunty for the N810/N800
Quote:
But the FN key does not send a keycode at all.. I'm not sure if this a fault with the Keyboard mapping, xorg, or what... but you run xev and press FN and get nothing. Until I can get the FN key to send a keycode I won't be able to fix the xmodmap to work with Mer. But using CHR instead is functional, albeit a tad inconvenient. |
Re: Ubuntu Jaunty for the N810/N800
I updated the second post to include apt-pinning to make instaalling ubuntu a lot more simple/sane. ;)
|
Re: Ubuntu Jaunty for the N810/N800
PS: Alot of packages that appear missing in the ubuntu repos... if you add to /etc/apt/sources.list:
Code:
deb-src http://ports.ubuntu.com jaunty main restricted universe multiverse Code:
apt-get build-dep xchat ETA: Well ok.. Xchat doesn't work cuz some of the broken packages required by Mer.. (gnome/GTK packages)... but software that DOESN'T require certain gtk libs should work :D. |
Re: Ubuntu Jaunty for the N810/N800
why don't you just
apt-get install xchat-gnome? qwerty12 compiled xchat for mer, but i have no idea if it would work in gnome... I really hope that these problems with gnomevfs can be fixed someday... |
Re: Ubuntu Jaunty for the N810/N800
b-man: did you make some changes to the bootstrap script, or is it just the basic jaunty script?
|
Re: Ubuntu Jaunty for the N810/N800
I did changes to the bootstrap script, the one provided from debootstrap is just a symlink to gusty, witch doesn't seem to work properly with jaunty. Witch is why i provided a separate script for jaunty.
|
Re: Ubuntu Jaunty for the N810/N800
i have had no problem with Gutsy script
devenlopers @ #ubuntu-arm told me to use it once |
Re: Ubuntu Jaunty for the N810/N800
I guess it must have only been a problem on my side, because debootstrap kept failing for me while trying to use the default script. :(
|
Re: Ubuntu Jaunty for the N810/N800
Are you going to put up screen shots or pics of the n800? I would like to see this in action =D
|
Re: Ubuntu Jaunty for the N810/N800
I would if i was able to get the virtual-keyboard to work in Ubuntu :(, i'm still trying to hunt down what keeps crashing the desktop when ever i press a key with matchbox-keyboard/xkbd/xvkbd/ubuntu-virtual-keyboard. If anyone could help in fixing this problem, i would really, really appreciate it. :D
|
Re: Ubuntu Jaunty for the N810/N800
The keyboard issue is finally fixed and i've added a screenshot, take a look. :D
|
Re: Ubuntu Jaunty for the N810/N800
Just a couple things:
1.) Near the end of the 1st post, you say to chroot and then you start to mount /dev, etc. You either have to exit after the chroot or switch around the order of those commands (you can't mount /dev or /dev/pts, etc while you're in the Jaunty root). 2.) I'd include instructions to activate swap. I'm guessing this is something you've already done, otherwise I'm not sure how you got this to install without it...It's not essential for the bootstrap process, but gnome dependencies and especially the locales are gonna require a bit of RAM to avoid crashing. 3.) I see from your screenshot that you have composite shadows enabled. Is that slowing it down significantly or is it about as fast? |
Re: Ubuntu Jaunty for the N810/N800
Thanks for the tips and for pointing that error out :D, i'll update the guide sometime tonight or tomorrow. :)
Also, i havn't encountered any significant speed los in activating the composite manager. But that might verry depending on how much swap you use. I'm currently using 356mb of swap. UPDATE: applyed the changes ;) |
Re: Ubuntu Jaunty for the N810/N800
I only seem to be able to get the debootstrap to work from another debian (Deblet, ubuntu). It keeps stopping at the very beginning with this error in Maemo:
Nokia-N810-43-7:/mnt/jaunty# debootstrap --include="language-pack-en,language-pack-en-base,dmsetup,cryptsetup,hashalot,nano,sudo" --components=main,multiverse,universe,restricted --verbose --arch=armel jaunty /mnt/jaunty http://ports.ubuntu.com/ /usr/share/debootstrap/scripts/jaunty I: Retrieving Release I: Retrieving Packages I: Validating Packages W: http://ports.ubuntu.com/dists/jaunty...el/Packages.gz was corrupt I: Retrieving Packages E: Couldn't download dists/jaunty/main/binary-armel/Packages This happens both with the debootstrap package from launchpad jaunty and the jaunty file posted in the first post in Maemo. Both Deblet and Ubuntu debootstrap this just fine. Any ideas why Maemo would be choking like this? |
Re: Ubuntu Jaunty for the N810/N800
Quote:
binutils not installed |
Re: Ubuntu Jaunty for the N810/N800
Quote:
Also, I see no /bin/md5sum in my maemo install, but jaunty install doesn't have it either and it debootstraps fine. |
Re: Ubuntu Jaunty for the N810/N800
Quote:
|
Re: Ubuntu Jaunty for the N810/N800
Regarding the instructions: Looks like wget should be included for install in the original debootstrap since it is used to get the repo key. I had to install it just prior to getting the key.
and I had to #export LC_ALL=C to avoid errors with locales |
Re: Ubuntu Jaunty for the N810/N800
Thanks, i'll add that to the guide. :)
|
Re: Ubuntu Jaunty for the N810/N800
UPDATE: added md5sum and binutils to the guide to help fix debootstrap issue that some people have been reporting.
|
Re: Ubuntu Jaunty for the N810/N800
Doh!...More changes to the guide related to problems I was having. Seriously, I'm not meaning to be annoying with this. I'm just hoping to help create a guide that will work for everyone. Sorry, if my constant additions and remarks are getting on your nerves! :o Just let me know and I'll back off. I'm just excited about all of this and want to help other people learn to use it too.
|
Re: Ubuntu Jaunty for the N810/N800
No problem :), in fact, i really appreciate the feedback and to know what needs changing/re-arranging. That's how you can create a successful project. :D
btw, fell free to stick around as long as you like, appreciate it :) |
Re: Ubuntu Jaunty for the N810/N800
I just installed the mer bootscreen and all I can say is...Woah! Hats off to whoever made it. It is nice.
I also have a few more additions. I was originally having trouble with getting the apt-get commands to install from the right repositories. I found out, I had to install them individually or I would always end up with jaunty packages instead of the preferred mer ones. Not really sure what is causing this other than I noticed some of the packages are only available in jaunty and this could be messing it up...but, for me, I could only get the apt-get -t command to work properly by installing packages individually. I had to actually type in the package version in order to get it to install the mer version of xserver-xorg-input-tslib.(Edit: you seem to have already noticed this and fixed it) I could only get the hardware clock to set correctly by placing the same line that you added to hwclock.sh to /etc/default/rcS which should be fine since we're already adding the CONCURRENCY line to it too. Also, mer-rescue-menu depends mer-omap-fb-splash which has a conflicting file with usplash which is depended by ubuntu-desktop. So, to install ubuntu-desktop mer-rescue-menu and mer-omap-fb-splash must be removed. |
Re: Ubuntu Jaunty for the N810/N800
Or just install ubuntu-desktop first, then mer-rescue-menu
|
Re: Ubuntu Jaunty for the N810/N800
Quote:
Also, i might need to tweek apt-pinning a bit more to prevent packages from colliding with eatch other ;) and i might end up having to build a "ubuntu-rescue-menu" and "ubuntu-omap-fb-splash" to override usplash's script. Btw, i've created a pre-built basic ubuntu jaunty rootstrap with root/user passwords pre-set and also includes xserver-xorg, aptitude, deselect, mer-rescue-menu, and pre-configured system files. All you would need to do is extract it to a partition and install a desktop env and then you would be good to go :D. i'll post the link with information on the first posst. :) |
Re: Ubuntu Jaunty for the N810/N800
I just did a reinstall with gnome using these instructions and I've managed to get it to boot but I end up with a dark blue background with a mouse cursor on it (and no wallpaper). I can move the mouse by clicking th screen, but the rest of the gnome environment never seems to load. I also checked to see if the problem was gnome by installing xfce and got the same thing.
I'll take a look and make sure I have all of the packages set up that you recommended, but I'm curious as to if you might have any ideas of why gnome might not be loading (fully) on its own. Do I need to tell gdm to load gnome or should that just be default? |
Re: Ubuntu Jaunty for the N810/N800
Hmm, it looks like there might be a problem with xsessions loading gdm properly. i'd suggest that you check to see if the line '/usr/sbin/gdm' is in /etc/X11/default-display-manager or to see if /etc/X11/Xsession.d/55gnome-session_gnomerc is available, but other than that i can't think of a nother way to fix that atm :(. (i'm having a fuew issues with startup myself atm)
Also, gdm (shuld) automaticly start up, unless /etc/X11/default-display-manager is empty. |
All times are GMT. The time now is 01:00. |
vBulletin® Version 3.8.8