processor-sdk/pdk.git
2 years agoPRSDK-7942:board:AM65x support for SYSFW 2019.12 REL.PDK.J7.06.02.00.01
Brandon Wetzel [Thu, 23 Jan 2020 20:55:02 +0000 (15:55 -0500)]
PRSDK-7942:board:AM65x support for SYSFW 2019.12

Remove some symbols that were lost in SYSFW 2019.12 and fix cfg pin

2 years agoPRSDK-7935: Board: Added pinmux project files for J721E EVM
M V Pratap Reddy [Thu, 23 Jan 2020 20:44:03 +0000 (02:14 +0530)]
PRSDK-7935: Board: Added pinmux project files for J721E EVM

2 years agoPRSDK-7752: Build: Adding/rearranging the CORELIST to meet dependency order
Mahesh Radhakrishnan [Thu, 23 Jan 2020 20:34:38 +0000 (15:34 -0500)]
PRSDK-7752: Build: Adding/rearranging the CORELIST to meet dependency order

2 years agoPRSDK-7941: board: Fix for MPU1_0 build issue
Sam Nelson [Thu, 23 Jan 2020 19:48:30 +0000 (14:48 -0500)]
PRSDK-7941: board: Fix for MPU1_0 build issue

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
2 years agoPRSDK-7722: emac: am65xx unit test update for fix verification
Tinku Mannan [Tue, 21 Jan 2020 22:16:59 +0000 (17:16 -0500)]
PRSDK-7722: emac: am65xx unit test update for fix verification

Signed-off-by: Tinku Mannan <tmannan@ti.com>
2 years agoPRSDK-7722: emac: am65xx driver fixes
Tinku Mannan [Tue, 21 Jan 2020 22:09:28 +0000 (17:09 -0500)]
PRSDK-7722: emac: am65xx driver fixes

 Fix to not call pkt freee callback when procesing TX completion events
 MGMT packets
 Fix re-entrancy issue when processing TX completion events which could
 during emac_send or emac_poll_ctrl API from different task contexts
 Driver cleanup to remove duplicate code segments

Signed-off-by: Tinku Mannan <tmannan@ti.com>
2 years agoPRSDK-7133: board: examples: Add example for thermal test app
Sam Nelson [Wed, 8 Jan 2020 21:25:38 +0000 (16:25 -0500)]
PRSDK-7133: board: examples: Add example for thermal test app

Uses board library call with thermal management enabled

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
2 years agoPRSDK-7133: board: Add support to handle DDR thermal events
Sam Nelson [Wed, 8 Jan 2020 21:22:55 +0000 (16:22 -0500)]
PRSDK-7133: board: Add support to handle DDR thermal events

Configuration done to monitor thermal events
Thermal events reported by the DDR controller are handled with a
registered interrupt handler

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
2 years agoPRSDK-7133: board: Update DDR controller parameters to configure thermal events
Sam Nelson [Wed, 8 Jan 2020 21:20:58 +0000 (16:20 -0500)]
PRSDK-7133: board: Update DDR controller parameters to configure thermal events

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
2 years agoPRSDK-7396:Build:Sysbios version update to 6.76.04.02
Mahesh Radhakrishnan [Thu, 16 Jan 2020 19:53:49 +0000 (14:53 -0500)]
PRSDK-7396:Build:Sysbios version update to 6.76.04.02

2 years agoipc: Fix dynamic irq resource request for specific host
Angela Stegmaier [Mon, 20 Jan 2020 21:18:16 +0000 (15:18 -0600)]
ipc: Fix dynamic irq resource request for specific host

The board config for Linux uses the specific host instead
of HOST_ID_ALL. Also, the board config has updated the
range values for C7x, so that the offset needs to be
updated to fit within the new range.

This patch adds code to first try with the specific host,
and only if that fails, try with HOST_ID_ALL. In this
way it can support both board configs.

It also updates the interrupt selection offset for C7x to
be 2 instead of 51, to fit within the allowed range with
the Linux board config and updated RTOS board config.

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
2 years agoj721e: boardcfg: Partition the CLEC IR resources
Nikhil Devshatwar [Mon, 20 Jan 2020 18:57:22 +0000 (00:27 +0530)]
j721e: boardcfg: Partition the CLEC IR resources

Update the board config for j721e to match with the
u-boot loaded board config.

This partitions the interrupt routers correctly between
A72 hosts and C7x hosts.

Signed-off-by: Nikhil Devshatwar <nikhil.nd@ti.com>
2 years agoUpdate sciclient_ccs_init binary for ccs loading
Angela Stegmaier [Wed, 22 Jan 2020 18:27:22 +0000 (12:27 -0600)]
Update sciclient_ccs_init binary for ccs loading

- r5f binary is updated with updated default
  board config.
