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)

lunat 2011-01-03 00:17

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

Quote:

Originally Posted by 2ma (Post 910097)
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 instructions.

Did you get 10.10 to work with keyboard and mouse support btw?


teemui 2011-01-04 10:23

Re: [WIP] Ubuntu 9.10 on the N900
 
Can this be installed to emmc with same instructions as nitdroid is installed, and does this require different kernel or will power46 do?

teemui 2011-01-05 08:57

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

lunat 2011-01-05 16:06

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

Quote:

Originally Posted by teemui (Post 912024)
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

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

Re: [WIP] Ubuntu 9.10 on the N900
 
Any way to install and run this like the ubuntu in this post?

This one seems more n900 friendly.

Thanks!

NOMIOMI 2011-02-08 16:14

Re: [WIP] Ubuntu 9.10 on the N900
 
so can we use phone like making calls and sms on this ubuntu ???

kingoddball 2011-02-08 19:08

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

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

ear0wax 2011-02-09 19:21

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

Originally Posted by wakkamis (Post 940118)
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

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

ear0wax 2011-02-10 07:51

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

Originally Posted by wakkamis (Post 940470)
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

Code:

dd if=/dev/zero of=/path/to/file/file2G.img bs=1M count=2048
then format.

Code:

mkfs.ext2 file2G.img
then mount somewhere and change to directory
Code:

mount /path/file2G.img /media/image
cd /media/image

nows the part youve had real trouble with
extract.
Code:

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

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

ear0wax 2011-02-10 18:01

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

Originally Posted by wakkamis (Post 940975)
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.

tebsu 2011-02-10 21:05

Re: [WIP] Ubuntu 9.10 on the N900
 
can anyone give a current state? i do not want to read 46 pages to know where this project is currently at.

ear0wax 2011-02-10 21:41

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

Originally Posted by tebsu (Post 941272)
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:

tebsu 2011-02-10 22:38

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

Originally Posted by ear0wax (Post 941288)
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

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

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

Originally Posted by BLIZZARD (Post 942297)
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/

AlMehdi 2011-02-11 14:16

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

Originally Posted by BLIZZARD (Post 942304)
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

Re: [WIP] Ubuntu 9.10 on the N900
 
Hi

I installed nitdroid already so i followed the instructions on

http://maemo.org/community/maemo-use...ef9335a0cfa0cf

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 ?

ivyking 2011-03-09 18:32

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

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

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

Originally Posted by MohammadAG (Post 752676)
http://mohammadag.xceleo.org/public/...rootfs.tar.bz2
MD5Sum: a76ada218fac7d014115f38d7dfb14b3

(First of all, thanks to xnt14 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 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..
Code:

mkdir -p /mnt/ubuntu && mount /dev/mmcblk1p2 /mnt/ubuntu
Code:

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

Code:

cp /usr/share/applications/gnome-terminal.desktop /home/mohammad/Desktop/
Code:

exit
6. Install bootmenu-n900 and add a bootmenu entry in /etc/bootmenu.d
Code:

vi /etc/bootmenu.d/ubuntu.ext.item
# Press I to enter input mode.
# Replace partition numbers with the ones on your device.

Code:

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
Code:

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)
Code:

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!!!?

ear0wax 2011-03-10 19:03

Re: [WIP] Ubuntu 9.10 on the N900
 
Simply put. NO.

Minhaz 2011-03-10 19:22

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

Originally Posted by frendz07 (Post 965149)
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

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

Originally Posted by Minhaz (Post 965162)
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

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

Re: [WIP] Ubuntu 9.10 on the N900
 
hello any tutorial for it:

kubuntu mobile 11.04 natty

images:

http://cdimage.ubuntu.com/kubuntu-mo...el+omap.img.gz



or ubuntu 11.04
http://cdimage.ubuntu.com/ubuntu-net...el+omap.img.gz


instructions:
http://ianlawrence.info/random-stuff...le-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?

Marcus 2011-03-15 21:05

Re: [WIP] Ubuntu 9.10 on the N900
 
Is this still working (Ubuntu on n900)?
If so, how is the speed these days?

frendz07 2011-03-17 03:39

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

Originally Posted by MohammadAG (Post 752676)
http://mohammadag.xceleo.org/public/...rootfs.tar.bz2
MD5Sum: a76ada218fac7d014115f38d7dfb14b3

(First of all, thanks to xnt14 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 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???

teemui 2011-03-20 19:43

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

Code:

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
Code:

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!

rentze 2011-03-26 00:10

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

LTman 2011-04-01 17:26

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

AlMehdi 2011-04-02 00:15

Re: [WIP] Ubuntu 9.10 on the N900
 
Have someone tried this http://cdimage.ubuntu.com/cdimage/ub...alled/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

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

Originally Posted by frendz07 (Post 969382)
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

Re: [WIP] Ubuntu 9.10 on the N900
 
[AIMehdi hope Mohh will get it working :)

frendz07 2011-04-05 08:33

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

Originally Posted by eL.ectron1k (Post 982207)
Ubuntu/NITDroid - ext3
fat for windows

thanks a lot

jnack95 2011-04-05 09:30

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

Originally Posted by teemui (Post 971929)
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

Re: [WIP] Ubuntu 9.10 on the N900
 
Is there any possibility to see OK and CANCEL buttons in POPUP? they are behind bottom taskbar =(


All times are GMT. The time now is 17:03.

vBulletin® Version 3.8.8