]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/emac-lld.git/log
keystone-rtos/emac-lld.git
4 years agoChanges to reflect PORT Mac address in Port2 (Slice1) DEV.PRU-ICSS-PROFINET-SWITCH_02.01.00.09.RC9
Prajith [Tue, 27 Aug 2019 13:49:10 +0000 (19:19 +0530)]
Changes to reflect PORT Mac address in Port2 (Slice1)

4 years agoModification to configure Mac addresses in both ICSS
Prajith [Tue, 27 Aug 2019 11:08:59 +0000 (16:38 +0530)]
Modification to configure Mac addresses in both ICSS

4 years agoBugfixes for RGMII_CFG when both ports are negotiated different speeds DEV.PRU-ICSS-PROFINET-SWITCH_02.01.00.09.RC5
Pratheesh Gangadhar [Fri, 16 Aug 2019 07:37:03 +0000 (13:07 +0530)]
Bugfixes for RGMII_CFG when both ports are negotiated different speeds

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
4 years agoRGMII config bugfix for when both ports have negotiated different speeds
Pratheesh Gangadhar [Fri, 16 Aug 2019 05:24:38 +0000 (10:54 +0530)]
RGMII config bugfix for when both ports have negotiated different speeds

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
4 years agoRemoving EMAC_IOCTL_CONFIGURE_MSMC_BASEADDRESS and mem_map updates
Pratheesh Gangadhar [Thu, 15 Aug 2019 09:03:39 +0000 (14:33 +0530)]
Removing EMAC_IOCTL_CONFIGURE_MSMC_BASEADDRESS and mem_map updates

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
4 years agoUpdate firmware headers. Fix emac_soc.c offset issues
Pratheesh Gangadhar [Wed, 14 Aug 2019 10:13:04 +0000 (15:43 +0530)]
Update firmware headers. Fix emac_soc.c offset issues

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
4 years agoRevert "replacing tab by space."
Pratheesh Gangadhar [Tue, 13 Aug 2019 17:55:07 +0000 (23:25 +0530)]
Revert "replacing tab by space."

This reverts commit 83dcb5385d42bedf8fe6ca792e5f4209771990a1.

# Conflicts:
# src/v5/emac_ioctl.c

4 years agoRevert "Aligning switch_mem_map.h headers"
Pratheesh Gangadhar [Tue, 13 Aug 2019 17:48:59 +0000 (23:18 +0530)]
Revert "Aligning switch_mem_map.h headers"

This reverts commit 4a93bb6c4e391a7da43d75b6f357af33544f1ea5.

4 years agoAligning switch_mem_map.h headers
Pratheesh Gangadhar [Mon, 12 Aug 2019 09:51:44 +0000 (15:21 +0530)]
Aligning switch_mem_map.h headers

4 years agoOptimizations to emac_poll using PHYSTS register - see 3.7x reduction in worst case... DEV.PRU-ICSS-PROFINET-SWITCH_02.01.00.09.RC4
Pratheesh Gangadhar [Sat, 10 Aug 2019 13:27:08 +0000 (18:57 +0530)]
Optimizations to emac_poll using PHYSTS register - see 3.7x reduction in worst case time to 145us

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
4 years agoPRSDK-6254 back porting to Processor SDK 5.2 baseline
Pratheesh Gangadhar [Sat, 10 Aug 2019 07:02:01 +0000 (12:32 +0530)]
PRSDK-6254 back porting to Processor SDK 5.2 baseline

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
4 years agoMerge Tinku's fixes from 6b1e6b9a748d66c8f136074285fadad621720c91
Pratheesh Gangadhar [Fri, 9 Aug 2019 17:13:01 +0000 (22:43 +0530)]
Merge Tinku's fixes from 6b1e6b9a748d66c8f136074285fadad621720c91

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
4 years agoFixes from Tinku's 654b97f85f4
Pratheesh Gangadhar [Thu, 8 Aug 2019 21:44:36 +0000 (03:14 +0530)]
Fixes from Tinku's 654b97f85f4

