processor-sdk/pdk.git
16 months agodualemac: fix to drop PTP sync msgs from unknown master release/PROCESSOR-SDK_06.02.00
Aaron Kramer [Thu, 19 Dec 2019 17:53:13 +0000 (12:53 -0500)]
dualemac: fix to drop PTP sync msgs from unknown master

Re-adding this change as it was reverted in another commit.

In PTP implementation, firmware should drop sync messages that are not
from the PTP master (where master MAC addr is stored in SRAM by driver).
In DualEMAC build, the host_rcv flag is checked in different places than
Switch build, and to enable dropping unknown sync msgs needs to be
checked immediately after completing PTP timestamping function to
prevent the frame from being forwarded to host.

This change adds a check of host_rcv flag immediately after PTP
timestamping
function, to skip host rcv if set.

Signed-off-by: Aaron Kramer a-kramer@ti.com
16 months agoPRSDK-7731:icss-emac:STP switch support for per-port MAC addresses
Brandon Wetzel [Tue, 17 Dec 2019 22:30:03 +0000 (17:30 -0500)]
PRSDK-7731:icss-emac:STP switch support for per-port MAC addresses

STP Switch firmware now checks the MAC address of the sibling PRU. Additionally, firmware will not cut-through when receiving a packet destined to the Host (on either port).

16 months agoMerge pull request #95 in PROCESSOR-SDK/pdk from backport/PROCESSOR-SDK_06.02.00...
Jacob Stiffler [Mon, 16 Dec 2019 21:06:21 +0000 (15:06 -0600)]
Merge pull request #95 in PROCESSOR-SDK/pdk from backport/PROCESSOR-SDK_06.02.00/PLSDK-3110 to release/PROCESSOR-SDK_06.02.00

* commit 'b1479d13051bd1aa9f8d5298971dd944649157bd':
  icss_emac: add PTP VLAN support for IPv4/UDP PTP transport
  icss_emac: add support for PTP E2E,IPv4/UDP transport, Telecom Profile

16 months agoicss_emac: add PTP VLAN support for IPv4/UDP PTP transport
Aaron Kramer [Thu, 14 Nov 2019 14:47:36 +0000 (09:47 -0500)]
icss_emac: add PTP VLAN support for IPv4/UDP PTP transport

Support IPv4/UDP PTP messages over VLAN. This change adds a check for
VLAN tag on RX and TX path, to get PTP header from the correct offset if
VLAN tag is present.

Signed-off-by: Aaron Kramer <a-kramer@ti.com>
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
16 months agoicss_emac: add support for PTP E2E,IPv4/UDP transport, Telecom Profile
Aaron Kramer [Thu, 14 Nov 2019 14:44:00 +0000 (09:44 -0500)]
icss_emac: add support for PTP E2E,IPv4/UDP transport, Telecom Profile

This change adds support for timestamping PTP messages sent/received
over IPv4/UDP transport, timestamping E2E related PTP messages, and
timestamping unicast PTP messages (IPv4/UDP transport only). These
features are required to support using the PTP Telecom Profile.
Timestamping UDP PTP messages is enabled/disabled via control byte
stored in shared mem, which can be configured by the driver (disabled by
default).

Signed-off-by: Aaron Kramer <a-kramer@ti.com>
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
16 months agoMerge pull request #54 in PROCESSOR-SDK/pdk from prsdk-7091 to master
Mahesh Radhakrishnan [Thu, 12 Dec 2019 22:06:34 +0000 (16:06 -0600)]
Merge pull request #54 in PROCESSOR-SDK/pdk from prsdk-7091 to master

* commit '7ca2f162ff2fa89793690970798775b6ed9f8eee':
  prsdk-7091: add rx counter
  prsdk-7091: add tx stat counters

16 months agoprsdk-7091: add rx counter
Vitaly Andrianov [Mon, 2 Dec 2019 19:58:09 +0000 (14:58 -0500)]
prsdk-7091: add rx counter

Because packets may be dropped by dma after f/w sent them to psi-l
interface it is good to count them. This commit adds one counter which
counts total number of packets pushed to psi-l for all flow ids.

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
16 months agoprsdk-7091: add tx stat counters
Vitaly Andrianov [Mon, 2 Dec 2019 14:31:21 +0000 (09:31 -0500)]
prsdk-7091: add tx stat counters

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
16 months agoMerge pull request #63 in PROCESSOR-SDK/pdk from review_udma_example_c7x_prasad to...
Mahesh Radhakrishnan [Wed, 11 Dec 2019 13:53:56 +0000 (07:53 -0600)]
Merge pull request #63 in PROCESSOR-SDK/pdk from review_udma_example_c7x_prasad to master

* commit '59cb0936c4019f1399fed8715149aacc2a04f21a':
  Bugfix - PRSDK-7531: udma memcpy testapp fails on c7x

16 months agoBugfix - PRSDK-7531: udma memcpy testapp fails on c7x
Prasad Konnur [Thu, 5 Dec 2019 09:53:51 +0000 (15:23 +0530)]
Bugfix - PRSDK-7531: udma memcpy testapp fails on c7x

Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
16 months agoMerge pull request #51 in PROCESSOR-SDK/pdk from review_udma_ut_dynamic_analysis_pras...
Mahesh Radhakrishnan [Wed, 11 Dec 2019 13:53:23 +0000 (07:53 -0600)]
Merge pull request #51 in PROCESSOR-SDK/pdk from review_udma_ut_dynamic_analysis_prasad to master

