Closed Thread
Thread Tools
Posts: 19 | Thanked: 129 times | Joined on Nov 2009
#11
Status update: got a working kernel based on 2.6.30 linux-omap and android - will probably have to set up git somewhere at some point because trying to describe all the cherry-picks, merges, and hacks I had to do to get it booting an Android userland init is going to be hard otherwise.

Some notes for future porters though:
Android userspaces need ASHMEM. They won't even start to do anything without it.
GCC 4.4.0 and 4.3.1 won't build a booting kernel easily. Using 4.2.1 to build the kernel seems a lot more stable.
linux-omap HEAD doesn't init the framebuffer - I think someone accidentally refactored it out when they moved from n800-board-xxx.c to n8x0-board.c and tried to put init in individual drivers. You have to use something from around 2.6.30 (my git will have the specific commit), before the n8x0-board refactor.
2.6.30 has some Android code merged to mainline that works, but not everything (notably ADB Gadget, GPIO Input, its dependencies such as switch and block_wake and ASHMEM will need to be cherry-picked and frontported - some USB name stuff was redone so ADB Gadget needs some love).

Now I'm just having much more straightforward rootfs mount / init script issues.

My new kernel has WiFi drivers built-in (still need firmware, obviously+sadly), and support for watchdog etc. was put into linux-omap mainline. Sound theoretically works too but I haven't even thought about testing it yet. So we'll have a lot less deps on a Nokia initrd, but they're still there (firmwares now, mostly).
 

The Following 17 Users Say Thank You to bri3d For This Useful Post:
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#12
Wow, I feel hope stirring within me again! Thanks, bri3d!
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 

The Following User Says Thank You to qole For This Useful Post:
Posts: 31 | Thanked: 5 times | Joined on May 2008
#13
Wow, this is really great news. Thanks for spending the time on this
 

The Following 2 Users Say Thank You to JeffLuszcz For This Useful Post:
Posts: 2 | Thanked: 1 time | Joined on May 2009
#14
Hi bri3d,

Great thanks for your development. I've already tested android on my n800 and I liked it too much. I hope you can make Android fully usable to us. Keep up the good work.
 

The Following User Says Thank You to ramersonw For This Useful Post:
Posts: 1 | Thanked: 1 time | Joined on Dec 2009
#15
Hi,
Can you post which files are modified? I also got display issue when porting code to Eclair.
Thanks,
Jose
 

The Following User Says Thank You to sanjose For This Useful Post:
Stskeeps's Avatar
Posts: 1,671 | Thanked: 11,478 times | Joined on Jun 2008 @ Warsaw, Poland
#16
bri3d: You did notice http://elinux.org/N8x0 right?

Also, feel free to hang out on #mer , irc.freenode.net. We're also interested in later kernel versions on N8x0 and the Gentoo/N8x0 guys hang out there too.
__________________
As you go on to other communities, remember to build them around politeness, respect, trust and humility. Be wary of poisonous people and deal with them before they end up killing your community.. Seen it happen to too many IRC channels, forums, open source projects.
 

The Following 3 Users Say Thank You to Stskeeps For This Useful Post:
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#17
Stskeeps: anything happening with that project since Kalle Valo's brief burst of activity on his summer vacation? Doesn't look like it...
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 

The Following User Says Thank You to qole For This Useful Post:
Posts: 19 | Thanked: 129 times | Joined on Nov 2009
#18
@sanjose:
I had to cherry-pick a specific commit from the linux-omap repo before the n800-board-xxx.c files were refactored into individual drivers and n8x0-board.c was added - it looks like when this happened, some crucial part of Blizzard initialization got lost. I can let you know exactly which commit when I get home (actually, I'll just push up a git repo and gitweb so everyone can check out my kernel and see my nasty hacks).

@Stskeeps:
Yeah, but it doesn't look like it got anywhere since last summer, so I'm sticking to whatever working linux-omap I can get to boot with all devices.

And another status update: The MMC driver got really unreliable somewhere so I'm working on it - the Android userland that does load before my MMC decides to stop reading (init, adb, ADB USB drivers, etc.) is working fine though, so I think I've got the necessary Android stuff into the kernel.
 

The Following 5 Users Say Thank You to bri3d For This Useful Post:
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#19
Originally Posted by bri3d View Post
I can let you know exactly which commit when I get home (actually, I'll just push up a git repo and gitweb so everyone can check out my kernel and see my nasty hacks).
Oh please! That would be wonderful. It has become very apparent to me that open source projects aren't really open source until they've got a source code repository somewhere. Especially lone-coder projects.
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 

The Following User Says Thank You to qole For This Useful Post:
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#20
The MMC driver for 770 was broken too, I wonder if someone tests the changes that are commited
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 

The Following User Says Thank You to Bundyo For This Useful Post:
Closed Thread


 
Forum Jump


All times are GMT. The time now is 13:54.