maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Ubuntu (https://talk.maemo.org/forumdisplay.php?f=55)
-   -   [WIP] Ubuntu 9.10 on the N900 (https://talk.maemo.org/showthread.php?t=58083)

aligatro 2010-10-15 15:19

Re: [WIP] Ubuntu 9.10 on the N900
 
Quote:

Originally Posted by artron (Post 839751)
I success install Ubuntu 9.10 on N900 with run flawessly,
mouse work good,

im using multiboot,

this was im doing before :

1.download tsc2005.ko from this link http://mohammadag.xceleo.org/public/...les/tsc2005.ko
2.copy file tsc2005.ko to rootfs/opt/ (im mount mmc to folder on N900)
3.edit vi /etc/multiboot.d/ubuntu.item
4.remove line "ITEM_KERNEL="
5.do flasher
Code:

flasher-3.5 --enable-rd-mode --set-rd-flags=no-omap-wd,no-lifeguard-reset,no-ext-wd
huff this amazing, ubuntu on my N900, thanks for ubuntu N900 porting team

Can you make a full backup of your partition and upload it to torrents plz ? Or tar.gz filesystem and upload it. I can later upload it to my hosting.

artron 2010-10-16 02:07

Re: [WIP] Ubuntu 9.10 on the N900
 
Quote:

Originally Posted by aligatro (Post 841990)
Can you make a full backup of your partition and upload it to torrents plz ? Or tar.gz filesystem and upload it. I can later upload it to my hosting.

i was downlod from

http://mohammadag.xceleo.org/public/...Ubuntu.tar.bz2

and put the tsc2005.ko from

http://mohammadag.xceleo.org/public/...les/tsc2005.ko

to /opt/

artron 2010-10-16 02:11

Re: [WIP] Ubuntu 9.10 on the N900
 
Quote:

Originally Posted by skykooler (Post 841932)
The N900 uses omap3. You need to download the other ubuntu netbook image. Good luck!

can make the rootfs from your ubuntu 10.10..? can tar.bz2 , i will very big thanks for you

how about this,can work to N900 :
http://cdimage.ubuntu.com/kubuntu-mo...el+omap.img.gz

Code:

Preview preinstalled mobile image for Texas Instruments OMAP3 computers
from

http://cdimage.ubuntu.com/kubuntu-mo...10.10/release/

what i do next ?

AlMehdi 2010-10-16 10:55

Re: [WIP] Ubuntu 9.10 on the N900
 
Could someone explain a more step-by-step way how to use the 10.10 raw image? Should i download it to the partition of my n900 first and then do the "dd" command.. or should i do the "dd" command from my computer?

MohammadAG 2010-10-16 11:45

Re: [WIP] Ubuntu 9.10 on the N900
 
The image above contains a new kernel, using the old kernel will probably work, but you might miss some features added in by Ubuntu.
I have NOT been able to boot the new kernel yet.

To install the image, download and extract the raw file, then plug in your N900 and select mass storage mode, find the name of the dev node (/dev/sdx) then dd if=imagefilename of=/dev/sdx. You have to dd to the whole mmc block, not the partition (i.e sdc not sdc1).
If you type in the wrong block, you might erase your HDD, so make sure you know what you're doing, dd isn't something to try out.

AlMehdi 2010-10-16 12:41

Re: [WIP] Ubuntu 9.10 on the N900
 
Quote:

Originally Posted by MohammadAG (Post 842515)
The image above contains a new kernel, using the old kernel will probably work, but you might miss some features added in by Ubuntu.
I have NOT been able to boot the new kernel yet.

To install the image, download and extract the raw file, then plug in your N900 and select mass storage mode, find the name of the dev node (/dev/sdx) then dd if=imagefilename of=/dev/sdx. You have to dd to the whole mmc block, not the partition (i.e sdc not sdc1).
If you type in the wrong block, you might erase your HDD, so make sure you know what you're doing, dd isn't something to try out.

Yeah, i am aware of the danger with dd. How do i extract the raw image? With magicISO? Or will dd do this? I tried the dd to /dev/sdc1 but it did not work.. as you said i did it wrong and need dd to /dev/sdc. I am not entierly noobish but i have never handeled raw images before so thats why i am asking.

MohammadAG 2010-10-16 13:13

Re: [WIP] Ubuntu 9.10 on the N900
 
dd to /dev/sdc then, it should have a partition table in the image (ala MeeGo).
You can mount the image though, mount -t ext3 -o loop image.raw /mnt, then just browse /mnt

AlMehdi 2010-10-16 13:28

Re: [WIP] Ubuntu 9.10 on the N900
 
Quote:

Originally Posted by MohammadAG (Post 842582)
dd to /dev/sdc then, it should have a partition table in the image (ala MeeGo).
You can mount the image though, mount -t ext3 -o loop image.raw /mnt, then just browse /mnt

Always learning something from you.. thanks ;)

artron 2010-10-16 16:33

Re: [WIP] Ubuntu 9.10 on the N900
 
Quote:

Originally Posted by MohammadAG (Post 842582)
dd to /dev/sdc then, it should have a partition table in the image (ala MeeGo).
You can mount the image though, mount -t ext3 -o loop image.raw /mnt, then just browse /mnt

yeah now i can make rootfs from raw image... thanks

artron 2010-10-16 18:16

Re: [WIP] Ubuntu 9.10 on the N900
 
i was mount raw
Code:

mount -t ext3 -o loop image.raw /mnt
and copy to /dev/sdb4
Code:

cp -pr
,still can boot,freeze at bootmenu

AlMehdi 2010-10-16 18:38

Re: [WIP] Ubuntu 9.10 on the N900
 
Feels disturbing that it are so close but still not.. cause of the mouse and touch not working. Would be so epic to get 10.10 working.

I was wondering if someone tried Meegos modules for this or if that would be impossible? I think Meego and Ubuntu 10.10 have the same kernel version.

MohammadAG 2010-10-16 18:41

Re: [WIP] Ubuntu 9.10 on the N900
 
They don't, but I couldn't get the stock MeeGo kernel to boot it, I'll try to recompile the MeeGo kernel with some mods and see if this boots.

AlMehdi 2010-10-16 18:51

Re: [WIP] Ubuntu 9.10 on the N900
 
Quote:

Originally Posted by MohammadAG (Post 842786)
They don't, but I couldn't get the stock MeeGo kernel to boot it, I'll try to recompile the MeeGo kernel with some mods and see if this boots.

You know you are awesome Mohammad! ;)

LucianoBraga 2010-10-16 19:10

Re: [WIP] Ubuntu 9.10 on the N900
 
Wow!

Good Luck!

AlMehdi 2010-10-16 19:43

Re: [WIP] Ubuntu 9.10 on the N900
 
I found this when i where lurking around... they mention n900 and ofono ;)

https://blueprints.launchpad.net/ubu...elephony-stack

aligatro 2010-10-16 20:02

Re: [WIP] Ubuntu 9.10 on the N900
 
Quote:

Originally Posted by artron (Post 842309)

Nwm. I misread the version number, I though you were able to boot 10.10 on n900 with keyboard and touchscreen working.

skykooler 2010-10-16 20:21

Re: [WIP] Ubuntu 9.10 on the N900
 
Quote:

Originally Posted by MohammadAG (Post 842515)
The image above contains a new kernel, using the old kernel will probably work, but you might miss some features added in by Ubuntu.
I have NOT been able to boot the new kernel yet.

To install the image, download and extract the raw file, then plug in your N900 and select mass storage mode, find the name of the dev node (/dev/sdx) then dd if=imagefilename of=/dev/sdx. You have to dd to the whole mmc block, not the partition (i.e sdc not sdc1).
If you type in the wrong block, you might erase your HDD, so make sure you know what you're doing, dd isn't something to try out.

I was able to boot it using the boot settings suggested for NITdroid.

AlMehdi 2010-10-16 20:33

Re: [WIP] Ubuntu 9.10 on the N900
 
Quote:

Originally Posted by skykooler (Post 842830)
I was able to boot it using the boot settings suggested for NITdroid.

The bootsettings in MuhammadAG's howto in post 51 works too. Just change the ITEM_NAME to "Ubuntu 10.10 Maverick". I am guessing the NITdroid are on the second partition too.. why it worked for you.

Quote:

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"
My only problem after MuhammadAG poked me in the right direction is the keyboard lights and of course the mouse and thouch.. but the 10.10 image boots up well.

LucianoBraga 2010-10-16 20:35

Re: [WIP] Ubuntu 9.10 on the N900
 
Yeah, the image boots, as have I stated in my posts.

AlMehdi, you had suspending problems?

AlMehdi 2010-10-16 21:00

Re: [WIP] Ubuntu 9.10 on the N900
 
Quote:

Originally Posted by LucianoBraga (Post 842838)
Yeah, the image boots, as have I stated in my posts.

AlMehdi, you had suspending problems?

No.. not sure what you mean. I didn't know how to dd correct.. tried to dd the partition. Now when i know how i get to the login window but as everyone else not able to do anything more.

Or do you mean the keyboard light when you are in R&D mode? The flickering when the screen is off. Is there a way to get around it?

ear0wax 2010-10-16 21:19

Re: [WIP] Ubuntu 9.10 on the N900
 
Is the keyboard mouse issues entirely kernel related or is it a xorg.conf issue?

bulelet 2010-10-16 21:27

Re: [WIP] Ubuntu 9.10 on the N900
 
id really love to run ubuntu 10.10 on my n900!!

is everything working flawless with it?

is there a detailed instruction on how to?

man, man, man!!

LucianoBraga 2010-10-16 21:48

Re: [WIP] Ubuntu 9.10 on the N900
 
AlMehdi, on my N900, Ubuntu 10.10 keeps suspending and waking.

ear0wax, we donīt know yet.

bulelet, read the posts. Ubuntu boots, but keyboard and mouse donīt work.

AlMehdi 2010-10-16 21:53

Re: [WIP] Ubuntu 9.10 on the N900
 
Quote:

Originally Posted by LucianoBraga (Post 842876)
AlMehdi, on my N900, Ubuntu 10.10 keeps suspending and waking.

ear0wax, we donīt know yet.

bulelet, read the posts. Ubuntu boots, but keyboard and mouse donīt work.

Ahh.. no, no problems like that. Well, if i leave it on.. the screen saver will turn on after awhile.

LucianoBraga 2010-10-16 22:16

Re: [WIP] Ubuntu 9.10 on the N900
 
Not my case. Maybe I did something wrong on install process, donīt know.

Crogge 2010-10-16 22:42

Re: [WIP] Ubuntu 9.10 on the N900
 
I saw that Ubuntu 11 has native ARM support, does that means it will run without any bigger issues on the N900?

AlMehdi 2010-10-16 22:52

Re: [WIP] Ubuntu 9.10 on the N900
 
Quote:

Originally Posted by Crogge (Post 842907)
I saw that Ubuntu 11 has native ARM support, does that means it will run without any bigger issues on the N900?

ARM support came with 10.04.. it was finished in july. The uTouch will be better in 11.04..

AlMehdi 2010-10-16 23:38

Re: [WIP] Ubuntu 9.10 on the N900
 
If someone want to see how it looks with 10.10 you could edit the /etc/gdm/custom.conf and add this. Of cource you will need to mount the image first by "mount /dev/mmcblk1p2 /mnt/ubuntu/" to edit the file.

Code:

[daemon]
AutomaticLoginEnable=true
AutomaticLogin=username
TimedLoginEnable=true
TimedLogin=username
TimedLoginDelay=10

Edit: I am thinking to maybe use ssh and x2x with the computers mouse to the n900. As a short time solution.

bulelet 2010-10-17 03:40

Re: [WIP] Ubuntu 9.10 on the N900
 
yeaaa... i was reading on past pages and what i was kinda looking for is the "how to" with detalied instructions, compiled on a single page, more like mohamad's but for ubuntu 10.10.

would really like to put this on my phone :o

LucianoBraga 2010-10-17 04:03

Re: [WIP] Ubuntu 9.10 on the N900
 
Keyboard and mouse donīt work, so itīs quite useless.

Simply download the img.gz image for omap from Ubuntu website, extract the raw image, and put it in a microSD card with Win32DiskManager. So, create a multiboot item, and thatīs it.

But, like I said, quite useless without INPUT.

naturegodtm 2010-10-20 23:49

Re: [WIP] Ubuntu 9.10 on the N900
 
BUUUMP!!! any news?

LucianoBraga 2010-10-20 23:58

Re: [WIP] Ubuntu 9.10 on the N900
 
No. No news.

skykooler 2010-10-21 14:47

Re: [WIP] Ubuntu 9.10 on the N900
 
What is needed for the mouse and keyboard? Is it a kernel issue or an X one?

Reffyyyy 2010-10-21 18:00

Re: [WIP] Ubuntu 9.10 on the N900
 
Hmmm. I can't seem to get it to boot. It constantly shows the loading indicator on a black screen. Any ideas? (Ubuntu 9.10 rootfs on Mohammad's server)

AlMehdi 2010-10-21 23:32

Re: [WIP] Ubuntu 9.10 on the N900
 
Quote:

Originally Posted by skykooler (Post 847181)
What is needed for the mouse and keyboard? Is it a kernel issue or an X one?

It might be both.. i didn't have time to test it last time. Will see what i can find if i can get hold of a new memory card. Hopefully someone more knowledgeable will crack this before ;)

ivyking 2010-10-23 15:35

Re: [WIP] Ubuntu 9.10 on the N900
 
I got the touch screen working on ubuntu 10.10
this is how i did it :
chroot into the ubuntu install from maemo
removed xserver-xorg-core
disable all repositories in /etc/apt/sources.list
added debian unstable repository to that list
update package list
install the following :
xserver-xorg-video-omap3
xserver-xorg-input-evdev
xserver-xorg-input-tslib
libts-bin
disable debian unstable repository in the sources.list , enable previously disabled repositories .

after doing this , I created xorg.conf in /etc/X11/
I used the configuration from https://elektranox.org/n900/installation/manual.html , replace "de" with "us" for us keyboard .

exit chroot
I was using power-kernel and copied modules and firmware to respective folders , I don't know if thats necessary since I did all above in 1 go .

the touch screen worked , though needs calibration , keyboard didn't work for me then , will try again later.

about the kernel that comes with the ubuntu image , I tried to boot that , the kernel does start , and a black screen is as far as you can get ...
where is the source of that kernel ? I don't think it's the main line kernel , anyways if the source is found, I am sure someone here will probably get it to work .

[EDIT] to calibrate the touch screen
install openssh inside ubuntu from chroot
edit /etc/modules to include g_nokia << u need to copy kernel module for this
edit /etc/network/interfaces , that depends on your network setup .
if you are using ubuntu on pc, add a new connection >> shared to other computers ,
and use example interfaces file below
auto usb0
iface usb0 inet static
address 10.42.43.10
network 10.42.43.0
netmask 255.255.255.0
broadcast 10.42.43.255
gateway 10.42.43.1
set the root password by doing the following
passwd
reboot to ubuntu on your n900 , plug in the usb cable
your pc should identify your n900 in network now .
ssh into your n900 , and call
TSLIB_TSDEVICE=/dev/event3 TSLIB_CONFFILE=/etc/ts.conf ts_calibrate
tap the crosses on the n900 screen , now it's calibrated .

I couldn't log in through gdm though , every time I log in the screen blanks then I was returned to login screen , I disabled gdm , and used nodm to login automatically as root .

the keyboard still doesn'twork .

lunat 2010-10-24 16:55

Re: [WIP] Ubuntu 9.10 on the N900
 
you said you copied the drivers. fine...

now i try to use a stock kernel org driver. works - also booting with u-boot into a deb mmc partition.
but touchscreen is an issue also in this case. afaik the tsc2005 module does the trick.
now the tsc2005 patch was afaik first filed 2 years ago but didn't make it into the mainline kernel, further meego had it but removed the patch from their 2.6.35 kernel.

does anyone know if there is any particular reason for that? as with that touchscreen works.

skykooler 2010-10-24 19:01

Re: [WIP] Ubuntu 9.10 on the N900
 
Quote:

Originally Posted by ivyking (Post 848750)
I got the touch screen working on ubuntu 10.10
this is how i did it :
chroot into the ubuntu install from maemo
removed xserver-xorg-core
disable all repositories in /etc/apt/sources.list
added debian unstable repository to that list
update package list
install the following :
xserver-xorg-video-omap3
xserver-xorg-input-evdev
xserver-xorg-input-tslib
libts-bin
disable debian unstable repository in the sources.list , enable previously disabled repositories .

after doing this , I created xorg.conf in /etc/X11/
I used the configuration from https://elektranox.org/n900/installation/manual.html , replace "de" with "us" for us keyboard .

exit chroot
I was using power-kernel and copied modules and firmware to respective folders , I don't know if thats necessary since I did all above in 1 go .

the touch screen worked , though needs calibration , keyboard didn't work for me then , will try again later.

about the kernel that comes with the ubuntu image , I tried to boot that , the kernel does start , and a black screen is as far as you can get ...
where is the source of that kernel ? I don't think it's the main line kernel , anyways if the source is found, I am sure someone here will probably get it to work .

How did you chroot in? When I try to chroot into 10.10 I get
Code:

chroot: cannot execute /bin/sh: Exec format error
Any help?

ivyking 2010-10-24 19:18

Re: [WIP] Ubuntu 9.10 on the N900
 
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

lunat 2010-10-24 20:40

Re: [WIP] Ubuntu 9.10 on the N900
 
Quote:

Originally Posted by skykooler (Post 849762)
How did you chroot in? When I try to chroot into 10.10 I get
Code:

chroot: cannot execute /bin/sh: Exec format error
Any help?

wrong exec format or long wrong executable format means that you compiled the shell for a different plattform.
you need one compiled for arm.


All times are GMT. The time now is 22:04.

vBulletin® Version 3.8.8