* commit 'f7fdab02aae408a2b18584ec67ad7cbd41966087':
  PDK-4554 : Dynamic analysis complience for UDMA

16 months agoPDK-4554 : Dynamic analysis complience for UDMA
Prasad Konnur [Wed, 27 Nov 2019 10:42:09 +0000 (16:12 +0530)]
PDK-4554 : Dynamic analysis complience for UDMA

 - Added baremetal testcase for UDMA UT.
 - Added dynamic analysis testcase for UDMA UT.
 - Added runflag for each test to specify if the test case is
   applicable for dynamic analysis testing

Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
16 months agoMerge pull request #56 in PROCESSOR-SDK/pdk from PRSDK-1763 to master
Mahesh Radhakrishnan [Tue, 10 Dec 2019 20:22:13 +0000 (14:22 -0600)]
Merge pull request #56 in PROCESSOR-SDK/pdk from PRSDK-1763 to master

* commit 'f29ba7defba47b92451df85ad79e7cb5f254b31d':
  PRSDK-1763 (RTOS) and PRSDK-7119 (Baremetal) : Implemented Cache operations must comprehend coherency and cpu/dma partner

16 months agoPRSDK-1763 (RTOS) and PRSDK-7119 (Baremetal) : Implemented Cache operations must...
Aravind Batni [Tue, 3 Dec 2019 15:17:46 +0000 (10:17 -0500)]
PRSDK-1763 (RTOS) and PRSDK-7119 (Baremetal) : Implemented Cache operations must comprehend coherency and cpu/dma partner

Signed-off-by: Aravind Batni <aravindbr@ti.com>
16 months agoMerge pull request #71 in PROCESSOR-SDK/pdk from PRSDK-7120 to master
Mahesh Radhakrishnan [Tue, 10 Dec 2019 16:40:27 +0000 (10:40 -0600)]
Merge pull request #71 in PROCESSOR-SDK/pdk from PRSDK-7120 to master

* commit '37de5a8df8cb792023f7d060e80f916225c206fe':
  McSPI: PRSDK-7120: fix McSPI master/slave test failure

16 months agoMcSPI: PRSDK-7120: fix McSPI master/slave test failure
Hao Zhang [Fri, 6 Dec 2019 16:32:49 +0000 (11:32 -0500)]
McSPI: PRSDK-7120: fix McSPI master/slave test failure

1. add the master/slave test support for am65xx and j721e
2. fix the callback mode issue
3. fix the SPI_cancel issue
4. fix the loopback test issues
5. fix the DMA thread issue in J721e SoC driver
6. fix the task priority issue for sysbios mpu build

Signed-off-by: Hao Zhang <hzhang@ti.com>
16 months agoMerge pull request #74 in PROCESSOR-SDK/pdk from PRSDK-7174 to master
Mahesh Radhakrishnan [Tue, 10 Dec 2019 16:40:03 +0000 (10:40 -0600)]
Merge pull request #74 in PROCESSOR-SDK/pdk from PRSDK-7174 to master

* commit '489cbd0cddb9126ee394d48e06ac7df7edc02b7b':
  gpio: PRSDK-7174: fix double interrupt with GPIO level triggering

16 months agogpio: PRSDK-7174: fix double interrupt with GPIO level triggering
Hao Zhang [Mon, 9 Dec 2019 15:46:50 +0000 (10:46 -0500)]
gpio: PRSDK-7174: fix double interrupt with GPIO level triggering

Clear the interrupt bit status at the end of GPIO_v1_hwiFxn().

Signed-off-by: Hao Zhang <hzhang@ti.com>
16 months agoMerge pull request #70 in PROCESSOR-SDK/pdk from blw/sbl-csl-build-fix to master
Mahesh Radhakrishnan [Fri, 6 Dec 2019 21:14:19 +0000 (15:14 -0600)]
Merge pull request #70 in PROCESSOR-SDK/pdk from blw/sbl-csl-build-fix to master

* commit '3d1b58f8c8c648424645d235484882519af20515':
  PRSDK_7562:sbl:Don't define SOC_DSP_XX_BASE for J7

16 months agoPRSDK_7562:sbl:Don't define SOC_DSP_XX_BASE for J7
Brandon Wetzel [Fri, 6 Dec 2019 17:00:28 +0000 (12:00 -0500)]
PRSDK_7562:sbl:Don't define SOC_DSP_XX_BASE for J7

CSL updates break SBL nightly build. They re-define some existing SBL defines that were previously added as a placeholder while waiting for CSL updates.

16 months agoMerge pull request #69 in PROCESSOR-SDK/pdk from review_PRSDK-7560 to master
Mahesh Radhakrishnan [Fri, 6 Dec 2019 19:50:47 +0000 (13:50 -0600)]
Merge pull request #69 in PROCESSOR-SDK/pdk from review_PRSDK-7560 to master

* commit 'acb57864fdd48bf44be64a19cc91a059cefdfa52':
  PRSDK-7560: Fix top level make for j7

16 months agoPRSDK-7560: Fix top level make for j7
Tinku Mannan [Fri, 6 Dec 2019 15:33:59 +0000 (10:33 -0500)]
PRSDK-7560: Fix top level make for j7

 remove j7200_evm from i2c board list, currently not supported