Not fully functional due to RGMII CFG issue for interposer card

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
4 years agoBugfixes identified for 100M during testing
Pratheesh Gangadhar [Thu, 8 Aug 2019 08:14:07 +0000 (13:44 +0530)]
Bugfixes identified for 100M during testing

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
4 years agoFixing switch test application build issue
Pratheesh Gangadhar [Thu, 8 Aug 2019 03:29:46 +0000 (08:59 +0530)]
Fixing switch test application build issue

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
4 years agoChanging TXIPG @ 1G to 104 ns, fixing comments
Pratheesh Gangadhar [Thu, 8 Aug 2019 02:53:10 +0000 (08:23 +0530)]
Changing TXIPG @ 1G to 104 ns, fixing comments

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
4 years agoMerge remote-tracking branch 'remotes/origin/dev_emac_lld_pn_tsn_fdb_ageing_ioctl...
Pratheesh Gangadhar [Wed, 7 Aug 2019 18:57:18 +0000 (00:27 +0530)]
Merge remote-tracking branch 'remotes/origin/dev_emac_lld_pn_tsn_fdb_ageing_ioctl' into dev_emac_lld_pntsn_inc2_release

# Conflicts:
# src/v5/emac_drv_v5.c

4 years agoBack porting PRSDK-6229
Pratheesh Gangadhar [Wed, 7 Aug 2019 12:53:26 +0000 (18:23 +0530)]
Back porting PRSDK-6229

am65xx: Use SOC configuration base addresses instead of local copy in drv

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
4 years agoBack porting PRSDK-3817 to Processor SDK 5.2 baseline
Pratheesh Gangadhar [Wed, 7 Aug 2019 11:05:40 +0000 (16:35 +0530)]
Back porting PRSDK-3817 to Processor SDK 5.2 baseline

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
4 years agoMerge remote-tracking branch 'remotes/origin/dev_a0230313_emac_PINDSW_3340' into...
Pratheesh Gangadhar [Tue, 6 Aug 2019 14:13:48 +0000 (19:43 +0530)]
Merge remote-tracking branch 'remotes/origin/dev_a0230313_emac_PINDSW_3340' into dev_emac_lld_pntsn_inc2_release

4 years agoreplacing tab by space.
shubham [Tue, 30 Jul 2019 11:44:50 +0000 (17:14 +0530)]
replacing tab by space.

4 years agoPINDSW-3480
shubham [Tue, 30 Jul 2019 09:26:52 +0000 (14:56 +0530)]
PINDSW-3480

4 years agoPRSDK-6253-Added IOCTL to configure ageing timeout.Default configuration of the time...
Prajith [Mon, 29 Jul 2019 07:32:19 +0000 (13:02 +0530)]
PRSDK-6253-Added IOCTL to configure ageing timeout.Default configuration of the time out value added in init code

4 years agoMerge remote-tracking branch 'remotes/origin/dev_emac_lld_pntsn_inc2_release' into...
Prajith [Tue, 23 Jul 2019 11:20:37 +0000 (16:50 +0530)]
Merge remote-tracking branch 'remotes/origin/dev_emac_lld_pntsn_inc2_release' into dev_emac_lld_pn_tsn_fdb_ageing_ioctl

# Conflicts:
# emac_drv.h
# emac_ioctl.h

4 years agoMerge remote-tracking branch 'remotes/origin/review_PRSDK-5868' into dev_emac_lld_pnt... DEV.PRU-ICSS-PROFINET-SWITCH_02.01.00.09.RC2
Pratheesh Gangadhar [Wed, 17 Jul 2019 17:42:25 +0000 (23:12 +0530)]
Merge remote-tracking branch 'remotes/origin/review_PRSDK-5868' into dev_emac_lld_pntsn_inc2_release

4 years agoam65xx: Unit test update for trace utility integration
Tinku Mannan [Fri, 12 Jul 2019 19:50:48 +0000 (15:50 -0400)]
am65xx: Unit test update for trace utility integration

 register trace callback with emac driver
 update configuration files re-direct system output to UART
 unit test fixes.

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoam65xx: Adding debug trace support in emac driver
Tinku Mannan [Wed, 10 Jul 2019 20:29:17 +0000 (16:29 -0400)]
am65xx: Adding debug trace support in emac driver

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoam65xx: Unit test update to verify packet less than 60 bytes is zero padded
Tinku Mannan [Wed, 3 Jul 2019 13:08:23 +0000 (09:08 -0400)]
am65xx: Unit test update to verify packet less than 60 bytes is zero padded

 packet send via emac_send which is less than 60 bytes will be zero padded
 upto 60 bytes and packet length will be set to 60 bytes by the driver at
 time of emac_send.

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoicss_dualmac: makeversions: limit version string to 32 bytes DEV.EMAC_LLD.01.00.03.16C
Jacob Stiffler [Tue, 2 Jul 2019 19:45:53 +0000 (15:45 -0400)]
icss_dualmac: makeversions: limit version string to 32 bytes

