Reply
Thread Tools
preflex's Avatar
Posts: 172 | Thanked: 628 times | Joined on Apr 2010 @ Albuquerque, NM, USA
#191
Doesn't look good.

I managed to get some of those errors straightened out, but I'm stuck here:

error: implicit declaration of function ‘console_lock’ [-Werror=implicit-function-declaration]

As I understand what I read here: http://irclogs.ubuntu.com/2011/06/01...untu-devel.txt , it's not going to fly on 2.6.37, as console_lock isn't in the kernel until 2.6.38.

Bummer.
Perhaps an older version?
 

The Following User Says Thank You to preflex For This Useful Post:
qwazix's Avatar
Moderator | Posts: 2,622 | Thanked: 5,447 times | Joined on Jan 2010
#192
Maybe ubuntu could be the solution to flashing usb-less N900's. I haven't tried it but maybe it would work if we copied the maemo binary flasher from rootfs and used it booting from ubuntu. Fortunately my usb's are still in place but I thought maybe putting this idea on record here might help a poor fellow who's usb is out.
__________________
Proud coding competition 2012 winner: ρcam
My other apps: speedcrunch N9 N900 Jolla –– contactlaunch –– timenow

Nemo UX blog: Grog
My website: qwazix.com
My job: oob
 

The Following 2 Users Say Thank You to qwazix For This Useful Post:
Posts: 58 | Thanked: 197 times | Joined on Apr 2012
#193
Originally Posted by preflex View Post
Doesn't look good.

I managed to get some of those errors straightened out, but I'm stuck here:

error: implicit declaration of function ‘console_lock’ [-Werror=implicit-function-declaration]

As I understand what I read here: http://irclogs.ubuntu.com/2011/06/01...untu-devel.txt , it's not going to fly on 2.6.37, as console_lock isn't in the kernel until 2.6.38.

Bummer.
Perhaps an older version?
The thing is, TI doesn't provide hard float libs of powervr. I read, that n900 is the only device supporting hart float because of meego. Maybe this http://build.meego.com/package/files...-oss%3ATesting or this https://build.pub.meego.com/project/...%3AN9xx-common ? I do not have any expirience there, so I can't help. Maybe this won't work if Xorg in Ubuntu is different than Meego or the thumb compiled userspace that meego doesn't have but it would be interessting to see if you can get somwhere.

Last edited by unknown.obvious; 2012-05-08 at 09:46.
 

The Following 3 Users Say Thank You to unknown.obvious For This Useful Post:
preflex's Avatar
Posts: 172 | Thanked: 628 times | Joined on Apr 2010 @ Albuquerque, NM, USA
#194
Originally Posted by unknown.obvious View Post
The thing is, TI doesn't provide hard float libs of powervr. I read, that n900 is the only device supporting hart float because of meego. Maybe this http://build.meego.com/package/files...-oss%3ATesting or this https://build.pub.meego.com/project/...%3AN9xx-common ? I do not have any expirience there, so I can't help. Maybe this won't work if Xorg in Ubuntu is different than Meego or the thumb compiled userspace that meego doesn't have but it would be interessting to see if you can get somwhere.
Right. That's why i'm using 11.10, rather than 12.04. 11.10 and your kernel are compiled armel, right?

I grabbed all the 3.01.00.07 packages from here.
http://ports.ubuntu.com/pool/multive...les-sgx-omap3/

When I tried dkms, i got
error: implicit declaration of function ‘omap_rev_le’ [-Werror=implicit-function-declaration]

According to https://wiki.ubuntu.com/ARM/n900 this patch: https://wiki.ubuntu.com/ARM/n900?act...revision.patch might do the trick.

Alas, I need to go to bed. I will be busy for the next few days and will not likely have time to get back to this for a little while.

Last edited by preflex; 2012-05-08 at 11:31.
 

The Following 2 Users Say Thank You to preflex For This Useful Post:
Posts: 58 | Thanked: 197 times | Joined on Apr 2012
#195
Originally Posted by preflex View Post
Right. That's why i'm using 11.10, rather than 12.04. 11.10 and your kernel are compiled armel, right?

I grabbed all the 3.01.00.07 packages from here.
http://ports.ubuntu.com/pool/multive...les-sgx-omap3/

When I tried dkms, i got
error: implicit declaration of function ‘omap_rev_le’ [-Werror=implicit-function-declaration]

According to https://wiki.ubuntu.com/ARM/n900 this patch: https://wiki.ubuntu.com/ARM/n900?act...revision.patch might do the trick.

Alas, I need to go to bed. I will be busy for the next few days and will not likely have time to get back to this for a little while.
Not sure... I compiled the kernel with "arm-linux-gnueabihf-" http://talk.maemo.org/showpost.php?p...&postcount=128
 

