View Full Version : [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?
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.
skykooler
2010-10-29, 03:02
which image did you download ?you need OMAP 3 image
on your pc , use your n900 in mass storage mode and, do the following :
sudo sh -c 'zcat ./ubuntu-netbook-10.10-preinstalled-netbook-armel+omap.img.gz >/dev/<device name>'
that will write the downloaded image to your sd card , it will wipe anything on it .
now you are done with pc , unplug the n900 from it , and reboot the n900 .
now open xterminal
sudo su
mkdir /mnt/ubuntu
mount /dev/mmcblk1p2 /mnt/ubuntu
chroot /mnt/ubuntu
--- done
I did use the OMAP3 image. Tried again, copying and pasting these commands, and got the same error.
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.
any fix on keyboard??? does somebody managed to fix that
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.
naturegodtm
2010-11-02, 02:46
so , how do we put it in our device without an sd card , and without losing our settings :P???
so , how do we put it in our device without an sd card , and without losing our settings :P???
i have multiple sd cards and never mind but what i do here is nothing for anyone who can't handle that problem. this is for people who like me try to get that thing going and might need one hint to go on.
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=853076&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? ]
hi..is this stable enough for me to try?
are there any new and latest updates for ubuntu? =)
hi..is this stable enough for me to try?
are there any new and latest updates for ubuntu? =)
maybe others got further than i. as i see it most use the maemo stuff, put it on the image and run it. that way you might get a fairly working thing. but to be honest this is actually maemo running in the background with ubuntu on top.
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.
maybe others got further than i. as i see it most use the maemo stuff, put it on the image and run it. that way you might get a fairly working thing. but to be honest this is actually maemo running in the background with ubuntu on top.
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.
thx lunat..i thought the installation is pretty straight forward..but i think i'll wait for it to be stable first..
however..i don't understand the flash step which is
Shutdown the N900, hold the U key to go into flashing mode then
flasher-3.5 --enable-rd-mode --set-rd-flags=no-omap-wd,no-lifeguard-reset,no-ext-wd
do i have to plug the usb cable, and run the command on the PC?
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.
however..i don't understand the flash step which is
PC?
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.
so does it mean we have to flash it into R&D mode everytime if we want to boot into GNOME desktop?
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?
so does it mean we have to flash it into R&D mode everytime if we want to boot into GNOME desktop?
no, its the development(R&D) mode of the phone. you can only disable watchdogs in development mode. in production mode you can't. once you turned the switch it stays in that mode with disabled watchdogs until you put them on again. its comparable to changing settings in the bios of a pc.
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.
CepiPerez
2010-11-03, 16:40
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.
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.
may i know what is the class of your SD?
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
CepiPerez
2010-11-03, 18:01
Can't test speed cause I cant use it without touchscreen and keyboard
Images are here (http://cdimage.ubuntu.com/ubuntu-netbook/ports/releases/10.10/release/).
EDIT: Kingston SDHC 8gb class 4
[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.
]
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.
@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....
Heres a post about getting powerVR drivers compiled, on the beagleboard which has the same gpu http://www.graphics-muse.org/bugs/index.php?do=details&task_id=19
@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....
Try with this (http://talk.maemo.org/showpost.php?p=754748&postcount=84).
nicola.mfb
2010-11-05, 17:33
Nice!, quite slow, hoping it depends of my class 2 sd card.
LucianoBraga
2010-11-05, 18:49
Nice!, quite slow, hoping it depends of my class 2 sd card.
WOW...Nice.
I couldnīt make it work.
CepiPerez
2010-11-05, 18:55
Nice!, quite slow, hoping it depends of my class 2 sd card.
Please tell me what do you did
I can't make it
giannoug
2010-11-05, 19:04
We surely need a guide here.
nicola.mfb
2010-11-05, 19:19
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.
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.
juandp77
2010-11-05, 19:30
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.
Let me tell you nice work!!
could you please share your u-boot items for ubuntu...
p.s. maybe you should create a new thread with more advanced instructions
nicola.mfb
2010-11-05, 19:36
Can you post the xorg.conf.d folder?
Nokia-N900:/debian/etc/X11/xorg.conf.d# ls -al
drwxr-xr-x 2 root root 4096 Nov 5 17:36 .
drwxr-xr-x 11 root root 4096 Jan 1 1970 ..
-rw-r--r-- 1 root root 79 Nov 5 17:36 00-input-default.conf
-rw-r--r-- 1 root root 113 Nov 5 17:36 10-input-synaptics.conf
-rw-r--r-- 1 root root 667 Nov 5 17:36 90-input-n900.conf
-rwxr-xr-x 1 root root 741 Nov 5 17:36 mrst-touchscreen.conf
-rwxr-xr-x 1 root root 164 Nov 5 17:36 no-accel.conf
Nokia-N900:/debian/etc/X11/xorg.conf.d# more *
Section "InputClass"
Identifier "default"
Driver "evdev"
EndSection
Section "InputClass"
Identifier "synaptics"
MatchIsTouchpad "true"
Driver "synaptics"
EndSection
Section "ServerFlags"
Option "AllowEmptyInput" "False"
EndSection
Section "InputClass"
Identifier "Touchscreen"
MatchProduct "TSC2005 touchscreen"
Option "Calibration" "200 3910 3761 180"
Driver "evdev"
EndSection
Section "InputClass"
Identifier "Keyboard"
MatchProduct "omap_twl4030keypad|gpio-keys"
Option "XkbModel" "nokiarx51"
Option "XkbLayout" "us"
Option "XkbOptions" "grp:ctrl_shift_toggle"
Driver "evdev"
EndSection
Section "InputClass"
Identifier "disable accelerometer"
MatchProduct "Accelerometer"
Option "Ignore" "on"
EndSection
Section "InputClass"
Identifier "touchscreen"
Driver "evdev"
MatchProduct "mrst_touchscreen"
Option "SendCoreEvents" "On"
Option "SwapAxes" "on"
Option "InvertX" "on"
Option "InvertY" "on"
EndSection
Also did g_nokia come from meego?
Yes as all modules and firmware.
And do you think I can use p1.2 power kernel (with rd mode) and bootmenu (not multiboot, it hates ubuntu)
I suppose it *may* work as I was able to boot a native debian system with bootmenu and the stock kernel in the past.
[code]
I suppose it *may* work as I was able to boot a native debian system with bootmenu and the stock kernel in the past.
debian is differrent arch then ubuntu. debian is the same arch as maemo -> does work with any maemo kernel.
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]
I suppose it *may* work as I was able to boot a native debian system with bootmenu and the stock kernel in the past.
Well Im still having Issues get the touchscreen working with the Power40 kernel in 9.10, with the stock omap one mouse works fine but with Power40 the mouse is inverted.
My only concern is keeping over-clocking in Maemo and Ubuntu. Does anyone know of a P1.3 overclock enabled kernel?
debian is differrent arch then ubuntu. debian is the same arch as maemo -> does work with any maemo kernel.
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]
I would say that post is totally wrong .
ubuntu is based on debian , just like maemo is .
and I have used the same kernel to boot both OS with no problems .
[Edit] I was wrong , ubuntu goes different ways than debian on arm arch.
I wrote my post that way as I was able to boot both debian and ubuntu using the pr1.2 kernel after copying modules and firmware to their respective folders .
juandp77
2010-11-05, 19:47
Didi you use omap3 or omap4 iso image?
Didi you use omap3 or omap4 iso image?
omap 3 image should be used , chroot problem may result of using wrong image .
Ok Im gonna ditch my power40 kernel and bootmenu for uboot and pr1.3 kernel, and Im downloading ubuntu-netbook-10.10-preinstalled-netbook-armel+omap.img.gz (http://cdimage.ubuntu.com/ubuntu-netbook/ports/releases/10.10/release/ubuntu-netbook-10.10-preinstalled-netbook-armel+omap.img.gz) Ill let everyone know if I can chroot
I would say that post is totally wrong .
ubuntu is based on debian , just like maemo is .
and I have used the same kernel to boot both OS with no problems .
which kernel. if you did i suppose it had support for both arches. like i said thats possible.
and concerning the abi ubunt and debian go different ways.
otherwise you may give your explanation to why chroot doesn't work for some.
nicola.mfb
2010-11-05, 19:58
Intruction to patch u-boot are on:
http://al.robotfuzz.com/~al/maemo/u-boot/
Basically you have to git clone git://git.denx.de/u-boot.git, revert to bd2313078114c4b44c4a5ce149af43bcb7fc8854 commit, apply patches, and further modify include/configs/nokia_rx51.h.
Here is how appears mine:
#define CONFIG_EXTRA_ENV_SETTINGS \
"usbtty=cdc_acm\0" \
"stdin=vga\0stdout=vga\0stderr=vga\0" \
"setcon=setenv stdin ${con};" \
"setenv stdout ${con};" \
"setenv stderr ${con}\0" \
"sercon=setenv con serial; run setcon\0" \
"usbcon=setenv con usbtty; run setcon\0" \
"vgacon=setenv con vga; run setcon\0" \
"loadaddr=0x82000000\0" \
"meegoargs=setenv bootargs\0" \
"loadbootscript=fatload mmc 0:3 ${loadaddr} boot.scr\0" \
"bootscript=echo Running bootscript from mmc ...; " \
"source ${loadaddr}\0" \
"loaduimage=fatload mmc 0:3 ${loadaddr} uImage\0" \
"mmcboot=echo Booting from mmc ...; " \
"run meegoargs; " \
"bootm ${loadaddr}\0" \
"noloboot=echo Booting NOLO supplied kernel ...; " \
"setenv atags ${nolo_atagaddr};" \
"bootm ${nolo_kernaddr}\0" \
"debian=echo Booting debian ...; "\
"mmc init; " \
"fatload mmc 0:3 ${loadaddr} uImage; " \
"setenv bootargs root=/dev/mmcblk0p5 rootwait; " \
"bootm ${loadaddr}\0" \
"meego=echo Booting meego ...; "\
"mmc init; " \
"fatload mmc 0:3 ${loadaddr} uImage; " \
"setenv bootargs root=/dev/mmcblk0p1 rootwait; " \
"bootm ${loadaddr}"
#define CONFIG_PREBOOT \
"echo Extra commands:;" \
"echo run sercon - Use serial port for control.;" \
"echo run usbcon - Use usbtty for control.;" \
"echo run vgacon - Use framebuffer/keyboard.;" \
"echo run mmcboot - Boot from SD card slot.;" \
"echo run noloboot - Boot kernel loaded by NOLO."
#define CONFIG_BOOTCOMMAND "run noloboot"
I used a zImage from fiasco PR 1.3 image to have a flashable combined.bin, but it should work with power kernel too.
As you see the important part is that the default boot command is "run noloboot", so Maemo is the default. You see two script definition meego=... and debian=... (I have still to rename that to ubuntu) that load the kernel from the third partition and changes kernel parameters to boot the right OS.
So when I want to boot meego or ubuntu I reboot, interrupt autoboot and just type "run meego" or "run debian".
My SD layout is:
p1 -> meego
p2 -> swap
p3 -> vfat for kernels
p4 -> extended
p5 -> ubuntu
p6 -> further testing.
p.s. there are/will be other solutions that do not need an u-boot rebuilding, I just used the fast one without checking further.
I
one question if you boot from the sd what device node does it get?
i see the devices swapped. /dev/mmc0 is the external sd.
do you see the same?
for the one who said i was totally wrong
go(guess thats official enough if you don't believe me):
https://wiki.ubuntu.com/ARM
and read
----
How does this differ from Debian's armel port?
The primary difference is the ISA and instruction set targeted in Ubuntu, rendering nearly all packages incompatible at a binary level. As with the rest of Ubuntu, typically the source packages are identical, so most of the remaining differences are the same as differences generally between Debian and Ubuntu.
---
br
can anyone send me the meego /lib/module and /lib/firmware? Im on the irc channel. #NITubuntu
nicola.mfb
2010-11-05, 20:54
which kernel. if you did i suppose it had support for both arches. like i said thats possible.
and concerning the abi ubunt and debian go different ways.
otherwise you may give your explanation to why chroot doesn't work for some.
Right, packages are built with different instruction sets.
And anyway as chroot fails and bootmenu uses a root pivoting/changing, it cannot work.
nicola.mfb
2010-11-05, 21:14
one question if you boot from the sd what device node does it get?
i see the devices swapped. /dev/mmc0 is the external sd.
do you see the same?
Yes! but I think that both kernels see them in the same manner, cannot confirm and check now, please verify with cat /proc/partitions under freemantle.
juandp77
2010-11-05, 21:43
Does anyone has tryed with multiboot??
LucianoBraga
2010-11-05, 21:44
Ok, I will try again tomorrow...
EDIT: Forget it. It is so much for my head. :(
skykooler
2010-11-05, 22:29
Try with this (http://talk.maemo.org/showpost.php?p=754748&postcount=84).
That is a dead link.
Which meego image did you pull those modules and firmware from? theres the restricted meego-handset-armv7l-n900-final-mod-1.1.0.0.20101101.3-mmcblk0p.raw and the open meego-handset-armv7l-n900-1.1-mmcblk0p.raw
nicola.mfb
2010-11-05, 23:19
IIRC http://repo.meego.com/MeeGo/releases/1.1/handset/images/meego-handset-armv7l-n900/
IIRC http://repo.meego.com/MeeGo/releases/1.1/handset/images/meego-handset-armv7l-n900/
i know i am bad but another question:
do you know to which degree the meego stuff may be used. i mean take it, change it and pass it on, use it in other contexts(like ubuntu). simple: which licence?
reason: some time ago they said they no longer distinguish between free and nonfree. nice if everything would be free. but looking at their page i found an oposite statement that certain stuff is closed and only nokia staff and subcontractors have acces to it. now i am not sure what is free and what is burried software(i call it burried because it's dead as it may not be used outside its crypt)
guys need help on creating new user account...
i tried this command useradd -m stalker
how do i input my password???
another newbie question,
i repartition my N900 flash... i shrink my 27gb MyDocs partition into 13.9gb and add 7 extended partitions with 2gb space per extended partitions... my extended partions mmcblk0p5 to mmcblk0p7 works fine and i can mount it... But partitions from mmcblk0p8 to mmcblk0p11 dont work or i cant mount ... Is there a limit or maximum number of extended partitions?
please! this /completely/ OT!
short answer a) "passwd <user>" b) yes there is a limit(to be clear: you didn't hit it).
guys need help on creating new user account...
i tried this command useradd -m stalker
how do i input my password???
another newbie question,
i repartition my N900 flash... i shrink my 27gb MyDocs partition into 13.9gb and add 7 extended partitions with 2gb space per extended partitions... my extended partions mmcblk0p5 to mmcblk0p7 works fine and i can mount it... But partitions from mmcblk0p8 to mmcblk0p11 dont work or i cant mount ... Is there a limit or maximum number of extended partitions?
sorry for that OT btw thanks for your reply... , what is the maximum number of extended partition??? i hope someone will made a detailed tutorial or easy patch on mouse/keyboard problem on ubuntu maverick.. i managed to boot ubuntu maverick but stuck on mouse/keyboard issues...
giannoug
2010-11-06, 11:09
sorry for that OT btw thanks for your reply... , what is the maximum number of extended partition??? i hope someone will made a detailed tutorial or easy patch on mouse/keyboard problem on ubuntu maverick.. i managed to boot ubuntu maverick but stuck on mouse/keyboard issues...
Did you boot with uboot? Can you share some tips because I'm also interested in trying Ubuntu 10.10?
Take a look at this post for the touchscreen.
http://talk.maemo.org/showpost.php?p=754748&postcount=84
Did you boot with uboot? Can you share some tips because I'm also interested in trying Ubuntu 10.10?
Take a look at this post for the touchscreen.
http://talk.maemo.org/showpost.php?p=754748&postcount=84
to boot into it is quite simple if you use the uboot. with the "out of the box thing" you have now at hands from the devel repository its no problem at all, you only add a recent kernelwith the tsc patch(tell uboot where it is) and the modules to the partition.
and boot it(tell uboot which partition to boot). nicola pointed out meego kernel works out of the box. so take that if you want to test. easy as could be.
works for me for quite a while(rsyncing my stuff to part and booting).
but don't expect it to work like in "using it" though: it's a phone so first of all i want to make calls and receive calls.... maybe try ofono thats what the meego folks use.
br
That is a dead link.
Doh! Sorry... :(
[EDIT]
This should work:
http://mohammadag.xceleo.org/public/NITUbuntu/omap1%20modules/tsc2005.ko
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.
i don't want format my MicroSD,so i will not use "dd" or windiskimage to write the ubuntu 10.10 on my MicroSD.
can you tell me what partition kinds for Ubuntu 10.10 on MicroSD N900? EXT4 or EXT3 ?
i don't want format my MicroSD,so i will not use "dd" or windiskimage to write the ubuntu 10.10 on my MicroSD.
can you tell me what partition kinds for Ubuntu 10.10 on MicroSD N900? EXT4 or EXT3 ?
---
sfdisk -l ubuntuimage.
---
looks like that:
...
ubuntu-netbook-10.10-preinstalled-netbook-armel+omap.img1 * 0+ 8 9- 72261 c W95 FAT32 (LBA)
ubuntu-netbook-10.10-preinstalled-netbook-armel+omap.img2 9 253 245 1967962+ 83 Linux
...
Power40 Pr 1.3 + uboot (http://talk.maemo.org/showpost.php?p=861548&postcount=15) Matan made it.
Hopefully it will allow overclocking in 10.10
I have no time to test I'm leaving for work right now.
folks please come down. what we have is a little step in direction of running ubuntu.
we can start a kernel(and for that matter overclock the kernel) but this is not ubuntu but that kernel running. it was a huge step that nicola found out that you can boot ubuntu with a (stock) meego kernel. that is pretty cool.
this shows we are not far from having ubuntu running. still this is /not/ ubuntu running. ubuntu running means that that the battery applet shows the battery status(works to some degree ) and it starts charging when the battery is empty(imo doesn't work). the way you know it from a laptop. ubuntu working means that with an incomming phonecall the phone rings and you can use the phone. and so on. and ubuntu running means that this works with the packages from ubuntu.
powerkernel doesn't help. it needs all the closed stuff from maemo and dosn't work together with the free stuff in ubuntu.
so who was able to make a call with ubuntu?
please don't stop now, we are close. very close.
as usual an edit: don't get the thing about the powerkernel wrong. powerkernel is fine. but affaik optimized for maemo and not ubuntu. but if you get the ubuntu stuff(all!) running with that kernel: great.
another hint for those experimenting with ubuntu:
you don't need an extra sd for that! uboot is capable of doing netboots. but that afaik doesn't work with the uboot from the repos. you may try however(uboot in general is capable of this !).
there is a different approach that also works. that is nfsmount. instead of using the sd as the rootpartition you mount the nfs via kernel nfs support. and chroot and pivotroot into that nfsshare. that way you boot into a directory on you pc, laptop whatever. but you have to setup a connection first. wlan is woking so no big deal, you only need everything necessary for that in the initrd.
with that testing gets realy comfortable. you edit all the files on your pc and immidiately see the effect on the phone. no further sd, no wearing off of sd's, cross compiling on the pc ...
hth
the usual edit: you can boot into nfs without initrd. the initrd is only necessary to setup the wlan.
its ubuntu 10.10 run on PR 1.3 ?
its ubuntu 10.10 run on PR 1.3 ?
no! pr1.3 is closed maemo stuff and ubuntu != maemo.
you can however with a /capable kernel/ copy the whole pr1.3 stuff and everything else from maemo to the ubuntu and boot that. that works .but that actually is replacing ubuntu with maemo so that it is no longer ubuntu but maemo with some parts from ubuntu. further you cannot make it available for the public as it is cruftware.
and as a sidenode: while running different binaryformats is possible it is not totally stable so might break sometimes.
EDIT: in more understandable: it is illegal for ubuntu to use pr 1.3 so you can't use it. nokia forbids it. plain and simplified.
I really dont think ofono is gonna be to a big problem, its in the ubuntu mobile ppa
I really dont think ofono is gonna be to a big problem, its in the ubuntu mobile ppa
hope so. up to now i get it detecting n900. listmodems tells me it is there. but i cannot enable it.... also tried it with the lates git ofono stuff. if i know more i let you know!
and there is the other isi stack but see for yourself:
https://elektranox.org/n900/libisi/index.html
edit: if somone gets ofono running, the next problem is pulseaudio and telepathy and see what is usable and what is cruft...
another edit: i still charge the phone with a modified version of joergs script is there a better way?
I really dont think ofono is gonna be to a big problem, its in the ubuntu mobile ppa
drivers needed to make a call, correct me if i missed something:
----
#modem
phonet
cdc-phonet
cmt
cmt-speech
---
+ a hack from meego pulling up the lines. think it is all free stuff.
*smiles*
mido.fayad
2010-11-08, 16:10
oh my god :) :)
finally got it working
and it's so so so fast on my 8 giga class 6 memory card
thanks to nicola :) :)
LucianoBraga
2010-11-08, 17:19
I need an tutorial...Oh God...
seanik07
2010-11-08, 17:33
Yes, please sb make tutorial for 10.10 because it's really hard to find out step by step procedure of getting it to work just by skimming previous posts ( keyboard + touchscreen + etc. ).
mido.fayad : try installing on eMMc. I have just installed nitdroid on extra primary partiton on eMMc, and it's running faster than installed on class 10 sdhc.
mido.fayad
2010-11-08, 17:46
i already run nitdroid on emmc and i know it's better and i will try to run it also
I need an tutorial...Oh God...
sure.. once i am done.
this is work in progress. all at your own risk. you may, but it's unlikely, destroy your phone if you do something wrong. and you may void your warranty if you do sth wrong. so all at your own risk and responsibility. also no warranty that everything works by copy and pasting. i wrote it solely in the hope to help if you are stuck. don't blame me: you've been warned.
one more hint: take care if you are editing on your pc. pathnames in the following are relativ to the mountpoint or the volume in win machines. you have to prepend YOUR path to the mountpoint. don't edit the files on your pc but only those on the sd!
another hint: if you are using a windows pc for this you need (obviously)something capable of reading ext2(actually it is an ext3 but ext3 /is/ ext2 with some additional files, so ext2 is sufficient)
take the ubuntu image(armel+omap.img.gz).
http://cdimage.ubuntu.com/ubuntu-netbook/ports/releases/10.10/release/
put it on a sd just the way they explain it on the ubuntu page.
https://wiki.ubuntu.com/ARM/OMAPMaverickInstall
HOLDON: unmount everything if it is mounted and try a fsck on the second partition.
eg.
fsck /dev/mmcblk1p2
either it is imidately done and says everything is fine.
important or it gives you crap of a destroyed superblock or partitiontable or something alike: that means your sd and the image don't fit together(no problem of n900 but a problem of rawimages and sds of differrent sizes etc). unfortunately that will stop the bootprocess later as well as the kernel runs fsck on the disk.
in that case: accept the offer of fsck and abort the check! mount the partition 2 , make a backup of it, partition and format the sd anew and play the backup back. (anyways good for you can increase the size of the partition)
how you acces the sd doesn't matter. have the 2nd partition mounted,
eg. if you are on the phone:
mkdir -p /mnt/ubu
mount /dev/mmcblk1p2 /mnt/ubu
OR if you put in the sd in on a pc and have it in a filemanager/explorer you are good as well.
take a kernel from meego and an image. you have to mount the image somehow and grab the modules from there. do it the way they explain it on their page(but don't use the old image there, see below) :
http://wiki.meego.com/ARM/N900/Install/chroot
the important part is:
mkdir -p /mnt/meego
losetup /dev/loop0 ${MEEGO_IMAGE} -o [B]<OFFSET>
mount /dev/loop0 /mnt/meego
OR on the pc:
mkdir -p /mnt/meego
mount -o loop,offset= <OFFSET> ${MEEGO_IMAGE} /mnt/meego
OR your way of mounting images on windows..
you get the offset via sfdisk -lu
the startnumber it tells you needs to be multiplied with the blocksize and this is the offset.
losetup /dev/loop0 ${MEEGO_IMAGE}
sfdisk -lu /dev/loop0
look up the start of the partition. it's the 1rst number in the line with part.type "linux" or 83 Hex and multiply it with the blocksize, should be 512(it tells you in the head!)
losetup -d /dev/loop0
wait: don't use that ooold image in the chroot howto but a new one! see for instance:
http://wiki.meego.com/ARM/N900/Install/MMC#Linux
now mount that with the offset of the real image you have( the image i tried had an offset of 512 ).
put the modules from the meego /lib/modules/ to /lib/modules/ on the sd.(the whole directory so that you get a new subdirectory with the kernels version as its name - just drag and drop and you are good). we only grab the kerneldrivers off the image.
eg.
cp -a /mnt/meego/lib/modules/* /mnt/ubu/lib/modules/
OR your way of copying files in windows
btw firmware is also in /lib/firmware
after that you can unmount the image. don't need it any further.
e.g.
umount /mnt/meego
rm /mnt/meego
you can save you the trouble with the meego image if you compile your kernel yourself :P
now back to our ubuntu sd:
go to /etc modules(any /simple/ editor that can handle unix lineendings):
add /at least/ the following modules to it(copy and paste). might need to add some others. and uncomment some.[is on my TODO] )
#----
#modem
phonet
cdc-phonet
cmt
cmt-speech
#keyboard
gpio_keys
twl4030_keypad
matrix_keypad
#touchscreen
tsc2005
#light_meter
tsl2563
#acelerometer
lis3lv02d_i2c
lis3lv02d
#screen
#ACX565AKM (compiled in needs spi master)
#audio compiled in
#TLV320AIC3 compiled in audio, bug: can't be compiled as mod
twl4030-vibra
#leds
ledslp5523
#wlan
cfg80211
mac80211
wl1251_spi
wl1251
#bluetooth
#battery meter
bq27x00_battery
#power
power_supply
#twl4030support (compiled in)
#charger
isp1704_charger
#usb gadget
g_nokia
#multifunction
#TWL4030 (co)
#+TWL5030 MADC (audio-digital)
#MMC #all (compiled in: bootdevice on mmc)
now you edit /etc/X11/xorg.conf and put in:
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
Section "InputClass"
Identifier "Keyboard"
MatchProduct "TWL4030 Keypad|gpio-keys"
Option "XkbModel" "nokiarx51"
Option "XkbLayout" "us"
Option "XkbOptions" "grp:ctrl_shift_toggle"
Driver "evdev"
EndSection
for the usb net add to /etc/network/interfaces:
auto lo
iface lo inet loopback
auto usb0
allow-hotplug usb0
iface usb0 inet static
address 192.168.3.101
netmask 255.255.255.0
gateway 192.168.3.100
noauto phonet0 wlan0 wmaster0
adjust the internetadress such, that the gateway is the ip of the usb interface of your pc and choose any free ip as address in the same network(that is: everything but the last number should be equal).
go to /etc/resolv.conf and put a dns server address in(create the file).
nameserver 192.168.10.1
use a /real/ nameserver address.
turn your pc into a gateway. for linux you can do it eg (you may want to have it more sophisticated):
iptables -A FORWARD -j ACCEPT
iptables -tnat -A POSTROUTING -o eth0 -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward
now add a 3rd vfat partition. put the kernel on it(just the way you would do it if you were installing meego).
mkimage -A arm -O linux -T kernel -C none -a 80008000 -e 80008000 -n zImage -d zImage uImage
mkdir -p /mnt/kern
mount /dev/mmcblck1p3 /mnt/kern
cp uImage /mnt/kern
grab the uboot from extras devel and install it.
either
a) make sure that you have the correct root= attribute in the boot.scr. it should be /dev/mmcblk0p2. and have a rootwait (or rootdelay=) attribute. and so on... look at the bootparams meego has, it should be what you want. [nb: it might be that your kernel uses a fixed bootparam string in that case go for option b ]
put a script in a file say bootscript.txt(from top of my head):
kernaddr=0x80300000
setenv bootargs root=/dev/mmcblk0p2 rootwait ..
fatload mmc 1:3 ${kernaddr} uImage
bootm ${kernaddr}
and roll it and put it on the vfat
mkimage -A arm -O linux -T script -n bootscript -C none -d bootscript.txt boot.scr
cp boot.scr /mnt/kern
OR
b) make a backup of the sd. reformat it and put the stuff back on the partition that gets booted(and have the kernel on a 3rd vfat).
if you reformat you may want to increase the size of the partition. ubuntu recommends at least 3-4GB.
unmount everything.
maybe you need this if you don't see the configuration on first boot:
touch /var/lib/oem-config/run
boot.
if the keyboard is not working. connect via usb and ssh with the phone
[workaround if you don't know how to do it. take the sd +battery out. but wait some time so that the (log)files are really written on the sd and you don't end up with a corrupted sd.
boot into maemo OR look at the sd on your pc. mount it the way you did it before ]
have a look at the /etc/xorg.conf at the MatchProduct strings. they unfortunately vary sometimes slightly depending on the patches used.
compare it with the similar strings in the X logs.( /var/log/Xorg.0.log )
take the similar string you find in the log and replace the string in the xorg.conf with that exact string(the bar in the keyboard product is an "or". so this are two strings separated by the bar -> it catches two drivers. if you have one of them working you are good. don't need both, either works).
finally restart gdm or reboot.
if you want to use the phone install ofono.
apt-get update
apt-get upgrade
apt-get install ofono
....
so far. maybe i look later for spelling mistakes and the like in this post.... maybe not...
juandp77
2010-11-09, 05:44
I follow your steps but i can get to boot it, can you please explain the last part about the kernel and how to configurate u-boot
I follow your steps but i can get to boot it, can you please explain the last part about the kernel and how to configurate u-boot
put it below a little more detailed from top of my head. this is a little tricky for me, as i patched uboot up, so that i do not need a boot.scr. because of that the boot.scr thing is not tested. tell me if i messed something up. and take all the parameters meego has.
if you go for variant b) you need no boot.scr. you only need the uImage on the vfat and thats it.
for what it's worth what i really do is:
cd <kernelsrc>
git checkout <branch>
export ARCH=arm INSTALL_MOD_PATH=build_modules
....
make uImage modules modules_install
rsync ....
thats it. boot. way easier but less failproof....
Whats it take to get wifi up, i noticed,
noauto phonet0 wlan0 wmaster0
Whats it take to get wifi up, i noticed,
noauto phonet0 wlan0 wmaster0
some other guy claimed that problems may occur if you don't have it in. haven't seen problems without that and it should handle it that way anyways. but as you usually don't want them started at boottime. it doesn't hurt so i put it in to be on the safe side. thats all.
if you configure wlan you will have set it up anyways which is not handled and maybe should also take care of routing problems that might occur with usb0 and wlan0 ....
this is to get the thing started and have a hook to talk to the thing(even if keyboard is not working). if it works: set it up the way you want it(and then you might want to use networkmanager or deinstall nm alltogether).
to be clear: like i stated i don't do it that way(i rsync and use an initrd and mount the root from nfs ...). i just tried to give an "easy" howto. with easy steps. tried the steps to not miss out anything(hope i didn't) and wrote them down.
to be clear: like i stated i don't do it that way(i rsync and use an initrd and mount the root from nfs ...). i just tried to give an "easy" howto. with easy steps. tried the steps to not miss out anything(hope i didn't) and wrote them down.
How slow is ubuntu running over usb?
how about extracting the modules from the meego image and upload it to somewhere else?
should save users a lot of time instead of downloading the meego kernel/image,mounting it, and grab the modules.. =)
hi,
i changed something in the litle howto to clarify parts and eliminate some traps.
i went through everything again and now also testet the boot.src: it works.
i did it in the original post to have everything together and not again in lots of different posts so that you can go step by step through it:
http://talk.maemo.org/showpost.php?p=867538&postcount=321
for the uploading request:never mind but if i load something up somewhere, it is a kernel i rolled which has only components in it that are free and that works(not one under construction.)...
for the speedtesters: mount the sd sync and not async otherwise you get very wrong results. if you see lags: thats the kernel writing its cache to sd when the sd is mounted async.
appreciate your tutorial..might try this as soon as i get my N900 back from the nokia centre..although it looks a bit confusing, a bit difficult..i'll never know until i try it.. =)
but may i know, in your current ubuntu, what is working and what is not?
appreciate your tutorial..might try this as soon as i get my N900 back from the nokia centre..although it looks a bit confusing, a bit difficult..i'll never know until i try it.. =)
but may i know, in your current ubuntu, what is working and what is not?
well if it was a computer i could say: everything works. but for the n900 there is more TODO then done... never said anything else: under construction. yesterday i succeded in making a call now head for a frontend to ...
it only looked like the folks wanted to see something even if it doesn't work fully. well, now they can.
well if it was a computer i could say: everything works. but for the n900 there is more TODO then done... never said anything else: under construction. yesterday i succeded in making a call now head for a frontend to ...
it only looked like the folks wanted to see something even if it doesn't work fully. well, now they can.
wow..u mean seriously made a call from ubuntu?could u post a screenshot abot it?
wow..u mean seriously made a call from ubuntu?could u post a screenshot abot it?
man, that is a console line with the only interesting part in it the phonenumber and a ringing second phone. ofono detects the phone without any config. start the daemon and it finds it. but i did it with the git version and without pin. nice anyways! kudos go to the ofono and the meego folks.
lets see if i can talk once i have connected a frontend....
man, that is a console line with the only interesting part in it the phonenumber and a ringing second phone. ofono detects the phone without any config. start the daemon and it finds it. but i did it with the git version and without pin. nice anyways! kudos go to the ofono and the meego folks.
lets see if i can talk once i have connected a frontend....
i can't wait to get my N900 back..another question, do u install it on SDcard or eMMC?
nicola.mfb
2010-11-09, 14:45
Meego has reference apps to place phone calls, sms, and so on and IIRC there is a project to debianize meego apps.
Another way may be try porting neoPhysis apps, and emh..., that should be easy as I wrote the big part of them ;)
neoPhysis is a linux/distro where with some friend we spent our spare time, it works on the OpenMoko freerunner and uses oFono, so there is already GUI for dialer, sms, etc.
Some screenshots here:
http://sourceforge.net/apps/mediawiki/neophysis/index.php?title=Main_Page
Maintaining a full openembedded derived distro, the middleware, the De and so on is not easy with few time and developers, that the reason as nP was never finished, but anyway with some help should be easy to improve/adapt at least the phone part only.
i can't wait to get my N900 back..another question, do u install it on SDcard or eMMC?
nfs(and sd). but to not ignore your question: the best thing for productive would be to have it on ubi/emmc that would be a dream come true. but for getting the peaces together i prefer the nfs for i can do most things on the pc(compiling) and can test how they work out on the phone. otherwise something crashes and you have a destroyed filesystem(for good!). and further as long as it is not working i want to keep maemo sane.
nfs(and sd). but to not ignore your question: the best thing for productive would be to have it on ubi/emmc that would be a dream come true. but for getting the peaces together i prefer the nfs for i can do most things on the pc(compiling) and can test how they work out on the phone. otherwise something crashes and you have a destroyed filesystem(for good!). and further as long as it is not working i want to keep maemo sane.
thx for your clarification..i'll be bugging u soon after i get my N900 back..lol :D
i succeded in making a call now head for a frontend to ...
I think there's a way to make Ekiga work with ofono, or at least I read that somewhere, If I can find the link ill post it.
nfs(and sd). but to not ignore your question: the best thing for productive would be to have it on ubi/emmc that would be a dream come true. Yeah, If ubuntu can make calls, and such (like sgx drivers), I would ditch maemo in its entirety for ubuntu, we would have to optify every thing, unless we link all the directory's and make it transparent somehow
@lunat
if PR. 1.3 doesnt Support ubuntu 10.10, so you still on PR 1.2 ???
my N900 was update to PR 1.3, is possible sometime or next day PR 1.3 Will Support boot Ubuntu 10.10. if not possible,i will downdrade degrade to PR 1.3 to PR 1.2
@lunat
if PR. 1.3 doesnt Support ubuntu 10.10, so you still on PR 1.2 ???
my N900 was update to PR 1.3, is possible sometime or next day PR 1.3 Will Support boot Ubuntu 10.10. if not possible,i will downdrade degrade to PR 1.3 to PR 1.2
completly abondoned it. i completly ignore everything on ubi and emmc.
nokia goes funny ways in that case. for one it has the maemo stuff and the official firmware. if you look there you make a little step and end up with closed stuff. on the other hand nokia it pushes important parts in the mainstream kernel.
Yeah, If ubuntu can make calls, and such (like sgx drivers), I would ditch maemo in its entirety for ubuntu, we would have to optify every thing, unless we link all the directory's and make it transparent somehow
i have too look closely into it again. it is so easy to overlook a copyright notice in a patch. but /if/ the patchset i use turns out to have some cruft in it there is still isilib. and the rfc drivers pushed mainstream are in the 3rd generation.
ofono has a funny copyright notice in the readme as well(all rights reserved by intel). but i guess they just forgot about it .. but you never know ...
juandp77
2010-11-10, 04:31
please help with this i'm getting wrong image format when I boot, any idea why?
please help with this i'm getting wrong image format when I boot, any idea why?
litle short. wild guess: you're talking about a uboot complaining?
in that case: did you create the uImage with mkimage?
juandp77
2010-11-10, 04:43
litle short. wild guess: you're talking about a uboot complaining?
in that case: did you create the uImage with mkimage?
yes i follow your instructions, this is rare because i was able to boot once but then i can't no longer boot it
yes i follow your instructions, this is rare because i was able to boot once but then i can't no longer boot it
if it booted and all worked out and now out of suddon it doessn't i guess(!) somthing got corrupted. maybe try a fsck.
juandp77
2010-11-10, 04:59
i mkimage again but always get the same, maybe I should reformat again my sd card
juandp77
2010-11-10, 05:03
just one more question sorry for botter you how is your sd partitions
i mkimage again but always get the same, maybe I should reformat again my sd card
sorry man, i don't even know if it is uboot who complains. i only know that uboot has such a errormessage if the uImage is somehow corrupted(cant read, execute it). thats the hint i can provide you.
its a huge ext3 partition with everything on it.
if you want to make it work with ali's uboot patch: that looks on the third partition if it can find something to boot(therefore you need a 3 partitions: the patch is such that it looks at the 3rd part and only if it is a vfat).
- first it looks for a boot.scr which holds the information how to boot. if so it executes the comands in this file.
- if it cant find the boot.scr it falls back and tries to fetch a kernel from this same partition and boot iirc the first partition with that kernel.
- if it can't find that it falls back to boot with nolo's settings boot(that is maemo unless one has tempered with nolo).
kingoddball
2010-11-10, 20:13
Can anyone post up a fully setup (working keyboard and mouse) Ubuntu 10.10 image that we can all use?
We can just add our own /lib/firmware and /lib/modules..
I had Moh's Ubuntu9 working great, except froze on me when I copied my /lib/ over to get wifi. I would like to try again.
Not just a link to the default website, we need all the configs set up and all :D Pretty please?
You could also just pop the kernel you're using up, as well :D
I will setup multiboot to work and we can all get on the same page. I'm not quite advanced enough to mod and fiddle with everything.
all for it. i for one see a lot of work to do that that will happen one day(that is legaly).
maybe put some presure on nokia to push /all/ the drivers mainstream then it would be easier.
regarding wlan could it be the networkmanager or something else that makes the trouble. (nm tries to take any interface it finds and .. causes a lot of trouble according to my logs, it even tried to talk to the camera which was not even there.... imagine that! )
Can anyone post up a fully setup Ubuntu 10.10 image that we can all use?
We can just add our own /lib/firmware and /lib/modules..
I had Moh's Ubuntu9 working great, except froze on me when I copied my /lib/ over to get wifi. I would like to try again.
Is it possible for someone to post up a fully setup Ubuntu 10.10?
Not just a link to the default website, we need all the configs set up and all :D Pretty please?
You could also just pop the kernel you're using up, as well :D
I will setup multiboot to work and we can all get on the same page. I'm not quite advanced enough to mod and fiddle with everything.
kingoddball
2010-11-10, 23:36
Sorry. In my haste I wrote with incorrect info.
I just meant a working version of ubuntu 10.10 with all drivers for Keyboard and Mouse etc. Not a fully working one! :)
Sorry!
I've seen your guide, seems tricky.
All I was after was a build like Moh's, with working KB and Touchscreen (and maybe ofono ;) )
I don't mean a perfectly finalised build. Sorry.
Try the 9.10 image at the start of the thread, (disable netbook-launcher for speed boost), It works pretty well, Im using the power40 kernel with it and Im running at 1.1ghz on a class 4.
kingoddball
2010-11-11, 00:32
How do you disable net launcher? (I wanted that gone off mine originally).
Also, how do you run it at 1.1GHZ????? :D :D :D :D
I didn't know we could OC with Ubuntu.. Please help, it sounds sweet!!!!
Sorry. In my haste I wrote with incorrect info.
I just meant a working version of ubuntu 10.10 with all drivers for Keyboard and Mouse etc. Not a fully working one! :)
Sorry!
I've seen your guide, seems tricky.
All I was after was a build like Moh's, with working KB and Touchscreen (and maybe ofono ;) )
I don't mean a perfectly finalised build. Sorry.
yeah man. would love to give you that. mabe someone does it. i'm not sure how free the meego stuff is. there are a parts that aren't.(phrases like: "under certain curcumstances", "only nokiastaff" ...) nokia sits on some code like a hen on its eggs,
just to make you feel better: it's anyways like that: the meego kernel sees the next thumb code in the ubuntu and shrieks. and yells "gee, whats that disgusting stuff", and flees into the next corner and stays there.
btw: does one know if the preinstalled ubuntu image run on any real machine out of the box? it looks litle unfinished to me(but i may have overlooked something in the initrd however).
Sorry for the late response. I work nights.
How do you disable net launcher? (I wanted that gone off mine originally).
In ubuntu
sudo killall netbook-launcher
sudo apt-get remove netbook-launcher
sudo apt-get autoremove
or if you still want to option of launching it
System menu > Preferences > Startup Applications > and disable netbook-launcher
Also, how do you run it at 1.1GHZ????? :D :D :D :D
This might break the cursor again, it did for me but I basicly setup tslib insted of udev and it fixes the issue. It might not happen for you, but If it does Ill write steps for fixing.
I use bootmenu, and only power40 as my kernel, If you have multiboot just add the kernel option and set it to power40, I got the red screen is why I didnt bother anymore, I have no use for other kernels anyway.
1. Have Power40 installed and /lib/modules/2.6.28.10power40/ from Maemo, copied to /lib/modules/2.6.28.10power40/
2. In ubuntu (and every time you start; Tip: add this line to the bottom of /etc/init.d/rc.local but bewarned it will auto overclock)
echo 1100000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
3. Use the CPU scaling panel applet for nice profiles and such
I didn't know we could OC with Ubuntu.. Please help, it sounds sweet!!!!
Yeah, Any os can overclock if the kernel supports it.
btw: does one know if the preinstalled ubuntu image run on any real machine out of the box? it looks litle unfinished to me(but i may have overlooked something in the initrd however).
Most likely those overpriced TI dev machines
kingoddball
2010-11-11, 07:29
Probably just a beagleboard (made by Ti).
Or as you said, over prices Omap Dev Boards.
Probably just a beagleboard (made by Ti).
Or as you said, over prices Omap Dev Boards.
what i ment was that the code that should be executed during the first boot never gets called. so you end up in front of a login without a user. no preconfigured user, no oem user and the hook for finishing a oem setup(so you get all the questions on the first boot) is not set ... if someone tried it on a "supported" board i am eager to know if the ramdisk(or whatever) does some magic to enable the hook.
it's easy to set the hook but ...
kingoddball
2010-11-11, 08:20
Does This (9.10) work with PR1.3 Kernel?
Are you using multiboot? What does your .item look like?
I keep getting red screen error when using Power44.
I got it to boot with NITDroid kernel (which will not work right with Ubuntu). I will try again with Omap1/Power44 again.
Does anyone happen to have Power40 kernel available to download?
I'll just build up what it needs :)
I can't get it to run with PR1.3 kernels and I don't have Power40 anywhere (My HDD died last Sunday).
Does anyone happen to have Power40 kernel available to download?
I'll just build up what it needs :)
I can't get it to run with PR1.3 kernels and I don't have Power40 anywhere (My HDD died last Sunday).
No, Im using bootmenu-n900. I said multiboot red screens me.
If you search the USB hostmode Beta thread for mohammads post he posted a power40 kernel with beta hostmode added in, thats what Im using currently.
kingoddball
2010-11-11, 09:06
Ahhh.. I can't get the kernel out (using dpkg) because I have power44.
I can't open the deb and extract in (Mint Linux) as it says its corrupted... :@
I'll try uninstall all Power44 and then retry the P40. I'll post up if that works :)
Edit:
I can't get it to install due to (what seems to be) PR1.3
I can't get it to install due to (what seems to be) PR1.3
Im on PR 1.3
kingoddball
2010-11-11, 09:23
Would you be able to upload your actual kernel file?
vmlinuz-2.6.28.10power40 I believe.
kingoddball
2010-11-11, 09:44
I'm not 100% where it is located on your N900 (bootmenu).
I have a zimage (which will work for as well) in:
/boot/ and in /boot/multiboot (you may have a /boot/bootmenu/ )
and I have them in:
/etc/multiboot/
So maybe I'm outta luck, I'm not sure where it is - Thank you very much anyhow! :)
you should be able to just put ITEM_KERNEL="2.6.28.10power40" in your *.item and it will flash power40 when you boot.
I wanna give 10.10 a go.
When i try to get the ubuntu img on my sd it stays blank ???
I tested
sudo sh -c './ubuntu-netbook-10.10-preinstalled-netbook-armel+omap.img >/dev/sdc4
sudo dd bs=4M if=ubuntu-netbook-10.10-preinstalled-netbook-armel+omap.img of=/dev/sdc4
latest gave me output like this :
2094403584 Bytes (2,1 GB) copyed, 389,831 s, 5,4 MB/s
still empty... Where do i go wrong ? I have tested unmout whole sdc and only sdc4 nothing helped :(
Question for Mohammed really
Will this work with USB Hostmode, ie if I load h-e-n mount a usb device then fire up ubuntu will I be able to see the usb device ?
Sorry if its already been answered
S
Question for Mohammed really
Will this work with USB Hostmode, ie if I load h-e-n mount a usb device then fire up ubuntu will I be able to see the usb device ?
Sorry if its already been answered
S
Good luck. I haven't seen him post here in a while, but, Im pretty sure that h-e-n depends on bme, which is closed source. So basically without proper battery management h-e-n is out of the question.
sudo sh -c './ubuntu-netbook-10.10-preinstalled-netbook-armel+omap.img >/dev/sdc4
(
Whats this for?
Whats this for?
Followed this :
put it on a sd just the way they explain it on the ubuntu page.
https://wiki.ubuntu.com/ARM/OMAPMaverickInstall
I got the image, and try to put it on the sd, all done on a ubuntu pc, no luck yet. Dont know if this works on a partition, or if i need a whole sd ...
Gettting the files from the meego img was quite easy ...
Edit : Solved the problem by using a new sd card :D
wait it is a whole sd image not only a partition.
so it's
> /dev/mmcblck1
without the pxx
look at the ubuntu page for a copy and paste command.
and you use /dev/sdc is on purpose?
I wanna give 10.10 a go.
When i try to get the ubuntu img on my sd it stays blank ???
I tested
sudo sh -c './ubuntu-netbook-10.10-preinstalled-netbook-armel+omap.img >/dev/sdc4
sudo dd bs=4M if=ubuntu-netbook-10.10-preinstalled-netbook-armel+omap.img of=/dev/sdc4
latest gave me output like this :
2094403584 Bytes (2,1 GB) copyed, 389,831 s, 5,4 MB/s
still empty... Where do i go wrong ? I have tested unmout whole sdc and only sdc4 nothing helped :(
Well this 10.10 looks like a nogo for me :( I dont want to loose so much (Nitdroid,Debian,Neopwn) just because of the u-boot. Hope there will be a solution someday ....
skykooler
2010-11-13, 14:08
Will this work with multiboot, and if so, what would the option file look like?
Well this 10.10 looks like a nogo for me :( I dont want to loose so much (Nitdroid,Debian,Neopwn) just because of the u-boot. Hope there will be a solution someday ....
uboot is the solution, Every embedded device is using uboot now.
Lunat have you looked at the beagleboard wiki (http://elinux.org/BeagleBoardUbuntu) any? Theres nice instructions on how to build a kernel with DSP and SGX for ubuntu
Lunat have you looked at the beagleboard wiki (http://elinux.org/BeagleBoardUbuntu) any? Theres nice instructions on how to build a kernel with DSP and SGX for ubuntu
i had a look at meego as well: it looks like they have SGX and configure it via rc script "pvrsrvinit"... but priority is telephone, sms, calls ...
What card do you recommend for Ubuntu (regarding capacity and speed)? I currently have Kingston 8GB class 4, is that enough?
What card do you recommend for Ubuntu (regarding capacity and speed)? I currently have Kingston 8GB class 4, is that enough?
Thats what I use, their awful slow, but all sd cards are.
i had a look at meego as well: it looks like they have SGX and configure it via rc script "pvrsrvinit"... but priority is telephone, sms, calls ...
I spent all day yesterday trying to back-port drivers to 9.10, but no luck, It depends on the new kernel to much.
Could someone clear this up for me, the wikis say the A8 is armv7, but because of our broken THUMB support we can only run armv6?
Also considering the Ubuntu 10.10 image is armv7 optimized, should we build our own kernel image without thumb (if possible)?
We probably should build a root filesystem image ether way because we can make the image alot smaller by leaving out alot of the pointless/self-reinstall-able packages.
Thats what I use, their awful slow, but all sd cards are.
You mean it's not worth it to buy a new card? I was planning to buy some class 10-enabled one (8GB or 16GB), but now it doesn't seem I need to...
I spent all day yesterday trying to back-port drivers to 9.10, but no luck, It depends on the new kernel to much.
Could someone clear this up for me, the wikis say the A8 is armv7, but because of our broken THUMB support we can only run armv6?
Also considering the Ubuntu 10.10 image is armv7 optimized, should we build our own kernel image without thumb (if possible)?
We probably should build a root filesystem image ether way because we can make the image alot smaller by leaving out alot of the pointless/self-reinstall-able packages.
----
CONFIG_CPU_32v6K=y
CONFIG_CPU_V7=y
CONFIG_CPU_32v7=y
CONFIG_CPU_ABRT_EV7=y
CONFIG_CPU_PABRT_V7=y
CONFIG_CPU_CACHE_V7=y
CONFIG_CPU_CACHE_VIPT=y
CONFIG_CPU_COPY_V6=y
CONFIG_CPU_TLB_V7=y
CONFIG_CPU_HAS_ASID=y
CONFIG_CPU_CP15=y
CONFIG_CPU_CP15_MMU=y
#
# Processor Features
#
CONFIG_ARM_THUMB=y
CONFIG_ARM_THUMBEE=y
----
edit do you have a link to what goes wrong with v7, please?
edit2: this is from a(running) 36 kernel ubuntu has a 35 atm.
skykooler
2010-11-15, 05:02
mkdir -p /mnt/meego
losetup /dev/loop0 ${MEEGO_IMAGE} -o <OFFSET>
mount /dev/loop0 /mnt/meego
OR on the pc:
mkdir -p /mnt/meego
mount -o loop,offset= <OFFSET> ${MEEGO_IMAGE} /mnt/meego
OR your way of mounting images on windows..
you get the offset via sfdisk -lu
the startnumber it tells you needs to be multiplied with the blocksize and this is the offset.
losetup /dev/loop0 ${MEEGO_IMAGE}
sfdisk -lu /dev/loop0
look up the start of the partition. it's the 1rst number in the line with part.type "linux" or 83 Hex and multiply it with the blocksize, should be 512(it tells you in the head!)
losetup -d /dev/loop0
wait: don't use that ooold image in the chroot howto but a new one! see for instance:
http://wiki.meego.com/ARM/N900/Install/MMC#Linux
now mount that with the offset of the real image you have( the image i tried had an offset of 512 ).
I cannot mount the meego image. sfdisk -lu /dev/loop0 returns unrecognized format - using sectors
I have re-downloaded the image to check that it is not corrupt and got the same error. How do I fix this?
I cannot mount the meego image. sfdisk -lu /dev/loop0 returns unrecognized format - using sectors
I have re-downloaded the image to check that it is not corrupt and got the same error. How do I fix this?
yep - at least this is what sfdisk says..i don't know if you need a different image, or download the same image again or the losetup didn't work out. and maybe try -luB if you dont ge't units in blocks with the -lu - but that shouldn't be the issue in your case(it doesn't show you anything and not something using with wrong unit).
----
#
# Processor Features
#
CONFIG_ARM_THUMB=y
CONFIG_ARM_THUMBEE=y
----
edit do you have a link to what goes wrong with v7, please?
edit2: this is from a(running) 36 kernel ubuntu has a 35 atm.
Ive heard qole say is 100 times at least.
So if we compile with
CONFIG_ARM_THUMB=n
CONFIG_ARM_THUMBEE=n
Thumb would be disabled?
Ive heard qole say is 100 times at least.
So if we compile with
CONFIG_ARM_THUMB=n
CONFIG_ARM_THUMBEE=n
Thumb would be disabled?
yes: if you dissable thumb you cant execute thumbcode anymore(but imo you will want to).
and i don't doubt what you say. it's just that i want to know the issue. for it seems i am quite successfully working around an issue i am not aware of.
im confused read the tutorial before (Install Ubuntu 10.10 from lunat),im beginner on linux.
can create some simple Tutorial, im on PR.1.3 and still using multiboot (multiboot.d/NITDroid.item)
thanks
im confused read the tutorial before (Install Ubuntu 10.10 from lunat),im beginner on linux.
can create some simple Tutorial, im on PR.1.3 and still using multiboot (multiboot.d/NITDroid.item)
thanks
it is not simple.
and using the meego kernelis wrong. thats just proof of concept.
... heard nitroid kernel works better... for a better poc
still: roll your own kernel put it on ubuntu and it works fairly.
i want to make something clear. all that thing with patching ubuntu with the meego kernel was to show you can start it.
what it clearly is not, never was, and never was intentend to be: a way of getting a ubuntu you can use in any way. it is not. it does not work!
it is a way to get a start to how to tackle it.
i do not try to get it working with the meego or the maemo kernel or such approaches. what i do is patch up brandnew kernels to the brim with the newest patches i can find. and see if i can apply them. partly manually apply patches. change the kernel again and again and see if it works better. and get better results with every try but it is still not good. and if you go down and look a the a copied part of my modules you will find every module with a little description what it does. and thats only part of it. so you can look at it and see if you have the driver or not and might find a hint who the troublemaker could be - or give me a hint to better use some other drivers/patches.
additionally i take packages and compile them myself take other things from various gits and compile them define new depencdies to make it work and so it goes.
thats nothing you could simple copy and paste and just use.
thats nothing to put on a emmc for it may crash and simple destroy it for good. it may even render your device unusable.
but it can go very fast that we get it working. many things work. actually most. still that doesn't help much for the things that don't work spoil everything. and with ubuntu the spoilers hit one even more for it does many things automaticly which is nice for a enduser but very odd if you have a unstable thing and want to separate the troublemakers and find problems(eg network manager: )
no, a distribution it not just downloading software and installing it. its a lot, lot of work to make them work together.
again i wrote the steps together for the folks who repeatedly begged for instructions how to tackle it and for the ever repeating same questions. especially keyboard which never was an issue. and to get away from the non issue to see a loginscreen to the real issues. and i used the meego kernel only for it is a precompiled kernel good enough for the poc(no need to describe every step necessary to compile a kernel) but it is by no means realy working with it.
also: it makes no sense at all to take a precompiled kerneldriver for a kernel it wasn't built for: might work in some cases. generaly it doesn't. makes no sense to put such a thing online - the source of the patch does make sense and whoever want that will find it(have it for the kernel you use. it may have changed since it was submitted the first time).
i hope that was clear enough to how i think about this.
i really like the comunity thing and realy like to have things in the open. that is all what imo hacking is about: to see whats happening behind the scenes. and i don't keep my stuff to myself and share if it is possible, but until it is not made working: it doesn't work.
help me to compress and upload the firmware and modules from PR 1.2, im already on PR 1.3. i want to try Maemo on PR 1.3 and on Ubuntu 9.10 using PR.1.2...
Please...
Thanks
I'm still having trouble with bluetooth on 10.10 and 2.6.28.10-power45.
I copied everything in /lib/firmware and /lib/modules,
but the system->settings->bluetooth says I have no bluetooth hardware.
I tried:
echo "<My bt address>" > /sys/devices/platform/hci_h4p/bdaddr
modprobe -r hci_h4p
but still nothing
Any hints?
Also, everything seems to segfault rather frequently. I can't open gnome-terminal, and it takes a few tries to get wicd to connect without X crashing.
most everything else seems to work ok.
its anyways more than this driver. but 2.6.28 i'd say really is a no go. unless you realy copy half of maemo and even in this case expect problems. i mean: you can get it to work but the result will be either a maemo or somthing that is neither maemo nor ubuntu.
usable kernels start with 2.6.35(thats what ubuntu uses) together with bugfixes. 2.6.36 slowly becomes usable, still needs patches.
btw: i still need a frontend for the phone.
EDIT1: i think 2.6.33 was the first kernel that was able to boot but thats more like: "hurray we booted it".
EDIT2:2.6.37 might be tempting but i didn't see a lot of improvements so 2.6.36 with patches still seems the best to go atm.
EDIT3:segfauts and oopses are to expect unless everything is sane. and maemo kernel on ubuntu sure is not.
EDIT3: whatchout for thumb code as well....
I'm still having trouble with bluetooth on 10.10 and 2.6.28.10-power45.
I copied everything in /lib/firmware and /lib/modules,
but the system->settings->bluetooth says I have no bluetooth hardware.
I tried:
but still nothing
Any hints?
usable kernels start with 2.6.35(thats what ubuntu uses) together with bugfixes. 2.6.36 slowly becomes usable, still needs patches.
btw: i still need a frontend for the phone.
EDIT1: i think 2.6.33 was the first kernel that was able to boot but thats more like: "hurray we booted it".
I haven't had any trouble booting, logging in, and getting online with firefox (once everything is set up). I would describe it as mostly usable on 2.6.28-power45.
Unfortunately, the new microSD i just got in the mail today is garbage and has already failed, so i'm still installing to the emmc.
I've got bootmenu-n900 loading after uboot. Can I use uboot to dual-boot a different kernel from the emmc? Sorry for the lame question, but I don't really know where to begin with that one.
I would try karmic, but I've never been able to get around the inverted touchscreen when using kernel-power. Perhaps now that I have a BT mouse, it'd be worth giving it another shot.
Anyone know the command to run the bluetooth settings from the terminal on karmic?
a) uboot: yes. works fine. just point it to the kernel and the rootpartition and it boots.
b) your problem with bluetooth has little to do with ubuntu but something to do with maemo and how to set up bluetooth under maemo. as you are not using ubuntu but maemo you should be able to use the maemo stack for bluetooth and have no problem at all.
c) login: did you realize that it is a unfinished ubuntu setup or did you finalize the ubuntu setup? how did you get your useraccount? i guess you did a chroot and never came across the real problems...
d) networkmanager: is it working? powermanagment applet(any from ubuntu): does it work? or do you have the bme in the background? how does ubuntu interact with bme? could you successfully make a call with ubuntu?
EDIT: to that networmanager: ubuntu needs something to enable the phone. so what do you use? ubuntu's phonstack is telepathy-ring with ofono and on top maybe empathy. try it and look into you logs. and you'll see!
I haven't had any trouble booting, logging in, and getting online with firefox (once everything is set up). I would describe it as mostly usable on 2.6.28-power45.
Unfortunately, the new microSD i just got in the mail today is garbage and has already failed, so i'm still installing to the emmc.
I've got bootmenu-n900 loading after uboot. Can I use uboot to dual-boot a different kernel from the emmc? Sorry for the lame question, but I don't really know where to begin with that one.
I would try karmic, but I've never been able to get around the inverted touchscreen when using kernel-power. Perhaps now that I have a BT mouse, it'd be worth giving it another shot.
Anyone know the command to run the bluetooth settings from the terminal on karmic?
a) uboot: yes. works fine. just point it to the kernel and the rootpartition and it boots.
Thanks! I'll have to look that up.
b) your problem with bluetooth has little to do with ubuntu but something to do with maemo and how to set up bluetooth under maemo. as you are not using ubuntu but maemo you should be able to use the maemo stack for bluetooth and have no problem at all.
Sounds great. I'll have to look into that too!
c) login: did you realize that it is a unfinished ubuntu setup or did you finalize the ubuntu setup? how did you get your useraccount? i guess you did a chroot and never came across the real problems...
naturally. After setting up the user account in the chroot, I remove linux-image* (to avoid problems with updates), and then install openssh-server and wicd.
d) networkmanager: is it working?
No, but wicd works.
powermanagment applet(any from ubuntu): does it work?
haven't checked.
could you successfully make a call with ubuntu?
I'm really not too worried about phone stuff at the moment. Presumably, if i can get my BT headset working, i could just use ekiga and sip over wifi. This would be find for me.
Really, my main reason for wanting to do this is to get a normal window manager and full keyboard support. I know i could just use easy debian for a window manager, but ctrl and alt don't work even with the bt-hid scripts. And my bluetooth keyboard performs even worse inside easydebian.
Thanks for your help. I'm not really bothered if the OS i use is some sort of Frankenstein hybrid between ubuntu and maemo, as long as it meets my needs.
naturally. After setting up the user account in the chroot, I remove linux-image* (to avoid problems with updates), and then install openssh-server and wicd.
yeah. the real fun starts if you realy do the first boot. it initializes the system askes you for login, for your locals(keyboard), the timezone...
and somwhere in the process... it crashes(while you are going through the wizard, networkmager probes the devices and ... ). thats what i ment with you missed a lot of fun.
you could simply chroot from maemo. some "easy ubuntu" (like the easy debian only with ubuntu ) in that case you have everything set up from maemo and the desktop from ubuntu(not completly stable but not too bad a solution if it is for the apps or the windowmanager and omitting a lot trouble ).
yeah. the real fun starts if you realy do the first boot. it initializes the system askes you for login, for your locals(keyboard), the timezone...
and somwhere in the process... it crashes(while you are going through the wizard, networkmager probes the devices and ... ). thats what i ment with you missed a lot of fun.
Why doesn't it do this when running the maemo kernel? I would have figured gdm would just launch that if there were no user accounts or something. This is a kernel thing? I suppose it's more complicated than i'd thought.
you could simply chroot from maemo. some "easy ubuntu" (like the easy debian only with ubuntu ) in that case you have everything set up from maemo and the desktop from ubuntu(not completly stable but not too bad a solution if it is for the apps or the windowmanager and omitting a lot trouble ).
For me, the problem with this is the poor BT keyboard support inside maemo (no ctrl, alt, fn, or key repeat). I was hoping it would be better in ubuntu.
Why doesn't it do this when running the maemo kernel? I would have figured gdm would just launch that if there were no user accounts or something. This is a kernel thing? I suppose it's more complicated than i'd thought.
the crashing and nm working or not is a kernel thing. that the dialog doesn't apear is not: the image as is, is not prepared to pop it up. meaning in essence if you don't use a chroot you end up with no login and if you use a chroot the setup is not finalized.
For me, the problem with this is the poor BT keyboard support inside maemo (no ctrl, alt, fn, or key repeat). I was hoping it would be better in ubuntu.
sory can't help you with that, my tries with bluetoth go as far as to pair with another machine. don't know anything about the keyboard issue. but as an idea: did you try to fuss with the xconfiguration of maemo? i can imagine that it just uses the keyboard definition it was told to use with the n900 keyboard and you need a second section for the other keyboard with a different kb type? but i don't know what i am talking about in this regard so thats only an idea ..,
sory can't help you with that, my tries with bluetoth go as far as to pair with another machine. don't know anything about the keyboard issue. but as an idea: did you try to fuss with the xconfiguration of maemo? i can imagine that it just uses the keyboard definition it was told to use with the n900 keyboard and you need a second section for the other keyboard with a different kb type? but i don't know what i am talking about in this regard so thats only an idea ..,
I'm using the bt-hid scripts on maemo to handle the bluetooth keyboard, and others have also had similar complaints. 100% keyboard support seems to be a no-go, at least for now. This thread looks promising: http://talk.maemo.org/showthread.php?p=872548#post872548
Inside ubuntu, after actually entering the right command, (i'd goofed up on previous attempts, leaving out the first "modprobe;")I was able to pair the keyboard, but it didn't seem to actually do anything. I guess i'll be messing with the ubuntu xorg.conf this weekend.
My usb bluetooth adapter for my laptop should be arriving tomorrow, perhaps that will help me gain some insight on to how to handle this in ubuntu.
i finished all mission
when i choose ubuntu from multiboot the phone stay in white screen in multiboot and phone freez
what is the problem ??
sorry for my bad english
what is the problem ??
try with frambuffer enabled and see what causes the trouble.
Radicalz38
2010-11-27, 15:13
Any solution now here of running ubuntu without r&d mode enabled? If yes please put a linkback as I have read this thread with no success yet.
ubuntu does not require r&d mode. why should it?
Any solution now here of running ubuntu without r&d mode enabled? If yes please put a linkback as I have read this thread with no success yet.
ubuntu does not require r&d mode. why should it?
coz on tutorial from muhammad before need some R&D Mode flashing kernel... its dont need anymore???
what ubuntu version run on your N900?
what firmware you used now?
Its in your ubuntu can make some call or SMS?
thanks....
he just turns off the watchdogs via r&d.
you don't need that, that means: ubuntu doesn't need that.
if you see a reboot out of a sudden. you have to turn the watchdogs off or handle them...
-> if maemo wakes them up, you have to handle them by configuring watchdogs. otherwise they do what they should do:reset the machine.
-> if wd support is not in the kernel, you obviously need it in it
... or you ignore it and turn the wd off via r&d.
for the firmware: you find it in /lib/firmware...
calls and sms: ofono(from source, no arm binary)->telepathy ring(dito)->empathy(?)
coz on tutorial from muhammad before need some R&D Mode flashing kernel... its dont need anymore???
what ubuntu version run on your N900?
what firmware you used now?
Its in your ubuntu can make some call or SMS?
thanks....
Radicalz38
2010-11-30, 21:25
Ok then how do i disable watchdog without enabling r&d mode? or at least configure it to not reboot? Cause if it reboots automatically I need to enable R&D
Ok then how do i disable watchdog without enabling r&d mode? or at least configure it to not reboot? Cause if it reboots automatically I need to enable R&D
http://manpages.ubuntu.com/manpages/lucid/man8/watchdog.8.html
http://manpages.ubuntu.com/manpages/lucid/man5/watchdog.conf.5.html
Radicalz38
2010-11-30, 21:50
Ok I got it now.. I thought I need to disable maemo's watchdog instead of ubuntu :p
Great thanks btw! for the very quick response now on to the download mode :D
Ok I got it now.. I thought I need to disable maemo's watchdog instead of ubuntu :p
Great thanks btw! for the very quick response now on to the download mode :D
usually it gets disabled when the driver is loaded until gets woken up again. you can disable it only if the kerneldriver is configured to allow this.
How to disable watchdog?
that really is the good thing about maemo standard kernel: it won't let you unless you fire up r&d. this is a nice little stop sign that says: stop and think about what you are doing. i think i leave it in place.
Radicalz38
2010-12-01, 03:21
Yey managed to boot it without r&d thanks for the tip lunat :p
Radicalz38
2010-12-07, 17:18
How to disable watchdog?
Simple but needs kernel modification... Just compile your own kernel with CONFIG_WATCHDOG_NOWAYOUT config set to disabled.
BTW found out this new script and said to be able to send replies back to watchdog to prevent it from rebooting... But seems like I can't get this to work...
#!/bin/sh
#
# chkconfig: 12345 01 99
# description: N900 watchdog kicker
#
# Source function library.
. /etc/rc.d/init.d/functions
[ -x /usr/sbin/wd_keepalive ] || exit 0
RETVAL=0
prog=wd_keepalive
pidfile=/var/run/wd_keepalive.pid
lockfile=/var/lock/subsys/n900_wd
start() {
echo -n $"Starting $prog: "
/usr/sbin/${prog} -c /etc/watchdog-omap.conf
RETVAL=$?
[ $RETVAL -ne 0 ] && (echo_failure; echo; return $RETVAL)
/usr/sbin/${prog} -c /etc/watchdog-twl4030.conf
RETVAL=$?
[ $RETVAL -eq 0 ] && touch $lockfile
[ $RETVAL -eq 0 ] && echo_success
[ $RETVAL -ne 0 ] && echo_failure
echo
return $RETVAL
}
stop() {
rm -f $lockfile $pidfile
}
case "$1" in
start)
start
;;
stop)
stop
;;
status)
status $prog
RETVAL=$?
;;
*)
echo $"Usage: $0 {start|status}"
exit 1
esac
watchdog-device = /dev/twl4030_wdt
interval = 10
realtime = yes
priority = 1
watchdog-device = /dev/watchdog
interval = 10
realtime = yes
priority = 1
I put watchdog-omap.conf and watchdog-twl4030.conf
in /etc/
and the main script to /etc/init.d/
Am I doing it the wrong way?
And the files pointed here doesn't exist..
usr/sbin/wd_keepalive
/etc/rc.d/init.d/functions
(Checked also /etc/init.d/functions but still doesn't exist)
very short description: what is the problem?
but: doesn't look like the ubuntu startscript, the script feels like one from fedora(?) therefore: does the script get called?
if not:
quick and dirty: put link in rcNN.d like chkconfig header suggests
----
but what's wrong with:
apt-get install watchdog
Radicalz38
2010-12-07, 18:38
That is the problem... It isn't initiated on bootup :p
So I guess i'm on the wrong directory then... I've put mine on /etc/init.d/wd_n900. I thought it would still get initiated there.
first off i do not understand why you don't just use the ubuntu script that comes with the wtchdog. but not my business...
putting something in /etc/init.d does not cause it to be called. you need the links in the runlevels. (alternatively convert the script to a upstart script)
so you have to link it in. eg:
cp -s /etc/init.d/yourscript /etc/rc1.d/S01yourscript
to call it in runlevel 1 you might want to have it called in (all)other runlevels and/or have the priority behind the S adjusted.
and if that doesn't work something with your booting is wrong and the /etc/event.d/rcX (rsp. /etc/init.d/rc ) doesn't get called.
EDIT:
spot in your script the line:
# chkconfig: 12345 01 99
that's to be done.
EDIT:
for ubuntu it says it needs this links:
---
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
---
That is the problem... It isn't initiated on bootup :p
So I guess i'm on the wrong directory then... I've put mine on /etc/init.d/wd_n900. I thought it would still get initiated there.
Radicalz38
2010-12-07, 19:03
first off i do not understand why you don't just use the ubuntu script that comes with the wtchdog. but not my business...
putting something in /etc/init.d does not cause it to be called. you need the links in the runlevels. (alternatively convert the script to a upstart script)
so you have to link it in. eg:
cp -s /etc/init.d/yourscript /etc/rc1.d/S01yourscript
to call it in runlevel 1 you might want to have it called in (all)other runlevels and/or have the priority behind the S adjusted.
and if that doesn't work something with your booting is wrong and the /etc/event.d/rcX (rsp. /etc/init.d/rc ) doesn't get called.
Well in the first place i'm not a linux guru so I really am not that familiar with the filesystem. I just read it here that there's a script which could communicate with watchdog so it won't reboot itself. And that got my interest and look at it and tested it :p
Also I didn't know there is already a script for watchdog that comes with maemo... :D
sorry if i sounded arrogant. it was not ment that way. by no means,;)
just try to help.
please don't be mad at me for saying that i do not understand why you needed to manually install a script. i said i do not understand why you don't use the ubuntu script for it comes with the watchdog daemon. so if you have the watchdog daemon you normally should have the ubuntu script right in place without doing anything. so i was simply wondering why you seemingly replaced it with some other script. so no offence at all!
your script looks like fedora init scripts. that does not mean it is fedora but that's the biggest distribution that has scripts like this.
skimming over it, it looks like it does nothing essentially different than the ubuntu script. so it most likely should work.
the only reason i can see for it not even being called is that it simply is not linked into the runlevels. see below how to do that. that linking is usually done automatically. only for you manually installed the script you have to explicitly tell the system to use it and when. that's done by creating the links. again see below how to do that and maybe look at other initscripts for examples.
cp -s SOME.SCRIPT.WHEREEVER.IT.IS /etc/rcX.d/S01FANCYNAME
in rcX replace the X with a number. S is used for a daemon that is started and K one that is stopped. the two digits behind that are the order in which the scripts are started in a runlevel.
and if you have them in place, it either should work or you should see some error on the terminal and/or in the logs. i
/etc/watchdog.conf needs adjustment. thats where you define what the daemon should do.
Well in the first place i'm not a linux guru so I really am not that familiar with the filesystem. I just read it here that there's a script which could communicate with watchdog so it won't reboot itself. And that got my interest and look at it and tested it :p
Also I didn't know there is already a script for watchdog that comes with maemo... :D
Radicalz38
2010-12-07, 20:09
:D Actually I wasn't mad or anything you just misinterpretted it :p
Yes I understood already the problem and your explanation, actually I already got it working now :)
I just explained why I used another watchdog script. So the simple answer is that I didn't know there is one already. Someone just referred me to that script when I asked so that's the one I used. :D
And ok might wanna try that default script now... So all I have to do is edit the watchdog.conf and all should be fine? Would that mean I wouldn't need the watchdog-omap.conf & watchdog-twl4030.conf to go around watchdog? Again thanks for the time!
Oh btw you can explain simplier... I know linux... It's just I don't bother to dwell deeper on it until now of course :)
yes! there you are right. you need the configurations. and you need as many watchdogs running as you have wd-devices.
so for that you might want to go with your script.
:D Actually I wasn't mad or anything you just misinterpretted it :p
Yes I understood already the problem and your explanation, actually I already got it working now :)
I just explained why I used another watchdog script. So the simple answer is that I didn't know there is one already. Someone just referred me to that script when I asked so that's the one I used. :D
And ok might wanna try that default script now... So all I have to do is edit the watchdog.conf and all should be fine? Would that mean I wouldn't need the watchdog-omap.conf & watchdog-twl4030.conf to go around watchdog? Again thanks for the time!
Oh btw you can explain simplier... I know linux... It's just I don't bother to dwell deeper on it until now of course :)
Radicalz38
2010-12-07, 20:45
I'm just doing this for learning :p so I will try everything I can lol!
but first I need to fix this inverted keyboard... The module provided by mohammad can't be insmod it shows up an error... So gonna work on this first before anything else. Again thanks for the help!
Radicalz38
2010-12-08, 00:44
@.@ ok this is odd... I flashed my device, reinstalled everything now I can't boot ubuntu without R&D mode... the device would just say
booting from ubuntu (mmcblk0p5 ext3)
ok now what? T_T
R&D mode needs to be disabled to boot but when enabled whether I put my script or extend the interval of the default watchdog.conf the device reboots itself now...
If my mind is working right it seems like the device won't get to the point where it reads all my script. The watchdog just timesout on bootmenu.
Any ideas?
may it be that this partition is gone?
----
booting from ubuntu (mmcblk0p5 ext3) <---
---
@.@ ok this is odd... I flashed my device, reinstalled everything now I can't boot ubuntu without R&D mode... the device would just say
ok now what? T_T
R&D mode needs to be disabled to boot but when enabled whether I put my script or extend the interval of the default watchdog.conf the device reboots itself now...
If my mind is working right it seems like the device won't get to the point where it reads all my script. The watchdog just timesout on bootmenu.
Any ideas?
Radicalz38
2010-12-08, 09:44
I have repartitioned again the device and put ubuntu into it... I can see it through df... Also since I mounted it I can also see it on my file manager,,,
Also it boots when R&D mode is disabled :(
wow. put the framebuffer on and some logging. better even if you have some serial console. too get a hint why it crashes.
I have repartitioned again the device and put ubuntu into it... I can see it through df... Also since I mounted it I can also see it on my file manager,,,
Also it boots when R&D mode is disabled :(
Radicalz38
2010-12-08, 22:53
Hmm I have also U-Boot installed.. as of I know it has an option to use serial console right? I'm not in a place to reflash my n900 atm as I have no tools... not at home :p
Do you know by any chance any kernel which has framebuffer or at least can fbcon be insmod?
it has. but...
but ali disabled it for some other issues(iirc usb driver, tradeoff with another usecase) in the version he originally made public together with an explanation how to enable it.
now i do not know if the version that maemo has, has it still disabled or enabled.
search for the thread in which ali anounces his n900 driver patches for uboot for details.
Hmm I have also U-Boot installed.. as of I know it has an option to use serial console right? I'm not in a place to reflash my n900 atm as I have no tools... not at home :p
Do you know by any chance any kernel which has framebuffer or at least can fbcon be insmod?
Radicalz38
2010-12-08, 23:08
Ok thanks! Will do later on :D if there's no alternative to it I guess I should halt this for the mean time and switch over to easy debian... :)
Radicalz38
2010-12-09, 09:04
Ok another update... I just forgot to tell you that I copied /lib/modules/* and /lib/firmware/* of power kernel v45 which has u-boot installed... Do you think that makes a conflict?
senorsmile
2010-12-10, 03:25
There are a lot of posts here to sort through. has anyone successfully gotten ubuntu 10.10 installed as a bootable option on the n900?
can somebody post guide to install ubuntu. with power kernel
Ok another update... I just forgot to tell you that I copied /lib/modules/* and /lib/firmware/* of power kernel v45 which has u-boot installed... Do you think that makes a conflict?
sry if it is late. i got no mail for this threat anymore.
/lib/modules has subdirectories. each of them contains parts of specific kernel. any kernel that as parts of it compiled as separate modules you need one such directory or that parts of the kernel are missing.
so if changed the kernel you will need the modules for the kernel.
/lib/firmware is different. it contains parts that depend on the devices. well, for you use the device via drivers it is also closely connected with the kernel. but in most cases you won't have to change the firmware if you change a kernel and vice versa.
so if it is one of the two that causes you the trouble, it is rather the first.
coolisn900
2010-12-19, 03:29
i want to install ubuntu on my n900 but i dont want to install it on my memory card cus its only 1gb capacity so if anyone knows a way to install to the phone memory with multiboot too just post .. tnks in advance. :)
Radicalz38
2010-12-19, 04:50
sry if it is late. i got no mail for this threat anymore.
/lib/modules has subdirectories. each of them contains parts of specific kernel. any kernel that as parts of it compiled as separate modules you need one such directory or that parts of the kernel are missing.
so if changed the kernel you will need the modules for the kernel.
/lib/firmware is different. it contains parts that depend on the devices. well, for you use the device via drivers it is also closely connected with the kernel. but in most cases you won't have to change the firmware if you change a kernel and vice versa.
so if it is one of the two that causes you the trouble, it is rather the first.
Thanks! I sorted it out now through enabling R & D mode... Seems like I can't redo what I did in the past where I could boot ubuntu without R & D mode.
i want to install ubuntu on my n900 but i dont want to install it on my memory card cus its only 1gb capacity so if anyone knows a way to install to the phone memory with multiboot too just post .. tnks in advance.
It's just easy... Just change EXT_CARD into INT_CARD on the item file of multiboot(Well that's what I did on bootmenu)...
Harder part is to partition your EMMC.. Don't ask me for a tutorial I'm bad at doing it. Just search this forum there's a bunch of tutorials on repartitioning EMMC with gparted or fdisk.
Th
Harder part is to partition your EMMC.. Don't ask me for a tutorial I'm bad at doing it. Just search this forum there's a bunch of tutorials on repartitioning EMMC with gparted or fdisk.
thats actualy straight forward. only boot into a different disk first. the easiest way(least effort) is to boot into a ramdisk. and do what you want to your disk from there.
Derekwang
2010-12-27, 00:41
http://mohammadag.xceleo.org/public/NITUbuntu/ubunturootfs.tar.bz2
MD5Sum: a76ada218fac7d014115f38d7dfb14b3
(First of all, thanks to xnt14 (http://xceleo.com/me/) for allowing me to host the file and giving me a subdomain - I've moved my files to http://mohammadag.xceleo.org/public/ so you can find everything from me there, again, thanks)
Mouse working! See this (http://talk.maemo.org/showpost.php?p=754748&postcount=84) Note: as I said above, the mouse pointer is broken, this does NOT seem to be a calibration but a kernel module one, or a broken X/xorg configuration file, the pointer works fine in Fedora 12 and Mer, so I'm assuming this is a cannonical modified X problem, need assistance on this as Ubuntu is be very unusable with a broken pointer.
How unusable is unusable? The pointer is flipped, so up is down, the top part of the screen moves the pointer to the bottom side, and the far ends of the screen cannot be tapped without pressure on the bottom side of the screen, again, I need help from someone who knows C to fix this.
Quick instructions, I'm not really into sfdisk so the instructions are based on gparted, if anyone feels the instructions could be better then please feel free to post what you want :)
1. Connect the N900 to a PC running linux (Live CDs/Virtual machines will suffice).
2. Use gparted to partition the N900's MicroSD card, the image is 2.3GBs uncompressed, so you'll need at least 2.5GBs to run Ubuntu (3GBs if you want extra space for /home or apps).
3. Unpack the tar.bz2 into the root of the partition, an easy way to do this would be to use file-roller, the defualt archive manager in Ubuntu.
4. Disconnect the N900 from your PC.
5. Open terminal, type ls /dev/mmcblk1* to see the partitions on your MicroSD.
Assuming your partition is /dev/mmcblk1p2..
mkdir -p /mnt/ubuntu && mount /dev/mmcblk1p2 /mnt/ubuntu
cp -r /lib/modules/* /mnt/ubuntu/lib/modules/
cp /lib/firmware/* /mnt/ubuntu/lib/firmware/
chroot /mnt/ubuntu /bin/bash
useradd -m <replace with your username here> (e.g useradd -m mohammad)
# fill in details as you wish.
visudo
# Edit the file and add your username to sudoers using visudo
# Example (replace my username with yours)
# # User privilege specification
# root ALL=(ALL) ALL
# mohammad ALL=(ALL) ALL
cp /usr/share/applications/gnome-terminal.desktop /home/mohammad/Desktop/
exit
6. Install bootmenu-n900 and add a bootmenu entry in /etc/bootmenu.d
vi /etc/bootmenu.d/ubuntu.ext.item
# Press I to enter input mode.
# Replace partition numbers with the ones on your device.
ITEM_NAME="Ubuntu 9.10 Karmic (external SD, partition 2)"
ITEM_ID="ubuntu"
ITEM_DEVICE="${EXT_CARD}p2"
ITEM_MODULES="mbcache jbd ext3"
ITEM_FSTYPE="ext3"
ITEM_FSOPTIONS="noatime,rw"
Shutdown the N900, hold the U key to go into flashing mode then
flasher-3.5 --enable-rd-mode --set-rd-flags=no-omap-wd,no-lifeguard-reset,no-ext-wd
The need for R&D mode will be fixed soon, I didn't save how I did last time so I'll need to figure it out again.
Reboot, and pick Ubuntu in the bootmenu and gnome desktop should start.
Edit: oh and to get BT working (thanks giannoug)
echo "00:11:22:33:44:55" > /sys/devices/platform/hci_h4p/bdaddr; modprobe -r hci_h4p; modprobe hci_h4p
I TRIED ALL THIS, but unfortunately, it seems that there is no Kernel to boot the Ubuntu. Pls kindly specify how to flash the kernel. I entered into R&D mode, but nothing happened.
i repeat.
1. watchdogsupport is the key to get rid of r&dor leave it on
2. ubuntu uses a different "arch" than debian and for that matter maemo. (to simplify even more: it speaks a different languague, ) so you need a kernel that has support for this. maemo kernel hasn't. powerkernel has. but it fails.
3. mousesupport is actually touchscreensupport and it is the tsc2005 driver you need. as it is part of the kernel you need one for the particular kernel you use and nothing else.
4. i said it before: it makes no sense to use a maemo kernel. a linux( != maemo) kernel works best(something recent). so go and grab a 2.6.37 linux kernel put everything you need in and you are mostly good.
5. if you want to keep your maemo kernel your best bet is the powerkernel. otherwise you do not want to flash a linux kernel for maemo needs a maemo kernel and won't run with a linux kernel. (powerkernel is something inbetween)so you either kexec into linux from maemo or have a meamo kernel to boot maemo and a linux kernel to boot linux.
I TRIED ALL THIS, but unfortunately, it seems that there is no Kernel to boot the Ubuntu. Pls kindly specify how to flash the kernel. I entered into R&D mode, but nothing happened.
Shutdown the N900, hold the U key to go into flashing mode then
flasher-3.5 --enable-rd-mode --set-rd-flags=no-omap-wd,no-lifeguard-reset,no-ext-wd
The need for R&D mode will be fixed soon, I didn't save how I did last time so I'll need to figure it out again.
Maybe it is because you have to handle watchdog. It's just an idea because that is a big problem if you try to run debian on the n900.
If "no-ext-wd" means "no external watchdog" than I'm right and you can go here (https://elektranox.org/n900/installation/manual.html) under "Configure Base System" and look if you can use this solution for handling watchdog. ;)
Is it possible to use the usb keyboards etc on Ubuntu running on the nokia n900
As Ubuntu and Maemo are both linux platforms ??
hello,
i got 9.10 running on my n900(stock pr1.3),but i can't get wlan to work. It's not installed at all. The other problem is what i'm having, i can't shut it down, unless i take the battery out. can someone help me please? I followed these (http://talk.maemo.org/showpost.php?p=752676&postcount=51) instructions.
Did you get 10.10 to work with keyboard and mouse support btw?
1. wlan: you used the wrong instructions. you need firmware from /your/ phone(2 files, one of them, the calibration, is in essence a lock ). if the mac changes(it normally fetches it from nand, but if it can't access the nand it gets a random mac - another lock mechanism), it needs need the mac adjusted( e.g. via "ifconfig HWADDRESS " or in /etc/interfaces ). if the if name changes you need to fixiate it(e.g. via udev rule). further you can localize it via module parameter to meet regional requirements - don't know if it is necessary as in my case it works without that. but if not you might want to set this to your countrycode to meet regional requirements....
after that can you configure it like any wifi device.
for details look at the n900 debian page. wlan setup is the same in ubuntu and debian. it has a complete description.
2. this is the last time i repeat this(you will find it in the threat at least a thousand times).
- keyboard was never an issue. just load the driver and set x up. it works "out of the box" - only thing you need is to tell the phone about the layout to get the blue keys working(x config).
- touchscreen needs the tsc2005 driver compiled for the kernel you use. if you have that: works also "out of the box"
yes, it works.
hello,
i got 9.10 running on my n900(stock pr1.3),but i can't get wlan to work. It's not installed at all. The other problem is what i'm having, i can't shut it down, unless i take the battery out. can someone help me please? I followed these (http://talk.maemo.org/showpost.php?p=752676&postcount=51) instructions.
Did you get 10.10 to work with keyboard and mouse support btw?
Can this be installed to emmc with same instructions as nitdroid is installed, and does this require different kernel or will power46 do?
can someone point me where the touchscreen driver "tsc2005" should be put, i got now 9.10 booting. if i add input devices for touchscreen to x conf i get firmware error and it boots only to console.. im using nitdroid kernel to boot.
straight forward.
driver tsc2005.ko goes to:
/lib/modules/$(uname -r)/kernel/drivers/input/touchscreen
loading by
echo "tsc2005" >> /etc/modules
and a depmod might be a good idea.
Edit: be sure the driver is compiled for your kernel otherwise it might not work.
Sidenote: now inclusion into linux is again defered for some think it should be merged with the tsc2007 driver. this is an example i really don't understand some linux decisions. if a driver is buggy or adding it would impose some workload i'd understand. but 3 years for that result is regarding a complete submitted driver from the hw manufacturer(ti) is odd.
can someone point me where the touchscreen driver "tsc2005" should be put, i got now 9.10 booting. if i add input devices for touchscreen to x conf i get firmware error and it boots only to console.. im using nitdroid kernel to boot.
craig_dt
2011-01-31, 21:31
sorry for my English...
i've got some quastions:
ubuntu 9.10 starts with omap1 in rd-mode, with kernel-power46 it writes "hit any key to panic" on white skreen with red stripe. with omap1 patch for touchskreen is working. but it is not comfirtable
in normal mode kernel-power writes "hit any key to panic", omap1 reboots device, and with nitdroid kernel ubuntu starts... but there isn't any patch for touchskreew, wich works with nitdroid kernel. or it exists?? or may by exists any anothe way to boot ubuntu without rd mode?
and second question: ubuntu asks a password when i enter in terminal "sudo" or when i locking display... i've read in this theme, thet the pass is "user" but this password isn't working((( what is the password?
wakkamis
2011-02-03, 22:17
Any way to install and run this like the ubuntu in this (http://talk.maemo.org/showthread.php?t=66531) post?
This one seems more n900 friendly.
Thanks!
so can we use phone like making calls and sms on this ubuntu ???
kingoddball
2011-02-08, 19:08
@NOM: No. Ofono does not work in that fashion under Ubuntu.
If you can not install software, start again.
Get a 4GB SD Card and redo it with the bigger card. Problem solved.
That Ubuntu build has been setup to run on top of Maemo (IMO I like it more - I love to keep access to Maemo). You can just try it.
What you do - change the current ubuntu*.tar.gz2 to the downloaded one from other thread. Might work.
wakkamis
2011-02-09, 16:46
The file from the other thread is a .img.ext2 image. Renaming will definitely not work.
I tried searching for a way to convert a .bz2 to an ext2 image but haven't come up with much for a windows machine. Maybe the n900 can convert it?
Anyone have any experience creating .ext2 images?
The file from the other thread is a .img.ext2 image. Renaming will definitely not work.
I tried searching for a way to convert a .bz2 to an ext2 image but haven't come up with much for a windows machine. Maybe the n900 can convert it?
Anyone have any experience creating .ext2 images?
I think I can clarify this for you, ext2 is not a file extension, its simply what file system the disk image is using, changing it will not do anything at all, It will still be a disk image formated as ext2.
As for the .bz2 file, these are archives, you can make a new image (dd on linux, run a livecd in Virtualbox) and then extract the bz2 file into it.
wakkamis
2011-02-09, 23:30
Yup.. pretty sure i got the idea that .ext2 was a disk image. Similar to an iso.
And that .bz2 are like a .zip or .rar file.
What I dont know how to do is extract files from the bz2 and create a ext2 image out of them. Only amount of linux i have used is the tiniest amount of ubuntu and the n900. heh.
did a quick search on how i might be able to do this and I was sent to this site: http://www.fs-driver.org/
Yup.. pretty sure i got the idea that .ext2 was a disk image. Similar to an iso.
And that .bz2 are like a .zip or .rar file.
What I dont know how to do is extract files from the bz2 and create a ext2 image out of them. Only amount of linux i have used is the tiniest amount of ubuntu and the n900. heh.
did a quick search on how i might be able to do this and I was sent to this site: http://www.fs-driver.org/
That driver is so buggy, I would just use a live usb key or something and do it in linux.
theres a post in the forums explaining how, but its something along the lines of making a 2 gigabyte image
dd if=/dev/zero of=/path/to/file/file2G.img bs=1M count=2048
then format.
mkfs.ext2 file2G.img
then mount somewhere and change to directory
mount /path/file2G.img /media/image
cd /media/image
nows the part youve had real trouble with
extract.
tar xjvf nameoffile.bz2
This all can be done on the n900 its self, But I warn you disk IO is slooowww, but possible. Personally i would do it all on a linux desktop.
wakkamis
2011-02-10, 14:19
Cool thanks for all the info! Even after all that I am sure it wont be as easy to just replace the other ubuntu image, but at least I learned something!
Will certainly give it a try.
Thanks!
Cool thanks for all the info! Even after all that I am sure it wont be as easy to just replace the other ubuntu image, but at least I learned something!
Will certainly give it a try.
Thanks!
Yeah you could mount an existing img and just format it.
can anyone give a current state? i do not want to read 46 pages to know where this project is currently at.
can anyone give a current state? i do not want to read 46 pages to know where this project is currently at.
Sure, lets just make a review post every page for people too lazy to skim a forum.:mad:
Sure, lets just make a review post every page for people too lazy to skim a forum.:mad:
what about a wiki-article which will be updated and post a link of that article in the first post?
lazy people? i just dont have time to read 46 pages just to know if one function works or not on this.
BLIZZARD
2011-02-11, 13:42
Good work, i will install It this weekend. Btw what about https://wiki.ubuntu.com/ARM/LucidReleaseNotes ? It supports TI OMAP3 Beagle board. Is our (N900) TI OMAP3, a Beagle board ??:confused:???
BLIZZARD
2011-02-11, 13:47
Good work, i will install It this weekend. Btw what about https://wiki.ubuntu.com/ARM/LucidReleaseNotes ? It supports TI OMAP3 Beagle board. Is our (N900) TI OMAP3, a Beagle board ??:confused:???
Just found that its not, it was a silly question after all :D. http://en.wikipedia.org/wiki/Beagle_Board
But i found that: https://wiki.kubuntu.org/ARM/n900/
Just found that its not, it was a silly question after all :D. http://en.wikipedia.org/wiki/Beagle_Board
But you could make it work. At least if you run it in R&D mode. The Ubuntu 10.10-omap3 works too but you need to change some files in the image. Just mount the image and add the files.
I don't know how long that project has come. Or what's currently working or not. I tried it out earlier but do not have a sd-card to do so now.
antennenmann
2011-03-09, 18:01
Hi
I installed nitdroid already so i followed the instructions on
http://maemo.org/community/maemo-users/how_to_triple_boot_android-maemo_and_ubuntu-_full_ubstructions/?org_openpsa_qbpager_net_nemein_discussion_posts_p age=1#af489ae6cfcb11df92ba45ef9335a0cfa0cf
after
flasher-3.5 --enable-rd-mode --set-rd-flags=no-omap-wd,no-lifeguard-reset,no-ext-wd
i can choose ubuntu but it dont boot !:confused:
i press 3 for ubuntu and it tries to load from mmcblk0p5. why ?
in /etc/multiboot.d/ubuntu.ext.item i wrote EXT_CARD and that is mmcblk1 or not ?
after hours of work i could not accept this dead end so please help me !
another question: how to switch off rd mode ?
there is nothing wrong with the sdcard being mmcblk0 , that only applies outside maemo .
I think there maybe something wrong with the "p5" part of the mmcblk0p5 , you using extended partition ? double check which partition you have ubuntu installed on .
antennenmann
2011-03-09, 18:40
thank you for your fast reply,
but p5 is the ubuntu partition.
when i boot nitdroid there is displayed a kernel version but in nitubuntu bootscreen after pressing 3 for ubuntu are only the options i filled in:
ITEM_NAME="Ubuntu 9.10 Karmic (external SD, partition 5)"
ITEM_ID="ubuntu"
ITEM_DEVICE="${EXT_CARD}p5"
ITEM_MODULES="mbcache jbd ext3"
ITEM_FSTYPE="ext3"
ITEM_FSOPTIONS="noatime,rw"
isnt it necessary to have an ITEM_KERNEL=xxx or other options
to boot nitubuntu ?
frendz07
2011-03-10, 18:56
http://mohammadag.xceleo.org/public/NITUbuntu/ubunturootfs.tar.bz2
MD5Sum: a76ada218fac7d014115f38d7dfb14b3
(First of all, thanks to xnt14 (http://xceleo.com/me/) for allowing me to host the file and giving me a subdomain - I've moved my files to http://mohammadag.xceleo.org/public/ so you can find everything from me there, again, thanks)
Mouse working! See this (http://talk.maemo.org/showpost.php?p=754748&postcount=84) Note: as I said above, the mouse pointer is broken, this does NOT seem to be a calibration but a kernel module one, or a broken X/xorg configuration file, the pointer works fine in Fedora 12 and Mer, so I'm assuming this is a cannonical modified X problem, need assistance on this as Ubuntu is be very unusable with a broken pointer.
How unusable is unusable? The pointer is flipped, so up is down, the top part of the screen moves the pointer to the bottom side, and the far ends of the screen cannot be tapped without pressure on the bottom side of the screen, again, I need help from someone who knows C to fix this.
Quick instructions, I'm not really into sfdisk so the instructions are based on gparted, if anyone feels the instructions could be better then please feel free to post what you want :)
1. Connect the N900 to a PC running linux (Live CDs/Virtual machines will suffice).
2. Use gparted to partition the N900's MicroSD card, the image is 2.3GBs uncompressed, so you'll need at least 2.5GBs to run Ubuntu (3GBs if you want extra space for /home or apps).
3. Unpack the tar.bz2 into the root of the partition, an easy way to do this would be to use file-roller, the defualt archive manager in Ubuntu.
4. Disconnect the N900 from your PC.
5. Open terminal, type ls /dev/mmcblk1* to see the partitions on your MicroSD.
Assuming your partition is /dev/mmcblk1p2..
mkdir -p /mnt/ubuntu && mount /dev/mmcblk1p2 /mnt/ubuntu
cp -r /lib/modules/* /mnt/ubuntu/lib/modules/
cp /lib/firmware/* /mnt/ubuntu/lib/firmware/
chroot /mnt/ubuntu /bin/bash
useradd -m <replace with your username here> (e.g useradd -m mohammad)
# fill in details as you wish.
visudo
# Edit the file and add your username to sudoers using visudo
# Example (replace my username with yours)
# # User privilege specification
# root ALL=(ALL) ALL
# mohammad ALL=(ALL) ALL
cp /usr/share/applications/gnome-terminal.desktop /home/mohammad/Desktop/
exit
6. Install bootmenu-n900 and add a bootmenu entry in /etc/bootmenu.d
vi /etc/bootmenu.d/ubuntu.ext.item
# Press I to enter input mode.
# Replace partition numbers with the ones on your device.
ITEM_NAME="Ubuntu 9.10 Karmic (external SD, partition 2)"
ITEM_ID="ubuntu"
ITEM_DEVICE="${EXT_CARD}p2"
ITEM_MODULES="mbcache jbd ext3"
ITEM_FSTYPE="ext3"
ITEM_FSOPTIONS="noatime,rw"
Shutdown the N900, hold the U key to go into flashing mode then
flasher-3.5 --enable-rd-mode --set-rd-flags=no-omap-wd,no-lifeguard-reset,no-ext-wd
The need for R&D mode will be fixed soon, I didn't save how I did last time so I'll need to figure it out again.
Reboot, and pick Ubuntu in the bootmenu and gnome desktop should start.
Edit: oh and to get BT working (thanks giannoug)
echo "00:11:22:33:44:55" > /sys/devices/platform/hci_h4p/bdaddr; modprobe -r hci_h4p; modprobe hci_h4p
is thr any way to partion micro sd thru windiws xp!!!?
is thr any way to partion micro sd thru windiws xp!!!?
ya i think u can do dat wid Arconis Disk Director but thats a shareware
frendz07
2011-03-10, 19:34
ya i think u can do dat wid Arconis Disk Director but thats a shareware
thanks a lot, my Net was fast enough , got ubuntu for desktop, amd Vm ware as well
frendz07
2011-03-10, 19:36
sorry am bit poor in these things , but
"cp -r /lib/modules/* /mnt/ubuntu/lib/modules/
cp /lib/firmware/* /mnt/ubuntu/lib/firmware/
chroot /mnt/ubuntu /bin/bash
useradd -m <replace with your username here> (e.g useradd -m mohammad)
# fill in details as you wish.
visudo
# Edit the file and add your username to sudoers using visudo
# Example (replace my username with yours)
# # User privilege specification
# root ALL=(ALL) ALL
# mohammad ALL=(ALL) ALL"
do we need to enter all these above codes on N900
samipower
2011-03-14, 11:51
hello any tutorial for it:
kubuntu mobile 11.04 natty
images:
http://cdimage.ubuntu.com/kubuntu-mobile/daily-preinstalled/current/natty-preinstalled-mobile-armel+omap.img.gz
or ubuntu 11.04
http://cdimage.ubuntu.com/ubuntu-netbook/releases/natty/alpha-3/natty-preinstalled-netbook-armel+omap.img.gz
instructions:
http://ianlawrence.info/random-stuff/install-kubuntu-mobile-on-the-n900
https://wiki.ubuntu.com/ARM/n900
https://wiki.kubuntu.org/ARM/n900/
https://wiki.ubuntu.com/ARM/OMAP/Graphics
all correct? any person can verify it? and post a good tutorial?
Is this still working (Ubuntu on n900)?
If so, how is the speed these days?
frendz07
2011-03-17, 03:39
http://mohammadag.xceleo.org/public/NITUbuntu/ubunturootfs.tar.bz2
MD5Sum: a76ada218fac7d014115f38d7dfb14b3
(First of all, thanks to xnt14 (http://xceleo.com/me/) for allowing me to host the file and giving me a subdomain - I've moved my files to http://mohammadag.xceleo.org/public/ so you can find everything from me there, again, thanks)
Mouse working! See this (http://talk.maemo.org/showpost.php?p=754748&postcount=84) Note: as I said above, the mouse pointer is broken, this does NOT seem to be a calibration but a kernel module one, or a broken X/xorg configuration file, the pointer works fine in Fedora 12 and Mer, so I'm assuming this is a cannonical modified X problem, need assistance on this as Ubuntu is be very unusable with a broken pointer.
How unusable is unusable? The pointer is flipped, so up is down, the top part of the screen moves the pointer to the bottom side, and the far ends of the screen cannot be tapped without pressure on the bottom side of the screen, again, I need help from someone who knows C to fix this.
Quick instructions, I'm not really into sfdisk so the instructions are based on gparted, if anyone feels the instructions could be better then please feel free to post what you want :)
1. Connect the N900 to a PC running linux (Live CDs/Virtual machines will suffice).
2. Use gparted to partition the N900's MicroSD card, the image is 2.3GBs uncompressed, so you'll need at least 2.5GBs to run Ubuntu (3GBs if you want extra space for /home or apps).
plz let me know wat format it shud be ext3 or ext2 or fat 13 or???
Has anyone got this working? I still cant get the touchscreen to work, i have tried every possible tsc2005.ko file with no success. i use nitdroid kernel to boot ubuntu 9.10 and it boots fine to ubuntu it just the touchscreen, i can only use keyboard.. when i boot to ubuntu i get these messages during boot:
tsc2005.ko: version magic '2.6.28-omap1 preempt mod_unload modversions ARMv7'
should be '2.6.28.NIT.06 preempt mod_unload ARMv7'
and
hci_h4p hci_h4p: FW error
hci_h4p hci_h4p: Sending firmware failed
Is R&D mode still required to boot this correctly, can the R&D mode be disabled after boot or is required everytime when booting to ubuntu? Thanks!
Is there a concise explanation on how to install Ubuntu on eMMC? Actually, what I don't understand is what the neccessary partition layout is and where to extract the raw image... (I am talking about the Maverick ARM preinstalled image provided by Canonical, not about 9.10)
It would be veeeeery useful to summarize all the useful info and edit the first post... Like this, the topic is very impractical...
Come on guys lets revive this thread
Anyway I am trying to install ubuntu to my emmc
first i repartitin the emmc using backupmenu and gparted then i extracted the file to the root of the new partition (/dev/mmcblk0p4 mounted on /mnt/ubuntu ) then copied the files from /lib to /lib but when i came to chroot it gave me an error
groups: no name for group id 670 then when i typed useradd it said command not found and when i tried to boot (with multiboot with this item)
ITEM_NAME="Ubuntu 9.10 Karmic ( partition 4)"
ITEM_ID="ubuntu"
ITEM_DEVICE="$mmcblk0p4"
ITEM_MODULES="mbcache jbd ext3"
ITEM_FSTYPE="ext3"
ITEM_FSOPTIONS="noatime,rw"/mnt
it booted maemo
Have someone tried this http://cdimage.ubuntu.com/cdimage/ubuntu-netbook/daily-preinstalled/current/
Natty are supposed to have touch capabilities.. i am not sure how far they have come but it might work better than the Maverick image.
eL.ectron1k
2011-04-05, 08:19
plz let me know wat format it shud be ext3 or ext2 or fat 13 or???
Ubuntu/NITDroid - ext3
fat for windows
eL.ectron1k
2011-04-05, 08:20
[AIMehdi hope Mohh will get it working :)
frendz07
2011-04-05, 08:33
Ubuntu/NITDroid - ext3
fat for windows
thanks a lot
Has anyone got this working? I still cant get the touchscreen to work, i have tried every possible tsc2005.ko file with no success. i use nitdroid kernel to boot ubuntu 9.10 and it boots fine to ubuntu it just the touchscreen, ....
How about trying the Meego kernel and modules with this?....I would think that the Meego kernel would be more appropriate than the NITDroid kernel?
eL.ectron1k
2011-04-05, 09:35
Is there any possibility to see OK and CANCEL buttons in POPUP? they are behind bottom taskbar =(
eL.ectron1k
2011-04-05, 14:01
Is there any possibility to see OK and CANCEL buttons in POPUP? they are behind bottom taskbar =(
Yes, make font - 6.
:D
Another question - any possibility to add another repos? :) Which ones?
can u install this ubuntu on the n900 memory, or do u have to have sd card
Hey i have done all in the How/To but if i Start Ubuntu with Bootmenu in RD Mode it shows sometimes the loading screen for a short time and shutdown.
Does somewone have an idea whats wrong.
Thx
Oh 4 all them who get the group failure after chroot. Ignore it and continue ;-)
Hi i am trying to install ubuntu on internal memory (on a master partition created via gparted mmcblk0p4) but when i try to boot with multiboot it boots maemo sometimes othertime it just shows booting please wait or else it panics dependig on how i tweak the .item file could somebody supply me with a working multiboot item
thanx in advanced
pedrocoba
2011-04-09, 07:58
Why is this link not found error?
Where can I get the latest Ubuntu image?
http://mohammadag.xceleo.org/public/NITUbuntu/ubunturootfs.tar.bz2
Help me :(
@pedrocoba
Try this link (http://mohammadag.xceleo.org/public/NITUbuntu/NITUbuntu.tar.bz2)
is it ok to use the whole 8GB external memory card, i have no use for the extra free space..
great work... Thanks
eL.ectron1k
2011-04-13, 13:03
Guys, is there any manual how to install 10.10 on n900? or just use 10.10's tar and 9.04 manual?)
kingoddball
2011-04-15, 09:22
Does this work with multiboot with the current OMAP (PR 1.3) kernel, yet?
Last time I was here playing, it was when you needed pr 1.2 kernels.
Is there a new build or can someone tell me how they're running this (if on PR1.3/Multiboot).
Radicalz38
2011-04-16, 02:57
PR1.3, kernel-power46 and meego kernel works I have tried this past half month ago but R&D mode must be enabled. But problem is touch screen is inverted. I have tried insmoding the modified modules here but seems like they only support old kernel versions.
All I can say is it's just a proof of concept it is unusable to the point that your device heats up like your overclocking it at 1GHZ and maxing CPU usage at 100%. Regarding speed yeah it's quite fast enough. I would prefer easy-debian than this.
eL.ectron1k
2011-04-25, 08:17
Guys is it possibe to make my own image of Ubuntu? I want to delete all unused files/software/games/packages and copy it to desktop. Than make tarball image and will i have success when will tar it back? or there will be errors? ThnkS!
Captwheeto
2011-04-27, 15:58
Guys is it possibe to make my own image of Ubuntu? I want to delete all unused files/software/games/packages and copy it to desktop. Than make tarball image and will i have success when will tar it back? or there will be errors? ThnkS!
You could make your own Ubuntu image, just remember it has to be the ARM architecture. Don't modify the x86/AMD64 version :P
eL.ectron1k
2011-04-29, 08:41
You could make your own Ubuntu image, just remember it has to be the ARM architecture. Don't modify the x86/AMD64 version :P
aha :D Thanks!)
Now i' trying to update to 10.04 LTS..hope it will work..and guys, is charging working till im using ubuntu? or i need add bq module?
Is there a way to boot it using multiboot instead of bootmenu?
Ok, I managed to follow the instructions by MohammadAG, except I created a multiboot item instead of a bootmenu item (I used this guide (http://maemo.org/community/maemo-users/how_to_triple_boot_android-maemo_and_ubuntu-_full_ubstructions/?org_openpsa_qbpager_net_nemein_discussion_posts_p age=1#52f90b5ccdd911dfa769330f88cb8d9a8d9a)). I used "p2" as the partition number, as in MohammadAG's tutorial, and not "p3" as in the other guide, because my Ubuntu files are stored in mmcblk1p2. However, when I select 4 - Ubuntu 9.10 blabla in Multiboot menu, I have a Guru error: "Can't find init binary in target OS".
I followed all the steps, I have no idea of where I messed up. Any help would be very appreciated! :]
Edit: I tried an ubuntu.ext.item with "p3" instead of "p2" for the partition, and this is not the same error message, so it is definitely "p2" and the source of my problem is probably elsewhere. :'(
vBulletin® v3.8.8, Copyright ©2000-2025, vBulletin Solutions, Inc.