* It has been observed that 33 bytes breaks functionality.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
4 years agoNeed to memory map NBO CFG registers for A53 DEV.EMAC_LLD.01.00.03.16B
Tinku Mannan [Fri, 28 Jun 2019 19:16:16 +0000 (15:16 -0400)]
Need to memory map NBO CFG registers for A53

4 years agoam65xx: Update to sync with pruss driver DEV.EMAC_LLD.01.00.03.16A
Tinku Mannan [Thu, 27 Jun 2019 18:57:55 +0000 (14:57 -0400)]
am65xx: Update to sync with pruss driver

 PRUICSS_create needs to be called with PRUICCSS_INSTANCE_THREE
 for 3rd instance.

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoAdditional Design doc update DEV.EMAC_LLD.01.00.03.16 DEV.PROCESSOR-SDK.06.00.00.05
Tinku Mannan [Wed, 26 Jun 2019 14:24:31 +0000 (10:24 -0400)]
Additional Design doc update

4 years agoDesign doc update
Tinku Mannan [Wed, 26 Jun 2019 13:46:26 +0000 (09:46 -0400)]
Design doc update

4 years agoAligning to master branch REL.PRU-ICSS-PROFINET-SWITCH_02.01.00.08
Pratheesh Gangadhar [Tue, 25 Jun 2019 19:54:25 +0000 (01:24 +0530)]
Aligning to master branch

4 years agoAligning to the latest firmware
Pratheesh Gangadhar [Tue, 25 Jun 2019 11:32:45 +0000 (17:02 +0530)]
Aligning to the latest firmware

4 years agoMerge remote-tracking branch 'remotes/origin/master' into dev_emac_lld_pntsn_inc2_release
Pratheesh Gangadhar [Tue, 25 Jun 2019 10:57:50 +0000 (16:27 +0530)]
Merge remote-tracking branch 'remotes/origin/master' into dev_emac_lld_pntsn_inc2_release

4 years agoMerge remote-tracking branch 'remotes/origin/dev_emac_lld_pntsn_inc2_release_PRSDK...
Pratheesh Gangadhar [Tue, 25 Jun 2019 10:57:11 +0000 (16:27 +0530)]
Merge remote-tracking branch 'remotes/origin/dev_emac_lld_pntsn_inc2_release_PRSDK-6024' into dev_emac_lld_pntsn_inc2_release

4 years agoPRSDK-6024:Added review comments
Prajith [Tue, 25 Jun 2019 06:24:13 +0000 (11:54 +0530)]
PRSDK-6024:Added review comments

4 years agoPRSDK-6024:Fixed build issues. Other fixes
Prajith [Tue, 25 Jun 2019 05:11:53 +0000 (10:41 +0530)]
PRSDK-6024:Fixed build issues. Other fixes

4 years agoRelease notes and version update for 6.0
Tinku Mannan [Mon, 24 Jun 2019 13:19:54 +0000 (09:19 -0400)]
Release notes and version update for 6.0

4 years agoUpdates to align with the latest firmware
Pratheesh Gangadhar [Sat, 22 Jun 2019 18:36:27 +0000 (00:06 +0530)]
Updates to align with the latest firmware

