processor-sdk/pdk.git
21 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

21 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

21 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

22 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

22 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>
22 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>
22 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

22 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

22 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>
22 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>
22 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

22 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

22 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

22 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

22 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

22 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.

22 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

22 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

22 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

22 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>
22 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>
22 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>
22 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

22 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>
22 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>
22 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>
22 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

22 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

22 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

22 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>
22 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

22 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>
22 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

22 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

22 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

22 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

22 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

22 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>
22 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>
22 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

22 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

22 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>
22 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

22 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

22 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>
22 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

22 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

22 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

22 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

22 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>
22 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>
22 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

22 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

22 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

22 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>
22 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

22 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

22 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

22 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

22 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>
22 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>
22 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>
22 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>
22 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>
22 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>
22 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>
22 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>
22 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>
22 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

22 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>
22 months 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>
22 months 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

22 months 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

22 months 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>
22 months 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

22 months 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>
22 months 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

22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months agonwal-lld: add to PDK
Jacob Stiffler [Fri, 1 Nov 2019 18:59:00 +0000 (14:59 -0400)]
nwal-lld: add to PDK

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

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
22 months agoiqn2-lld: add to PDK
Jacob Stiffler [Fri, 1 Nov 2019 18:58:55 +0000 (14:58 -0400)]
iqn2-lld: add to PDK

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

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
22 months agohypnlk-lld: add to PDK
Jacob Stiffler [Fri, 1 Nov 2019 18:58:44 +0000 (14:58 -0400)]
hypnlk-lld: add to PDK

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

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
22 months agofftc-lld: add to PDK
Jacob Stiffler [Fri, 1 Nov 2019 18:58:33 +0000 (14:58 -0400)]
fftc-lld: add to PDK

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

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
22 months agodfe-lld: add to PDK
Jacob Stiffler [Fri, 1 Nov 2019 18:58:27 +0000 (14:58 -0400)]
dfe-lld: add to PDK

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

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
22 months agocppi-lld: add to PDK
Jacob Stiffler [Fri, 1 Nov 2019 18:58:17 +0000 (14:58 -0400)]
cppi-lld: add to PDK

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

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
22 months agobcp-lld: add to PDK
Jacob Stiffler [Fri, 1 Nov 2019 18:58:11 +0000 (14:58 -0400)]
bcp-lld: add to PDK

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

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
22 months agoaif2-lld: add to PDK
Jacob Stiffler [Fri, 1 Nov 2019 18:57:58 +0000 (14:57 -0400)]
aif2-lld: add to PDK

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

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
22 months agodss-lld: add to PDK
Jacob Stiffler [Fri, 1 Nov 2019 18:57:47 +0000 (14:57 -0400)]
dss-lld: add to PDK

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

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
22 months agocal-lld: add to PDK
Jacob Stiffler [Fri, 1 Nov 2019 18:57:41 +0000 (14:57 -0400)]
cal-lld: add to PDK

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

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
22 months agofvid2-lld: add to PDK
Jacob Stiffler [Fri, 1 Nov 2019 18:57:09 +0000 (14:57 -0400)]
fvid2-lld: add to PDK

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

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
22 months agoipc-lld: add to PDK
Jacob Stiffler [Fri, 1 Nov 2019 18:56:53 +0000 (14:56 -0400)]
ipc-lld: add to PDK

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

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
22 months agoio-link: add to PDK
Jacob Stiffler [Fri, 1 Nov 2019 18:56:47 +0000 (14:56 -0400)]
io-link: add to PDK

Development of io-link has been relocated here from:
* Repo: https://git.ti.com/keystone-rtos/io-link
* Branch: master
* Commit ID: 655d3c82205ac334c46db99475431ba517e1baf8

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
22 months agousb-lld: add to PDK
Jacob Stiffler [Fri, 1 Nov 2019 18:56:40 +0000 (14:56 -0400)]
usb-lld: add to PDK

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

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
22 months agosciclient-lld: add to PDK
Jacob Stiffler [Fri, 1 Nov 2019 18:56:28 +0000 (14:56 -0400)]
sciclient-lld: add to PDK

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

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