maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Ubuntu (https://talk.maemo.org/forumdisplay.php?f=55)
-   -   Kubuntu 11.10 mobile on N900 [TESTERS NEEDED] (https://talk.maemo.org/showthread.php?t=73613)

int_ua 2011-08-25 23:34

Re: Kubuntu 11.10 mobile on N900
 
The new scripts are being tested. Right now the zcat is talking to dd.
And now to the Ians' script. Isn't integration deb just the copy of the gitorious repository? Didn't check yet, but it looks very similar. What's the difference? Will read another thread.

int_ua 2011-08-26 00:00

Re: Kubuntu 11.10 mobile on N900
 
Ok, I will not finish this test tonight. Meego is taking too long to unpack not to say about chroot upgrade.
So here are the untested scripts.
UPDATE:
See the new version below.

ArtieSparx 2011-08-26 02:49

Re: Kubuntu 11.10 mobile on N900
 
^

I'd test 'em for you if I know what to do with them :/

int_ua 2011-08-26 08:22

Re: Kubuntu 11.10 mobile on N900
 
Ok, I already added some warnings to them so they may be ready for wider use.
These scripts was written in the Ubuntu desktop machine and can be launched with the terminal command:
Code:

$ sudo bash install.sh
I'd recommend putting them into some empty directory, because they will download and unpack images. BTW, after unpacking they consume 5G of my disk (that's both kubuntu and ubuntu images).

I believe they may run in the majority of all desktop Linux distros. And If you don't have one nearby, I'd suggest using a VM for that. If someone do, please write instructions for others.

UPDATE
And also you need to:
1. Connect microSD (it will be completely rewritten! It must be big enough to place the Ubuntu desktop, I assume 4Gb+. Mine is 16Gb) to the machine.
2. Install uboot on the phone (As far as I know this will block you from using the Nitdriod, right?).


P.S. Right now the script will download Meego twice if run twice. Will fix that later.
UPDATE 2: I missed the meego link, it will not download anything. Fixing right now.

int_ua 2011-08-26 13:27

Re: Kubuntu 11.10 mobile on N900
 
Fixed Meego download, added -y to the chroot upgrade and acpi for the system to react on the power button (Is it the right way to make this work?).

UPDATE:
Fixed Meego modules folder. See "1900" archive.

UPDATE 2:
Let's make this version old-stable. New one, tested with the 11.10 image:
http://talk.maemo.org/showpost.php?p...0&postcount=64


UPDATE 3: Use https://code.launchpad.net/~xintx-ua...n900-installer

int_ua 2011-08-26 15:55

Re: Kubuntu 11.10 mobile on N900
 
New bug:
meego modules folder is not
/media/meego/lib/modules/2.6.35.3-13.10-n900/
but
/media/meego/lib/modules/2.6.37-24.2.DE-adaptation-n900/
Fixed.

alex-12gods 2011-08-26 16:06

Re: Kubuntu 11.10 mobile on N900
 
waiting for an easy guide so as to have and meego on boot menu!!!

int_ua 2011-08-26 16:08

Re: Kubuntu 11.10 mobile on N900
 
Quote:

Originally Posted by alex-12gods (Post 1077066)
waiting for an easy guide so as to have and meego on boot menu!!!

Do you want to install both systems on the same microSD? Than you'll have to find someone who can extend uboot menu, I suggest.

int_ua 2011-08-26 16:53

Re: Kubuntu 11.10 mobile on N900
 
Ok,
- WiFi
- battery
- power button
are working with the 1900 scripts and the Kubuntu image.

Known bugs:
1) The top panel in the Plasma Mobile wildly flickers because of some miscalculations in the applets size.
2) Console login from kdm is not working.

Keneraali 2011-08-26 18:12

Re: Kubuntu 11.10 mobile on N900
 
Have you tried messing with ofono yet?

MaxOS 2011-08-26 18:41

Re: Kubuntu 11.10 mobile on N900
 
Quote:

Originally Posted by int_ua (Post 1075890)
MaxOS, please add "testers needed" or something similar to the thread title.

Done, sorry for the delay :o

int_ua 2011-08-26 19:10

Re: Kubuntu 11.10 mobile on N900
 
Quote:

Originally Posted by Keneraali (Post 1077116)
Have you tried messing with ofono yet?

Installing it right now in the chroot...
Also, will try these packages soon:
https://wiki.ubuntu.com/ARM/OMAP/Graphics
Do not try to install these packages in chroot unless you know what you are doing. It did prevent my installation from booting into kdm.
But maybe that was just wrong chroot configuration: I didn't mount /dev/pts and /sys.

N900L 2011-08-26 19:18

Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
 
I have the following:
N900
Micro sd 2gb