4 years agoam57xx: Fix in tx enqueue logic
Tinku Mannan [Fri, 21 Jun 2019 20:43:19 +0000 (16:43 -0400)]
am57xx: Fix in tx enqueue logic

 to allow enqueing of  multiple descriptors to DMA for transmission in
 1 shot
 minor cleanup

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoam65xx: Zero pad transmit packet that is less than 60 bytes
Tinku Mannan [Fri, 21 Jun 2019 15:13:29 +0000 (11:13 -0400)]
am65xx: Zero pad transmit packet that is less than 60 bytes

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agodual mac F/W: fix out of order SCHED_CHECK_DMA bug
Vitaly Andrianov [Thu, 20 Jun 2019 13:56:17 +0000 (09:56 -0400)]
dual mac F/W: fix out of order SCHED_CHECK_DMA bug

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
4 years agodual_mac F/W: remove unused code for buffers used by switch
Vitaly Andrianov [Thu, 20 Jun 2019 12:26:06 +0000 (08:26 -0400)]
dual_mac F/W: remove unused code for buffers used by switch

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
4 years agodual_mac F/W: update buffer pool tail with disabled TM
Vitaly Andrianov [Thu, 20 Jun 2019 12:23:22 +0000 (08:23 -0400)]
dual_mac F/W: update buffer pool tail with disabled TM

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
4 years agoAdded IOCTL to configure MSMC base address
Prajith [Fri, 21 Jun 2019 06:01:09 +0000 (11:31 +0530)]
Added IOCTL to configure MSMC base address

4 years agoAM57xx: emac: Fix for sending packet out of directed port
Tinku Mannan [Thu, 20 Jun 2019 18:51:54 +0000 (14:51 -0400)]
AM57xx: emac: Fix for sending packet out of directed port

 Need to update the TO_PORT_EN and TO_PORT fields of TX buffer descriptor
 when directing packet of of specified port.

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoK2G: Fix cache primitive call for packet RX for DSP use case
Tinku Mannan [Wed, 19 Jun 2019 15:03:02 +0000 (11:03 -0400)]
K2G: Fix cache primitive call for packet RX for DSP use case

 Need to invalidate the descriptor prior to invalidating the buffer
 Need to perform cache primitives on descriptor and buffer
 when replenishing RX free queue

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoPRSDK-5812 Addressing Review comments
Sinthu Raja M [Mon, 17 Jun 2019 14:14:15 +0000 (19:44 +0530)]
PRSDK-5812 Addressing Review comments

 Move local to global conversion func to SOC specific file from driver.
 Add a function pointer for local to global cache function to the
 hwAttrs sturcture.
 Update driver functions to use the hwAttrs function pointer for
 converting any local to global cache address.

4 years agoFix local to global address conversion
Ding [Fri, 10 May 2019 17:20:15 +0000 (13:20 -0400)]
Fix local to global address conversion

4 years agoFixing a compilation issue identified DEV.PRU-ICSS-PROFINET-SWITCH_02.01.00.08.RC2
Pratheesh Gangadhar TK [Mon, 17 Jun 2019 11:36:20 +0000 (06:36 -0500)]
Fixing a compilation issue identified

4 years agoAccounting for non-zero MSMC_START_OFFSET
Pratheesh Gangadhar TK [Mon, 17 Jun 2019 03:38:49 +0000 (22:38 -0500)]
Accounting for non-zero MSMC_START_OFFSET

4 years agoEMAC was using incorrect port q size macro.
Vineet Roy [Fri, 14 Jun 2019 15:05:26 +0000 (17:05 +0200)]
EMAC was using incorrect port q size macro.

MSMC_END_OFFSET includes all MSMC memory and not just Tx Q usage

4 years agoMerge remote-tracking branch 'remotes/origin/dev_emac_lld_pn_tsn_incorrect_macro_for_...
Pratheesh Gangadhar [Mon, 17 Jun 2019 11:43:10 +0000 (17:13 +0530)]
Merge remote-tracking branch 'remotes/origin/dev_emac_lld_pn_tsn_incorrect_macro_for_port_q_size' into dev_emac_lld_pntsn_inc2_release

4 years agoFixing a compilation issue identified
Pratheesh Gangadhar TK [Mon, 17 Jun 2019 11:36:20 +0000 (06:36 -0500)]
Fixing a compilation issue identified

4 years agoMerge remote-tracking branch 'remotes/origin/dev_emac_lld_pn_tsn_incorrect_macro_for_...
Pratheesh Gangadhar [Mon, 17 Jun 2019 08:33:59 +0000 (14:03 +0530)]
Merge remote-tracking branch 'remotes/origin/dev_emac_lld_pn_tsn_incorrect_macro_for_port_q_size' into dev_emac_lld_pntsn_inc2_release

4 years agoAccounting for non-zero MSMC_START_OFFSET
Pratheesh Gangadhar TK [Mon, 17 Jun 2019 03:38:49 +0000 (22:38 -0500)]
Accounting for non-zero MSMC_START_OFFSET

