5,604,367 Members 48,664 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
stroughtonsmith
Old
(Last edited by stroughtonsmith; 10th January 2011 at 01:43 PM.)
#1  
stroughtonsmith's Avatar
Member - OP
Thanks Meter 219
Posts: 49
Join Date: Dec 2010
Location: Dublin

 
DONATE TO ME
Angry [DEV] MeeGo for Nexus S (Also, Help Required)

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:	4385
Size:	95.5 KB
ID:	485165  
The Following 13 Users Say Thank You to stroughtonsmith For This Useful Post: [ Click to Expand ]
 
Arcarsenal
Old
#2  
Arcarsenal's Avatar
Senior Member
Thanks Meter 17
Posts: 328
Join Date: Dec 2006
Location: Chicago, IL
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: [ Click to Expand ]
 
kennethpenn
Old
#3  
kennethpenn's Avatar
Retired Forum Moderator / Recognized Developer
Thanks Meter 3782
Posts: 2,702
Join Date: Nov 2006
Location: Washington, D.C.

 
DONATE TO ME
Looking forward to more development on this!
 
vitosans
Old
#4  
Member
Thanks Meter 0
Posts: 53
Join Date: May 2010
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!
 
ilfccd
Old
#5  
Junior Member
Thanks Meter 3
Posts: 13
Join Date: Mar 2008
What driver are you using for the X11 and is it accelerated?
 
stroughtonsmith
Old
#6  
stroughtonsmith's Avatar
Member - OP
Thanks Meter 219
Posts: 49
Join Date: Dec 2010
Location: Dublin

 
DONATE TO ME
Quote:
Originally Posted by ilfccd View Post
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: [ Click to Expand ]
 
stroughtonsmith
Old
#7  
stroughtonsmith's Avatar
Member - OP
Thanks Meter 219
Posts: 49
Join Date: Dec 2010
Location: Dublin

 
DONATE TO ME
Update - backlight working; color is still fscked, might be gamma:
Attached Thumbnails
Click image for larger version

Name:	DSC00579.jpg
Views:	2031
Size:	86.9 KB
ID:	485621  
The Following 2 Users Say Thank You to stroughtonsmith For This Useful Post: [ Click to Expand ]
 
ilfccd
Old
#8  
Junior Member
Thanks Meter 3
Posts: 13
Join Date: Mar 2008
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: [ Click to Expand ]
 
stroughtonsmith
Old
#9  
stroughtonsmith's Avatar
Member - OP
Thanks Meter 219
Posts: 49
Join Date: Dec 2010
Location: Dublin

 
DONATE TO ME
Quote:
Originally Posted by ilfccd View Post
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!
 
ilfccd
Old
#10  
Junior Member
Thanks Meter 3
Posts: 13
Join Date: Mar 2008
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: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes