Originally Posted by garyd9
First, you need a compiler and toolchain. Samsung likes to use v4.4.3 of gcc, and we're kind of stuck for that in order to let things work properly with the ar6000.ko precompiled kernel module. The easiest way to get that is to take a few steps back and search for cyanogenmod. If you search, you'll find official cyanogenmod instructions for getting the code for and building for the Samsung Galaxy SII. That has the same CPU as this tablet, so get for it. Don't worry about getting any prebuild modules - we aren't actually compiling for the SGII.. we just want the 4.4.3 toolchain that comes with it. (Among tons of other garbage, make sure this leaves you with a file similar to ~/android/system/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc ) (You can also get this toolchain from the android ndk or from pulling the latest ICS sources from google... ) Following the directions for getting the cyanogenmod stuff will also ensure you have other tools installed on your machine as needed...
I just realized that kernels built using a compiler other than GCC 4.4.3 break the baseband on my P6200. I had read that the prebuilt Atheros wireless module would break, but it was working for me, so I just kept on compiling with Linaro 4.6, etc, frustrated as hell.
On a hunch I recompiled with GCC 4.4.3 from the Android NDK and everything's working now. I feel like a retard. That should teach me to live on the bleeding edge.
Back to hacking. When are we gonna start porting CM9? I'm game!