Signed-off-by: Tinku Mannan <tmannan@ti.com>
17 months agoMerge pull request #5 in PROCESSOR-SDK/pdk from review_PRSDK-7304 to master
Mahesh Radhakrishnan [Thu, 5 Dec 2019 21:42:52 +0000 (15:42 -0600)]
Merge pull request #5 in PROCESSOR-SDK/pdk from review_PRSDK-7304 to master

* commit 'fdc0b0f9690fe92b5901005d1fe897535721c86c':
  PRSDK-7304: build: Adding MSRAM memory section

17 months agoPRSDK-7304: build: Adding MSRAM memory section
Tinku Mannan [Fri, 1 Nov 2019 17:52:22 +0000 (13:52 -0400)]
PRSDK-7304: build: Adding MSRAM memory section

  this section is used for allocation of ICSSG port queues by applications

Signed-off-by: Tinku Mannan <tmannan@ti.com>
17 months agoMerge pull request #65 in PROCESSOR-SDK/pdk from blw/icss-emac-build-failure to master
Mahesh Radhakrishnan [Thu, 5 Dec 2019 21:24:30 +0000 (15:24 -0600)]
Merge pull request #65 in PROCESSOR-SDK/pdk from blw/icss-emac-build-failure to master

* commit '93f79fae4be75b57fedbff7e768fa4ce00c064e0':
  Add FW  FDB support to ARMv7 makefile and add support for linux delays

17 months agoAdd FW FDB support to ARMv7 makefile and add support for linux delays
Brandon Wetzel [Thu, 5 Dec 2019 15:52:48 +0000 (10:52 -0500)]
Add FW  FDB support to ARMv7 makefile and add support for linux delays

Clears up yocto build issues for linux userspace tests

17 months agoMerge pull request #62 in PROCESSOR-SDK/pdk from PRSDK-7525 to master
Mahesh Radhakrishnan [Wed, 4 Dec 2019 22:08:29 +0000 (16:08 -0600)]
Merge pull request #62 in PROCESSOR-SDK/pdk from PRSDK-7525 to master

* commit '980f3c46d059f28b40b93b2e45d27d9dea57efc9':
  PRSDK-7525: Build: Add support to multiple boards for 'make package'

17 months agoPRSDK-7525: Build: Add support to multiple boards for 'make package'
Mahesh Radhakrishnan [Tue, 3 Dec 2019 21:38:35 +0000 (16:38 -0500)]
PRSDK-7525: Build: Add support to multiple boards for 'make package'

17 months agoMerge pull request #47 in PROCESSOR-SDK/pdk from PRSDK-5822-rstp-switch-support to...
Jacob Stiffler [Wed, 4 Dec 2019 22:04:41 +0000 (16:04 -0600)]
Merge pull request #47 in PROCESSOR-SDK/pdk from PRSDK-5822-rstp-switch-support to master

* commit '693c1189de7f348393556d14ff423e1517e1827a':
  PRSDK-5822:icss-emac:Support for RSTP Switch (firmware + driver)

17 months agoMerge pull request #40 in PROCESSOR-SDK/pdk from PRSDK-7455 to master
Mahesh Radhakrishnan [Wed, 4 Dec 2019 17:49:55 +0000 (11:49 -0600)]
Merge pull request #40 in PROCESSOR-SDK/pdk from PRSDK-7455 to master

* commit '13124fa6079d8b5cef83c123ddcb88c240ba4711':
  mcasp: PRSDK-7455: Example fix on j721e/c66x

17 months agoMerge pull request #53 in PROCESSOR-SDK/pdk from PRSDK-7100 to master DEV.PROCESSOR-SDK.06.02.00.38
Mahesh Radhakrishnan [Tue, 3 Dec 2019 19:00:13 +0000 (13:00 -0600)]
Merge pull request #53 in PROCESSOR-SDK/pdk from PRSDK-7100 to master

* commit '50573f00b69aaceaec2628742d0826ccca19c2f2':
  PRSDK-7100: Fix for transfer sizes in BoardWrite API

17 months agoPRSDK-7100: Fix for transfer sizes in BoardWrite API
Prabhu [Mon, 2 Dec 2019 06:50:46 +0000 (00:50 -0600)]
PRSDK-7100: Fix for transfer sizes in BoardWrite API

17 months agoPRSDK-5822:icss-emac:Support for RSTP Switch (firmware + driver)
Brandon Wetzel [Tue, 26 Nov 2019 20:13:03 +0000 (15:13 -0500)]
PRSDK-5822:icss-emac:Support for RSTP Switch (firmware + driver)

Implement firmware-based STP switch and associated RTOS driver as per PRSDK-5822.
- Firmware FDB look-ups for faster switching/flooding
- Support for [R]STP states per port

17 months agoMerge pull request #46 in PROCESSOR-SDK/pdk from review_PRSDK-7418 to master
Mahesh Radhakrishnan [Wed, 27 Nov 2019 16:55:06 +0000 (10:55 -0600)]
Merge pull request #46 in PROCESSOR-SDK/pdk from review_PRSDK-7418 to master

* commit '35b7d5298d60c57faee2f249aa25701da8501943':
  J7200 Port for UDMA
  PRSDK-7418: Adding support for j7200 SOC and j7200_evm

17 months agoJ7200 Port for UDMA
Sivaraj R [Sun, 24 Nov 2019 08:06:51 +0000 (13:36 +0530)]
J7200 Port for UDMA

