processor-sdk/pdk.git
2 years agoMcSPI: PRSDK-7663: fix nightly build error for J721e
Hao Zhang [Thu, 12 Dec 2019 10:15:39 +0000 (05:15 -0500)]
McSPI: PRSDK-7663: fix nightly build error for J721e

McSPI master/slave example is only supported for ARM cores, update the
makefile to only build example for MPU and MCU cores.

Signed-off-by: Hao Zhang <hzhang@ti.com>
2 years agoMerge branch 'PRSDK-7120'
Hao Zhang [Mon, 9 Dec 2019 10:39:27 +0000 (05:39 -0500)]
Merge branch 'PRSDK-7120'

2 years 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

2 years 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.

2 years 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

2 years 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>
2 years 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>
2 years 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

2 years 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>
2 years 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

2 years 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

2 years 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'

2 years 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'

2 years 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)

2 years 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

2 years 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

2 years 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

3 years 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

3 years 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

3 years 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>
3 years 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>
3 years 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

3 years 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

3 years 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>
3 years 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>
3 years 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

3 years 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

3 years 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

3 years 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

3 years 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

3 years 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.

3 years 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

3 years 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

3 years 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

3 years 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>
3 years 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>
3 years 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>
3 years 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

3 years 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>
3 years 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>
3 years 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>
3 years 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

3 years 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

3 years 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

3 years 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>
3 years 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

3 years 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>
3 years 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

3 years 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

3 years 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

3 years 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

3 years 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

3 years 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>
3 years 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>
3 years 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

3 years 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

3 years 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>
3 years 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

3 years 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

3 years 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>
3 years 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

3 years 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

3 years 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

3 years 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

3 years 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>
3 years 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>
3 years 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

3 years 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

3 years 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

3 years 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>
3 years 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

3 years 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

3 years 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

3 years 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

3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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

3 years 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>
3 years agogpio: PRSDK-7323: fix gpio led blink example compilation error
Hao Zhang [Thu, 7 Nov 2019 14:25:11 +0000 (09:25 -0500)]
gpio: PRSDK-7323: fix gpio led blink example compilation error

Signed-off-by: Hao Zhang <hzhang@ti.com>
3 years agoReplace calculation with newly defined CSL macro
Frank Livingston [Wed, 6 Nov 2019 18:04:50 +0000 (12:04 -0600)]
Replace calculation with newly defined CSL macro

3 years agoFix AM65xx ICSSG PWM PRU FW for CSL changes
Frank Livingston [Tue, 5 Nov 2019 23:46:00 +0000 (17:46 -0600)]
Fix AM65xx ICSSG PWM PRU FW for CSL changes

3 years agoPRSDK-7317: emac: Fix build for am65xx/j7 with CPLUSPLUS_BUILD=yes option
Tinku Mannan [Tue, 5 Nov 2019 20:05:17 +0000 (15:05 -0500)]
PRSDK-7317: emac: Fix build for am65xx/j7 with CPLUSPLUS_BUILD=yes option

Signed-off-by: Tinku Mannan <tmannan@ti.com>
3 years agoMerge pull request #3 in PROCESSOR-SDK/pdk from PRSDK-7095 to master
Mahesh Radhakrishnan [Tue, 5 Nov 2019 17:08:34 +0000 (11:08 -0600)]
Merge pull request #3 in PROCESSOR-SDK/pdk from PRSDK-7095 to master

* commit '5a07270207de99c1b3759881dba0b38bc5531cab':
  ospi: PRSDK-7095: fix the OSPI flash unit test compilation error

3 years agoboard: PRSDK-7314: fix Sciclient_pmGetModuleClkFreq() hang up issue
Hao Zhang [Tue, 5 Nov 2019 15:17:42 +0000 (10:17 -0500)]
board: PRSDK-7314: fix Sciclient_pmGetModuleClkFreq() hang up issue

Sciclient_pmGetModuleClkFreq() can only be called after sysfw is loaded
by SBL. Move the function call to Board_moduleClockInit()

Signed-off-by: Hao Zhang <hzhang@ti.com>
3 years agoMerge pull request #7 in PROCESSOR-SDK/pdk from am65xx_build_fix to master
Mahesh Radhakrishnan [Tue, 5 Nov 2019 14:14:04 +0000 (08:14 -0600)]
Merge pull request #7 in PROCESSOR-SDK/pdk from am65xx_build_fix to master

* commit 'f245f2b955283256607fb1d53f324ce71110cfda':
  Fixed AM65xx build error

3 years agoFixed AM65xx build error
Santosh Jha [Mon, 4 Nov 2019 13:27:47 +0000 (07:27 -0600)]
Fixed AM65xx build error

- Fix for AM65xx build error.

Signed-off-by: Santosh Jha <sjha@ti.com>
3 years agoospi: PRSDK-7095: fix the OSPI flash unit test compilation error
Hao Zhang [Fri, 1 Nov 2019 12:30:07 +0000 (08:30 -0400)]
ospi: PRSDK-7095: fix the OSPI flash unit test compilation error

Signed-off-by: Hao Zhang <hzhang@ti.com>
3 years agotsip-lld: add to PDK
Jacob Stiffler [Fri, 1 Nov 2019 18:59:44 +0000 (14:59 -0400)]
tsip-lld: add to PDK

Development of tsip-lld has been relocated here from:
* Repo: https://git.ti.com/keystone-rtos/tsip-lld
* Branch: master
* Commit ID: 368ff5fbd963f4b5d5c81bbfaf3daca23beb2a87

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
3 years agotcp3d-lld: add to PDK
Jacob Stiffler [Fri, 1 Nov 2019 18:59:39 +0000 (14:59 -0400)]
tcp3d-lld: add to PDK

Development of tcp3d-lld has been relocated here from:
* Repo: https://git.ti.com/keystone-rtos/tcp3d-lld
* Branch: master
* Commit ID: a8b3791044edf632e8348cdbd287d48a754d11ac

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
3 years agosrio-lld: add to PDK
Jacob Stiffler [Fri, 1 Nov 2019 18:59:33 +0000 (14:59 -0400)]
srio-lld: add to PDK

Development of srio-lld has been relocated here from:
* Repo: https://git.ti.com/keystone-rtos/srio-lld
* Branch: master
* Commit ID: 8f230bda0a5a4c510101834bb7bb403182ac2ed8

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
3 years agorm-lld: add to PDK
Jacob Stiffler [Fri, 1 Nov 2019 18:59:27 +0000 (14:59 -0400)]
rm-lld: add to PDK

Development of rm-lld has been relocated here from:
* Repo: https://git.ti.com/keystone-rtos/rm-lld
* Branch: master
* Commit ID: dbe616355318981999c2f7a70a14377fcda913c8

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
3 years agoqmss-lld: add to PDK
Jacob Stiffler [Fri, 1 Nov 2019 18:59:22 +0000 (14:59 -0400)]
qmss-lld: add to PDK

Development of qmss-lld has been relocated here from:
* Repo: https://git.ti.com/keystone-rtos/qmss-lld
* Branch: master
* Commit ID: 7ca6e92b2081bd2eb64fa3dc9ca33df78b3ce292

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
3 years agopa-lld: add to PDK
Jacob Stiffler [Fri, 1 Nov 2019 18:59:06 +0000 (14:59 -0400)]
pa-lld: add to PDK

Development of pa-lld has been relocated here from:
* Repo: https://git.ti.com/keystone-rtos/pa-lld
* Branch: master
* Commit ID: 02e790bdeba574c0bcca9c0bfe2c071c180c53c8

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>