- added sysfw (2019.12) for j721e and am65xx

Signed-off-by: Santosh Jha <sjha@ti.com>
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
2 years agoupdate boardconfiguration for OTP data structure
Venkateswara Rao Mandela [Wed, 15 Jan 2020 14:23:51 +0000 (19:53 +0530)]
update boardconfiguration for OTP data structure

2 years agosync headers to 2019.12 SYSFW RC
Venkateswara Rao Mandela [Wed, 15 Jan 2020 13:31:00 +0000 (19:01 +0530)]
sync headers to 2019.12 SYSFW RC

2 years agoPRSDK-7874: Board: Added API to detect J7 ENET aplication card type
M V Pratap Reddy [Sat, 18 Jan 2020 19:09:31 +0000 (00:39 +0530)]
PRSDK-7874: Board: Added API to detect J7 ENET aplication card type

Board: Removed board detect check for J7 ENET card reset during Eth config

 - J7 ENET expansion connector supports QSGMII and SGMII cards but the board detect is specific to
   QSGMII card. Having board detect check makes the PHY reset being done only for QSGMII card but is
   needed for SGMII board as well.
   Removed board detect check to reset both QSGMII and SGMII PHYs

2 years ago[ADASVISION-3664]Correct BSD license for cadence driver in Manifest
Vivek Dhande [Fri, 20 Dec 2019 10:59:27 +0000 (16:29 +0530)]
[ADASVISION-3664]Correct BSD license for cadence driver in Manifest

- Updated Cadence license to BSD one if not already present

Signed-off-by: Vivek Dhande <a0132295@ti.com>
2 years agoPRSDK-7406: Sync-up J721E Proxy and Ring Monitor Cfg with Linux
Sivaraj R [Fri, 10 Jan 2020 06:08:12 +0000 (11:38 +0530)]
PRSDK-7406: Sync-up J721E Proxy and Ring Monitor Cfg with Linux

Signed-off-by: Sivaraj R <sivaraj@ti.com>
2 years agoPRSDK-7406: UDMA: Enable stats print to CCS instead of just UART
Sivaraj R [Mon, 13 Jan 2020 04:50:56 +0000 (10:20 +0530)]
PRSDK-7406: UDMA: Enable stats print to CCS instead of just UART

Signed-off-by: Sivaraj R <sivaraj@ti.com>
2 years agoPRSDK-6109:build:Sign GP SBL with degenerate key
Brandon Wetzel [Thu, 19 Dec 2019 16:10:39 +0000 (11:10 -0500)]
PRSDK-6109:build:Sign GP SBL with degenerate key

This will speed up boot time on GP devices

2 years agoPRSDK-7876: Build: Add DRA7x boards to BOARDLIST
Mahesh Radhakrishnan [Tue, 21 Jan 2020 20:32:58 +0000 (15:32 -0500)]
PRSDK-7876: Build: Add DRA7x boards to BOARDLIST

2 years agoPDK-2876: Board: Added LIN diagnostic test for J7 EVM
M V Pratap Reddy [Tue, 31 Dec 2019 05:39:07 +0000 (11:09 +0530)]
PDK-2876: Board: Added LIN diagnostic test for J7 EVM

2 years agoPRSDK-7918 - Build - Enable NS include pathbuild
Prasad Jondhale [Sat, 18 Jan 2020 13:20:56 +0000 (18:50 +0530)]
PRSDK-7918 - Build - Enable NS include pathbuild

 - Updated the makefiles to include NS component

Signed-off-by: Prasad Jondhale <prasad.jondhale@ti.com>
2 years agoPRSDK-7879: Board: Updated J7 FPD library unit test to add CSI FPD test cases
M V Pratap Reddy [Sat, 18 Jan 2020 21:54:26 +0000 (03:24 +0530)]
PRSDK-7879: Board: Updated J7 FPD library unit test to add CSI FPD test cases

 - Updated few additional tests for other FPD modules as well

2 years agoPRSDK-7879: Board: Added CSI FPD device library for J721E EVM
M V Pratap Reddy [Sat, 18 Jan 2020 21:52:39 +0000 (03:22 +0530)]
PRSDK-7879: Board: Added CSI FPD device library for J721E EVM

2 years agoPDK-4805: Board: Added CSI-Rx diagnostic test for J7ES Fusion2 Board
M V Pratap Reddy [Thu, 2 Jan 2020 04:49:47 +0000 (10:19 +0530)]
PDK-4805: Board: Added CSI-Rx diagnostic test for J7ES Fusion2 Board

2 years agoPRSDK-7263:sbl:Support for MCU-wakeup dev group
Brandon Wetzel [Thu, 9 Jan 2020 22:40:37 +0000 (17:40 -0500)]
PRSDK-7263:sbl:Support for MCU-wakeup dev group

