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
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>
-rw-r--r--Android.mk43
-rw-r--r--jacinto6/LICENSE.ti-prueth61
-rw-r--r--jacinto6/prueth-full_am57xevm.mk25
-rw-r--r--jacinto6/prueth_full_am57xevm.tgzbin0 -> 4803 bytes
4 files changed, 129 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#############################################
diff --git a/jacinto6/LICENSE.ti-prueth b/jacinto6/LICENSE.ti-prueth
new file mode 100644
index 0000000..795f97f
--- /dev/null
+++ b/jacinto6/LICENSE.ti-prueth
@@ -0,0 +1,61 @@
1Copyright (C) 2016 Texas Instruments Incorporated
2
3All rights reserved not granted herein.
4
5Limited License.
6
7Texas Instruments Incorporated grants a world-wide, royalty-free, non-exclusive
8license under copyrights and patents it now or hereafter owns or controls to
9make, have made, use, import, offer to sell and sell ("Utilize") this software
10subject to the terms herein. With respect to the foregoing patent license, such
11license is granted solely to the extent that any such patent is necessary to
12Utilize the software alone. The patent license shall not apply to any
13combinations which include this software, other than combinations with devices
14manufactured by or for TI (“TI Devices”). No hardware patent is licensed
15hereunder.
16
17Redistributions must preserve existing copyright notices and reproduce this
18license (including the above copyright notice and the disclaimer and
19(if applicable) source code license limitations below) in the documentation
20and/or other materials provided with the distribution
21
22Redistribution and use in binary form, without modification, are permitted
23provided that the following conditions are met:
24
25 * No reverse engineering, decompilation, or disassembly of this
26 software is permitted with respect to any software provided in binary
27 form.
28
29 * any redistribution and use are licensed by TI for use only with TI
30 Devices.
31
32 * Nothing shall obligate TI to provide you with source code for the
33 software licensed and provided to you in object code.
34
35If software source code is provided to you, modification and redistribution of
36the source code are permitted provided that the following conditions are met:
37
38 * any redistribution and use of the source code, including any
39 resulting derivative works, are licensed by TI for use only with TI
40 Devices.
41
42 * any redistribution and use of any object code compiled from the
43 source code and any resulting derivative works, are licensed by TI
44 for use only with TI Devices.
45
46Neither the name of Texas Instruments Incorporated nor the names of its
47suppliers may be used to endorse or promote products derived from this
48software without specific prior written permission.
49
50DISCLAIMER.
51
52THIS SOFTWARE IS PROVIDED BY TI AND TI’S LICENSORS "AS IS" AND ANY EXPRESS OR
53IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
54MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
55EVENT SHALL TI AND TI’S LICENSORS BE LIABLE FOR ANY DIRECT, INDIRECT,
56INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
57LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
58PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
59LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
60OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
61ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/jacinto6/prueth-full_am57xevm.mk b/jacinto6/prueth-full_am57xevm.mk
new file mode 100644
index 0000000..cd473da
--- /dev/null
+++ b/jacinto6/prueth-full_am57xevm.mk
@@ -0,0 +1,25 @@
1# Copyright (C) 2012 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14#
15
16# Add PRU Ethernet - Define the tgz to be unpacked, and enable the
17# prueth package, which is defined in the top-level Android.mk
18# of the proprietary-open tree
19
20ifeq ($(TARGET_PRODUCT),$(filter $(TARGET_PRODUCT),full_am57xevm))
21PRUETH_TGZ := device/ti/proprietary-open/jacinto6/prueth_full_am57xevm.tgz
22PRODUCT_PACKAGES += \
23 am57xx-pru0-prueth-fw.elf \
24 am57xx-pru1-prueth-fw.elf
25endif
diff --git a/jacinto6/prueth_full_am57xevm.tgz b/jacinto6/prueth_full_am57xevm.tgz
new file mode 100644
index 0000000..9ca50a5
--- /dev/null
+++ b/jacinto6/prueth_full_am57xevm.tgz
Binary files differ