Hi, I have working freescale BSP kernel 2.6.24 on imx31.
I wanted to port android on imx31,so I followed the below steps from: http://groups.google.com/group/android-porting/browse_thread/thread/a9a645a2cf0b086e/ac430bf9e75f7808#ac430bf9e75f7808 1.Downloaded 2.6.25 kernel from http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.25.tar.gz 2.Downloaded android kernel 2.6.25 from http://android.googlecode.com/files/linux-2.6.25-android-1.0_r1.tar.gz 3.Did diff between original_kernel_2.6.25 Vs linux-2.6.25-android-1.0 --> android.patch (around 30000 lines) 4.Applied android.patch to freescale_kernel_2.6.24 5.Patch process were failed for some sources and i applied those patches manually. 6.Then i started compiling the kernel. it was ended up with errors in power.c source file ################ERROR############################### drivers/android/power.c: In function 'android_power_suspend': drivers/android/power.c:569: error: implicit declaration of function 'pm_suspend' drivers/android/power.c:569: error: 'PM_SUSPEND_MEM' undeclared (first use in this function) drivers/android/power.c:569: error: (Each undeclared identifier is reported only once drivers/android/power.c:569: error: for each function it appears in.) drivers/android/power.c: In function 'state_show': drivers/android/power.c:632: error: implicit declaration of function 'ist_empty' drivers/android/power.c: In function 'set_set_battery_level_low': drivers/android/power.c:1111: error: implicit declaration of function 'sysfs_update_file' drivers/android/power.c: In function 'android_power_set_battery_level': drivers/android/power.c:1146: error: implicit declaration of function 'cale_battery_level' make[2]: *** [drivers/android/power.o] Error 1 make[1]: *** [drivers/android] Error 2 ################ERROR############################### i am struggling here in updating my 2.6.24-freescale kernel. Kindly tell me the right way to do this porting -- அன்புடன் அருண் ------------------------------ http://ubuntu-tam.org http://lists.ubuntu.com/ubuntu-l10n-tam http://lists.ubuntu.com/ubuntu-tam ------------------------------ --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