When configured, this will only start up the MCU at boot allowing for faster boot times.

2 years agoPRSDK-7391:icss_emac: fixed the multicast filtering table 18 description
Aravind Batni [Tue, 14 Jan 2020 23:19:55 +0000 (18:19 -0500)]
PRSDK-7391:icss_emac: fixed the multicast filtering table 18 description

Signed-off-by: Aravind Batni <aravindbr@ti.com>
2 years agoPRSDK-7418: gpio: Adding support for j7200 SOC and j7200_evm
Tinku Mannan [Wed, 8 Jan 2020 18:12:12 +0000 (13:12 -0500)]
PRSDK-7418: gpio: Adding support for j7200 SOC and j7200_evm

2 years agoPRSDK-7915: Fix for sciclient_ccs_init to be board independent
Piyali Goswami [Sat, 18 Jan 2020 22:59:17 +0000 (04:29 +0530)]
PRSDK-7915: Fix for sciclient_ccs_init to be board independent

sciclient_ccs_init should be board independent. This commit removes the board dependency.

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
2 years agoPRSDK-7870: Build Fix
Piyali Goswami [Sat, 18 Jan 2020 21:44:13 +0000 (03:14 +0530)]
PRSDK-7870: Build Fix

Removed dependency to the firmware Header files

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
2 years agoPRSDK-7523: icss-emac: Fix ICSS-EMAC test example compilation for idkAM572x
Tinku Mannan [Fri, 17 Jan 2020 15:24:27 +0000 (10:24 -0500)]
PRSDK-7523: icss-emac: Fix ICSS-EMAC test example compilation for idkAM572x

 update project text files to specify idkAM572x as platform type as when
 creating project with "all" as board type, default setting is for
 evmAM572X and build fails.

Signed-off-by: Tinku Mannan <tmannan@ti.com>
2 years agoPRSDK-7900: Fix for Windows build fails due to firmware header generation
Piyali Goswami [Wed, 15 Jan 2020 15:31:56 +0000 (21:01 +0530)]
PRSDK-7900: Fix for Windows build fails due to firmware header generation

The firmware header generation is removed now as this is not required for the code.

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
2 years agoboard/diag cpsw test - build fixes
Prasad Jondhale [Thu, 16 Jan 2020 08:52:50 +0000 (14:22 +0530)]
board/diag cpsw test - build fixes

- Build failed due to prototype mismatch caused by changes in CPSW LLD.

Signed-off-by: Prasad Jondhale <prasad.jondhale@ti.com>
2 years agoMerge pull request #146 in PROCESSOR-SDK/pdk from prasad_serdes_changes to master
Sivaraj R [Thu, 16 Jan 2020 04:12:51 +0000 (22:12 -0600)]
Merge pull request #146 in PROCESSOR-SDK/pdk from prasad_serdes_changes to master

* commit 'a3dfdff53ea79ba0bb67980a249787320a14f6a3':
  PRSDK-7203: cpsw/usb/pcie serdes: Changes due to CSL API

2 years agoPRSDK-7760: patch 2
Prasad Konnur [Tue, 14 Jan 2020 13:44:52 +0000 (19:14 +0530)]
PRSDK-7760: patch 2

 - Updated the linker cmd file to be sync with latest common cmd file.
 - fixed the assert issue with release mode binary.

Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
2 years agoPRSDK-7867:added SA sections
Aravind Batni [Fri, 10 Jan 2020 23:35:07 +0000 (18:35 -0500)]
PRSDK-7867:added SA sections

Signed-off-by: Aravind Batni <aravindbr@ti.com>
2 years agoPRSDK-7203: cpsw/usb/pcie serdes: Changes due to CSL API
Prasad Jondhale [Wed, 8 Jan 2020 12:50:46 +0000 (18:20 +0530)]
PRSDK-7203: cpsw/usb/pcie serdes: Changes due to CSL API

 - CSL has changed CSL_serdesIPSelect API to fix hardcoded physical
   address for MMR registers
 -  Updated driver calls accordingly

Signed-off-by: Prasad Jondhale <prasad.jondhale@ti.com>
2 years agoMerge pull request #135 in PROCESSOR-SDK/pdk from prasad_boardchanges to master
Sivaraj R [Mon, 13 Jan 2020 09:25:02 +0000 (03:25 -0600)]
Merge pull request #135 in PROCESSOR-SDK/pdk from prasad_boardchanges to master

* commit '2678bb5dc917796f3410c1d25c418d5feb9d9285':
  PDK-4833 - board/ethernet - Make ENET board config external