installed maemo with stock kernel
maemo with power kernel
Nitdroid N12
Can i add kubuntu?
if calls work i install it
but if it needs a memory card i have to buy one first.

alex-12gods 2011-08-26 19:38

Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
 
Quote:

Originally Posted by N900L (Post 1077134)
I have the following:
N900
Micro sd 2gb

installed maemo with stock kernel
maemo with power kernel
Nitdroid N12
Can i add kubuntu?
if calls work i install it
but if it needs a memory card i have to buy one first.

same with me....
if it is possible i want to try it (i have an 8gb micro sd)

int_ua 2011-08-26 19:51

Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
 
Quote:

Loading new powervr-omap3-4.00.00.01 DKMS files...
First Installation: checking all kernels...
It is likely that 3.0.0-9-generic belongs to a chroot's host
Building only for 3.0.0-9-omap
Building for architecture armel
/usr/sbin/dkms: line 1874: /dev/fd/62: No such file or directory
/usr/sbin/dkms: line 1803: /dev/fd/62: No such file or directory
dpkg: error processing powervr-omap3-dkms (--configure)
So I guess the SGX drivers has to be installed only after booting into system.

int_ua 2011-08-26 19:56

Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
 
alex-12gods, N900L
I am testing calls and ofono at the moment.
I have uboot for booting, sorry, but I'm not using multiboot.
Do you know a way to boot into Nitdroid with the uboot? Than you can use part of these scripts to try Kubuntu. Otherwise you can use another part of these scripts to automate creation of the image bootable by multiboot.

int_ua 2011-08-27 11:56

Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
 
Still, power button works only in some rare cases and after latest updates I can't even get to a single terminal to test ofono.
Now I'm trying to boot into stable 11.04. BTW, do not use the scripts above for 11.04, they are for unstable 11.10 for which I've found at least one way to boot. 11.04 contains the whole disk image, not the single partition.
With 11.04 N900 shuts down after "Starting kernel". And I assume that the problem is in the boot.scr. Maybe, that's the fixed screen resolution, maybe the root:
Quote:

/media/DA39-40FA$ cat boot.scr
'VR�(fM�����Ubuntu boot script� fatload mmc 0:1 0x80000000 uImage
fatload mmc 0:1 0x81600000 uInitrd
setenv bootargs vram=12M omapfb.mode=dvi:1280x720MR-16@60 mpurate=${mpurate} root=/dev/mmcblk0p2 fixrtc quiet splash
bootm 0x80000000 0x81600000
Will try to modify it.
Please correct me if I'm doing something wrong.

int_ua 2011-08-27 12:17

Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
 
sed does not work for boot.scr because its' header contains crc checksum.
Will use
https://wiki.kubuntu.org/ARM/BeagleEditBootscr

int_ua 2011-08-27 17:03

Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
 
Ok, I've booted into 11.04.
The idea is to throw away Canonical's boot.scr + partitioning scheme for the BeagleBoard-like devices and use N900s' uboot env to boot with the same method as Meego does: the 1st partition being ext3 root and the 3rd - fat with uImage only.
Finishing the script...

int_ua 2011-08-27 17:51

Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
 
Here is the untested script, I've done it manually and just tried to add instructions to the existing scripts. Let's hope that I didn't miss something.
These still does not contain apachelogger's git cloning, as I do not know if we really need it. Waiting for his advice.
Okay, we do not need the git cloning. The deb package has to make things work. If it does not, please report.

I've added the 11.04 support, please try it and say if it works.
Also, it needs even more space on the disk if you want 11.04. These have to be unpacked and take 2.5Gb each one (kubuntu/ubuntu).

UPDATE:
There is a bug with cp -a commands. Fixing.. Fixed. See the new archive.

UPDATE 2:
Another bug:
Quote:

install.sh: line 97: =kubuntu-11.04-preinstalled-desktop-armel+omap.img: command not found
Deleting "$".. Done.


UPDATE 3:
New scripts are there.

int_ua 2011-08-27 19:12

Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
 
Ofono 0.41 in Ubuntu 11.04 looks like working.
I just tried commands from https://wiki.kubuntu.org/ARM/n900
And it says that it has connected. However, no voice yet. Will try Empathy instructions from https://wiki.linaro.org/Ofono/HowTo

alex-12gods 2011-08-28 11:51

Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
 
Quote:

Originally Posted by int_ua (Post 1077155)
alex-12gods, N900L
I am testing calls and ofono at the moment.
I have uboot for booting, sorry, but I'm not using multiboot.
Do you know a way to boot into Nitdroid with the uboot? Than you can use part of these scripts to try Kubuntu. Otherwise you can use another part of these scripts to automate creation of the image bootable by multiboot.