4 years agoEMAC was using incorrect port q size macro.
Vineet Roy [Fri, 14 Jun 2019 15:05:26 +0000 (17:05 +0200)]
EMAC was using incorrect port q size macro.

MSMC_END_OFFSET includes all MSMC memory and not just Tx Q usage

4 years agoMerge remote-tracking branch 'remotes/origin/review_PRSDK-5955' into dev_emac_lld_pnt...
Pratheesh Gangadhar [Fri, 14 Jun 2019 14:53:27 +0000 (20:23 +0530)]
Merge remote-tracking branch 'remotes/origin/review_PRSDK-5955' into dev_emac_lld_pntsn_inc2_release

4 years agoEnabling FDB ageing timeout IOCTL - Part 1
Vineet Roy [Fri, 14 Jun 2019 14:19:14 +0000 (16:19 +0200)]
Enabling FDB ageing timeout IOCTL - Part 1

1. Partial changes to enable FDB ageing IOCTL.
2. Changes not yet compiled

4 years agoam65xx: Fix link status being returned for 2nd port of ICSSG instance
Tinku Mannan [Fri, 14 Jun 2019 14:13:31 +0000 (10:13 -0400)]
am65xx: Fix link status being returned for 2nd port of ICSSG instance

 When polling for link status of 2nd port of ICSSG instance, phy address
 of 1st port was being used.
 cleanup of mdio implementation in driver

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoremove unused code from TX_ERR handler
Vitaly Andrianov [Thu, 13 Jun 2019 13:13:05 +0000 (09:13 -0400)]
remove unused code from TX_ERR handler

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
4 years agoMerge remote-tracking branch 'remotes/origin/master' into dev_emac_lld_pntsn_inc2_release
Pratheesh Gangadhar [Thu, 13 Jun 2019 01:17:51 +0000 (06:47 +0530)]
Merge remote-tracking branch 'remotes/origin/master' into dev_emac_lld_pntsn_inc2_release

# Conflicts:
# test/EmacLoopbackTest/test_utils_switch_k3.c

4 years agoam65xx: Unit test update for testing directed packet on specific port
Tinku Mannan [Wed, 12 Jun 2019 20:27:54 +0000 (16:27 -0400)]
am65xx: Unit test update for testing directed packet on specific port

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoam65xx; IOCTL command buffers need to cache size aligned for R5 use case
Tinku Mannan [Wed, 12 Jun 2019 18:12:04 +0000 (14:12 -0400)]
am65xx; IOCTL command buffers need to cache size aligned for R5 use case

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoam65xx: Unit test updates to for TX port queue check verification
Tinku Mannan [Tue, 11 Jun 2019 21:33:07 +0000 (17:33 -0400)]
am65xx: Unit test updates to for TX port queue check verification

 increased size of port queue array allocated from MSMC per latest
 ICSSG switch FW requirements.
 Moved port queue allocation to MSMC_SRAM from MSMC_SRAM_H

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoam65xx: Adding TX port queue size field to EMAC_FW_APP_CONFIG
Tinku Mannan [Tue, 11 Jun 2019 21:31:07 +0000 (17:31 -0400)]
am65xx: Adding TX port queue size field to EMAC_FW_APP_CONFIG

 passed in at time of emac_open to perform TX port queue size check to
 ensure there is enough memory provided by the app to configure ICSSG
 SWITCH host/port and host egress queues.

 Adding macro to define port queue size per instance

4 years agoModifying Switch mem map REL.PRU-ICSS-PROFINET-SWITCH_02.01.00.07
Vineet Roy [Wed, 12 Jun 2019 14:12:49 +0000 (16:12 +0200)]
Modifying Switch mem map

Previous commit failed to update the change

4 years agoUpdating firmware headers
Pratheesh Gangadhar [Wed, 12 Jun 2019 13:54:38 +0000 (19:24 +0530)]
Updating firmware headers