The Following 3 Users Say Thank You to unknown.obvious For This Useful Post:
Posts: 63 | Thanked: 37 times | Joined on Jul 2010
#196
So we will never have hardware acceleration in ubuntu 12.04 because the powervr libs are armel?

EDIT: What about the meego TI SGX driver? ti-omap3-sgx-bin-1.4.20090218.189-armv7hl.tar.gz

Last edited by MastaG; 2012-05-08 at 19:15.
 
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#197
Originally Posted by ivyking View Post
ITEM_USEATAG=1 is used instead of ITEM_REUSEATAG=1, the system won't boot using the later.(this happens even when booting maemo with kp if ITEM_REUSEATAG=1 is used in KP item file)
Correct is ITEM_REUSEATAGS=1 Please use this option instead old obsolated ITEM_USEATAG=1
 

The Following 7 Users Say Thank You to pali For This Useful Post:
Posts: 2,154 | Thanked: 8,464 times | Joined on May 2010
#198
Originally Posted by MastaG View Post
So we will never have hardware acceleration in ubuntu 12.04 because the powervr libs are armel?

EDIT: What about the meego TI SGX driver? ti-omap3-sgx-bin-1.4.20090218.189-armv7hl.tar.gz
meego/nemo is really armhf, but they needs also specific sgx kernel driver (maybe new version? and ubuntu has older?)
 

The Following 5 Users Say Thank You to pali For This Useful Post:
Posts: 63 | Thanked: 37 times | Joined on Jul 2010
#199
Quick update.
I placed the meego rescue zImage and initrd into /boot and created a bootmenu.item for it in /etc/bootmenu.d/ (I can post this if anyones interested)
This allows me to repartition the whole eMMC over USB without having to install backupmenu (nasty).
So I shrunk the fat32 mydocs partition, moved everything else to the left and created a fouth logical parittion with two extended partitions, one for Ubuntu 12.04 ext4 (mmcblk0p5) and one for NITDroid ext4 (mmnblk0p6).

Then I got the Kubuntu 12.04 omap armhf image and mounted it and copied all files to my Ubuntu eMMC partition (mmcblk0p5).
Also placed unknown.obvious' uImage in the root and applied most fixed from the install.sh and installed the kernel and kubuntu-mobile-integrations debs using chroot.

From the maemo root I copied everything in /lib/firmware/* to my Ubuntu /lib/firmware

Here's my Ubuntu.item:
Code:
ITEM_NAME="Kubuntu 12.04"
ITEM_KERNEL="uImage"
ITEM_DEVICE="${INT_CARD}p5"
ITEM_FSTYPE="ext4"
ITEM_CMDLINE="console=tty0 root=/dev/mmcblk0p5 rw panic=20 omapfb.vram=0:2M,1:2M,2:2M mtdoops.mtddev=2 rootwait"
ITEM_REUSEATAGS="1"
Ubuntu fstab:
Code:
/dev/mmcblk0p5  /               ext4    defaults                1 1
proc            /proc           proc    nodev,noexec,nosuid     0 0
/dev/mmcblk0p3  swap            swap    defaults                0 0
tmpfs           /tmp            tmpfs   defaults                0 0
tmpfs           /run            tmpfs   defaults                0 0
tmpfs           /var/log        tmpfs   defaults                0 0
tmpfs           /var/tmp        tmpfs   defaults                0 0
tmpfs           /var/run        tmpfs   defaults                0 0
tmpfs           /var/lock       tmpfs   defaults                0 0
It works but I'm having some problems.

- Wireless doesn't work
I double checked the firmware files (copied from maemo) are in /lib/firmware but no connections show up

- The n900 keymap gets loaded but I cannot type numbers using the blue shift button

- It's a bit slow
No video hardware acceleration :P

I can post detailed instructions for installing kubuntu but I think it's best the installer.sh gets updated for this.


So far no crashes
 

The Following 5 Users Say Thank You to MastaG For This Useful Post:
Posts: 63 | Thanked: 37 times | Joined on Jul 2010
#200
A quick update.
I replaced Kubuntu 12.04 with the regular Ubuntu 12.04 (omap armhf).
Still using unknown's 2.6.37-n900 kernel, kubuntu integration deb and the fixes/workarounds from the install.sh script.
Only this time I used the firmware files from the Meego CE image.

- Wireless works like it should
- Keyboard is OK now (I can type numbers)
- Stable, not a single crash for over two hours

However it's still VERY slow.
It boots up fast but after login to Unity it will become a nightmare:P
Firefox takes op like 2 minutes to open, and 3 minutes before I can type in a URL
"top" shows me that Xorg, gnome stuff and Unity are taking up all of my memory and cpu usage.

I already tried setting elevator=noop and using ext4 for rootfs with noatime but no luck in getting it faster.

I'm going to install the Meego CE image onto my NITDroid partition and rip out the sgx drivers/xorg config to see if I can get EGL working in Ubuntu.
 

The Following 6 Users Say Thank You to MastaG For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 09:44.