### YET ANOTHER TRIAL ###
Kernel source: https://s3.amazonaws.com/tabletfirmwares/GPL/bqCurie_GPL.tar.gz
Base kernel config: http://source.android.com/devices/tech/kernel.html
got error:
make[1]: *** No rule to make target `arch/arm/plat-rk/vpu_service.o', needed by `arch/arm/plat-rk/built-in.o'. Stop.
fixed by:
cd bqCurie/kernel/arch/arm/mach-rk2928/include/mach
wget https://raw.github.com/DJNoXD/rockchip-kernel-rk2918/master/arch/arm/mach-rk29/include/mach/vpu.h
wget https://raw.github.com/DJNoXD/rockchip-kernel-rk2918/master/arch/arm/mach-rk29/include/mach/vpu_mem.h
wget https://raw.github.com/DJNoXD/rockchip-kernel-rk2918/master/arch/arm/mach-rk29/include/mach/vpu_service.h
cd bqCurie/kernel/arch/arm/mach-rk2928
wget https://raw.github.com/DJNoXD/rockchip-kernel-rk2918/master/arch/arm/mach-rk29/vpu_mem.uu
wget https://raw.github.com/DJNoXD/rockchip-kernel-rk2918/master/arch/arm/mach-rk29/vpu_service.uu
mv bqCurie/kernel/arch/arm/plat-rk/include/plat/vpu_service.h bqCurie/kernel/arch/arm/plat-rk/include/plat/vpu_service.h-DELETED
remove line obj-$(CONFIG_RK29_VPU) += vpu_service.o from bqCurie/kernel/arch/arm/plat-rk/Makefile
got error:
arch/arm/mach-rk2928/devices.c:806:2: error: implicit declaration of function 'rk2928_init_i2c' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
fixed by:
removing line from MAKEFILE
-Werror-implicit-function-declaration \
### NEW TRIAL ###
sudo apt-get install git-core gnupg flex bison gperf libsdl-dev libesd0-dev libwxgtk2.8-dev build-essential zip curl libncurses5-dev zlib1g-dev ia32-libs-multiarch lib32z1-dev gcc-multilib g++-multilib sharutils lzop sharutils
git clone https://github.com/Galland/rk30_linux_initramfs.git initramfs
cd initramfs/
gzip -dc debian-3.0.8+fkubi.cpio.gz > initramfs.cpio
git clone https://github.com/crewrktablets/rk3x_kernel_3.0.36.git
# CONFIG_VIDEO_RK29 is not set
# CONFIG_RK29_VPU is not set
# CONFIG_RK29_IPP is not set
patch [1] include/drm/drm.h
-#if defined(__linux__)
+#if defined(__KERNEL__) || defined(__linux__)
Ref: http://comments.gmane.org/gmane.linux.linaro.devel/4634
cp arch/arm/mach-rk30/include/mach/mtk_wcn_cmb_stub.h arch/arm/mach-rk2928/include/mach/
cp -a ~/rk/rk3x_kernel_3.0.36/drivers/mtk_wcn_combo/common/core/ drivers/mtk_wcn_combo/common/
### OLD NOTES ###
git clone https://github.com/DooMLoRD/android_prebuilt_toolchains.git toolchains
git clone https://github.com/olegk0/tools.git
git clone https://github.com/Galland/rk30_linux_initramfs.git initramfs
cd initramfs/
gzip -dc debian-3.0.8+fkubi.cpio.gz > initramfs.cpio
git clone https://github.com/Galland/rk3x_kernel_3.0.36.git