4 years agoam65xx: Unit test updates to for TX port queue check verification
Tinku Mannan [Tue, 11 Jun 2019 21:33:07 +0000 (17:33 -0400)]
am65xx: Unit test updates to for TX port queue check verification

 increased size of port queue array allocated from MSMC per latest
 ICSSG switch FW requirements.
 Moved port queue allocation to MSMC_SRAM from MSMC_SRAM_H

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoam65xx: Adding TX port queue size field to EMAC_FW_APP_CONFIG
Tinku Mannan [Tue, 11 Jun 2019 21:31:07 +0000 (17:31 -0400)]
am65xx: Adding TX port queue size field to EMAC_FW_APP_CONFIG

 passed in at time of emac_open to perform TX port queue size check to
 ensure there is enough memory provided by the app to configure ICSSG
 SWITCH host/port and host egress queues.

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoPRSDk-4453 Update config file to be generic for SMP and non SMP mode
Sinthu Raja M [Mon, 27 May 2019 06:11:54 +0000 (11:41 +0530)]
PRSDk-4453 Update config file to be generic for SMP and non SMP mode

 Update makefile to invoke top level SMp config for SMP test cases.
 Update AM572x EVM cfg file to be generic for both SMp and non SMP test
 case

4 years agoPRSDK-4453 Addressing review comments
Sinthu Raja M [Tue, 21 May 2019 09:29:36 +0000 (14:59 +0530)]
PRSDK-4453 Addressing review comments

 Removed redundant config file for Audio loopback SMP example.
 Update existing config file to enable support for SMP and non SMP
 mode.

4 years agoPRSDK-4453 Update libProfile inline with makefile BUILD_PROFILE macro
Sinthu Raja M [Mon, 20 May 2019 05:15:48 +0000 (10:45 +0530)]
PRSDK-4453 Update libProfile inline with makefile BUILD_PROFILE macro

 Remove hardcoded library profile for the driver components
 Update config file to get library profile from the makefile macros

4 years agoPRSDK-4453 Add SMP enabled support for A53 core
Sinthu Raja M [Fri, 17 May 2019 08:59:53 +0000 (14:29 +0530)]
PRSDK-4453 Add SMP enabled support for A53 core

 Update makefile and component makefile to add entry for SMP enabled
 examples

4 years agoPRSDK-4453 Add SMP enabled BIOS project for AM572x EVM
Sinthu Raja M [Thu, 16 May 2019 06:13:03 +0000 (11:43 +0530)]
PRSDK-4453 Add SMP enabled BIOS project for AM572x EVM

 Add project text file and RTSC config file for SMP enabled Test project

4 years agoPRSDK-4453 Update config file to remove board dependancy
Sinthu Raja M [Tue, 14 May 2019 10:13:09 +0000 (15:43 +0530)]
PRSDK-4453 Update config file to remove board dependancy

 Update config file to remove board and SCI components to remove board
 name dependency.

4 years agoPRSDK-4453 Update RTSC config file to load PDK components
Sinthu Raja M [Mon, 13 May 2019 06:27:44 +0000 (11:57 +0530)]
PRSDK-4453 Update RTSC config file to load PDK components

 Update UART example/test RTSC config file ti load PDK driver components
 and OSAL package during compilation.

4 years agoam65xx: firmware: makefile: fix clean command for windows build
Vitaly Andrianov [Tue, 11 Jun 2019 12:11:20 +0000 (08:11 -0400)]
am65xx: firmware: makefile: fix clean command for windows build

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
4 years agoam65xx: Need to free back descriptors from MGMT2 free channel.
Tinku Mannan [Wed, 5 Jun 2019 14:48:01 +0000 (10:48 -0400)]
am65xx: Need to free back descriptors from MGMT2 free channel.

 Update includes to not free packet descriptor back to application for
 tx completion processing when TX completion is a result of sending MGMT
 request to firmware.

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoam65xx: Enabling testing of TX TS for ICSSG SWITCH use case
Tinku Mannan [Thu, 6 Jun 2019 14:46:37 +0000 (10:46 -0400)]
am65xx: Enabling testing of TX TS for ICSSG SWITCH use case

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoam65xx: Updating to use latest ICSSG SWITCH firmware headers
Tinku Mannan [Thu, 6 Jun 2019 14:44:38 +0000 (10:44 -0400)]
am65xx: Updating to use latest ICSSG SWITCH firmware headers

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoam65xx: test app updates to verify IOCTL commands.
Tinku Mannan [Wed, 5 Jun 2019 21:12:52 +0000 (17:12 -0400)]
am65xx: test app updates to verify IOCTL commands.

 added test to add upto max vlan entries to vlan table.
 added counters to sync alloc and free pkt callbacks.
 minor cleanup.

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoam65xx: Fix return value of IOCTL command reqeust when IOCTL command fails.
Tinku Mannan [Wed, 5 Jun 2019 21:11:17 +0000 (17:11 -0400)]
am65xx: Fix return value of IOCTL command reqeust when IOCTL command fails.

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agodm firmware: set TX timestamp valid bit
Vitaly Andrianov [Wed, 5 Jun 2019 14:35:25 +0000 (10:35 -0400)]
dm firmware:  set TX timestamp valid bit

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
4 years agoimplement TX_ERR handler
Vitaly Andrianov [Wed, 5 Jun 2019 14:01:22 +0000 (10:01 -0400)]
implement TX_ERR handler

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
4 years agoAdding ts_valid flag to tx_ts callback
Manmohan Mandhana [Thu, 30 May 2019 16:03:06 +0000 (21:33 +0530)]
Adding ts_valid flag to tx_ts callback