Signed-off-by: Sivaraj R <sivaraj@ti.com>
17 months agoPRSDK-7418: Adding support for j7200 SOC and j7200_evm
Tinku Mannan [Tue, 19 Nov 2019 18:41:48 +0000 (13:41 -0500)]
PRSDK-7418: Adding support for j7200 SOC and j7200_evm

Signed-off-by: Tinku Mannan <tmannan@ti.com>
17 months agoMerge pull request #49 in PROCESSOR-SDK/pdk from prsdk-7487 to master
Mahesh Radhakrishnan [Tue, 26 Nov 2019 18:03:30 +0000 (12:03 -0600)]
Merge pull request #49 in PROCESSOR-SDK/pdk from prsdk-7487 to master

* commit '9dd3d719332100a396fc346961178f5a2b13cbe9':
  prsdk-7487: icssg f/w: use the correct spinlocks to report EOF to RTU

17 months agoMerge pull request #48 in PROCESSOR-SDK/pdk from PRSDK-7485 to master
Mahesh Radhakrishnan [Tue, 26 Nov 2019 15:57:15 +0000 (09:57 -0600)]
Merge pull request #48 in PROCESSOR-SDK/pdk from PRSDK-7485 to master

* commit 'a12d825206f4159a6106c50532f8343c5ae77412':
  PRSDK-7485: updated the sa2ul ID for MCU for j721e

17 months agoprsdk-7487: icssg f/w: use the correct spinlocks to report EOF to RTU
Vitaly Andrianov [Tue, 26 Nov 2019 12:18:20 +0000 (07:18 -0500)]
prsdk-7487: icssg f/w: use the correct spinlocks to report EOF to RTU

In half duplex mode we cannot report EOF in TX_FIFO handler because packet
may be resent. Instead the report has to be done in the TX_EOF handler.
The current implementation by mistake uses the wrong spinlocks for the
report. Thus it uses spinlock E for the DMA0 and spinlock P for the DMA1,
which is wrong. This commit fixes this bug.

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
17 months agoPRSDK-7485: updated the sa2ul ID for MCU for j721e
Aravind Batni [Mon, 25 Nov 2019 18:07:53 +0000 (13:07 -0500)]
PRSDK-7485: updated the sa2ul ID for MCU for j721e

Signed-off-by: Aravind Batni <aravindbr@ti.com>
17 months agoMerge pull request #2 in PROCESSOR-SDK/pdk from PDK-4794 to master
Sivaraj R [Sat, 23 Nov 2019 04:21:04 +0000 (22:21 -0600)]
Merge pull request #2 in PROCESSOR-SDK/pdk from PDK-4794 to master

* commit '0f4177b72fa9c5e694f4c3a0e704a462849bef11':
  PDK-4794: Fix for J7 EVM Uniflash source package configuration

17 months agoMerge pull request #28 in PROCESSOR-SDK/pdk from kedarc_updates to master
Sivaraj R [Sat, 23 Nov 2019 04:20:17 +0000 (22:20 -0600)]
Merge pull request #28 in PROCESSOR-SDK/pdk from kedarc_updates to master

* commit '8dc629eb3bb26423995a839cbb6cae582b40abd2':
  Added a .gitignore so that additional git repo and generated files dont appear as untracked files when doing git status

17 months agoMerge pull request #41 in PROCESSOR-SDK/pdk from prsdk-7457 to master
Mahesh Radhakrishnan [Fri, 22 Nov 2019 20:53:23 +0000 (14:53 -0600)]
Merge pull request #41 in PROCESSOR-SDK/pdk from prsdk-7457 to master

* commit '1396cebbaa22b13d3d7bb748576bc324878b00ba':
  prsdk-7457: add version_string section to pru.cmd linker file

17 months agoMerge pull request #43 in PROCESSOR-SDK/pdk from PRSDK-7463 to master
Mahesh Radhakrishnan [Fri, 22 Nov 2019 14:59:08 +0000 (08:59 -0600)]
Merge pull request #43 in PROCESSOR-SDK/pdk from PRSDK-7463 to master

* commit '6868138bec8f9c27ee6db6279acf29715c016334':
  PRSDK-7463: Board: Fix warning due to missing whitespace in diag/pcie makefile

17 months agoMerge pull request #12 in PROCESSOR-SDK/pdk from PRSDK-7095 to master
Mahesh Radhakrishnan [Fri, 22 Nov 2019 14:58:50 +0000 (08:58 -0600)]
Merge pull request #12 in PROCESSOR-SDK/pdk from PRSDK-7095 to master

* commit '293ece583acbbf77b838de220bc01756fcfbd2b9':
  PRSDK-7095: sbl: Updated SBL to use SDR and enable pipeline for ROM load

17 months agoPRSDK-7095: sbl: Updated SBL to use SDR and enable pipeline for ROM load
Brandon Wetzel [Tue, 5 Nov 2019 21:16:05 +0000 (16:16 -0500)]
PRSDK-7095: sbl: Updated SBL to use SDR and enable pipeline for ROM load

This will make the SBL load the SYSFW with single data rate and PHY pipeline enabled. The throughput is about 130Mbytes/sec. This translates into a SYSFW load time of about 2ms.

