]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/device-ti-proprietary-open.git/commitdiff
DSP: Add initial firmware image based on
authorDilip Gopalakrishna <dilip.g@ti.com>
Tue, 11 Sep 2012 15:29:26 +0000 (10:29 -0500)
committerJames W. Mills <jameswmills@ti.com>
Fri, 28 Sep 2012 21:17:24 +0000 (16:17 -0500)
sysbios-rpmsg tag: 1.20.09.23

This commit adds a sample dsp firmware image
built from the sysbios-rpmsg tree with tag
specified above.
Signed-off-by: Dilip Gopalakrishna <dilip.g@ti.com>
Change-Id: I24ba8df63d9608bcd5fb92a725115a71d8585835
Signed-off-by: Dilip Gopalakrishna <dilip.g@ti.com>
Android.mk
omap4/dsp_fw.mk [new file with mode: 0644]
omap4/tesla_dsp.tgz [new file with mode: 0644]

index 90a9bcf2cd889d12103290de3341ca97ebd57e21..c17647d847c512fc67a971734f95c9f01cfdaf33 100644 (file)
@@ -41,6 +41,36 @@ $(LOCAL_BUILT_MODULE) : $(ti-ducati.untarred_timestamp) | $(ACP)
 endif
 #############################################
 
+#############################################
+# Install Tesla-binary FW
+#############################################
+
+ifneq ($(TESLA_TGZ),)
+ti-tesla.untarred_intermediates := $(call intermediates-dir-for, FAKE, ti-tesla.untarred)
+ti-tesla.untarred_timestamp := $(ti-tesla.untarred_intermediates)/stamp
+
+$(ti-tesla.untarred_timestamp) : $(TESLA_TGZ)
+       @echo "Unzip $(dir $@) <- $<)"
+       $(hide) rm -rf $(dir $@) && mkdir -p $(dir $@)
+       $(hide) tar -C $(dir $@) -zxf $<
+       $(hide) touch $@
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := tesla-dsp.bin
+LOCAL_MODULE_CLASS := FAKE
+LOCAL_MODULE_TAGS := optional
+LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR)/firmware
+
+include $(BUILD_SYSTEM)/base_rules.mk
+
+$(LOCAL_BUILT_MODULE) : PRIVATE_SRC := $(ti-tesla.untarred_intermediates)/tesla-dsp.bin
+$(LOCAL_BUILT_MODULE) : $(ti-tesla.untarred_timestamp) | $(ACP)
+       @echo "Copy $@ <- $(PRIVATE_SRC)"
+       @mkdir -p $(dir $@)
+       $(hide) $(ACP) -fp $(PRIVATE_SRC) $@
+endif
+
+#############################################
 
 ###############################################################################
 # Install WLAN firmware files
diff --git a/omap4/dsp_fw.mk b/omap4/dsp_fw.mk
new file mode 100644 (file)
index 0000000..651a720
--- /dev/null
@@ -0,0 +1,21 @@
+# Copyright (C) 2012 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+# Add TESLA FW - Define the tgz to be unpacked, and enable the
+# tesla-dsp.bin package, which is defined in the top-level
+# Android.mk of the proprietary-open tree.
+
+TESLA_TGZ := device/ti/proprietary-open/omap4/tesla_dsp.tgz
+PRODUCT_PACKAGES += tesla-dsp.bin
diff --git a/omap4/tesla_dsp.tgz b/omap4/tesla_dsp.tgz
new file mode 100644 (file)
index 0000000..e468b42
Binary files /dev/null and b/omap4/tesla_dsp.tgz differ