![]() |
Re: [WIP] Ubuntu 9.10 on the N900
ivyking, I'm very exicted that you got Ubuntu 10.10 working. I hope you can help me...
I've dd'ed the omap3 image to my SD card (resulting in a fat partition and a ext3 partition, the last one with the ubuntu files). I've installed bootmenu-n900 and created some entries for booting from both the fat partition and the ext3 partition, but nothing happens (it just shows the white "booting from..." screen for a while, and then restarts). What else do I need to do make it boot Ubuntu? |
Re: [WIP] Ubuntu 9.10 on the N900
hi decibyte,
quick shot: have a look at the watchdog config(/etc/watchdog.conf). and have the two watchdog drivers loaded(if you have them as separate modules) . |
Re: [WIP] Ubuntu 9.10 on the N900
I have the same error, although i use the omap+armel image!
It should be compiled for arm? Quote:
|
Re: [WIP] Ubuntu 9.10 on the N900
Woah! I managed to boot Ubuntu 10.10. Photo of happy and surprised me and my Ubuntu N900:
http://bit.ly/bVbEn3 Well... I'm not able to log in. Touchscreen and keyboard doesn't work. I'll have to find out how to get them to work after I get something to eat. Any help will be appreciated. I roughly followed MohammadAG's guide, but with some changes: First, I installed the bootmenu-n900 package. Instead of 1-4, I put my SD card in my laptop, downloaded the ubuntu netbook armel omap3 image and dd'ed it to the card. Resulting in 2 partitions on the card. I followed 5-6 as it says, except that I used adduser instead of useradd, and I didnt copy the file gnome-terminal.desktop |
Re: [WIP] Ubuntu 9.10 on the N900
Quote:
|
Re: [WIP] Ubuntu 9.10 on the N900
Quote:
on the pc: Code:
iface usb0 inet static Code:
auto usb0 and then you pull the interface on both machines up with Code:
# ifup usb0 you can put it into rc.local if you have no keyboard. like that: modprobe g_nokia |
Re: [WIP] Ubuntu 9.10 on the N900
Quote:
Code Code:
sudo sh -c 'zcat ./ubuntu-netbook-10.10-preinstalled-netbook-armel+<omap image>.img.gz >/dev/<device name>' |
Re: [WIP] Ubuntu 9.10 on the N900
some complain about usless use of cat
Code:
# wget http.... [EDIT: note: i try to get a working kernel... soo that means i don't claim that ubuntu is working out of the box - rather not. esp. i don't think that part. image you picked works with the maemo-omap1 kernel . but you can try and ...] |
Re: [WIP] Ubuntu 9.10 on the N900
Quote:
Code:
sudo mount /dev/mmcblk1p2 /mnt/ubuntu |
Re: [WIP] Ubuntu 9.10 on the N900
which kernel did you use with that image?
|
Re: [WIP] Ubuntu 9.10 on the N900
Karmic and Maverick both work fine installed to emmc as well.
I reparitioned the flash using solution 4.6 from http://wiki.maemo.org/Repartitioning_the_flash. When I tried installing the xserver-xorg packages from debian unstable, I got errors with the keyboard-setup package, and touchscreen still didn't work. Anybody get bluetooth working on Maverick yet? Is it the same method as karmic? I really don't care if the built-in keyboard or audio works, as long as I can use my BT keyboard and headset. Additionally, when I try Karmic, touch sorta works, but the Y-axis is inverted. I've tried a few things in xorg.conf, but nothing seems to work. Anybody else? |
Re: [WIP] Ubuntu 9.10 on the N900
keyboard:
---- Section "InputClass" Identifier "Keyboard" MatchProduct "TWL4030 Keypad|gpio-keys" Option "XkbModel" "nokiarx51" Option "XkbLayout" "us" Option "XkbOptions" "grp:ctrl_shift_toggle" Driver "evdev" EndSection ---- and why do you use the debian xserver? there is one in ubuntu. EDIT: look out: the names of the devices depend on the kernel(caps , space...) but you find it in the xorg log. Drivers are quite easy to find if you have a rough idea what you need. |
Re: [WIP] Ubuntu 9.10 on the N900
Quote:
|
Re: [WIP] Ubuntu 9.10 on the N900
don't know if anyone will see it.
to enable touchscreen tsc2005 is the module(like often stated) you need. with that you have multiple options and you can have them together. looks like this(you can configure a mouse the usual way as well in addition): --- Section "InputClass" Identifier "tslib touchscreen" Driver "tslib" MatchIsTouchscreen "yes" EndSection Section "InputClass" Identifier "Touchscreen" MatchProduct "TSC2005 touchscreen" Option "Calibration" "225 3931 3740 231" Option "SendCoreEvents" "yes" Driver "evdev" EndSection ---- first way works together with tslib and you will need to install tslib and tscalibrate to calibrate the sceen. tscalibrate needs a device(some reported a problem with error "tsopen...") you find it in the Xorg log. it's /dev/input/eventXY you'll spot it. the second is evdev which i like more for it simulates many things like mousewheel out of the box but also needs calibration. solution: --- git clone http://github.com/tias/xinput_calibrator cd xinput_calibrator ./autogen.sh ./configure --prefix=/opt/xinput_calibrator make all install --- you'll find a single program in opt and start it like that: DISPLAY=:0 /opt/xinput_calibrator/bin/xinput_calibrator paste the ouput of the program omitting the first value as your calibration values. works like a charm. bluetooth btw works i didn't see any clitches. usb has some clitches. but works fairly well. br. |
Re: [WIP] Ubuntu 9.10 on the N900
any fix on keyboard??? does somebody managed to fix that
|
Re: [WIP] Ubuntu 9.10 on the N900
see two posts below. at least two drivers working. keyboard never was a problem at all. xorg settings again:
keyboard: ---- Section "InputClass" Identifier "Keyboard" MatchProduct "TWL4030 Keypad|gpio-keys" Option "XkbModel" "nokiarx51" Option "XkbLayout" "us" Option "XkbOptions" "grp:ctrl_shift_toggle" Driver "evdev" EndSection ---- Edit with: /etc/modules: #keyboard gpio_keys matrix_keypad Edit2: to have the hint in this post as well: the productname varies slightly. that depends on your installation. so the term after "Match Product" might need adjustment. you find the name in the xorg log. you will spot it . just copy and paste it. Edit3: the keyboard works without the obove settings( only without the function key, the blue arrow key. i.e. without the number keys.) the above is to make the fn key(blue arrow, toggle) and with it numbers, brackets.. work as well. for the console(tty) you only need a keyboard map to make it work. |
Re: [WIP] Ubuntu 9.10 on the N900
so , how do we put it in our device without an sd card , and without losing our settings :P???
|
Re: [WIP] Ubuntu 9.10 on the N900
Quote:
how i started was: i built a standard kernel and an initrd with only a static shell iand the modules in it. then i took ali's uboot work and patcht that up that it suited my needs so i don't need to flash anymore and have a more sane state. i got that working and moved on got the sd cards working... so rather from scratch but go some posts down and find the post where i tell how to leave the ubuntu in the img file and mount it(that way your change would be one file on the emmc). you can boot into that image with out doubt if you mount it the way described(initrd or bootmenu hook in preinit of maemo). http://talk.maemo.org/showpost.php?p...&postcount=248 EDIT: too make that cristal clear: i have a special kernel(kudo to ali) that is in fact a bootloader. i don't touch maemo besides that kernel and boot straight into the sd card from that. my real kernel resides on the sd. ok? and another comment to this provocation: i wouldn't need any storage on the device to do it. i could do it having all the stuff on the harddisk of my pc even on the other side of the world on a server. sd is just a little more convinient! [ and a last /if/ i changed the settings(which i didn't) so what? ] |
Re: [WIP] Ubuntu 9.10 on the N900
hi..is this stable enough for me to try?
are there any new and latest updates for ubuntu? =) |
Re: [WIP] Ubuntu 9.10 on the N900
Quote:
and if you want to have it running without copy and paste from maemo it gets difficult. they have a 2.6.35 kernel and you need the kernel support which is only given to a certain degree. so you need to collect your peaces. e.g. i have no phone working up to now. something is missing(even without pin ...).also that stuff changes a lot so if there are descriptions they are often outdated so you need to read the mailinglists... then you need to boot it. you again have to decide to use the maemo kernel and with it the maemo stuff or use kexec wich is maemo testing or fuss with the bootloader. so i think you may get it running but i consider it highly devel. but others may have gotten further than i. it might be worth to look at meego, how they boot and try their kernel. afaik the majority of the kernel work that is pushed upstream atm comes from the meego folks. great work there. i also saw that they have a description to boot meego in a way that is similar to how i do it(but i only skimmed over it) so that might be a solution to boot into ubuntu as well(independend of maemo). im at it and i hope others are well. |
Re: [WIP] Ubuntu 9.10 on the N900
Quote:
however..i don't understand the flash step which is Quote:
|
Re: [WIP] Ubuntu 9.10 on the N900
this is turning off the watchdogs. the phone has timers to detect if the phone hangs/crashed/is bricked and do a reset if this is the case. you usually have to send them a signal every once in a while to show them that everything is still ok. if you don't the phone reboots. usually the bootmanager starts them and that line prevents the bootloader from starting them.
its basicly saying: "watchdogs stay away!" there is whatchdogsupport in the mainstream kernel so you don't neccesarily need that but in that case you have to take care that they are configured,. actually i have them running for i want the thing to restart if something goes wrong. this is the emergency break i want to have. and yes if you do something with the flasher you have to put it on the usb: sure. Quote:
|
Re: [WIP] Ubuntu 9.10 on the N900
Quote:
though mohammad is not seen anywhere in TMO lately, i could feel that this is gonna be stable soon, but i dont know when..can't wait for ubuntu to get stable on the N900...would love to have this.. any idea when? edited : where can i get the ubuntu 10.10 image to install on the N900? |
Re: [WIP] Ubuntu 9.10 on the N900
Quote:
if its only for gnome: that should work. but if its only for gnome you might want to try a different approach: have a close look at the easy debian. there a many howtos in the web. basicly you install a ubuntu image on the sd or in a file. mount that(in case of a file via loopback). then you go in via chroot. in the chroot you can configure a xserver. on that xserver you can have gnome. only thing you have to take care is to either use a virtual server(server in a window like xnest ) or put it on a different vt(eg put it on vt9) and change to that vt via "chvt". that would result in having hildon /and/ gnome running on the phone as an addon to maemo. |
Re: [WIP] Ubuntu 9.10 on the N900
Finally I have ubuntu netbook maverick 10.10 installed and booting from my SD card.
But I don't understand how to make the keyboard and touch screen to work. Can someone help me? @lunat: Where should I write your configs? I don't have a xorg.conf file in ubuntu. |
Re: [WIP] Ubuntu 9.10 on the N900
Quote:
and how is the speed of UBUNTU netbook on the phone itself? another question, where can i get the ubuntu netbook 10.10 image?thx bro |
Re: [WIP] Ubuntu 9.10 on the N900
Can't test speed cause I cant use it without touchscreen and keyboard
Images are here. EDIT: Kingston SDHC 8gb class 4 |
Re: [WIP] Ubuntu 9.10 on the N900
[i said i consider this highly devel, so...]
X configuration is /etc/X11/xorg.conf.(backup and edit) if you have no xorg.conf you will have to create one. and if you want it realy ubuntu put it /usr/share/X11/xorg.conf.d or put it whereever you want - just tell X where you put it. drivers go to a subdir of /lib/modules/$(uname -r)/. driver loading is in /etc/modules and /etc/modprobe.d important are the drivers. once the drivers are loaded you have input. its limited(keys are missing) but its there. same for the touchscreen: as soon as driver loaded and you start X you find some babbeling in the xorg.log (just start X )about the touchscreen as it tries to configure it automaticly. it doesn't configure it correctly so you need a little setting. and i have multiple kernels atm. problem tsc2005 is not in the mainstream kernel so you have to compile that(or get it from somewhere matching to your kernel) see at the startpost think there was a link to it compliled for some kernel. additionally for me it makes no sence to use the ubuntu kernel for it is too old(2.35) for the phone which gets support only now. [ and to get that straight: what i do differs a little to what others do. i try to find out everything that you need to have ubuntu or debian running /standalone/. that is that you can replace maemo with it. not only to make it somehow apear. and this with reasonalble small changes to the dist. e.g. the input i told to compile is in debian expierimental or even unstable so it is a reasonable small change for it will make it in the dist. the tsc2005 driver is not in the kernel but is pushed upstream a long time ago and will make it into the mainstream kernel so its a reasonable small change. however copying sth. from maeomo is not a reasonable small change for it is closed stuff which will never make it in the dist. all such stuff is usless. ] Quote:
|
Re: [WIP] Ubuntu 9.10 on the N900
@lunat
the keyboard and touch screen on ubuntu netbook maverick 10.10 tsc2005 on your N900 working? please share / upload your tsc2005 or some file who make keyboard and touch screen work... thanks.... |
Re: [WIP] Ubuntu 9.10 on the N900
Heres a post about getting powerVR drivers compiled, on the beagleboard which has the same gpu http://www.graphics-muse.org/bugs/in...ils&task_id=19
|
Re: [WIP] Ubuntu 9.10 on the N900
Quote:
|
Re: [WIP] Ubuntu 9.10 on the N900
3 Attachment(s)
Nice!, quite slow, hoping it depends of my class 2 sd card.
|
Re: [WIP] Ubuntu 9.10 on the N900
Quote:
I couldnīt make it work. |
Re: [WIP] Ubuntu 9.10 on the N900
Quote:
I can't make it |
Re: [WIP] Ubuntu 9.10 on the N900
We surely need a guide here.
|
Re: [WIP] Ubuntu 9.10 on the N900
Hoping I'll remember all steps, anyway I unpacked the omap ubuntu 10.10 image to a partition of my external SD card, copied /lib/modules, /lib/firmware and /etc/X11/xorg.conf.d/* (to have TS calibrated) from meego 1.1 (installed on another partition of the same SD card).
As was not able to chroot to the new partition with the stock PR 1.3 kernel due to exec format error I booted meego and chrooted from it without problems. Then I created an user and added it to sudoers, put g_nokia in /etc/modules, added a network configuration for usb0 and apt-get installed openssh-server. Finally rebooted in ubuntu with the meego kernel, note: no need to disable watchdog! p.s. I have a customized u-boot to have triple boot. |
Re: [WIP] Ubuntu 9.10 on the N900
Can you post the xorg.conf.d folder?
Also did g_nokia come from meego? And do you think I can use p1.2 power kernel (with rd mode) and bootmenu (not multiboot, it hates ubuntu) How slow compared to 9.10, im running that on a class 4 and its pretty snappy. |
Re: [WIP] Ubuntu 9.10 on the N900
Quote:
could you please share your u-boot items for ubuntu... p.s. maybe you should create a new thread with more advanced instructions |
Re: [WIP] Ubuntu 9.10 on the N900
Quote:
Code:
Nokia-N900:/debian/etc/X11/xorg.conf.d# ls -al Quote:
Quote:
|
Re: [WIP] Ubuntu 9.10 on the N900
Quote:
ubuntu is a different arch -> you need a kernel for that arch. the kernel must support the abi. some support both. [you couldn't chroot because of that] |
All times are GMT. The time now is 21:58. |
vBulletin® Version 3.8.8