2 years agoPRSDK-7865: SCICLIENT: Fix for build failure when built without -j
Mahesh Radhakrishnan [Fri, 10 Jan 2020 21:41:05 +0000 (16:41 -0500)]
PRSDK-7865: SCICLIENT: Fix for build failure when built without -j

2 years agoMCAL-4154: SBL: Build: Support Boot_app booting MAIN cores
Jonathan Bergsagel [Wed, 27 Nov 2019 21:34:06 +0000 (15:34 -0600)]
MCAL-4154: SBL: Build: Support Boot_app booting MAIN cores

Allows the Boot_app in MCUSW to use a couple of key
functions in sbl_slave_core_boot.c for reserving
control of certain CORE IDs, for parsing and
loading additional MAIN domain core images

Changed DDR region in R5 MPU settings to make
sure the copied images actually make it all
the way into DDR (and don't get stuck in the
cache).
Also, add R5 MPU region for OSPI flash.

Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
2 years agofixed dss package build issue
Prasad Konnur [Wed, 8 Jan 2020 07:23:42 +0000 (12:53 +0530)]
fixed dss package build issue

Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
2 years agoPRSDK-7760: UDMA unit test no uart output on C7x
Prasad Konnur [Fri, 10 Jan 2020 08:44:57 +0000 (14:14 +0530)]
PRSDK-7760: UDMA unit test no uart output on C7x

Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
2 years agoADAS_SW-427: DSS: Build fix for AM65xx.
Brijesh Jadav [Fri, 10 Jan 2020 05:31:24 +0000 (11:01 +0530)]
ADAS_SW-427: DSS: Build fix for AM65xx.

Signed-off-by: Brijesh Jadav <brijesh.jadav@ti.com>
2 years agoPRSDK-7676: sciclient: Fix for scilcient_rtos example
Piyali Goswami [Sun, 5 Jan 2020 16:59:29 +0000 (22:29 +0530)]
PRSDK-7676: sciclient: Fix for scilcient_rtos example

Fix for prints not showing the the c66x RTOS example

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
2 years agoPRSDK-7763: sciclient: Build fix for MPU1_1.
Piyali Goswami [Thu, 2 Jan 2020 20:56:16 +0000 (02:26 +0530)]
PRSDK-7763: sciclient: Build fix for MPU1_1.

This is only a build fix for MPU1_1 host details not being found for the function Sciclient_getCurrentContext

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
2 years agoPRSDK-7293: sciclient: Fix to initialize the ATCM memory and put a while 1 for the...
Piyali Goswami [Tue, 31 Dec 2019 13:41:49 +0000 (19:11 +0530)]
PRSDK-7293: sciclient: Fix to initialize the ATCM memory and put a while 1 for the R5F reset to work

The Reset of the R5F helps reset the cache state. The Reset only works when the ATCM is initialized.

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
2 years agoPRSDK-7406: sciclient: Migratiing to SYSFW version v2019.10a
Piyali Goswami [Tue, 31 Dec 2019 11:18:02 +0000 (16:48 +0530)]
PRSDK-7406: sciclient: Migratiing to SYSFW version v2019.10a

This mirgation fixes the following issues in SYSFW:
1.    PBIST control added for J721e.
2.    Improved boot time by avoiding unnecessary MLB PLL programming.
3.    Disallow improper setting of output clock frequency via a connected input clock.

2 years agoPRSDK-7815: pcie fixed the compiler warnings
Ming Wei [Wed, 8 Jan 2020 16:36:50 +0000 (10:36 -0600)]
PRSDK-7815: pcie fixed the compiler warnings

Signed-off-by: Ming Wei <mwei@ti.com>
2 years agoPRSDK-7779: pcie: Fixing packaging issues with j7 & am65xx
Mahesh Radhakrishnan [Tue, 7 Jan 2020 21:18:43 +0000 (16:18 -0500)]
PRSDK-7779: pcie: Fixing packaging issues with j7 & am65xx

2 years agoPRSDK-7783:ipc: Fixed ipc_baremetal build error.
Santosh Jha [Tue, 7 Jan 2020 14:07:54 +0000 (08:07 -0600)]
PRSDK-7783:ipc: Fixed ipc_baremetal build error.

- addressed review comments

Signed-off-by: Santosh Jha <sjha@ti.com>
2 years agoPRSDK-7303: emac: Fix SOP error under Tx
Eric Ding [Mon, 18 Nov 2019 14:41:03 +0000 (09:41 -0500)]
PRSDK-7303: emac: Fix SOP error under Tx

2 years agoRevert "PRSDK-7766: BUILD: Enabling LIMIT_BOARDS/CORES to be evaluated at declaration"
Mahesh Radhakrishnan [Mon, 6 Jan 2020 23:42:27 +0000 (18:42 -0500)]
Revert "PRSDK-7766: BUILD: Enabling LIMIT_BOARDS/CORES to be evaluated at declaration"