i know nothing about all this these... i just follow the steps from a guide and managed to have nitdroid installed,but i wiil wait until there is another guide or a sollution because im using multiboot as you said...
thanks

int_ua 2011-08-28 15:05

Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
 
However, the Init freqently gets Segfaults and the Kernel panics. Don't know which of these is the reason. /var/crash is empty. Where is the kernel panic bug report procedure? I can't find it. Anyone knows?
And Kubuntu 11.10 can't launch any of the sessions with current updates.
Also had to comment _ti module in the SGX startup script to make it work.
And I finally can get into tty by changing any tty to tty8 and using Ctrl+Alt/Fn+Volume. But the keyboard is standard so I can't get any specific symbol. Already sent installation errors to apachelogger.
Will add new scripts in a couple of hours.

int_ua 2011-08-28 23:45

Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
 
Tonight in our show:
1) SGX drivers installation with dirty workaround for missing bufferclass_ti module:
Quote:

sed -i 's/\(modprobe bufferclass_ti\)/#\1/g' /etc/init/opengles-sgx-omap3.conf
2) quick and dirty tty8 to access it with Ctrl+Fn+Volume:
Quote:

sed -i 's/tty6/tty8/g' /etc/init/tty6.conf
Wow, keyboard works again! Fn is Fn again = no tty8 :(

UPDATE: Use https://code.launchpad.net/~xintx-ua...n900-installer

m4r0v3r 2011-08-29 01:24

Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
 
can't you use the sgx drivers from the meego builds or are they not released?

int_ua 2011-08-29 14:06

Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
 
Quote:

Originally Posted by m4r0v3r (Post 1078226)
can't you use the sgx drivers from the meego builds or are they not released?

Are they available as packages somewhere?
Or do you want to copy files directly?
Or rebuild them from source? Are there any?

int_ua 2011-08-29 14:47

Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
 
https://wiki.kubuntu.org/ARM/n900/ :
Note that Qt and probably also KDELibs and Plasma Mobile need rebuilding for GLES support.
...

m4r0v3r 2011-09-01 11:31

Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
 
http://talk.maemo.org/showthread.php?t=60212

from what Stskeeps said in that thread it seems parts of the drivers, the modules are open source. but the libraries are closed.

Nokia 5700 2011-09-03 17:56

Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
 
Ooh... Nice. :)
I just got faced with KDM, and HOLY CR*P! xD
IT WAS AWESOME TO LOOK AT THE SMOOTHNESS. :)
I started it with the MeeGo kernel and those files on the boot partition, but Kubuntu on the other.
I did this straight from the Kubuntu wiki, by the way.

I wonder: Would I be able to install... Gnome in this?
Would be nice to see Nautilus and stuff running on my N900. :)
I'm already planning to install the SGX drivers if they are needed. Are they?
The Oxygen theme seemed to run flawlessly.

I wonder about something, though:
Why does the system show the Welcome-screen when I boot back to Maemo?
Does it write to some hidden corner of the NAND or something?

And is there any way as of yet to use WLAN?

int_ua 2011-09-03 23:13

Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
 
Quote:

Originally Posted by Nokia 5700 (Post 1081247)
...
1) I did this straight from the Kubuntu wiki, by the way.
...
2) I wonder: Would I be able to install... Gnome in this?
...
3) I'm already planning to install the SGX drivers if they are needed. Are they?
....
4) Why does the system show the Welcome-screen when I boot back to Maemo?

5) And is there any way as of yet to use WLAN?

5) I've written a script for this, see above. Hope it helps you even if you don't run it whole but take only some steps.
Thare is a line for copying /lib/firmware from Meego image. It should make WiFi work. If it does not, please report.

1) What exact kernel version did you use to boot?

2) It is actually working and working great. The most awesome part is the Onboard themes :) See my latest script for the Ubuntu install.

3) They don't actually worked for me. The system boots but without OpenGL support. If you'll find out how to make them really work, please say us.

4) Did you notice that *buntu does not recognize the N900 system clock at all? At least it didn't a week ago.

Nokia 5700 2011-09-04 10:20

Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
 
5) Ah, I see... I forgot to copy from /lib/firmware, I only copied the kernel modules. Thanks. :)

3) Are you sure you did it correctly..? From my previous experience with Ubuntu (which is A LOT, because I use it daily) DKMS builds kernel modules, which are put in /lib/modules of the kernel. When a driver is updated or added, it needs to update the modules as well in order to use em. The difference is that on PCs, you have multiple outputs, often some on the MB and some on the graphics card. Here it's embedded. We need to make the Xserver use the graphics driver instead of doing like normal.

