AndrewDB wrote:7. Kernel compilation can probably be done with any recent version of gcc: Android prebuilt 4.4, Code Sourcery 4.5.1, Linaro 4.6.x and 4.7.x and standard Ubuntu Quantal gcc 4.7.2.
8. Kernel config: the kernel can probably be configured for any PC stick and tablet based on the RK3066, but some work on some drivers may still be needed. I am going to start working on documenting this.
I successfully compile a kernel from omegamoon github tree with the last stable linaro toolchain.
I don't change anything in my menuconfig and i don't have test the kernel.
Can you share your .config (for mk808) to see the diff between yours and the original ?
about the omegamoon github repo, it doesn't contain your change about hdmi. Is it the only change that you have done ?
To test "my" kernel, can i unpack the stock rom, replace the kernel, repack it and flash it with rockchip Tool Kit?
Thanks again, and good vacation !
Merci, et je peux te répondre en Français si tu veux (dans un PM à part).
I don't have yet a proper .config for the MK808, specially if you are building an Android kernel (my configs are for Linux). So I would suggest that you start with the .config that Omegamoon has prepared for the MK808, it should work.
Also the changes I made to the source to get the HDMI output working are exactly those I published here in this thread. The other (small) changes I made are more specific to the UG802 and not needed for the MK808.
To test your kernel, the best way is to prepare a slightly modified Android kernel + initramfs image (using the tools provided by fun, they work very well) and flash only the recovery partition with it
. The reason for this is that the recovery partition is not critical, you can write whatever you want there and you won't brick your MK808.
For the initramfs for the recovery partition you can use the CWM recovery initramfs I posted earlier in this thread, it has adb enabled by default and that's very useful for kernel debugging. The only change you have to make is to edit the recovery.fstab. Hmmm, also take a look at init.rc to check that there is nothing specific to the UG802, but I don't think so. Well, it won't hurt to check anyways...
Like that you can still boot the normal kernel and Android and "fix" things from Android (using a terminal with root rights), and reboot into recovery to test your kernel again.
Unbricking your MK808 may require opening it and that is not so simple, so make sure you check your kernel thoroughly before ever flashing it to the kernel partition.