This reverts commit cec0e13e636b162f2741f81a8ce6124051cffb49.

2 years agoADAS_SW-427: Added DSI support in Display Driver
Brijesh Jadav [Thu, 5 Dec 2019 11:21:53 +0000 (16:51 +0530)]
ADAS_SW-427: Added DSI support in Display Driver

Updated DSS Example for DSI output
Closed Review Comments

Signed-off-by: Brijesh Jadav <brijesh.jadav@ti.com>
2 years agoPRSDK-7766: BUILD: Enabling LIMIT_BOARDS/CORES to be evaluated at declaration
Mahesh Radhakrishnan [Thu, 2 Jan 2020 21:54:41 +0000 (16:54 -0500)]
PRSDK-7766: BUILD: Enabling LIMIT_BOARDS/CORES to be evaluated at declaration

2 years agoPRSDK-6400: IPC: Fixed Hard coding of irq resources
Santosh Jha [Sat, 21 Dec 2019 03:07:54 +0000 (21:07 -0600)]
PRSDK-6400: IPC: Fixed Hard coding of irq resources

- Removed the hard-coding of irq resource
- DMSC firmware does not configure CLEC.
- CLEC router mapping is still done in C7x
- Addressed review comments

Signed-off-by: Santosh Jha <sjha@ti.com>
2 years agoPDK-4833 - board/ethernet - Make ENET board config external
Prasad Jondhale [Sat, 4 Jan 2020 21:05:11 +0000 (02:35 +0530)]
PDK-4833 - board/ethernet - Make ENET board config external

 - This function is needed when board library configuration doesn't match
   the example configuration as multiple combinations can exist.

Signed-off-by: Prasad Jondhale <prasad.jondhale@ti.com>
2 years agopdk/pcie: PRSDK-5500, AM75x/j721e: PCIe Basic Driver Support
Ming Wei [Tue, 3 Dec 2019 20:29:52 +0000 (14:29 -0600)]
pdk/pcie: PRSDK-5500, AM75x/j721e: PCIe Basic Driver Support

Additional tickets covered in this PR: PRSDK-5501, PRSDK-4247

Signed-off-by: Ming Wei <mwei@ti.com>
2 years agoprsdk-7744: emac: handle one chunk malformed packet
Vitaly Andrianov [Fri, 3 Jan 2020 15:46:52 +0000 (10:46 -0500)]
prsdk-7744: emac: handle one chunk malformed packet

Don't read the next chunk if sop chunk has eop bit set as well.

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
2 years agoplsdk-2911: align all loadable sections to 16 bytes
Vitaly Andrianov [Mon, 9 Dec 2019 20:42:04 +0000 (15:42 -0500)]
plsdk-2911: align all loadable sections to 16 bytes

remoteproc requires all loadable sections to be 4 bytes align. Due to some
reason it looks like remoteproc needs 8 byte alignment. This commit makes
it 16 bytes. Just in case of future remoteproc updates.

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
2 years agoPRSDK-7489: osal: c66x: fixed the intc initialization for Osal Register Interrupt fxn
Aravind Batni [Fri, 3 Jan 2020 14:53:37 +0000 (09:53 -0500)]
PRSDK-7489: osal: c66x: fixed the intc initialization for Osal Register Interrupt fxn

Signed-off-by: Aravind Batni <aravindbr@ti.com>
2 years agoMerge pull request #120 in PROCESSOR-SDK/pdk from review_AddedCsitxDrvBuildSupport_Vi...
Sivaraj R [Thu, 2 Jan 2020 16:07:35 +0000 (10:07 -0600)]
Merge pull request #120 in PROCESSOR-SDK/pdk from review_AddedCsitxDrvBuildSupport_Vivek to master

* commit '404ab6ec08d16c612ec73455db7ebef8eb156026':
  [CSITX DRV][ADASVISION-3648]Added build support for CSITX FVID2 Driver

2 years agodoxygen issue fix
Prasad Konnur [Thu, 2 Jan 2020 07:35:27 +0000 (13:05 +0530)]
doxygen issue fix

Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
2 years agoPDK-4808 - board/serdes - serdes configuration for SGMII/QSGMII modes
Prasad Jondhale [Mon, 16 Dec 2019 12:11:34 +0000 (17:41 +0530)]
PDK-4808 - board/serdes - serdes configuration for SGMII/QSGMII modes

 - Added SERDES configuration functions on ports used by CPSW9G. The
  functions configure sierra SERDES in SGMII 1Gbps mode and QSGMII at 5
  Gbps mode
 - ADASVISION-3230 is also implemented by this.

