|
2009-12-01
, 18:02
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#12
|
The Following User Says Thank You to qole For This Useful Post: | ||
|
2009-12-02
, 13:24
|
Posts: 2 |
Thanked: 1 time |
Joined on May 2009
|
#14
|
The Following User Says Thank You to ramersonw For This Useful Post: | ||
|
2009-12-02
, 19:36
|
|
Posts: 1,671 |
Thanked: 11,478 times |
Joined on Jun 2008
@ Warsaw, Poland
|
#16
|
The Following 3 Users Say Thank You to Stskeeps For This Useful Post: | ||
|
2009-12-02
, 19:56
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#17
|
The Following User Says Thank You to qole For This Useful Post: | ||
|
2009-12-02
, 20:12
|
Posts: 19 |
Thanked: 129 times |
Joined on Nov 2009
|
#18
|
The Following 5 Users Say Thank You to bri3d For This Useful Post: | ||
|
2009-12-02
, 20:19
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#19
|
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).
The Following User Says Thank You to qole For This Useful Post: | ||
|
2009-12-02
, 22:19
|
|
Posts: 4,708 |
Thanked: 4,649 times |
Joined on Oct 2007
@ Bulgaria
|
#20
|
The Following User Says Thank You to Bundyo For This Useful Post: | ||
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).