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 2010-11-09 07:14

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

Originally Posted by juandp77 (Post 867732)
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:
Code:

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....

ear0wax 2010-11-09 08:26

Re: [WIP] Ubuntu 9.10 on the N900
 
Whats it take to get wifi up, i noticed,

noauto phonet0 wlan0 wmaster0

lunat 2010-11-09 08:44

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

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

ear0wax 2010-11-09 09:27

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

Originally Posted by lunat (Post 867843)
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?

one1002 2010-11-09 09:48

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

lunat 2010-11-09 12:46

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

one1002 2010-11-09 13:18

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

lunat 2010-11-09 13:32

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

Originally Posted by one1002 (Post 868059)
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.

one1002 2010-11-09 14:11

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

Originally Posted by lunat (Post 868071)
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?

lunat 2010-11-09 14:25

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

Originally Posted by one1002 (Post 868104)
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....

one1002 2010-11-09 14:39

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

Originally Posted by lunat (Post 868117)
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

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

lunat 2010-11-09 14:50

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

Originally Posted by one1002 (Post 868133)
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.

one1002 2010-11-09 14:59

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

Originally Posted by lunat (Post 868145)
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

ear0wax 2010-11-09 20:02

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

Originally Posted by lunat (Post 868071)
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.

ear0wax 2010-11-09 20:08

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

Originally Posted by lunat (Post 868145)
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

artron 2010-11-09 21:33

Re: [WIP] Ubuntu 9.10 on the N900
 
@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 2010-11-10 00:30

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

Originally Posted by artron (Post 868470)
@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.

lunat 2010-11-10 01:11

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

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

Re: [WIP] Ubuntu 9.10 on the N900
 
please help with this i'm getting wrong image format when I boot, any idea why?

lunat 2010-11-10 04:41

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

Originally Posted by juandp77 (Post 868756)
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

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

Originally Posted by lunat (Post 868763)
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

lunat 2010-11-10 04:55

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

Originally Posted by juandp77 (Post 868765)
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

Re: [WIP] Ubuntu 9.10 on the N900
 
i mkimage again but always get the same, maybe I should reformat again my sd card

juandp77 2010-11-10 05:03

Re: [WIP] Ubuntu 9.10 on the N900
 
just one more question sorry for botter you how is your sd partitions

lunat 2010-11-10 05:18

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

Originally Posted by juandp77 (Post 868773)
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

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

lunat 2010-11-10 20:34

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


Quote:

Originally Posted by kingoddball (Post 869611)
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

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

ear0wax 2010-11-11 00:01

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

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

lunat 2010-11-11 01:29

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

Originally Posted by kingoddball (Post 869788)
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).

ear0wax 2010-11-11 07:12

Re: [WIP] Ubuntu 9.10 on the N900
 
Sorry for the late response. I work nights.
Quote:

Originally Posted by kingoddball (Post 869827)
How do you disable net launcher? (I wanted that gone off mine originally).

In ubuntu

Code:

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

Quote:

Originally Posted by kingoddball (Post 869827)
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)
Code:

echo 1100000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
3. Use the CPU scaling panel applet for nice profiles and such

Quote:

Originally Posted by kingoddball (Post 869827)
I didn't know we could OC with Ubuntu.. Please help, it sounds sweet!!!!

Yeah, Any os can overclock if the kernel supports it.

ear0wax 2010-11-11 07:12

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

Originally Posted by lunat (Post 869845)
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

Re: [WIP] Ubuntu 9.10 on the N900
 
Probably just a beagleboard (made by Ti).
Or as you said, over prices Omap Dev Boards.

lunat 2010-11-11 07:40

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

Originally Posted by kingoddball (Post 870015)
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

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

ear0wax 2010-11-11 08:46

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

Originally Posted by kingoddball (Post 870054)
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

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

ear0wax 2010-11-11 09:17

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

Originally Posted by kingoddball (Post 870085)
I can't get it to install due to (what seems to be) PR1.3

Im on PR 1.3


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

vBulletin® Version 3.8.8