Signed-off-by: Prasad Jondhale <prasad.jondhale@ti.com>
2 years agoPDK-4776 - board/ethernet pinmux - Add SGMII/QSGMII pinmux
Prasad Jondhale [Mon, 16 Dec 2019 11:59:17 +0000 (17:29 +0530)]
PDK-4776 - board/ethernet pinmux - Add SGMII/QSGMII pinmux

 - To support various ethernet daughter boards on J7 EVM, created
   multiple pinmux configurations.
 - The application would use any of below combination based on use
   case

=================================================
Mode                Port Mapping                |
             RGMII      RMII     SGMII   QSGMII  |
=================================================
Default     1,2,3,4    5                        |
SGMII       3,4,7,8    NA       2       NA      |
QSGMII      1,3,4,8    NA       NA      2,5,6,7 |
=================================================

Signed-off-by: Prasad Jondhale <prasad.jondhale@ti.com>
2 years agoPDK-4834 - board/ethernet - Change default Ethernet modes
Prasad Jondhale [Mon, 16 Dec 2019 11:57:26 +0000 (17:27 +0530)]
PDK-4834 - board/ethernet - Change default Ethernet modes

 - With QSGMII DB support enabled, the default configuration in
   EthFw/CPSW would be RGMII+QSGMII.
 - Changed MAC mode configuration to support above

Signed-off-by: Prasad Jondhale <prasad.jondhale@ti.com>
2 years ago PDK-4833 - board/ethernet - Make ENET board config external
Prasad Jondhale [Mon, 16 Dec 2019 11:54:36 +0000 (17:24 +0530)]
 PDK-4833 - board/ethernet - Make ENET board config external

 - PHY powerdown function used to reset QSGMII ENET daughter board
   is currently internal function
 - This function is needed for QSGMII PHY configuration. PHY needs to be
   kept in COMA mode before configuration and remove from COMA configuration
   after configuration.
 - Made this function external.

Signed-off-by: Prasad Jondhale <prasad.jondhale@ti.com>
2 years agoPRSDK-7755: BUILD: Set default values for LIM_SOC/LIM_BOARDS/LIM_CORES if unspecified
Mahesh Radhakrishnan [Mon, 30 Dec 2019 17:07:25 +0000 (12:07 -0500)]
PRSDK-7755: BUILD: Set default values for LIM_SOC/LIM_BOARDS/LIM_CORES if unspecified

2 years agoPRSDK-7758:SPI: Adding missing *.lds files to examples
Mahesh Radhakrishnan [Mon, 30 Dec 2019 20:24:15 +0000 (15:24 -0500)]
PRSDK-7758:SPI: Adding missing *.lds files to examples

2 years agoc++ daily build fix
Prasad Konnur [Tue, 24 Dec 2019 09:15:17 +0000 (14:45 +0530)]
c++ daily build fix

 - rm will return error if file not present without -f option

Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
2 years agoBoard: Fix for J7200 EVM board library build error
M V Pratap Reddy [Mon, 23 Dec 2019 21:08:23 +0000 (02:38 +0530)]
Board: Fix for J7200 EVM board library build error

 - J7200 EVM board library files are using pinmux files from J721E EVM board.
   Build for J7200 EVM board library is failing due to the pinmux file name changes
   in j721e evm board sources.

2 years agoPRSDK-7713: UDMA:src/udma Configure channelized firewalls for default proxy
Badri S [Thu, 19 Dec 2019 12:02:44 +0000 (17:32 +0530)]
PRSDK-7713: UDMA:src/udma Configure channelized firewalls for default proxy

Udma uses default proxy that is common across multiple clients
that needs to have the channelized firewalls setup.
Invoke Sciclient to set this up

Signed-off-by: Badri S <badri@ti.com>
2 years agoMerge pull request #72 in PROCESSOR-SDK/pdk from ~A0400828/pdk:prsdk-7564 to master
Mahesh Radhakrishnan [Mon, 23 Dec 2019 14:13:45 +0000 (08:13 -0600)]
Merge pull request #72 in PROCESSOR-SDK/pdk from ~A0400828/pdk:prsdk-7564 to master

* commit '293fd956e6f6c18e6f9d3ba0ed37041b25dbc94f':
  dm fw: prsdk-7564: Don't truncate version string

2 years agoPDK-4799: Board: Corrected current monitor configurations for J7 EVM
M V Pratap Reddy [Wed, 18 Dec 2019 21:56:37 +0000 (03:26 +0530)]
PDK-4799: Board: Corrected current monitor configurations for J7 EVM

2 years agoPDK-4798: board: Updated J7 EVM pinmux data structures & files names to align with...
M V Pratap Reddy [Thu, 19 Dec 2019 14:02:33 +0000 (19:32 +0530)]
PDK-4798: board: Updated J7 EVM pinmux data structures & files names to align with latest pinmux tool

