diff options
author | Kurt Taylor <kurt.taylor@linaro.org> | 2012-03-22 16:29:29 -0500 |
---|---|---|
committer | Kurt Taylor <kurt.taylor@linaro.org> | 2012-03-22 16:29:29 -0500 |
commit | 5e2c1004f6ce52afc4bf58e3ef88762f8b19fd92 (patch) | |
tree | 6d8945c7cca1f41d13f482a5b1befe9ca0863216 | |
parent | e01f9d27788797a49b6dc21116bd026806b4aa3d (diff) | |
download | tinyhal-5e2c1004f6ce52afc4bf58e3ef88762f8b19fd92.tar.gz |
Added readme instructions and more Linaro integration configlinaro
-rw-r--r-- | BoardConfig.mk | 73 | ||||
-rw-r--r-- | README | 31 |
2 files changed, 104 insertions, 0 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk new file mode 100644 index 0000000..01c6b9d --- /dev/null +++ b/BoardConfig.mk @@ -0,0 +1,73 @@ +# config.mk +# +# Product-specific compile-time definitions. +# + +TARGET_BOARD_PLATFORM := omap4 +TARGET_NO_BOOTLOADER := true # Uses u-boot instead +TARGET_NO_KERNEL := false +KERNEL_CONFIG := android_omap4_defconfig +TARGET_USE_UBOOT := true +UBOOT_CONFIG := omap4_panda_config +TARGET_USE_XLOADER := false +XLOADER_CONFIG := omap4430panda_config +TARGET_NO_RECOVERY := true +TARGET_NO_RADIOIMAGE := true +TARGET_PROVIDES_INIT_RC := true +BOARD_USES_GENERIC_AUDIO := false +#BOARD_USES_ALSA_AUDIO := false +BUILD_WITH_ALSA_UTILS := false +OMAP_ENHANCEMENT := true +HARDWARE_OMX := false +USE_CAMERA_STUB := true + +BOARD_HAVE_BLUETOOTH := true +BOARD_HAVE_BLUETOOTH_BCM := true + +BOARD_WPA_SUPPLICANT_DRIVER := WEXT +WPA_SUPPLICANT_VERSION := VER_0_8_X +BOARD_WPA_SUPPLICANT_PRIVATE_LIB := private_lib_driver_cmd +WIFI_DRIVER_MODULE_PATH := "/system/modules/wl12xx_sdio.ko" +WIFI_DRIVER_MODULE_NAME := "wl12xx_sdio" +WIFI_FIRMWARE_LOADER := "" + +TARGET_CPU_ABI := armeabi-v7a +TARGET_CPU_ABI2 := armeabi +TARGET_CPU_SMP := true + +ifdef HARDWARE_OMX +OMX_VENDOR := ti +OMX_VENDOR_INCLUDES := \ + hardware/ti/omx/system/src/openmax_il/omx_core/inc \ + hardware/ti/omx/image/src/openmax_il/jpeg_enc/inc +OMX_VENDOR_WRAPPER := TI_OMX_Wrapper +BOARD_OPENCORE_LIBRARIES := libOMX_Core +BOARD_OPENCORE_FLAGS := -DHARDWARE_OMX=1 +endif + +ifdef OMAP_ENHANCEMENT +COMMON_GLOBAL_CFLAGS += -DOMAP_ENHANCEMENT -DTARGET_OMAP4 +endif + +# Enable NEON feature +TARGET_ARCH_VARIANT := armv7-a-neon +ARCH_ARM_HAVE_TLS_REGISTER := true + +EXTRA_PACKAGE_MANAGEMENT := false + +TARGET_USERIMAGES_USE_EXT4 := true +TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true + +BOARD_EGL_CFG := device/ti/panda/egl.cfg + +#BOARD_USES_HGL := true +#BOARD_USES_OVERLAY := true +USE_OPENGL_RENDERER := true + +# PandaBoard uses an OMAP4 -- Cortex A9 +TARGET_EXTRA_CFLAGS += $(call cc-option,"-march=armv7-a -mtune=cortex-a9",$(call cc-option,"-march=armv7-a -mtune=cortex-a8")) $(call cc-option,"-march=armv7-a -mcpu=cortex-a9",$(call cc-option,"-march=armv7-a -mcpu=cortex-a8")) + +# ARMs gator (DS-5) +TARGET_USE_GATOR:= true + +BOARD_USES_TINY_AUDIO_HW := true @@ -0,0 +1,31 @@ + +kurt.taylor@linaro.org + +What is it: +=========== +These files add support for the UCM framework via tinyhal for the targeted Linaro development boards. Tinyhal is a replacement Android HAL for audio. For more information, refer to the project page at: http://opensource.wolfsonmicro.com/content/tinyhal + + +To build: +========= +These instructions are for integration into the Linaro Android builds. Refer to the Linaro Android page for more information: + +http://wiki.linaro.org/Platform/Android + +Copy these files to the build tree locations listed, taking care not to overwrite the originals, if you wish to save them. + +1) Copy BoardConfig.mk to: +device/linaro/pandaboard + +2) Copy Android.mk and audio_hw.c to: +device/linaro/pandaboard/audio + + +Now, after successfully building and using linaro-android-media-create to install the Android images onto your SD card, do these steps: + +1) On the SD card, if it doesn't already exist, make the directory: +system/etc/sound + +2) Copy pandaboard.xml to the directory you just created on the SD card: +system/etc/sound + |