4) I think Kubuntu resets the clock. Kubuntu is originally made for desktops, which use a motherboard battery for keeping track of the clock. It could happen that Kubuntu doesn't know how to interpret the clock on OMAP boards.

My N900 has fulfilled my dreams for it. :')
I wish they made one with an OMAP 4430 on board and 1Gb RAM... :(

Btw, does anyone know how to interpret the names of the firmware files? I want to know if there are any goodies there.
Oh, nvm. Just google them. They're all well known, it seems. :)
I loaded the BT driver, the cameras and the wireless. What more do you need? (Apart from calling. Bleh...)

Aww man... I can only connect to local computers, and not the internetz... Imma have to work on that. And I also suggest turning off the screensaver. It f*cks up everything and makes you believe your device turned off...
I am surprised that the device doesn't overheat, though.
My device boots directly to Kubuntu, as well. So that's awesome... xD

But for some reason, I can't chroot into Kubuntu from Maemo. Is it something about the internals of the executables or what?
This is the error:
Code:

chroot: cannot execute /bin/sh: Exec format error
Bash/Dash works fine inside the system. Is this about hardfp?

I should've put a warning that this post would be extended a lot... :p

rentze 2011-09-07 20:07

Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
 
Any experience with ofono yet? Can you at least receive calls and SMS? If yes, I'm willing to get more involved in testing.

R@ptor 2011-09-10 18:57

Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
 
hi guys. Is there some more detailed guide for 11.10 than on Kubuntu wiki? I will be happy for it. :)

白い熊 2011-09-10 19:31

Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
 
Quote:

Originally Posted by rentze (Post 1083779)
Any experience with ofono yet? Can you at least receive calls and SMS? If yes, I'm willing to get more involved in testing.

Me too, if you can receive and make calls and receive and make SMS, I'll test it and help improve fulltime in production environment...

filios 2011-09-10 20:25

Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
 
Is it possible to install it into eMMC?

Fabry 2011-09-10 23:48

Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
 
MeeGo can be installed on eMMC (tried myself) so nothing prevents to do the same with kubuntu/ubuntu

theonelaw 2011-09-11 13:48

Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
 
Quote:

Originally Posted by int_ua (Post 1077643)
Ofono 0.41 in Ubuntu 11.04 looks like working.
I just tried commands from https://wiki.kubuntu.org/ARM/n900
And it says that it has connected. However, no voice yet. Will try Empathy instructions from https://wiki.linaro.org/Ofono/HowTo

Thanks for trying but more work appears necessary:

the very page you mentioned (https://wiki.kubuntu.org/ARM/n900) says audio is broken:

Quote:

Call is defunct (no audio) though generally the call itself is deployed:

*

dbus-send --system --print-reply --dest=org.ofono /n9000 org.ofono.VoiceCallManager.Dial string:"5551212" string:""
All is not lost, however - if someone will release a 5inch (or 7inch)
tablet (_with_hw_keyboard!) with GSM call hardware, and proper USB ports,
we could install (_not!chroot) this kubuntu into it and begin to
headstone the n900 with the dignity the n900 :D magnificence deserves.

int_ua 2011-09-12 01:55

Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
 
Quote:

Originally Posted by R@ptor (Post 1085757)
hi guys. Is there some more detailed guide for 11.10 than on Kubuntu wiki? I will be happy for it. :)

I've written a script, see above.
MaxOS, can you add the ofono status and information about the script to the first post, please?

Again, if you have any problems with this script, please report.

Sorry, I'm out of town and having very limited GPRS traffic, so no more testing by me yet. I'm finishing the accelBlend alpha.
But you have almost fully-automatic installation, all you have to do is just wait for an hour or two and test what you want ;)

int_ua 2011-09-12 02:10

Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
 
Quote:

Originally Posted by rentze (Post 1083779)
Any experience with ofono yet? Can you at least receive calls and SMS? If yes, I'm willing to get more involved in testing.

BTW, what software can receive SMS with Ofono?

白い熊 2011-09-12 13:20

Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
 
Quote:

Originally Posted by int_ua (Post 1086591)
BTW, what software can receive SMS with Ofono?

I can even write scripts for whiptail for receiving and sending SMS and storing the data and the same for calls, IF ofono works and you can indeed access its API...

Used those for a year on HTC Universal, which had pure Debian running, without Ofono, but it had a whiptail frontend for calling and SMSing and worked well.

I just need to know if the N900's modem is working, and you can send and recieve and SMS, and make and receive a call...

I think the SMS functionality has been confirmed as working before, so that would not be a prob, the phonecall part is what's more important though...

The whiptail scripts would be just the base, I'm sure if the basic phone functionality is working, you'd have a proper Qt frontend programmed by someone soon...


All times are GMT. The time now is 19:11.

vBulletin® Version 3.8.8