4 years agoam65xx: EMAC driver fixes
Tinku Mannan [Fri, 31 May 2019 15:47:35 +0000 (11:47 -0400)]
am65xx: EMAC driver fixes

 Fix port number used to poll for tx completion events for switch events
 Fix in emac open for check for getFwCfg function pointer

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoam65xx: Use MSMC3_H section for ICSSG firmware port queues
Tinku Mannan [Thu, 30 May 2019 17:45:13 +0000 (13:45 -0400)]
am65xx: Use MSMC3_H section for ICSSG firmware port queues

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoam65xx: Test update to include emac_close API call.
Tinku Mannan [Wed, 29 May 2019 21:45:35 +0000 (17:45 -0400)]
am65xx: Test update to include emac_close API call.

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoam65xx: IOCTL command structs stored as part of emac mcb
Tinku Mannan [Wed, 29 May 2019 21:45:07 +0000 (17:45 -0400)]
am65xx: IOCTL command structs stored as part of emac mcb

 removed stack reference to IOCTL command structs and
 using ones as part of emac mcb.

Signed-off-by: Tinku Mannan <tmannan@ti.com>
4 years agoam65xx:Free pkt descriptors back to app at time of emac_close
Tinku Mannan [Wed, 29 May 2019 21:43:19 +0000 (17:43 -0400)]
am65xx:Free pkt descriptors back to app at time of emac_close

 Update includes cleanup of emac_drv_v5.h

4 years agoPINDSW-3266
shubham [Tue, 28 May 2019 09:54:15 +0000 (15:24 +0530)]
PINDSW-3266
PVID = 0x0FFE is also not accepted.

4 years agoPINDSW-3266
shubham [Mon, 27 May 2019 10:55:36 +0000 (16:25 +0530)]
PINDSW-3266
Fixing DUT is accepting VIDs = 0x000 while it should be from 1 to 4094

4 years agoPRE_EMPTION_ADD_FRAG_SIZE_LOCAL offset is assigned only one byte, making correspondin...
shubham [Thu, 23 May 2019 18:35:42 +0000 (00:05 +0530)]
PRE_EMPTION_ADD_FRAG_SIZE_LOCAL offset is assigned only one byte, making corresponding changes in driver.

4 years agoAligning to the latest version of switch_mem_map.h
Pratheesh Gangadhar [Thu, 23 May 2019 17:18:56 +0000 (22:48 +0530)]
Aligning to the latest version of switch_mem_map.h

4 years agoIncorporating review comments to remove doc reference
Vineet Roy [Thu, 23 May 2019 14:46:40 +0000 (20:16 +0530)]
Incorporating review comments to remove doc reference

4 years agoChanges to FDB IOCTL
Vineet Roy [Thu, 23 May 2019 14:38:28 +0000 (20:08 +0530)]
Changes to FDB IOCTL

1. There can now be two FID_C2 values for two ports
2. Earlier assumption was that the FDI_C2 value for both ports would be
identical but that's not correct

4 years agoUpdate memmap headers to align with firmware
Pratheesh Gangadhar [Thu, 23 May 2019 11:09:50 +0000 (16:39 +0530)]
Update memmap headers to align with firmware

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>