17 months agoMerge pull request #42 in PROCESSOR-SDK/pdk from PRSDK-7458 to master
Mahesh Radhakrishnan [Wed, 20 Nov 2019 21:25:13 +0000 (15:25 -0600)]
Merge pull request #42 in PROCESSOR-SDK/pdk from PRSDK-7458 to master

* commit 'f3c2266193b66818313be2966799de0283c305a6':
  mcasp: PRSDK-7458: Restore audio loopback on Beta EVM

17 months agoMerge pull request #38 in PROCESSOR-SDK/pdk from PRSDK-7451 to master
Mahesh Radhakrishnan [Wed, 20 Nov 2019 18:22:39 +0000 (12:22 -0600)]
Merge pull request #38 in PROCESSOR-SDK/pdk from PRSDK-7451 to master

* commit '8d5411527a015fc31b30c3a9ffc15652223b4224':
  PRSDK-7451: CAL: Moving csl_app_utils to app_lib with valid BOARD_LIST

17 months agoPRSDK-7463: Board: Fix warning due to missing whitespace in diag/pcie makefile
Mahesh Radhakrishnan [Wed, 20 Nov 2019 16:47:54 +0000 (11:47 -0500)]
PRSDK-7463: Board: Fix warning due to missing whitespace in diag/pcie makefile

17 months agomcasp: PRSDK-7458: Restore audio loopback on Beta EVM
Stephen Molfetta [Tue, 19 Nov 2019 21:47:59 +0000 (15:47 -0600)]
mcasp: PRSDK-7458: Restore audio loopback on Beta EVM

J721e Beta EVM updated the McASP10 serializer configurations to allow
audio streaming through PCM3168A and eDP simultaneously.

Updating the example application for Beta EVM support. Alpha EVM support
for this example is deprecated.

Signed-off-by: Stephen Molfetta <sjmolfetta@ti.com>
17 months agomcasp: PRSDK-7455: Example fix on j721e/c66x
Stephen Molfetta [Tue, 19 Nov 2019 21:25:42 +0000 (15:25 -0600)]
mcasp: PRSDK-7455: Example fix on j721e/c66x

Board configuration flag to unlock MMR is not functional on c66x because
Board library does not comprehend c66x memory map on this device.

Previously, this issue was masked because unlock MMR function did not
return error. Recently this function was updated, so MMR unlock returns
error and causes subsequent board initialization failures on c66x. This
causes CPU exception when trying to printf via UART but UART
initialization was not run due to Board failures.

Disabling MMR unlock since it is not needed for this application at this
point.

Signed-off-by: Stephen Molfetta <sjmolfetta@ti.com>
17 months agoprsdk-7457: add version_string section to pru.cmd linker file
Vitaly Andrianov [Tue, 19 Nov 2019 21:44:20 +0000 (16:44 -0500)]
prsdk-7457: add version_string section to pru.cmd linker file

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
17 months agoMerge pull request #30 in PROCESSOR-SDK/pdk from pindsw-3931 to master
Mahesh Radhakrishnan [Tue, 19 Nov 2019 19:26:55 +0000 (13:26 -0600)]
Merge pull request #30 in PROCESSOR-SDK/pdk from pindsw-3931 to master

* commit '50291b95579e27cf32e19edbc90d7a650714b927':
  pindsw-3931: fix backoff time calculation bug
  pindsw-3931: don't check ipg expired if it wasn't started
  pindsw-3931: move restart_transmission code to macro

17 months agopindsw-3931: fix backoff time calculation bug
Vitaly Andrianov [Tue, 19 Nov 2019 19:26:31 +0000 (14:26 -0500)]
pindsw-3931: fix backoff time calculation bug

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
17 months agopindsw-3931: don't check ipg expired if it wasn't started
Vitaly Andrianov [Tue, 12 Nov 2019 13:20:59 +0000 (08:20 -0500)]
pindsw-3931: don't check ipg expired if it wasn't started

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
17 months agopindsw-3931: move restart_transmission code to macro
Vitaly Andrianov [Tue, 12 Nov 2019 13:20:21 +0000 (08:20 -0500)]
pindsw-3931: move restart_transmission code to macro

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
17 months agoPRSDK-7451: CAL: Moving csl_app_utils to app_lib with valid BOARD_LIST
Mahesh Radhakrishnan [Tue, 19 Nov 2019 19:24:12 +0000 (14:24 -0500)]
PRSDK-7451: CAL: Moving csl_app_utils to app_lib with valid BOARD_LIST

17 months agoMerge pull request #31 in PROCESSOR-SDK/pdk from prsdk-7319 to master
Mahesh Radhakrishnan [Tue, 19 Nov 2019 19:05:18 +0000 (13:05 -0600)]
Merge pull request #31 in PROCESSOR-SDK/pdk from prsdk-7319 to master

* commit 'ad4702a862a3bc98f5f7c3bd1143ffbaf145c8b5':
  dm f/w: prsdk-7319: don't call PSI_ABORT
  dm f/w: prsdk-7319: skip PROINFO chunk as well

17 months agoMerge pull request #26 in PROCESSOR-SDK/pdk from ipc_lld_review to master
Mahesh Radhakrishnan [Tue, 19 Nov 2019 16:05:00 +0000 (10:05 -0600)]
Merge pull request #26 in PROCESSOR-SDK/pdk from ipc_lld_review to master

* commit 'e046a6fb91a7b44feed47d0f11eac9a3e74eb7f1':
  PRSK-7443: Added API to get Current CoreID

