[Gen9 Android Development] stevemp:
missing items

You are right about the camera. :) Loaded 4.0.28 and it's easy to see why camera is not working. Need to build the ti stuff and modify code to recognize our camera. :rolleyes:

DOMX : hardware/ti/domx/omx_proxy_component/omx_camera/src/omx_proxy_camera.c:220	Camera_SendCommand()

hashcode has merged the ti source in cm --> https://github.com/CyanogenMod/android_hardware_ti_omap4xxx/tree/cm-10.1/camera

Did a test build of cm and just have to strip some items out of make files and add a couple of lines at bottom of device.mk

$(call inherit-product, hardware/ti/omap4xxx/omap4.mk)

$(call inherit-product, device/archos/archos_g9/imgtec/sgx-imgtec-bins-540.mk)

omap4.mk

# This file lists the modules that are specific to OMAP4 but are used by
# all OMAP4 devices.

PRODUCT_PACKAGES := \
libdomx \
libOMX_Core \
libOMX.TI.DUCATI1.VIDEO.H264E \
libOMX.TI.DUCATI1.VIDEO.MPEG4E \
libOMX.TI.DUCATI1.VIDEO.DECODER \
libOMX.TI.DUCATI1.VIDEO.DECODER.secure \
libOMX.TI.DUCATI1.VIDEO.CAMERA \
libOMX.TI.DUCATI1.MISC.SAMPLE \
libdrmdecrypt \
libstagefrighthw \
libI420colorconvert \
libtiutils \
libcamera \
libion \
camera.omap4 \
libomxcameraadapter \
hwcomposer.omap4 \
smc_pa_ctrl \
tf_daemon \
libtf_crypto_sst

PRODUCT_VENDOR_KERNEL_HEADERS := hardware/ti/omap4xxx/kernel-headers

sgx-imgtec-bins-540.mk

# Graphics/IMGTEC
SGX_LOCAL_PATH := device/archos/archos_g9/imgtec

# External SGX Module
SGX_MODULES:
make clean -C device/archos/archos_g9/pvr-source/eurasiacon/build/linux2/omap4430_android
cp kernel/archos/archos_g9/drivers/video/omap2/omapfb/omapfb.h $(KERNEL_OUT)/drivers/video/omap2/omapfb/omapfb.h
make -j8 -C device/archos/archos_g9/pvr-source/eurasiacon/build/linux2/omap4430_android ARCH=arm KERNEL_CROSS_COMPILE=arm-eabi- CROSS_COMPILE=arm-eabi- KERNELDIR=$(KERNEL_OUT) TARGET_PRODUCT="blaze_tablet" BUILD=release TARGET_SGX=540 PLATFORM_VERSION=4.0
mv $(KERNEL_OUT)/../../target/kbuild/pvrsrvkm_sgx540_120.ko $(KERNEL_MODULES_OUT)

TARGET_KERNEL_MODULES += SGX_MODULES

# Graphics
PRODUCT_COPY_FILES += \
$(SGX_LOCAL_PATH)/lib/hw/gralloc.omap4430.so:/system/vendor/lib/hw/gralloc.archos.so \
$(SGX_LOCAL_PATH)/lib/hw/gralloc.omap4430.so:/system/vendor/lib/hw/gralloc.omap4430.so \
$(SGX_LOCAL_PATH)/lib/hw/gralloc.omap4430.so:/system/vendor/lib/hw/gralloc.omap4460.so \
$(SGX_LOCAL_PATH)/lib/hw/gralloc.omap4430.so:/system/vendor/lib/hw/gralloc.omap4.so \
$(SGX_LOCAL_PATH)/lib/egl/libEGL_POWERVR_SGX540_120.so:/system/vendor/lib/egl/libEGL_POWERVR_SGX540_120.so \
$(SGX_LOCAL_PATH)/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so:/system/vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so \
$(SGX_LOCAL_PATH)/lib/egl/libGLESv2_POWERVR_SGX540_120.so:/system/vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so \
$(SGX_LOCAL_PATH)/lib/omaplfb_sgx540_120.ko:/system/lib/omaplfb_sgx540_120.ko \
$(SGX_LOCAL_PATH)/lib/libglslcompiler_SGX540_120.so:/system/vendor/lib/libglslcompiler_SGX540_120.so \
$(SGX_LOCAL_PATH)/lib/libIMGegl_SGX540_120.so:/system/vendor/lib/libIMGegl_SGX540_120.so \
$(SGX_LOCAL_PATH)/lib/libpvr2d_SGX540_120.so:/system/vendor/lib/libpvr2d_SGX540_120.so \
$(SGX_LOCAL_PATH)/lib/libpvrANDROID_WSEGL_SGX540_120.so:/system/vendor/lib/libpvrANDROID_WSEGL_SGX540_120.so \
$(SGX_LOCAL_PATH)/lib/libPVRScopeServices_SGX540_120.so:/system/vendor/lib/libPVRScopeServices_SGX540_120.so \
$(SGX_LOCAL_PATH)/lib/libsrv_init_SGX540_120.so:/system/vendor/lib/libsrv_init_SGX540_120.so \
$(SGX_LOCAL_PATH)/lib/libsrv_um_SGX540_120.so:/system/vendor/lib/libsrv_um_SGX540_120.so \
$(SGX_LOCAL_PATH)/lib/libusc_SGX540_120.so:/system/vendor/lib/libusc_SGX540_120.so \
$(SGX_LOCAL_PATH)/bin/pvrsrvinit:/system/vendor/bin/pvrsrvinit \
$(SGX_LOCAL_PATH)/bin/pvrsrvctl_SGX540_120:/system/vendor/bin/pvrsrvctl_SGX540_120 \
$(SGX_LOCAL_PATH)/etc/powervr.ini:/system/etc/powervr.ini \