2 years ago[CSITX DRV][ADASVISION-3648]Added build support for CSITX FVID2 Driver
Vivek Dhande [Fri, 20 Dec 2019 18:23:28 +0000 (23:53 +0530)]
[CSITX DRV][ADASVISION-3648]Added build support for CSITX FVID2 Driver

- Added build support for CSITX FVID2 Driver

Signed-off-by: Vivek Dhande <a0132295@ti.com>
2 years agoPRSDK-7661:mmcsd,build: Adding MMCSD buffers to .benchmark buffers
Mahesh Radhakrishnan [Thu, 19 Dec 2019 21:15:00 +0000 (16:15 -0500)]
PRSDK-7661:mmcsd,build: Adding MMCSD buffers to .benchmark buffers

Also, added the missing .benchmark_buffer to some linker command files (
was inconsistent)

2 years agoPRSDK-5544: emac: Fix CPSW use case for 100Mbps link speed
Tinku Mannan [Wed, 18 Dec 2019 18:17:20 +0000 (13:17 -0500)]
PRSDK-5544: emac: Fix CPSW use case for 100Mbps link speed

 need to disable gigabit mode in mac control register when link speed
 is not gigabit

Signed-off-by: Tinku Mannan <tmannan@ti.com>
2 years agoPRSDK-7676: sciclient, board: Fix for printf on c66x + build fix
Piyali Goswami [Thu, 19 Dec 2019 06:57:47 +0000 (12:27 +0530)]
PRSDK-7676: sciclient, board: Fix for printf on c66x + build fix

Fixes for C66x and C7x not using the UART printf

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
2 years agoMerge pull request #109 in PROCESSOR-SDK/pdk from build-fix to master
Sivaraj R [Thu, 19 Dec 2019 05:20:21 +0000 (23:20 -0600)]
Merge pull request #109 in PROCESSOR-SDK/pdk from build-fix to master

* commit '4de890fd3c3000113f7a97ff9a3647490f1658ed':
  PRSDK-7736: sciclient: Fix for unaligned C66x accesses leading to a hang in sciclient APIS
  sciclient: c7x and a72 build fix for 64 bit pointer manipulation

2 years agoPRSDK-7298:uart: Add working DMA-mode test for AM335x platforms
Frank Livingston [Thu, 5 Dec 2019 20:52:03 +0000 (14:52 -0600)]
PRSDK-7298:uart: Add working DMA-mode test for AM335x platforms

2 years agoPRSDK-7736: sciclient: Fix for unaligned C66x accesses leading to a hang in sciclient...
Piyali Goswami [Thu, 19 Dec 2019 03:55:05 +0000 (09:25 +0530)]
PRSDK-7736: sciclient: Fix for unaligned C66x accesses leading to a hang in sciclient APIS

The C66x does not handle unaligned writes well. This causes the flags settings to overwrite the host ID in the header. This leads to some messages with a valid flag value to hang as the message is never sent to the DMSC.

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
2 years agosciclient: c7x and a72 build fix for 64 bit pointer manipulation
Piyali Goswami [Wed, 18 Dec 2019 23:13:16 +0000 (04:43 +0530)]
sciclient: c7x and a72 build fix for 64 bit pointer manipulation

Build fix for 64 bit pointer manipulation

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
2 years agoPRSDK-7227: osal : fixed timer functionality for j721e on main r5 cores
Aravind Batni [Wed, 18 Dec 2019 22:08:09 +0000 (17:08 -0500)]
PRSDK-7227: osal : fixed timer functionality for j721e on main r5 cores

Signed-off-by: Aravind Batni <aravindbr@ti.com>
2 years agoPRSDK-7677 : udma : dru testapp fixed
Prasad Konnur [Wed, 18 Dec 2019 09:47:05 +0000 (15:17 +0530)]
PRSDK-7677 : udma : dru testapp fixed

In case of C66x the interrupt registeration should be done.

Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
2 years agoPRSDK-7725:sciclient:Fix sciclient build failure
Brandon Wetzel [Tue, 17 Dec 2019 01:26:57 +0000 (20:26 -0500)]
PRSDK-7725:sciclient:Fix sciclient build failure

Yocto runs into issues on AM65xx build when the makefile calls "firmwareHeaderGen.sh". It tries to call some certificate generation script, which is in an "unexpected" location when building on Yocto. Fix is to conditionally set that variable so Yocto can take over

2 years agodrv/udma - Build fix for AM65xx
Prasad Jondhale [Wed, 18 Dec 2019 17:49:55 +0000 (23:19 +0530)]
drv/udma - Build fix for AM65xx

 - Fixed macro not found issue introduced by earlier proxy configuration
   patch.