17 months agoPRSK-7443: Added API to get Current CoreID
Santosh Jha [Mon, 11 Nov 2019 21:52:52 +0000 (15:52 -0600)]
PRSK-7443: Added API to get Current CoreID

Signed-off-by: Santosh Jha <sjha@ti.com>
17 months agoMerge pull request #37 in PROCESSOR-SDK/pdk from review_PRSDK-7421 to master
Mahesh Radhakrishnan [Mon, 18 Nov 2019 23:10:06 +0000 (17:10 -0600)]
Merge pull request #37 in PROCESSOR-SDK/pdk from review_PRSDK-7421 to master

* commit 'c1acdc71c3f253734e30686e0e749e7a599fdf7a':
  PRSDK-7421: Fix nimu lib compilation K2 SOCs

17 months agoPRSDK-7421: Fix nimu lib compilation K2 SOCs
Tinku Mannan [Mon, 18 Nov 2019 16:22:27 +0000 (11:22 -0500)]
PRSDK-7421: Fix nimu lib compilation K2 SOCs

Signed-off-by: Tinku Mannan <tmannan@ti.com>
17 months agoMerge pull request #33 in PROCESSOR-SDK/pdk from PRSDK-7413 to master
Mahesh Radhakrishnan [Mon, 18 Nov 2019 12:48:53 +0000 (06:48 -0600)]
Merge pull request #33 in PROCESSOR-SDK/pdk from PRSDK-7413 to master

* commit 'cd4ec560ee8f00fb75e5c9ac1ea0326223642e79':
  PRSDK-7413: build: Sysbios update to 6.76.03.01

17 months agoPRSDK-7413: build: Sysbios update to 6.76.03.01
Mahesh Radhakrishnan [Fri, 15 Nov 2019 16:48:46 +0000 (11:48 -0500)]
PRSDK-7413: build: Sysbios update to 6.76.03.01

17 months agoMerge pull request #11 in PROCESSOR-SDK/pdk from review_PRSDK-5567 to master
Mahesh Radhakrishnan [Thu, 14 Nov 2019 20:50:03 +0000 (14:50 -0600)]
Merge pull request #11 in PROCESSOR-SDK/pdk from review_PRSDK-5567 to master

* commit 'a6be51d872207830c746d76cffc204c5a7477014':
  PRSDK-5567: emac: test update to use main navss for CPSW for MAXWELL PG 2.0

17 months agoMerge pull request #27 in PROCESSOR-SDK/pdk from PRSDK-7323 to master
Mahesh Radhakrishnan [Thu, 14 Nov 2019 19:44:24 +0000 (13:44 -0600)]
Merge pull request #27 in PROCESSOR-SDK/pdk from PRSDK-7323 to master

* commit '1c24636eebfad7f2eee19efa18e614ff1b0b9cab':
  i2c: PRSDK-7323: fix i2c eeprom test compilation error for am65xx

17 months agoPDK-4794: Fix for J7 EVM Uniflash source package configuration
M V Pratap Reddy [Fri, 1 Nov 2019 08:21:42 +0000 (13:51 +0530)]
PDK-4794: Fix for J7 EVM Uniflash source package configuration

17 months agoPRSDK-5567: emac: test update to use main navss for CPSW for MAXWELL PG 2.0
Tinku Mannan [Wed, 6 Nov 2019 16:13:53 +0000 (11:13 -0500)]
PRSDK-5567: emac: test update to use main navss for CPSW for MAXWELL PG 2.0

Signed-off-by: Tinku Mannan <tmannan@ti.com>
17 months agodm f/w: prsdk-7319: don't call PSI_ABORT
Vitaly Andrianov [Wed, 13 Nov 2019 20:14:18 +0000 (15:14 -0500)]
dm f/w: prsdk-7319: don't call PSI_ABORT

Host execute RX channel teardown. So, F/W shall not abort any started
DMA to host by itself.

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
17 months agoMerge pull request #4 in PROCESSOR-SDK/pdk from review_PRSDK-7310 to master
Mahesh Radhakrishnan [Wed, 13 Nov 2019 19:58:35 +0000 (13:58 -0600)]
Merge pull request #4 in PROCESSOR-SDK/pdk from review_PRSDK-7310 to master

* commit '179e7631fee079f7636e07349581bbb490fe2858':
  Inclusion of fw config files only required for ICSSG use case
  Fix package issue for emac_ioctl.h
  PRSDK-7310: emac: Remove compile of ICSSG test app and FW for J7

17 months agoInclusion of fw config files only required for ICSSG use case
Tinku Mannan [Wed, 13 Nov 2019 15:42:57 +0000 (10:42 -0500)]
Inclusion of fw config files only required for ICSSG use case

17 months agodm f/w: prsdk-7319: skip PROINFO chunk as well
Vitaly Andrianov [Wed, 13 Nov 2019 12:47:40 +0000 (07:47 -0500)]
dm f/w: prsdk-7319: skip PROINFO chunk as well

Linux uses the same BD format for both data and management packets which
always has PROINFO chunk. So, F/W has to ignore PROINFO chunk to accept
management packets.

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
17 months agoAdded a .gitignore so that additional git repo and generated files dont appear as...
Kedar Chitnis [Wed, 13 Nov 2019 09:40:42 +0000 (15:10 +0530)]
Added a .gitignore so that additional git repo and generated files dont appear as untracked files when doing git status

17 months agoMerge branch 'master' into review_PRSDK-7310
Tinku Mannan [Tue, 12 Nov 2019 18:22:22 +0000 (13:22 -0500)]
Merge branch 'master' into review_PRSDK-7310

17 months agoi2c: PRSDK-7323: fix i2c eeprom test compilation error for am65xx
Hao Zhang [Tue, 12 Nov 2019 15:25:10 +0000 (10:25 -0500)]
i2c: PRSDK-7323: fix i2c eeprom test compilation error for am65xx

Signed-off-by: Hao Zhang <hzhang@ti.com>
17 months agoMerge pull request #25 in PROCESSOR-SDK/pdk from PRSDK-7323 to master
Mahesh Radhakrishnan [Mon, 11 Nov 2019 21:46:50 +0000 (15:46 -0600)]
Merge pull request #25 in PROCESSOR-SDK/pdk from PRSDK-7323 to master

* commit '60a751cd494d16bcf328bdaf58ee3fd2cc30260f':
  i2c: PRSDK-7323: fix i2c eeprom test compilation error

17 months agoMerge pull request #22 in PROCESSOR-SDK/pdk from ipc_doxygen_fix to master
Mahesh Radhakrishnan [Mon, 11 Nov 2019 20:22:41 +0000 (14:22 -0600)]
Merge pull request #22 in PROCESSOR-SDK/pdk from ipc_doxygen_fix to master

* commit '1e5c916c4d7e8806633bac0446d43236a9c018e4':
  ipc fix: Doxygen errors are addressed

17 months agoMerge pull request #9 in PROCESSOR-SDK/pdk from PRSDK-7314 to master
Mahesh Radhakrishnan [Mon, 11 Nov 2019 15:47:21 +0000 (09:47 -0600)]
Merge pull request #9 in PROCESSOR-SDK/pdk from PRSDK-7314 to master

* commit 'ab615e10128b82764309b248a10c0336c6a158cc':
  board: PRSDK-7314: fix Sciclient_pmGetModuleClkFreq() hang up issue

17 months agoFix package issue for emac_ioctl.h
Tinku Mannan [Tue, 5 Nov 2019 13:37:58 +0000 (08:37 -0500)]
Fix package issue for emac_ioctl.h

17 months agoi2c: PRSDK-7323: fix i2c eeprom test compilation error
Hao Zhang [Mon, 11 Nov 2019 11:13:13 +0000 (06:13 -0500)]
i2c: PRSDK-7323: fix i2c eeprom test compilation error

Signed-off-by: Hao Zhang <hzhang@ti.com>
17 months agoipc fix: Doxygen errors are addressed
Santosh Jha [Fri, 8 Nov 2019 20:47:04 +0000 (14:47 -0600)]
ipc fix: Doxygen errors are addressed

Signed-off-by: Santosh Jha <sjha@ti.com>
17 months agoMerge pull request #10 in PROCESSOR-SDK/pdk from am65xx_build_fix_icssg_pwm to master
Jacob Stiffler [Fri, 8 Nov 2019 20:13:15 +0000 (14:13 -0600)]
Merge pull request #10 in PROCESSOR-SDK/pdk from am65xx_build_fix_icssg_pwm to master

* commit 'f140725b6fe8d555dadca90ed964701cc3217372':
  Replace calculation with newly defined CSL macro
  Fix AM65xx ICSSG PWM PRU FW for CSL changes

17 months agoMerge pull request #20 in PROCESSOR-SDK/pdk from pindsw-3931 to master
Mahesh Radhakrishnan [Fri, 8 Nov 2019 19:53:23 +0000 (13:53 -0600)]
Merge pull request #20 in PROCESSOR-SDK/pdk from pindsw-3931 to master

* commit 'dd60d55e88c5335ce2b2f4209e6c8aa86f55e03e':
  dm f/w: [tmp] enable pa_stat
  dm_f/w: add collision counters
  dm_f/w: add pa_stat macros
  dm f/w: add Copyright header to hd_helper.h
  dm_f/w: add half duplex support
  dm f/w: store BD to smem if half duplex
  dm f/w: add macros, structures fields and definitions for HD

17 months agoMerge pull request #13 in PROCESSOR-SDK/pdk from review_PRSDK-7318 to master
Mahesh Radhakrishnan [Fri, 8 Nov 2019 16:18:47 +0000 (10:18 -0600)]
Merge pull request #13 in PROCESSOR-SDK/pdk from review_PRSDK-7318 to master

* commit 'f7547d45d450dc518fb309741cd61b5c2844e330':
  PRSDK-7318: nimu updates to remove compiler warnings when building libs

17 months agoPRSDK-7318: nimu updates to remove compiler warnings when building libs
Tinku Mannan [Wed, 6 Nov 2019 19:58:56 +0000 (14:58 -0500)]
PRSDK-7318: nimu updates to remove compiler warnings when building libs

Signed-off-by: Tinku Mannan <tmannan@ti.com>
17 months agoMerge pull request #15 in PROCESSOR-SDK/pdk from review_PRSDK-7317 to master
Mahesh Radhakrishnan [Fri, 8 Nov 2019 15:41:39 +0000 (09:41 -0600)]
Merge pull request #15 in PROCESSOR-SDK/pdk from review_PRSDK-7317 to master

