FORUMS
Remove All Ads from XDA
H10 Turbo

[DEV] MeeGo for Nexus S (Also, Help Required)

53 posts
Thanks Meter: 225
 
Post Reply Email Thread
So, I have a barebones version of MeeGo (barely) running on the Nexus S. I can't really do much with it on my own, but I'm posting the info here so you can build it and try it for yourself.

What works:
• ADB root shell
• X11 & UI apps
• Super-AMOLED brightness control (fixed! still off-colour tho…)

What doesn't work currently:
• Touchscreen
• WiFi
• Anything else :P

If you've never built a MeeGo rootfs before, it's relatively straightforward, and all the binaries are precompiled for you (but it's definitely for developers only).

I have my boot.img (kernel + ramdisk) and a MeeGo kickstart file at http://blog.steventroughtonsmith.com...s-s-meego.html ; you can use fastboot to boot the image, or flash it to the recovery partition to dual boot. The actual MeeGo rootfs is run from a rootfs.ext2 file you can drop onto the Nexus S using Mass Storage mode - no need for messy flashing or the like, you can thank me later).

There's not much else I can do on my own right now, so if you want to see anything become of this do get involved!

My kernel is stock git://android.git.kernel.org/kernel/samsung.git ; make herring_defconfig; the only change was modifying the .config to turn on CONFIG_VT (needed for X11).

Go nuts!
Attached Thumbnails
Click image for larger version

Name:	DSC00578.jpg
Views:	4502
Size:	95.5 KB
ID:	485165  
The Following 13 Users Say Thank You to stroughtonsmith For This Useful Post: [ View ] Gift stroughtonsmith Ad-Free
 
 
9th January 2011, 10:33 PM |#2  
Arcarsenal's Avatar
Senior Member
Flag Chicago, IL
Thanks Meter: 17
 
More
Well done on the port so far. This is way beyond my area of expertise, but I do hope that some people can help build off of what you've done so far. Always nice to see what kind of fun stuff we can run on these devices...
The Following User Says Thank You to Arcarsenal For This Useful Post: [ View ] Gift Arcarsenal Ad-Free
9th January 2011, 11:32 PM |#3  
kennethpenn's Avatar
Retired Forum Moderator / Retired Recognized Developer
Flag Washington, D.C.
Thanks Meter: 3,812
 
Donate to Me
More
Looking forward to more development on this!
10th January 2011, 01:07 AM |#4  
Member
Thanks Meter: 2
 
More
Great stuff!

I have been waiting for someone to start something like this, I work as an embedded developer during the day so not much time at night but I will chip in were and if I can, I am pulling the source and looking at the build system / process.

Looks like you have done the heavy lifting of bootstraping the device now its just about porting drivers.

Cheers and great start!
10th January 2011, 01:40 AM |#5  
Member
Thanks Meter: 14
 
More
What driver are you using for the X11 and is it accelerated?
10th January 2011, 07:26 AM |#6  
stroughtonsmith's Avatar
OP Member
Flag Dublin
Thanks Meter: 225
 
Donate to Me
More
Quote:
Originally Posted by ilfccd

What driver are you using for the X11 and is it accelerated?

It's using unaccelerated graphics; although, with luck, SGX 540 graphics drivers are available for other devices (like the OMAP4) so in theory you may be able to patch those to run.
The Following User Says Thank You to stroughtonsmith For This Useful Post: [ View ] Gift stroughtonsmith Ad-Free
10th January 2011, 12:13 PM |#7  
stroughtonsmith's Avatar
OP Member
Flag Dublin
Thanks Meter: 225
 
Donate to Me
More
Update - backlight working; color is still fscked, might be gamma:
Attached Thumbnails
Click image for larger version

Name:	DSC00579.jpg
Views:	2081
Size:	86.9 KB
ID:	485621  
The Following 2 Users Say Thank You to stroughtonsmith For This Useful Post: [ View ] Gift stroughtonsmith Ad-Free
10th January 2011, 05:36 PM |#8  
Member
Thanks Meter: 14
 
More
Thumbs up
According to PowerVR rep on CES there should be an open source driver later this year (info from Phoronix, but they are lately not really reliable source of info).

Here is another question though. Have you tried using the omap tree of linaro for the kernel build?

I don't have Nexus S around currently and I'm doing all my work on TI OMAP (A8) based IGEP v2 board and TI OMAP 44xx Panda (A9) board. As they both have PowerVR 530/540 graphics I'll check tonight or tomorrow if the closed driver is compatible with linaro's kernel as I'm currently running that on the IGEP. As Samsung is part of linaro, there could be some patchests for the hummingbird in there. The current uname -r for the linaro is: 2.6.35-1008-linaro-omap so it could be compatible w/ MeeGo's kernel, there could be even newer version in the git tree.

Keep up the great work, I'm really interested in what you are doing with MeeGo. Thanks!
The Following User Says Thank You to ilfccd For This Useful Post: [ View ] Gift ilfccd Ad-Free
10th January 2011, 05:39 PM |#9  
stroughtonsmith's Avatar
OP Member
Flag Dublin
Thanks Meter: 225
 
Donate to Me
More
Quote:
Originally Posted by ilfccd

According to PowerVR rep on CES there should be an open source driver later this year (info from Phoronix, but they are lately not really reliable source of info).

Here is another question though. Have you tried using the omap tree of linaro for the kernel build?

I don't have Nexus S around currently and I'm doing all my work on TI OMAP (A8) based IGEP v2 board and TI OMAP 44xx Panda (A9) board. As they both have PowerVR 530/540 graphics I'll check tonight or tomorrow if the closed driver is compatible with linaro's kernel as I'm currently running that on the IGEP. As Samsung is part of linaro, there could be some patchests for the hummingbird in there. The current uname -r for the linaro is: 2.6.35-1008-linaro-omap so it could be compatible w/ MeeGo's kernel, there could be even newer version in the git tree.

Keep up the great work, I'm really interested in what you are doing with MeeGo. Thanks!

I'm not sure how compatible the kernels will be, the Hummingbird is not an OMAP device (and it would be more akin to the OMAP3 than OMAP4); but if the kernel works, then it should work with MeeGo too. MeeGo is relatively versatile.

Graphics drivers would be nice!
10th January 2011, 05:45 PM |#10  
Member
Thanks Meter: 14
 
More
I actually use the linaro distro (ubuntu essential, which i hate) to build meego inside it, because of the work the linaro guys did on the gcc compiler (should be better versed for arm chips). according to the wiki here https://wiki.linaro.org/Platform/Use...rms/2010-09-13

the drivers for omap3 should be freely accessible (the 530 core). there is a mention of the 540 core in there also, but I haven't really used them as I don't run X on the boards. You could try the PVR 540 driver for the OMAP4, you might be lucky with the build, could be compatible with the one in the hummingbird. If it is, this could potentially be far better than the Nexus and HD2 MeeGo 'ports' .
The Following User Says Thank You to ilfccd For This Useful Post: [ View ] Gift ilfccd Ad-Free
10th January 2011, 05:49 PM |#11  
stroughtonsmith's Avatar
OP Member
Flag Dublin
Thanks Meter: 225
 
Donate to Me
More
Quote:
Originally Posted by ilfccd

I actually use the linaro distro (ubuntu essential, which i hate) to build meego inside it, because of the work the linaro guys did on the gcc compiler (should be better versed for arm chips). according to the wiki here https://wiki.linaro.org/Platform/Use...rms/2010-09-13

the drivers for omap3 should be freely accessible (the 530 core). there is a mention of the 540 core in there also, but I haven't really used them as I don't run X on the boards. You could try the PVR 540 driver for the OMAP4, you might be lucky with the build, could be compatible with the one in the hummingbird. If it is, this could potentially be far better than the Nexus and HD2 MeeGo 'ports' .

I'd try the OMAP4 driver if it was easy to get! I can only find instructions for the PandaBoard, and no repo or download links.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes