summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Reeder2017-04-07 10:37:19 -0500
committerPraneeth Bajjuri2017-04-10 10:47:00 -0500
commit8c3c6361e8f238c68d009e5f4dd38b5f4af71868 (patch)
treea1c1e71d15c25e14ad6b607dcb13895ce01a7d83 /Android.mk
parent5ef434657c246e461502b87469aaa84a850cd92a (diff)
downloaddevice-ti-proprietary-open-8c3c6361e8f238c68d009e5f4dd38b5f4af71868.tar.gz
device-ti-proprietary-open-8c3c6361e8f238c68d009e5f4dd38b5f4af71868.tar.xz
device-ti-proprietary-open-8c3c6361e8f238c68d009e5f4dd38b5f4af71868.zip
am57xx: idk: add firmwares to enable PRU Ethernet ports
This commit adds the PRU firmwares necessary to enable the PRU Ethernet ports on the AM57xx IDK boards. Based on linux firmware binary of the same http://git.ti.com/cgit/cgit.cgi/processor-firmware/ti-linux-firmware.git/commit/LICENSE.ti?h=ti-linux-firmware-4.1.y&id=4ead3b8c189f217ee2c01ea3c56ef08d6a517f28 Change-Id: I25339baf4d459517f5a1fb82703aa69ff15492c4 Signed-off-by: Jason Reeder <jreeder@ti.com> [added license file] Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk43
1 files changed, 43 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index d481147..859183f 100644
--- a/Android.mk
+++ b/Android.mk
@@ -99,3 +99,46 @@ $(LOCAL_BUILT_MODULE) : $(ti-tesla.untarred_timestamp) | $(ACP)
99 $(hide) $(ACP) -fp $(PRIVATE_SRC) $@ 99 $(hide) $(ACP) -fp $(PRIVATE_SRC) $@
100endif 100endif
101############################################# 101#############################################
102
103#############################################
104# Install prueth firmware
105#############################################
106ifneq ($(PRUETH_TGZ),)
107ti-prueth.untarred_intermediates := $(call intermediates-dir-for, FAKE, ti-prueth.untarred)
108ti-prueth.untarred_timestamp := $(ti-prueth.untarred_intermediates)/stamp
109
110$(ti-prueth.untarred_timestamp) : $(PRUETH_TGZ)
111 @echo "Unzip $(dir $@) <- $<)"
112 $(hide) rm -rf $(dir $@) && mkdir -p $(dir $@)
113 $(hide) tar -C $(dir $@) -zxf $<
114 $(hide) touch $@
115
116include $(CLEAR_VARS)
117LOCAL_MODULE := am57xx-pru0-prueth-fw.elf
118LOCAL_MODULE_CLASS := FAKE
119LOCAL_MODULE_TAGS := optional
120LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR)/firmware/ti-pruss
121
122include $(BUILD_SYSTEM)/base_rules.mk
123
124$(LOCAL_BUILT_MODULE) : PRIVATE_SRC := $(ti-prueth.untarred_intermediates)/am57xx-pru0-prueth-fw.elf
125$(LOCAL_BUILT_MODULE) : $(ti-prueth.untarred_timestamp) | $(ACP)
126 @echo "Copy $@ <- $(PRIVATE_SRC)"
127 @mkdir -p $(dir $@)
128 $(hide) $(ACP) -fp $(PRIVATE_SRC) $@
129
130include $(CLEAR_VARS)
131LOCAL_MODULE := am57xx-pru1-prueth-fw.elf
132LOCAL_MODULE_CLASS := FAKE
133LOCAL_MODULE_TAGS := optional
134LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR)/firmware/ti-pruss
135
136include $(BUILD_SYSTEM)/base_rules.mk
137
138$(LOCAL_BUILT_MODULE) : PRIVATE_SRC := $(ti-prueth.untarred_intermediates)/am57xx-pru1-prueth-fw.elf
139$(LOCAL_BUILT_MODULE) : $(ti-prueth.untarred_timestamp) | $(ACP)
140 @echo "Copy $@ <- $(PRIVATE_SRC)"
141 @mkdir -p $(dir $@)
142 $(hide) $(ACP) -fp $(PRIVATE_SRC) $@
143endif
144#############################################