* commit '0ba72de202b829e514a74be59c2c945ecbf6b7df':
  PRSDK-7317: emac: Fix build for am65xx/j7 with CPLUSPLUS_BUILD=yes option

17 months agodm f/w: [tmp] enable pa_stat
Vitaly Andrianov [Fri, 8 Nov 2019 15:38:54 +0000 (10:38 -0500)]
dm f/w: [tmp] enable pa_stat

The driver has to enable the ps_stat. Linux driver doesn't do that yet, so
we enable it from F/W.

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
--
pindsw-3931

17 months agoMerge pull request #19 in PROCESSOR-SDK/pdk from prsdk-7325 to master
Mahesh Radhakrishnan [Fri, 8 Nov 2019 15:33:33 +0000 (09:33 -0600)]
Merge pull request #19 in PROCESSOR-SDK/pdk from prsdk-7325 to master

* commit '9d69ba80bea78fb67e03c012764593297e0afa76':
  PRSDK-7325: fix XFR2VBUS_WAIT4READY macro
  PRSDK-7324 - dm_f/w code cleanup

17 months agoMerge pull request #17 in PROCESSOR-SDK/pdk from PRSDK-7323 to master
Mahesh Radhakrishnan [Fri, 8 Nov 2019 14:17:26 +0000 (08:17 -0600)]
Merge pull request #17 in PROCESSOR-SDK/pdk from PRSDK-7323 to master

* commit '85ba24b423f1eadbf20733a89f66a8d482a6ed5b':
  Fix for CPLUSPLUS_BUILD=yes error
  PRSDK-7323: utils/profiling: Fixing errors with CPLUSPLUS build
  gpio: PRSDK-7323: fix gpio led blink example compilation error

17 months agoFix for CPLUSPLUS_BUILD=yes error
Santosh Jha [Fri, 8 Nov 2019 14:12:17 +0000 (08:12 -0600)]
Fix for CPLUSPLUS_BUILD=yes error

Signed-off-by: Santosh Jha <sjha@ti.com>
17 months agodm_f/w: add collision counters
Vitaly Andrianov [Thu, 7 Nov 2019 14:36:33 +0000 (09:36 -0500)]
dm_f/w: add collision counters

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
17 months agodm_f/w: add pa_stat macros
Vitaly Andrianov [Thu, 7 Nov 2019 14:20:10 +0000 (09:20 -0500)]
dm_f/w: add pa_stat macros

This commit just to add m_inc_stat macro

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
17 months agodm f/w: add Copyright header to hd_helper.h
Vitaly Andrianov [Thu, 7 Nov 2019 13:55:02 +0000 (08:55 -0500)]
dm f/w: add Copyright header to hd_helper.h

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
17 months agodm_f/w: add half duplex support
Vitaly Andrianov [Wed, 6 Nov 2019 15:10:18 +0000 (10:10 -0500)]
dm_f/w: add half duplex support

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
17 months agodm f/w: store BD to smem if half duplex
Vitaly Andrianov [Wed, 6 Nov 2019 15:06:22 +0000 (10:06 -0500)]
dm f/w: store BD to smem if half duplex

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
17 months agodm f/w: add macros, structures fields and definitions for HD
Vitaly Andrianov [Wed, 6 Nov 2019 15:03:31 +0000 (10:03 -0500)]
dm f/w: add macros, structures fields and definitions for HD

We are going to add support for 10/100 Half duplex. This
commit add macros, definitions and some other components.

- add location for random generator seed with will be used
  to calculate backoff time. Driver populate the seed when open
  the interface;
- BD offsets for DMA0 and DMA1. RTU initiates the packet DMA,
  but it the packet has to be re-transmitted becase of
  collision PRU has to know buffer location. So, it reads it
  from BD_OFS0 or BD_OFS1
- PRU stores number of required CPU cycles for ipg or backoff
  interval in the TX_IPG filed.

- adds some files into pru global register structure
- adds some macros

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
17 months agoPRSDK-7325: fix XFR2VBUS_WAIT4READY macro
Vitaly Andrianov [Fri, 8 Nov 2019 13:42:08 +0000 (08:42 -0500)]
PRSDK-7325: fix XFR2VBUS_WAIT4READY macro

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
17 months agoPRSDK-7324 - dm_f/w code cleanup
Vitaly Andrianov [Thu, 12 Sep 2019 13:04:31 +0000 (09:04 -0400)]
PRSDK-7324 - dm_f/w code cleanup

- remove old comments
- remove useless code
- simplify code
- remove borg limit counter.
- rearrange underflow related code
- remove preemption related code as we don't support preemption
- re-factor TX_FILL_FIFO macro
- move duplicated code to macros.
- change CL_FLAGS order in makefile

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
17 months agoPRSDK-7323: utils/profiling: Fixing errors with CPLUSPLUS build
Mahesh Radhakrishnan [Thu, 7 Nov 2019 21:37:47 +0000 (16:37 -0500)]
PRSDK-7323: utils/profiling: Fixing errors with CPLUSPLUS build

17 months agoPRSDK-7310: emac: Remove compile of ICSSG test app and FW for J7
Tinku Mannan [Fri, 1 Nov 2019 18:08:06 +0000 (14:08 -0400)]
PRSDK-7310: emac: Remove compile of ICSSG test app and FW for J7

Signed-off-by: Tinku Mannan <tmannan@ti.com>