Signed-off-by: Prasad Jondhale <prasad.jondhale@ti.com>
2 years agoprsdk-7627: emac: wait for TX_IDLE before changing speed/duplex mode
Vitaly Andrianov [Fri, 13 Dec 2019 18:45:06 +0000 (13:45 -0500)]
prsdk-7627: emac: wait for TX_IDLE before changing speed/duplex mode

This commit also adds code to IPC to RTU if it wasn't done yet.

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
2 years agoprsdk-7627: emac: add setport state command to PRU
Vitaly Andrianov [Fri, 13 Dec 2019 16:43:00 +0000 (11:43 -0500)]
prsdk-7627: emac: add setport state command to PRU

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
2 years agoprsdk-7627: emac: add set port state to rtu code
Vitaly Andrianov [Fri, 13 Dec 2019 14:41:54 +0000 (09:41 -0500)]
prsdk-7627: emac: add set port state to rtu code

This commit add code to handle set port state mgr command.
It store the command in the dedicated smem location and tell PRU about
that. Then it waits pru finishes the command execution.
Once it is done, it updates own speed_f and sends the response to the host.

This command doesn't handle the set_port_state/disable_port case.
Also the implementation doesn't check validity of the command parameters.
Driver must not set invalid parameters.

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
2 years agoiolink: fix typo error for gpio pin descriptions
Hao Zhang [Wed, 18 Dec 2019 14:46:41 +0000 (09:46 -0500)]
iolink: fix typo error for gpio pin descriptions

Signed-off-by: Hao Zhang <hzhang@ti.com>
2 years agofixed make based build
Prasad Konnur [Wed, 18 Dec 2019 11:59:45 +0000 (17:29 +0530)]
fixed make based build

Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
2 years agoPRSDK-7661: MMCSD: Specifying tx/rx buffers in test application to .bss.tx_buf/.rx_buf
Mahesh Radhakrishnan [Tue, 17 Dec 2019 17:25:29 +0000 (12:25 -0500)]
PRSDK-7661: MMCSD: Specifying tx/rx buffers in test application to .bss.tx_buf/.rx_buf

2 years agoPRSDK-7713: UDMA: soc/src: Call proxy configuration
Prasad Jondhale [Wed, 18 Dec 2019 12:39:23 +0000 (18:09 +0530)]
PRSDK-7713: UDMA: soc/src: Call proxy configuration

 - Call sci-client proxy configuration. This called for configuring
   the channelized firewall.

Signed-off-by: Prasad Jondhale <prasad.jondhale@ti.com>
2 years agoPRSDK-7730: sciclient: Fix for prefix for am65xx SEC_PROXY
Piyali Goswami [Tue, 17 Dec 2019 17:53:41 +0000 (23:23 +0530)]
PRSDK-7730: sciclient: Fix for prefix for am65xx SEC_PROXY

Fixes the additional TISCI in the prefix.

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
2 years agoPRSDK-7713: sciclient: src: Adding TISCI_MSG_RM_PROXY_CFG API
Piyali Goswami [Tue, 17 Dec 2019 17:27:00 +0000 (22:57 +0530)]
PRSDK-7713: sciclient: src: Adding TISCI_MSG_RM_PROXY_CFG API

Added a new API for proxy configuration. This should be called for configuring the channelized firewall.

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
2 years agoPRSDK-7712: sciclient:src: Fix for unaligned resp would overwrite stack memory
Piyali Goswami [Mon, 16 Dec 2019 16:45:36 +0000 (22:15 +0530)]
PRSDK-7712: sciclient:src: Fix for unaligned resp would overwrite stack memory

Fixes the issue where stack is getting corrupted when the API tries to write to a response which is not word aligned.

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
2 years agoPRSDK-7720 sciclient:src: Update to request parameters which should not be NULL
Piyali Goswami [Mon, 16 Dec 2019 14:41:41 +0000 (20:11 +0530)]
PRSDK-7720 sciclient:src: Update to request parameters which should not be NULL

Fixes the issues with parameters being NULL when sending a request parameter

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
2 years agoPRSDK-7731:icss-emac:STP switch support for per-port MAC addresses
Brandon Wetzel [Tue, 17 Dec 2019 19:58:12 +0000 (14:58 -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).

Updated test application to print FDB when receive packet destined to/from test MAC addresses (previously only printed on one test MAC address, this allows for more robust testing)

2 years agopdk: PRSDK-7673: fix c7x test example failures
Hao Zhang [Tue, 17 Dec 2019 14:51:47 +0000 (09:51 -0500)]
pdk: PRSDK-7673: fix c7x test example failures

Remove CSL_c7xSecSupv2NonSecSupv() from application since
C7x needs to be in secure supervisor mode for C7x cache to
be effectively enabled.

Signed-off-by: Hao Zhang <hzhang@ti.com>