Hi, I'm trying to include the Invensense code to the Android firefly image. I have change the .dts files and added the driver to the kernel. That code works and i can see the device (I2C1 on 1-0068) with sysfs after I have flashed it to the board. The problem I'm having now is that when I build the Android it refuses to include the 'hardware/rk29/mpu' folder and only seems to use the'hardware/rk29/st' folder. I tried various rules including adding BOARD_SENSOR_MPU to the 'BoardConfig.mk' in the 'device/rockchip/rk3288' and even the one in 'device/rockchip/rksdk'. Both refuse to compile the mpu code. If i override the rule (remove it in the mpu android.mk) the build stops. I have also noticed that when i remove the sensors.rk30board.so library from lib/hw and rebuild does not put it without doing a make clean; make -j24 again.
Anyone have any ideas how to progress further? |