processor-sdk/pdk.git
23 months agoPDK-5910: Additional cleanup in ESM example app.
Danny Jochelson [Fri, 10 Jul 2020 02:28:15 +0000 (21:28 -0500)]
PDK-5910: Additional cleanup in ESM example app.

Removed extraneous lines in makefile.
Added additionally needed PACKAGES_SRCS_COMMON paths.

23 months agoPRSDK-6981: MB LLD: AM64x: Updates to support usage from IPC LLD
Angela Stegmaier [Tue, 30 Jun 2020 21:17:33 +0000 (16:17 -0500)]
PRSDK-6981: MB LLD: AM64x: Updates to support usage from IPC LLD

To support usage from IPC LLD, checks for certain osal
functions used by Mailbox LLD are moved to be checked
only if they are to be used by Mailbox LLD. For example,
certain osal functions were used only by TPR12, or only
for certain write/read modes. The checks for valid
function is then moved to be checked only if they will
be used.

Additionally, the missing Mailbox_deinit API is added,
and a minor documentation fix for the osal registerIntr
function.

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
23 months agoPRSDK-6981: IPC: Add AM64x Support
Angela Stegmaier [Mon, 29 Jun 2020 19:00:21 +0000 (14:00 -0500)]
PRSDK-6981: IPC: Add AM64x Support

This patch adds support for the AM64X SoC for baremetal and
SysBIOS. Examples for the following cores and OSes are
provided:

Baremetal: R5Fs and M4F (no A53)
SysBIOS: R5Fs and A53 (no M4F)

This patch also enables the following examples:
ex02_baremetal_multicore_echo_test
ex02_bios_multicore_echo_test

This patch enables the ipc_echo_test build as well, but validation
with is not yet performed.

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
23 months agoPRSDK-7949: IPC: test: Add j721e baremetal tests for r5f cores
Angela Stegmaier [Wed, 24 Jun 2020 20:20:55 +0000 (15:20 -0500)]
PRSDK-7949: IPC: test: Add j721e baremetal tests for r5f cores

Add the test files needed for J721E baremetal IPC echo tests.

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
23 months agoPRSDK-7949: IPC: tests: enable baremetal test for linux and non-linux test variants
Angela Stegmaier [Fri, 19 Jun 2020 17:17:23 +0000 (12:17 -0500)]
PRSDK-7949: IPC: tests: enable baremetal test for linux and non-linux test variants

Move the common baremetal testsetup code to the common test src
folder, and enable the ex02 and ipc_echo tests for building
for baremetal as well.

Update baremetal test to do communicate with peer cores for ex02 test.

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
23 months agoPRSDK-7949: IPC: echo_test: Update ex04 baremetal test to use default osal
Angela Stegmaier [Thu, 11 Jun 2020 21:41:01 +0000 (16:41 -0500)]
PRSDK-7949: IPC: echo_test: Update ex04 baremetal test to use default osal

Update the test to use the default osal abstraction for baremetal.
Also update test to build for mcu1_1 for am65x.

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
23 months agoPDK-5593: IPCLLD: Support OSAL Abstraction for Baremetal
Angela Stegmaier [Thu, 11 Jun 2020 19:37:39 +0000 (14:37 -0500)]
PDK-5593: IPCLLD: Support OSAL Abstraction for Baremetal

Previously OSAL params for baremetal had to be completely
provided by the application. A proper osal abstraction supported
directly from IPC LLD contributes to ease of use for the
application. The osal params can still be overridden by
the user-supplied params, but in case nothing is provided,
defaults are selected for baremetal case.

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
23 months ago[PDK-5675] UDMA UT- AM64xP Porting : Added new testcase for mapped flows
Don Dominic [Thu, 9 Jul 2020 09:39:12 +0000 (15:09 +0530)]
[PDK-5675] UDMA UT- AM64xP Porting : Added new testcase for mapped flows

-New testcase (PDK-7034) added to udma_test_flow.c
-Mapped Flow attach and detach API test case

Signed-off-by: Don Dominic <a0486429@ti.com>
23 months agoRevert "[PDK-5675] UDMA UT- AM64xP Porting : Updates in test_flow.c related to mappe...
Don Dominic [Thu, 9 Jul 2020 05:23:08 +0000 (10:53 +0530)]
Revert "[PDK-5675] UDMA UT- AM64xP Porting :  Updates in test_flow.c related to mapped flows"

This reverts commit a3972d0ba0990960e010ea9011af06ac05be6879.

23 months agoRevert "[PDK-5675] UDMA UT- AM64xP Porting : Buid Issue Fix"
Don Dominic [Thu, 9 Jul 2020 05:22:45 +0000 (10:52 +0530)]
Revert "[PDK-5675] UDMA UT- AM64xP Porting : Buid Issue Fix"

This reverts commit e1942ab8958e709d72a4ef2d464a0525d6267fc0.

23 months agoSciclient: Update to latest SYSFW v2020.05 binaries and J7VCL WKUP Binaries
Piyali Goswami [Thu, 9 Jul 2020 04:00:11 +0000 (09:30 +0530)]
Sciclient: Update to latest SYSFW v2020.05 binaries and J7VCL WKUP Binaries

Updated to the latest SYSFW and J7VCL wakeup binaries

Fixes: PDK-7025

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
23 months agoPDK-7033: Small cleanup of SDR.
Danny Jochelson [Wed, 8 Jul 2020 15:52:51 +0000 (10:52 -0500)]
PDK-7033: Small cleanup of SDR.

Moved common C and assembly files used for both J721E and AM65 to a
common directory ("r5" directory).
Confirmed both J721E and AM65 SDR tests build properly.
Confirmed J721E tests still run properly on EVM.

23 months agoUpdate .gitignore to include icssg_dual mac fw bin dir
Tinku Mannan [Wed, 8 Jul 2020 16:45:21 +0000 (12:45 -0400)]
Update .gitignore to include icssg_dual mac fw bin dir

23 months agoPDK-5910: Small cleanup in ESM example app.
Danny Jochelson [Wed, 8 Jul 2020 14:33:36 +0000 (09:33 -0500)]
PDK-5910: Small cleanup in ESM example app.

Removed extra debug prints in makefile.
Cleaned up J721E linker command file.

23 months agoAdd J7200 support
Prasad Jondhale [Wed, 8 Jul 2020 10:38:31 +0000 (16:08 +0530)]
Add J7200 support

Signed-off-by: Prasad Jondhale <prasad.jondhale@ti.com>
23 months ago[PDK-6892] UDMA: Update default Ring ASEL (address select) to physical address
Don Dominic [Wed, 8 Jul 2020 12:23:58 +0000 (17:53 +0530)]
[PDK-6892] UDMA: Update default Ring ASEL (address select) to physical address

-By default the asel value will be intialized to UDMA_RINGACC_ASEL_ENDPOINT_PHYSADDR - Physical address (normal)
-Earlier it was initialized to invalid and expected the applications to set even for using physical address

Signed-off-by: Don Dominic <a0486429@ti.com>
23 months ago[PDK-5675] UDMA UT- AM64xP Porting : Buid Issue Fix
Don Dominic [Wed, 8 Jul 2020 08:45:58 +0000 (14:15 +0530)]
[PDK-5675] UDMA UT- AM64xP Porting : Buid Issue Fix

Signed-off-by: Don Dominic <a0486429@ti.com>
23 months agoPDK-5092: Mcasp: Updated Audio loopback example for J7200 EVM
M V Pratap Reddy [Wed, 8 Jul 2020 07:14:54 +0000 (12:44 +0530)]
PDK-5092: Mcasp: Updated Audio loopback example for J7200 EVM

23 months agoPDK-5037: Board: Added pinmux control for J7200 SoM muxes
M V Pratap Reddy [Wed, 8 Jul 2020 07:00:52 +0000 (12:30 +0530)]
PDK-5037: Board: Added pinmux control for J7200 SoM muxes

23 months ago[PDK-6923] Fix build issues due to PDK_COMMON_*_COMP
Don Dominic [Wed, 8 Jul 2020 05:41:58 +0000 (11:11 +0530)]
[PDK-6923] Fix build issues due to PDK_COMMON_*_COMP

Signed-off-by: Don Dominic <a0486429@ti.com>
23 months ago[PDK-5675] UDMA UT- AM64xP Porting : Updates in test_flow.c related to mapped flows
Don Dominic [Tue, 30 Jun 2020 15:26:03 +0000 (20:56 +0530)]
[PDK-5675] UDMA UT- AM64xP Porting :  Updates in test_flow.c related to mapped flows

-Define default flow instance id
-Update rmInitprms of mapped resources in case of PKTDMA, to reserve all available resources to the core
 -This is required since test for mappedflow in difffernt group requires atleast one flow reserved and
  the channel number for the particular group is also derived from the rmInitprms(atleast one channel in the group is also required.)
-In case of mapped flows test the flow allocation, attach and config of one flow from each group.
-Bypass the test for failure in flow allocation of more no.of flows than actual count, in case of mapped flows.
 This is because mapped flows are only  allocated only one at a time

Signed-off-by: Don Dominic <a0486429@ti.com>
23 months agoPDK-5778: Interleaved boot unit test
Brandon Wetzel [Thu, 18 Jun 2020 21:06:06 +0000 (17:06 -0400)]
PDK-5778: Interleaved boot unit test

This test is a modification of the AMP all-cores test, where the core ordering is no longer fixed, but is based on the core boot order.

Each core takes a ticket when it starts executing, and prints out the ticket number which equates to the boot order.

23 months agoPDK-5778: Interleaved boot support for SBL
Brandon Wetzel [Thu, 18 Jun 2020 20:38:01 +0000 (16:38 -0400)]
PDK-5778: Interleaved boot support for SBL

For all non-SBL cores, SBL shall immediately reset/release a core after loading an image. The core ordering is based on the RPRC ordering within the combined appimage.

23 months agoUpdating ICSSG EMAC FW headers
Pratheesh Gangadhar [Tue, 7 Jul 2020 07:35:12 +0000 (13:05 +0530)]
Updating ICSSG EMAC FW headers

23 months agoam65xx icssg pwm
Frank Livingston [Tue, 7 Jul 2020 13:32:15 +0000 (08:32 -0500)]
am65xx icssg pwm

Add design doc for AM65xx ICSSG "Arduino" style PWM PRU firmware.

Signed-off-by: Frank Livingston <frank-livingston@ti.com>
23 months agoPDK-5037: Board: Added support for J7200 CPSW pinmux
M V Pratap Reddy [Tue, 7 Jul 2020 13:26:01 +0000 (18:56 +0530)]
PDK-5037: Board: Added support for J7200 CPSW pinmux

23 months agoFix for J7200 board and OSPI LLD example build failures
M V Pratap Reddy [Tue, 7 Jul 2020 13:06:55 +0000 (18:36 +0530)]
Fix for J7200 board and OSPI LLD example build failures

23 months agoPDK-5003: Board: Enabled SPI NOR flash diagnostic test for J7200 EVM
M V Pratap Reddy [Tue, 7 Jul 2020 02:45:22 +0000 (08:15 +0530)]
PDK-5003: Board: Enabled SPI NOR flash diagnostic test for J7200 EVM

23 months agoPDK-5037: Board: Removed macros and structures not used for J7200 EVM
M V Pratap Reddy [Tue, 7 Jul 2020 02:21:11 +0000 (07:51 +0530)]
PDK-5037: Board: Removed macros and structures not used for J7200 EVM

 - Updated header file includes to be relative path from 'ti' folder

23 months agoj7vcl board - Change in function names to adapt to cpsw5g
Prasad Jondhale [Sat, 4 Jul 2020 12:32:07 +0000 (18:02 +0530)]
j7vcl board - Change in function names to adapt to cpsw5g

 - Removing "ng" suffix from the board lib functions so as to utilize same
   functions in CPSW LLD and avoid SOC based hash defines

Signed-off-by: Prasad Jondhale <prasad.jondhale@ti.com>
23 months agoj7vcl board - Fix board include path
Prasad Jondhale [Sat, 4 Jul 2020 09:16:00 +0000 (14:46 +0530)]
j7vcl board - Fix board include path

Signed-off-by: Prasad Jondhale <prasad.jondhale@ti.com>
23 months agoPDK-5037: Board: J7200 EVM Board library update
M V Pratap Reddy [Fri, 3 Jul 2020 23:08:09 +0000 (04:38 +0530)]
PDK-5037: Board: J7200 EVM Board library update

 - PDK-5391: Enabled SerDes configurations
 - PDK-5084: Enabled audio codec control library
 - Updated PMIC control functions
 - Updated Ethernet configurations

23 months agoPDK-4972: Board: Enabled PMIC diagnostic test for J7200 EVM
M V Pratap Reddy [Fri, 3 Jul 2020 21:50:33 +0000 (03:20 +0530)]
PDK-4972: Board: Enabled PMIC diagnostic test for J7200 EVM

23 months agoPDK-5102: Board: Enabled OSPI diagnostic test for J7200 EVM
M V Pratap Reddy [Fri, 3 Jul 2020 21:31:56 +0000 (03:01 +0530)]
PDK-5102: Board: Enabled OSPI diagnostic test for J7200 EVM

23 months agoPDK-5104: Board: Enabled diagnostic framework build for J7200 EVM
M V Pratap Reddy [Fri, 3 Jul 2020 10:16:08 +0000 (15:46 +0530)]
PDK-5104: Board: Enabled diagnostic framework build for J7200 EVM

23 months agoesm/watchdog: enable tests related to DSP
Hongmei Gou [Tue, 7 Jul 2020 22:13:02 +0000 (18:13 -0400)]
esm/watchdog: enable tests related to DSP

Signed-off-by: Hongmei Gou <hgou@ti.com>
23 months agoesm: rename "ESM*" file to "esm"
Hongmei Gou [Tue, 7 Jul 2020 15:34:37 +0000 (11:34 -0400)]
esm: rename "ESM*" file to "esm"

Signed-off-by: Hongmei Gou <hgou@ti.com>
23 months ago[PDK-6923] Update in PDK_COMMON_*_COMP variable
Don Dominic [Tue, 7 Jul 2020 16:40:12 +0000 (22:10 +0530)]
[PDK-6923] Update in  PDK_COMMON_*_COMP variable

    -Include 'pm_lib' and 'pm_hal' for applicable soc's.
    -Update in makefiles

Signed-off-by: Don Dominic <a0486429@ti.com>
23 months agoPDK-5375: J7200 SBL: Fix MMCSD boot mode
Jonathan Bergsagel [Tue, 7 Jul 2020 07:16:58 +0000 (02:16 -0500)]
PDK-5375: J7200 SBL: Fix MMCSD boot mode

Fixes MMCSD boot for J7200 (J7VCL).

Tested in VLAB, when adding -DVLAB_SIM to CFLAGS
for the SBL build.

Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
23 months agoPDK-5375: J7200 SBL: Fix mcu2_0 & mcu2_1 boot
Jonathan Bergsagel [Mon, 6 Jul 2020 14:39:38 +0000 (09:39 -0500)]
PDK-5375: J7200 SBL: Fix mcu2_0 & mcu2_1 boot

Moved TCM memory init for all R5 cores (other than mcu1_0)
to a later stage to avoid conflict with R5 cores still coming
out of reset in the early config stage of SBL_SetupCoreMem.

Solves problem with TCM memory init getting stuck for mcu2_0
on J7VCL ZeBu.

Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
23 months agoam65xx evm/idk - Add missing emac mode macro
a0132233 [Mon, 6 Jul 2020 11:16:00 +0000 (16:46 +0530)]
am65xx evm/idk - Add missing emac mode macro

 - Added missing emac_mode macro for am65xx evm and idk. Even though
   cpsw lld configures this in examples, it causes build failures due to
   j7 common code

Signed-off-by: a0132233 <prasad.jondhale@ti.com>
23 months ago[PDK-6923] Update in PDK_COMMON_*_COMP variable
Don Dominic [Mon, 6 Jul 2020 10:54:26 +0000 (16:24 +0530)]
[PDK-6923] Update in  PDK_COMMON_*_COMP variable

-Include 'sciclient' and 'udma' for AM65xx mcu1_0 mcu1_1 and mpu1_0 only

Signed-off-by: Don Dominic <a0486429@ti.com>
23 months agoMerge pull request #860 in PROCESSOR-SDK/pdk from don/makefile_common_comp to master
Sivaraj R [Mon, 6 Jul 2020 10:43:14 +0000 (05:43 -0500)]
Merge pull request #860 in PROCESSOR-SDK/pdk from don/makefile_common_comp to master

Squashed commit of the following:

commit f08f91c0a362c69f750741096693b24590cf8f0c
Author: Don Dominic <a0486429@ti.com>
Date:   Mon Jul 6 09:52:24 2020 +0530

    Vuild Issue Fix 3 Test

Signed-off-by: Don Dominic <a0486429@ti.com>
commit 02d72c3aa5873483ab1f88d62f19febe9f44d7d6
Author: Don Dominic <a0486429@ti.com>
Date:   Fri Jul 3 17:54:24 2020 +0530

    Added udma and gpio

        Include 'gpio' for all soc's except AM64x and TDA platforms
        Include 'sciclient' and 'udma' for all K3 platforms

Signed-off-by: Don Dominic <a0486429@ti.com>
commit 48dc8afc52061a192c5ed77b57e53b586fbd1345
Author: Don Dominic <a0486429@ti.com>
Date:   Fri Jul 3 14:42:42 2020 +0530

    Build Issue Fix 2 Test

Signed-off-by: Don Dominic <a0486429@ti.com>
commit 71d2792205fcb3df1497e479b249de50f9480f96
Author: Don Dominic <a0486429@ti.com>
Date:   Fri Jul 3 12:31:14 2020 +0530

    Build Issue Fix Test

Signed-off-by: Don Dominic <a0486429@ti.com>
commit d63a5ab2415dc8aaff2844c925b52fcb73ffc85b
Author: Don Dominic <a0486429@ti.com>
Date:   Thu Jul 2 14:27:06 2020 +0530

    [PDK-6923] Makefile : Added new variables PDK_COMMON_TIRTOS_COMP and PDK_COMMON_BAREMETAL_COMP

    Includes all the mandatory dependency libraries - csl, board, i2c, uart
    Include 'osal_nonos' for baremetal applications
    Includes 'csl_intc' for baremetal c66x arch and 'csl_init' for all baremetal non c71 arch
    Include 'osal_tirtos' for RTOS applications
    Include 'sciclient' for all K3 platforms
    Include 'pmic lld' for J7 platforms

    -Updated all makefiles in pdk_repo to use this variables

Signed-off-by: Don Dominic <a0486429@ti.com>
23 months agoPDK-5375: SBL: Fix SMP boot test for J7200 REL.CORESDK.07.01.00.01 REL.CORESDK.07.01.00.02
Jonathan Bergsagel [Fri, 3 Jul 2020 14:36:00 +0000 (09:36 -0500)]
PDK-5375: SBL: Fix SMP boot test for J7200

Adds J7200 number of SMP cores for the SMP multicore
boot test.

Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
23 months agoPDK-5375: SBL: Fixes J7200 builds for UART and MMCSD
Jonathan Bergsagel [Fri, 3 Jul 2020 06:32:54 +0000 (01:32 -0500)]
PDK-5375: SBL: Fixes J7200 builds for UART and MMCSD

Adds J7200 build support for UART and MMCSD boot modes.

Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
23 months agoesm: tpr12: address review comments
Hongmei Gou [Thu, 2 Jul 2020 21:04:53 +0000 (17:04 -0400)]
esm: tpr12: address review comments

* Simplifying ESM_socConfigErrorGating() with group 3 error gating added

Signed-off-by: Hongmei Gou <hgou@ti.com>
23 months agoesm: add ESM error gating for TPR12 soc
Hongmei Gou [Thu, 2 Jul 2020 05:22:51 +0000 (01:22 -0400)]
esm: add ESM error gating for TPR12 soc

* A few changes are also made when verifying watchdog with ESM

Signed-off-by: Hongmei Gou <hgou@ti.com>
23 months agowatchdog: add test application for tpr12
Hongmei Gou [Fri, 19 Jun 2020 18:46:27 +0000 (14:46 -0400)]
watchdog: add test application for tpr12

Signed-off-by: Hongmei Gou <hgou@ti.com>
23 months agoPDK-6431: Update MSMC size in linker command file for J7VCL
Stanley Liu [Fri, 3 Jul 2020 00:34:10 +0000 (19:34 -0500)]
PDK-6431: Update MSMC size in linker command file for J7VCL

Signed-off-by: Stanley Liu <stanley_liu@ti.com>
23 months agoSciclient: M4F RTOS build Fix
Piyali Goswami [Thu, 2 Jul 2020 15:08:42 +0000 (20:38 +0530)]
Sciclient: M4F RTOS build Fix

Build fix for RTOS apps on M4

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
23 months agoPDK-5037: Board: Updated J7200 EVM Board Ethernet configurations
M V Pratap Reddy [Thu, 2 Jul 2020 13:22:15 +0000 (18:52 +0530)]
PDK-5037: Board: Updated J7200 EVM Board Ethernet configurations

23 months agoPDK-5375: J7200 SBL Updates
Jonathan Bergsagel [Thu, 2 Jul 2020 06:39:05 +0000 (01:39 -0500)]
PDK-5375: J7200 SBL Updates

Build fixes & updates for J7VCL SBL. Limits build targets
to those currently supported for J7200.

Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
23 months agoPDK-5037: Board: Added xSPI flash support for J7200 EVM board library
M V Pratap Reddy [Thu, 2 Jul 2020 04:18:24 +0000 (09:48 +0530)]
PDK-5037: Board: Added xSPI flash support for J7200 EVM board library

 - Flash access verified in octal SDR mode. Need to check DTR and PHY operations.

23 months agoPDK-5102: SPI: Enabled OSPI dual byte opcode support for xSPI flash operation
M V Pratap Reddy [Thu, 2 Jul 2020 03:14:14 +0000 (08:44 +0530)]
PDK-5102: SPI: Enabled OSPI dual byte opcode support for xSPI flash operation

23 months agoPDK-5375: SBL: Add J7200 (J7VCL) support
Jonathan Bergsagel [Thu, 25 Jun 2020 01:12:25 +0000 (20:12 -0500)]
PDK-5375: SBL: Add J7200 (J7VCL) support

Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
23 months agoJ7VCL Build fix
Stanley Liu [Wed, 1 Jul 2020 22:13:57 +0000 (17:13 -0500)]
J7VCL Build fix

Signed-off-by: Stanley Liu <stanley_liu@ti.com>
23 months agoPDK-6431: Added McSPI Master/Slave Test to J7VCL build
Stanley Liu [Wed, 1 Jul 2020 20:58:47 +0000 (15:58 -0500)]
PDK-6431: Added McSPI Master/Slave Test to J7VCL build

Signed-off-by: Stanley Liu <stanley_liu@ti.com>
23 months agoPDK-6861: Added McASP to J7VCL build
Stanley Liu [Wed, 1 Jul 2020 19:18:55 +0000 (14:18 -0500)]
PDK-6861: Added McASP to J7VCL build

Signed-off-by: Stanley Liu <stanley_liu@ti.com>
23 months agoPDK-6431 J7VCL MMCSD instance 1 interrupt number not assigned on mcu2_0.
Stanley Liu [Tue, 23 Jun 2020 21:38:27 +0000 (16:38 -0500)]
PDK-6431 J7VCL MMCSD instance 1 interrupt number not assigned on mcu2_0.

Signed-off-by: Stanley Liu <stanley_liu@ti.com>
23 months agoPDK-6908 J7VCL Reset function not assigned in SYSBIOS configuration.
Stanley Liu [Tue, 23 Jun 2020 21:35:18 +0000 (16:35 -0500)]
PDK-6908 J7VCL Reset function not assigned in SYSBIOS configuration.

Signed-off-by: Stanley Liu <stanley_liu@ti.com>
23 months agopdk/build: TPR12: update CGT_ARM tool version
Eric Ruei [Wed, 1 Jul 2020 15:09:54 +0000 (11:09 -0400)]
pdk/build: TPR12: update CGT_ARM tool version

Signed-off-by: Eric Ruei <e-ruei1@ti.com>
23 months agopdk build: PDK-5676: update NDK/NS versions for AM64x
Hao Zhang [Wed, 1 Jul 2020 14:43:06 +0000 (10:43 -0400)]
pdk build: PDK-5676: update NDK/NS versions for AM64x

Signed-off-by: Hao Zhang <hzhang@ti.com>
23 months agoSquashed commit of the following:
Sivaraj R [Wed, 1 Jul 2020 09:47:11 +0000 (15:17 +0530)]
Squashed commit of the following:

commit 4827dbaf6948bf8b3047d3af5c1e2c0735be2899
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Tue Jun 30 00:37:33 2020 +0530

    Reverting J7ES support

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
commit 610671576f7cf49c7eadf1464deeec0513c6b723
Merge: d77bd453 1ae16acc
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Tue Jun 30 00:34:35 2020 +0530

    Merge remote-tracking branch 'remotes/origin/HEAD'

commit d77bd45319a2061514765aa346b414d748458c9d
Merge: d8e7a2ce 4d9f3352
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Tue Jun 30 00:31:57 2020 +0530

    Merge remote-tracking branch 'remotes/origin/dev_icssg_tsn_mac_baseline'

commit 4d9f3352370ebec5f1e54d96090b796d90bdda0e
Author: Tinku Mannan <tmannan@ti.com>
Date:   Mon Jun 29 14:29:41 2020 -0400

    Fix for host port IOCTLS

     Fix internal port number in emac_port_info[] for host port IOCTLs

commit d8e7a2ce72315142407bef223190af3ba4d64eca
Merge: 6f7c8409 55a2f3b2
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sat Jun 27 18:49:21 2020 +0530

    Merge branch 'master' of ssh://bitbucket.itg.ti.com/processor-sdk/pdk

commit 6f7c8409db16f91aba9e286ca72746aeb1f526d5
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Fri Jun 26 13:06:19 2020 +0530

    Fix memory placement of switch buffers on J7ES

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
commit 0f8c1aefbc5c1d15377600d2d8a0db60ee1f13ef
Merge: 1921154c 82ab2289
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Wed Jun 24 09:21:45 2020 +0530

    Merge remote-tracking branch 'remotes/origin/emac_j721e_test_fix'

commit 1921154ce3c06bc94edc85bb8051af3c0c47a0c6
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Mon Jun 22 11:11:50 2020 +0530

    Fix for emac_ioctl_accept_frame_check_ctrl to align with R30 over DMEM interface

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
commit 4651ce5689bcb19ea69253d96f3cb583fd6d69a7
Merge: 68a5bce4 19d30e7a
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sun Jun 21 08:26:01 2020 +0530

    Merge branch 'master' of ssh://bitbucket.itg.ti.com/processor-sdk/pdk

commit 68a5bce4731b67b1b76e44194dec81b4da3b140c
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sat Jun 20 20:22:00 2020 +0530

    Minor cleanup

commit bda133759f8076fa5a3bbd797f100c2187fa80a9
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Thu Jun 18 14:17:36 2020 +0530

    Aligning the mem_map.h to the new linux friendly format

commit 82ab22893740bb1f5d89b2f30c02989aae690d6c
Author: Tinku Mannan <tmannan@ti.com>
Date:   Wed Jun 17 15:28:53 2020 -0400

    am65xx: emac: test app fix for j721e

commit 6f95119583eecd5c0b873f6e8d949747e6d65c1f
Merge: bb3f4af9 90278424
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Wed Jun 17 15:43:57 2020 +0530

    Merge branch 'master' of ssh://bitbucket.itg.ti.com/processor-sdk/pdk

commit bb3f4af9ef7f908204247a90d3b32cb86d744a3f
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Wed Jun 17 11:33:35 2020 +0530

    Use EthBoard_delay as BOARD_delay is not defined for KeyStone3

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
commit ea441856ef806d3cb6b1fb33270028064197689e
Merge: baa0b907 975f632e
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Wed Jun 17 11:08:00 2020 +0530

    Merge remote-tracking branch 'remotes/origin/dev_icssg_tsn_mac_baseline'

commit 975f632e00eee6c6e5d7c592df3214c5b76aa43c
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Tue Jun 16 18:44:54 2020 +0530

    Fixes for NRT loopback to work in Profinet Switch (only works from P2 to P1 direction)

commit 411b90c46a00f9f794aa125549310b4c67e4edbe
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sat Jun 13 17:32:29 2020 +0530

    Update to the latest FW headers

commit 0d62ab3fea2c9aa1c67da421833a21a30623bb36
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sat Jun 13 17:24:47 2020 +0530

    Manual merge from PDK master commit 2f1a92b347818e29a547a98ebfb27243edb15e4d

commit fe250084f58f7b527bd7e998c5486bd1dd268a04
Merge: d204c8fc 702a311e
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Wed Jun 10 16:30:14 2020 +0530

    Merge branch 'dev_icssg_tsn_mac_baseline' of ssh://bitbucket.itg.ti.com/processor-sdk/pdk into dev_icssg_tsn_mac_baseline

commit 702a311eb82ecade1df83b7322c63d33af40178e
Author: Tinku Mannan <tmannan@ti.com>
Date:   Mon Jun 8 16:37:19 2020 -0400

    am65xx: emac_send fixes for switch use case

commit d204c8fc19b59e7c55c645a82c513706272fbb33
Merge: 12883724 bcea9da9
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sat May 30 21:38:38 2020 +0530

    Merge branch 'dev_icssg_tsn_mac_baseline' of ssh://bitbucket.itg.ti.com/processor-sdk/pdk into dev_icssg_tsn_mac_baseline

commit bcea9da9c385e1b7ffa66e6a7b6a7b4a58082d70
Author: Tinku Mannan <tmannan@ti.com>
Date:   Fri May 29 16:11:33 2020 -0400

    am65xx: emac: Adding FDB multi entry IOCTL suport

     ioctl implementation cleanup for switch use case for PG2.0

Signed-off-by: Tinku Mannan <tmannan@ti.com>
commit 12883724f536ac22c98ab28d56015e88dd2fec7d
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Fri May 15 10:31:16 2020 +0530

    Align to the master

commit 02a8f5bbe47e8e85ac1be56a96c5ba8df57ff43f
Merge: b1e1b962 2177035d
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Fri May 15 09:59:19 2020 +0530

    Merge branch 'dev_icssg_tsn_mac_baseline' of ssh://bitbucket.itg.ti.com/processor-sdk/pdk into dev_icssg_tsn_mac_baseline

commit 2177035d18d2479f1248d93729098ea5e4f99b1a
Author: Tinku Mannan <tmannan@ti.com>
Date:   Thu May 14 15:26:29 2020 -0400

    am65xx: emac: driver and test updates

Signed-off-by: Tinku Mannan <tmannan@ti.com>
commit b1e1b96201688a43035971589bbb1d6cd8b3690a
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Thu May 14 21:57:34 2020 +0530

    emac_ioctl fixes for Switch mode when SWITCH_PORT argument is used

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
commit e8f66ebf3312b6ed6390d4926d1e0adc21e5907d
Author: Tinku Mannan <tmannan@ti.com>
Date:   Wed May 13 08:46:10 2020 -0400

    Buffer pool fixes and test updates to enable 3 instances

commit 412c48fd53ddb4656d3490e1baee9f179e7bbffa
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Tue May 12 21:28:13 2020 +0530

    Updating firmware headers

commit 23b7ad781ed8782f0520b3f0d8301413cc38b7e2
Merge: b4a34bd5 a87f1282
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Tue May 12 00:09:51 2020 +0530

    Merge branch 'dev_icssg_tsn_mac_baseline' of ssh://bitbucket.itg.ti.com/processor-sdk/pdk into dev_icssg_tsn_mac_baseline

commit a87f128267d690a8766b40c84686b375c68f0e92
Author: Tinku Mannan <tmannan@ti.com>
Date:   Fri May 8 15:45:38 2020 -0400

    am65xx: emac: driver fixes

     update to use distinct buffer pool memories per port
     update to fix PSI flow configururation in SMEM
     unit test update to test multi icssg instances
     update for link status change processing for icssg switch use case

Signed-off-by: Tinku Mannan <tmannan@ti.com>
commit b4a34bd5b3f3aa5b069b2b0366e836e4a255b8db
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sat May 9 18:07:59 2020 +0530

    More fixes

commit a04941cada3a2c1d9ff6c44e549185dc1f715420
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Fri May 8 12:07:05 2020 +0530

    Fixing emac_open error for ethernet_switch

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
commit b5a9e0075c909d4e246e7dc3940686dfac789b5b
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Fri May 8 09:53:41 2020 +0530

    Update FW headers

commit f2bd86c089dcf2c3c224da2594da6b161e56ad29
Author: Tinku Mannan <tmannan@ti.com>
Date:   Thu May 7 15:54:59 2020 -0400

    am65xx: emac: fix for r30 over dmem IOCTL implementation

Signed-off-by: Tinku Mannan <tmannan@ti.com>
commit 616f58056a7b2903e87b0a442085013b63416bc8
Merge: f36998ae 69438fc2
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Thu May 7 12:29:27 2020 +0530

    Merge remote-tracking branch 'remotes/origin/r30_over_dmem_updates' into dev_icssg_tsn_mac_baseline

commit 69438fc2e50cba8ceb8da2f59784f063b305314e
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Thu May 7 11:34:35 2020 +0530

    Aligning FW headers to the latest

commit 820c6d20f4acf939c15a071462c78493e21e0112
Author: Tinku Mannan <tmannan@ti.com>
Date:   Tue May 5 17:45:02 2020 -0400

    am65xx: emac: unit test updates cleanup

Signed-off-by: Tinku Mannan <tmannan@ti.com>
commit 7af2186acd1aee9c25bdc95d57f1341c35e1feb5
Author: Tinku Mannan <tmannan@ti.com>
Date:   Tue May 5 17:44:29 2020 -0400

    am65xx: emac:  updates for PG2.0 switch use  case
     fix for TX timestamp response processing for PG1.0
     cleanup

Signed-off-by: Tinku Mannan <tmannan@ti.com>
commit 5ae7dfe5c8e2dcbc91d0b7e6bb3b7b47a206a654
Author: Tinku Mannan <tmannan@ti.com>
Date:   Tue May 5 14:37:45 2020 -0400

    am65xx: firmware updates for r30_over_dmem

commit 7bbffc0844b63e0f8102fef40f9ac578ff03bd67
Merge: d3b3ffe5 f36998ae
Author: Tinku Mannan <tmannan@ti.com>
Date:   Mon May 4 16:15:32 2020 -0400

    Merge branch 'dev_icssg_tsn_mac_baseline' of ssh://bitbucket.itg.ti.com/processor-sdk/pdk into r30_over_dmem_updates

commit d3b3ffe5f0d4969535c492e4d940582c32308284
Author: Tinku Mannan <tmannan@ti.com>
Date:   Mon May 4 15:43:24 2020 -0400

    am65xx: emac: test app updates

     update to test ICSSG asynchronous IOCTL via R30
     commands over dmem
     cleanup

Signed-off-by: Tinku Mannan <tmannan@ti.com>
commit cec6c02e3e892b2ce3a3e895f53f29f1e3c818d6
Author: Tinku Mannan <tmannan@ti.com>
Date:   Mon May 4 15:38:32 2020 -0400

    am65xx: emac: driver and firmware updates for pg2.0

     Adding ICSSG asynchronous IOCTL support via
     r30 commands over dmem
     Config support for number of icssg firmwware buffer
     pools and sizes
     driver cleanup

Signed-off-by: Tinku Mannan <tmannan@ti.com>
commit f36998aec70f2af81ddcd9dd6f2cc0b775fc82ee
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sun May 3 12:20:33 2020 +0530

    Removing PG2 to test FW

commit 78046cf4077f67d692776239854e60625e842e20
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sat May 2 22:04:29 2020 +0530

    Update dual mac FW headers and memory map

commit 8b3109b64d8a5561e031dd8d04838b9b2ef157d5
Merge: 9b8f14fc 59136746
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sat May 2 00:23:55 2020 +0530

    Merge remote-tracking branch 'remotes/origin/HEAD' into dev_icssg_tsn_mac_baseline

commit 9b8f14fc8bdbeea87e019f8da25b4c60658de310
Author: Tinku Mannan <tmannan@ti.com>
Date:   Fri May 1 11:35:43 2020 -0400

    am65xx: emac: Adding emac_drv_v5_cpsw.c

commit 60c220931b9d904455b48da746bf69b4ae3112d7
Author: Tinku Mannan <tmannan@ti.com>
Date:   Wed Apr 29 15:42:26 2020 -0400

    am65xx: nimu: example updates for Maxwell PG.2.0

Signed-off-by: Tinku Mannan <tmannan@ti.com>
commit 244179b085c22863ebf5e0222d451b02f3a5b8ec
Author: Tinku Mannan <tmannan@ti.com>
Date:   Wed Apr 29 15:40:18 2020 -0400

    am65xx: nimu: driver updates to support Maxwell PG2.0

commit 57358a73c3e4307362a792943d153e8950a76573
Author: Tinku Mannan <tmannan@ti.com>
Date:   Tue Apr 28 17:58:14 2020 -0400

    am65xx: emac: unit test updates
     allocation of icssg buffer polls from application
     synced up linker command files from common build
     infrastructure

Signed-off-by: Tinku Mannan <tmannan@ti.com>
commit 03c55d73d2ddcf45ab5698617fd4643de216fec7
Author: Tinku Mannan <tmannan@ti.com>
Date:   Tue Apr 28 17:56:20 2020 -0400

    am65xx: emac: make icssg buffer pool address configurable

     memory for icssg buffer pools allocated from application

Signed-off-by: Tinku Mannan <tmannan@ti.com>
commit 5a5e5a593d0f7e6b8b4cde19819d30c68afda8d0
Author: Tinku Mannan <tmannan@ti.com>
Date:   Fri Apr 24 14:16:12 2020 -0400

    am65xx: emac: unit test updates

     updates for running on Maxwell pg1 and pg2 evms

Signed-off-by: Tinku Mannan <tmannan@ti.com>
commit bde880cfa4cacb3aa27cd5001e0c0d199b7d5532
Author: Tinku Mannan <tmannan@ti.com>
Date:   Fri Apr 24 14:15:03 2020 -0400

    am65xx: emac: API checks for port closed state and cleanup

Signed-off-by: Tinku Mannan <tmannan@ti.com>
commit 4553139c26aac386dbc3eae576cc0548114d088e
Author: Tinku Mannan <tmannan@ti.com>
Date:   Fri Apr 24 14:13:21 2020 -0400

    am65xx: emac: fixes for running on cortex a53 cores

Signed-off-by: Tinku Mannan <tmannan@ti.com>
commit 91076a2047a56181ff46e8057804385d14acfe19
Author: Tinku Mannan <tmannan@ti.com>
Date:   Thu Apr 23 17:52:23 2020 -0400

    am65xx: update to ICSSG firmware configuration interface

     grouped all FW config parameters into EMAC_ICSSG_FW_CFG
     struct
     moved  common iccs config functions for
     switch and dual mac use case to emac utility file
     cleanup

commit de09de8adc2d3c267df011d5a8b657f7e68cf7d7
Author: Tinku Mannan <tmannan@ti.com>
Date:   Wed Apr 22 10:37:41 2020 -0400

    am65xx: emac driver updates for polling optimizations and code cleanup

Signed-off-by: Tinku Mannan <tmannan@ti.com>
commit f55d58cd18507a36155b2bd3e37ca56cb3f26ad7
Author: Tinku Mannan <tmannan@ti.com>
Date:   Tue Apr 21 16:26:16 2020 -0400

    am65xx: driver updates for cpsw use case

commit c5583ea8c2fdd5270566efc8b9f00d497a4ec029
Author: Tinku Mannan <tmannan@ti.com>
Date:   Mon Apr 20 16:23:18 2020 -0400

    am65xx: driver updates for icssg switch use case

     update for icssg dual mac use case to ensure icssg config fxn is
     not null before deferencing it.

Signed-off-by: Tinku Mannan <tmannan@ti.com>
commit 932c1245ca1cb457022a74731ce04fa27ff07056
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Mon Apr 20 15:16:30 2020 +0530

    Fixes to prevent crash of TSN Switch application. emac_open fails due to missing config steps

commit 7db20398709b5660978e3bc3f8381ab2324139fa
Merge: 70b7f446 9c04a8f4
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Fri Apr 17 15:27:21 2020 +0530

    Merge remote-tracking branch 'remotes/origin/master' into dev_icssg_tsn_mac_baseline

commit 70b7f4462237ca5d36a90ac34fad25ab252955b5
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Fri Apr 17 13:22:45 2020 +0530

    Updates to the emac_fw_config_dual_mac.c and emac_fw_dual_mac_mem_map.h to align with the latest PRU FW

    Emac loopback test is passing

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
commit 4afef8c17fa5e93d6893ec0d3ebc175ec46257a8
Merge: 0d153438 61ae3f64
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Thu Apr 16 06:14:41 2020 +0530

    Merge remote-tracking branch 'remotes/origin/emac_lld_refactor' into dev_icssg_tsn_mac_baseline

    Build tested only

commit 0d153438867e072fad10a0c5406ecc746776b091
Merge: d32119b5 11ae3192
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sat Apr 11 20:58:23 2020 +0530

    Merge remote-tracking branch 'remotes/origin/HEAD' into dev_icssg_tsn_mac_baseline

commit 61ae3f64d1fd020f935629294b85ef76ee94171c
Author: Tinku Mannan <tmannan@ti.com>
Date:   Tue Apr 7 17:17:05 2020 -0400

    emac-lld: am65xx/j7: test update to remove hard-coding of FW config and init sequence

commit d2b3e0e3e9dfcbc4e9d617f8d96b29132f4685a3
Author: Tinku Mannan <tmannan@ti.com>
Date:   Tue Apr 7 17:13:47 2020 -0400

    emac-lld: am65xx/j7: driver updates to new firmware config interface

     replaced fw config and init routine from the driver and repalced with
     function provided by firmware config interface
     cleanup

Signed-off-by: Tinku Mannan <tmannan@ti.com>
commit bf64ab387d7a3241a6e218cc9254a301a64ac497
Author: Tinku Mannan <tmannan@ti.com>
Date:   Tue Apr 7 16:52:42 2020 -0400

    emac-lld: am65xx/j7: ICSSG dual mac firmware config updates

     adding firmware config memory map file
     adding firmware config function to EMAC_PER_PORT_ICSSG_FW_CFG
     required for PRU-ICSS sub-system and and firmware init, to
     be called at time of emac_open

Signed-off-by: Tinku Mannan <tmannan@ti.com>
commit d32119b5ce0a01982e0189c48da40e15cb28ec14
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sun Apr 5 23:40:36 2020 +0530

    Build fix

commit 8b0795a0812b4278bed327143866d692c76b74ee
Merge: 511af906 75108711
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sun Apr 5 23:38:17 2020 +0530

    Merge remote-tracking branch 'remotes/origin/dev_pn_tsn_inc2_am65xx_pg2.0_release_express_queue_mask' into dev_icssg_tsn_mac_baseline

commit 511af906b92cdd3a06ddd306247b39d3b1d53122
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sun Apr 5 23:27:37 2020 +0530

    Update FW headers and memory map

commit d422974fa3e3e6c94eb4bac20214cea5e458c9f3
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sun Apr 5 22:39:51 2020 +0530

    Aligning to FW changes

commit 75108711ec3ed2aca781a0b996c1941b26911dde
Author: Prajith <prajith@ti.com>
Date:   Sun Apr 5 22:23:47 2020 +0530

    Added support to configure express queue mask for firmware use

commit e6d1a33534d7b19a20f3f62485188f7477254a4c
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sun Apr 5 11:38:41 2020 +0530

    Aligning to FW memory map changes

commit 967a1f94c2a8a03e98f62583a5cf26fd5bb99013
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sun Apr 5 10:51:45 2020 +0530

    Changes to align with port specific configuration support in FW

commit 1712b29d2defc4aa3995667243fdd85864069035
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sat Apr 4 23:23:00 2020 +0530

    Update switch_mem_map.h to align with the latest

commit 4711e7cc0cfa6b9720b54681ce508036ae2cd7b4
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sat Apr 4 20:18:39 2020 +0530

    Updating switch_mem_map.h to reflect PASTAT debug counter updates

commit 14a72116f1d72a4b11d03ccceb3cbe38510010d8
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sat Apr 4 15:07:49 2020 +0530

    Removing EMAC_AM65XX_DUAL_ICSSG_CONFIG

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
commit 371600deabac0598bdb6269624ba6d6157d3e858
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sat Apr 4 13:20:41 2020 +0530

    Cleaning up port specific configuration variables to use respective DMEM

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
commit dfcb6b7e3d5414111cf4b42746805a9c0290b2ff
Merge: 022b6ad5 35c62bb0
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Fri Apr 3 12:08:57 2020 +0530

    Merge remote-tracking branch 'remotes/origin/dev_pn_tsn_inc2_am65xx_pg2.0_release' into dev_icssg_tsn_mac_baseline

commit 022b6ad5d2b7dff17f14aa92be9956bb848dbf18
Author: Manmohan <mrmandhana@ti.com>
Date:   Fri Apr 3 11:45:56 2020 +0530

    Updating the invalid timestamp check. Updating memory map

commit 35c62bb022bc8e257a63013f19927a58854373c4
Author: Prajith <prajith@ti.com>
Date:   Fri Apr 3 10:42:14 2020 +0530

    Fixes for Preemption IOCTL not working on one slice

commit f27ff68bfbcc7e7771d7e8509aae98bcac27fcfa
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Tue Mar 31 16:31:22 2020 +0530

    Fix for PINDSW-4185 priority regeneration to work

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
commit 4ea89fb936884d2d9df9eec80f10b118af389ee7
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Tue Mar 31 00:11:23 2020 +0530

    Fix for PINDSW-4203. To fix the issues with forwarding of > 1523B packets due to MII RT configuration

commit 803f36e90eb159dc8bc104874090d35f404d7e70
Merge: 470b3c77 201ebc5b
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sat Mar 28 16:28:32 2020 +0530

    Merge remote-tracking branch 'remotes/origin/master' into dev_icssg_tsn_mac_baseline

commit 470b3c77b40879fc9a265bd76fb77545a5eab06e
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sat Mar 28 09:38:16 2020 +0530

    Update FW headers

commit 433a0268dd0d94031ef3d310071f69607d1d90fe
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Fri Mar 27 21:40:03 2020 +0530

    Updating memory map to align with FW changes

commit 86e49b69f1f72ab74162a065940b6c28aaf4c115
Merge: 8c9c9578 2117ead5
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Wed Mar 25 15:52:16 2020 +0530

    Merge remote-tracking branch 'remotes/origin/HEAD' into dev_icssg_tsn_mac_baseline

commit 8c9c95787a5e93ac4f7c12bc8d63fe03a3e0e472
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Wed Mar 25 15:24:40 2020 +0530

    Updating the TSN MAC FW headers to align with the latest

commit 5740db24afaa9e96968e977587dfe0a3243357f5
Author: Tinku Mannan <tmannan@ti.com>
Date:   Mon Mar 23 16:01:26 2020 -0400

    emac-lld: am65xx/j7: ICSSG dual mac test app updates

     enabling only dual mac test application
     update dual mac test app to remove interposer card setup
     update dual mac test app to inegrate with latest pg2.0 FW

commit 2bdda7adbfd22701e49b8281be823a4467bd2ad4
Author: Tinku Mannan <tmannan@ti.com>
Date:   Mon Mar 23 15:55:11 2020 -0400

    emac-lld: am65xx/j7: driver integration with ICSSG hardware queue implementation

     update to switch memory map configuration

commit 5804c51f48de3b4fc983b06ea9ba0c76e9e84ed2
Author: Tinku Mannan <tmannan@ti.com>
Date:   Mon Mar 23 15:41:08 2020 -0400

    emac-lld: am65xx/j7: Adding ICSSG hardware queue impplementation

commit e94ef4592b2ae22a523c26a33021247503aac53a
Author: Tinku Mannan <tmannan@ti.com>
Date:   Tue Mar 10 15:51:57 2020 -0400

    emac-lld: am65xx/j7: refactoring driver code base

     adding dual mac specific driver file for dual mac implementaion of apis
     moved common utility functions to emac_utils source and header files
     IOCTL updates for dual mac and single instance icssg switch
     cleanup

Signed-off-by: Tinku Mannan <tmannan@ti.com>
commit 7e1ac6559790542f20c699b8fac3a46de46d0709
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sat Mar 21 00:53:00 2020 +0530

    Fix a build error

commit 6561157498b3c2756d6f5f70cf4ae9b39b7f1cb5
Merge: af2d73c0 4f3320ff
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sat Mar 21 00:17:24 2020 +0530

    Merge remote-tracking branch 'remotes/origin/master' into dev_icssg_tsn_mac_baseline

commit af2d73c00a4ddf71c66c7102829f271d28317f0e
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Wed Mar 18 02:17:46 2020 +0530

    EMAC LLD bugfix for Default Port VLANs to be configured correctly for 1xICSSG

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
commit 8a86ed8fb084ca7d7f4bed56c9a264c90004a4a9
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sat Mar 14 16:00:23 2020 +0530

    Common TSN MAC FW for J7 and AM65x PG2

commit 3095a63e7089c690e5a82d68dbebd229187b5ee8
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sat Mar 14 14:48:31 2020 +0530

    Fix the build issues while rebasing to master

commit 8e60abea51244ffdf27f456e1be80d3b712d01df
Merge: 8da79232 087c77da
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sat Mar 14 13:37:48 2020 +0530

    Merge remote-tracking branch 'remotes/origin/master' into dev_icssg_tsn_mac_baseline

commit 8da792327d8deabf5dcbbca1b2934591ca014953
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Fri Mar 13 13:38:32 2020 +0530

    Updating the FW commit ID

commit 92268eef214e5513e3098bcf3abc05fd3bfd7acb
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Fri Mar 13 13:35:30 2020 +0530

    Disabling the UART printfs

commit a50ac713e6ad677d0d58798f663cb18aed4e8751
Merge: 4b19bc85 889cc945
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Fri Mar 13 11:04:27 2020 +0530

    Merge remote-tracking branch 'remotes/origin/pindsw-4178' into dev_icssg_tsn_mac_baseline

commit 889cc9454f874fc9e1aabdc93e1f904529cdb8a8
Author: Vitaly Andrianov <vitalya@ti.com>
Date:   Thu Mar 12 14:22:49 2020 -0400

    pindsw-4178: use hwq to get tx timestamp

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
commit 4b19bc85b642f09b2212b34089036b2a5a4ea551
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Thu Mar 12 14:02:58 2020 +0530

    Fix for IOCTLs to work

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
commit 4af92070bcb6325cc6be35c3b697bca960f0764b
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Tue Mar 10 18:19:37 2020 +0530

    Updating FW commit ID

commit 1d6b7ba79bfde2609c629bef20f1867a16b7de5f
Merge: 2d0ab405 01a52da5
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Tue Mar 10 18:18:40 2020 +0530

    Merge remote-tracking branch 'remotes/origin/pindsw-3779' into dev_icssg_tsn_mac_baseline

commit 2d0ab4055a8f4b38907e7342853aecac956f63a9
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Tue Mar 10 12:04:56 2020 +0530

    ICSSG EMAC lld unit tested with PDK master

    Workarounds for emacUnitTest to build with ti-cgt-arm_18.12.5

    Fix in launch.js for AM65 PG2

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
commit ac9a99eb25f67ac41aa8c80d7ae746d53a1c4206
Merge: d77c76da 9099d2fc
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Tue Mar 10 09:01:53 2020 +0530

    Merge remote-tracking branch 'remotes/origin/master' into dev_pdk_merge

commit d77c76dab25ef1ee709c8a83937ebcaed7230f12
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Mon Mar 9 19:39:24 2020 +0530

    Fix a build error due to typo

commit f6ba58c21990065f8759d319096eb340f6233309
Merge: a357028e bd21e2cd
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Mon Mar 9 00:19:15 2020 +0530

    Merge remote-tracking branch 'remotes/origin/master' into dev_icssg_tsn_mac_baseline

commit a357028eeb449d1c33061d26e64c470f5e929e49
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sun Mar 8 23:05:52 2020 +0530

    Fixes for NRT loopback to work with the latest TSN MAC FW integration commit : 0585dd955237e9917294c1201d58716779c32b1a

commit 01a52da54b60870cfac048099d4e68016654c396
Author: Vitaly Andrianov <vitalya@ti.com>
Date:   Wed Mar 4 09:13:06 2020 -0500

    emac: use the single R30 table for set port state command.

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
commit 75a557b0223cfd261f70a4e5541fecf27d2de6fa
Author: Vitaly Andrianov <vitalya@ti.com>
Date:   Wed Mar 4 08:57:25 2020 -0500

    emac: add new R30 table for dual emac tsn f/w

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
commit b9fafcbab73fa4f4d7738eb00a39bebf2d147000
Author: Vitaly Andrianov <vitalya@ti.com>
Date:   Wed Mar 4 07:12:53 2020 -0500

    emac: add files to gitignore

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
commit 7b5a577af802e35246ddfe5fbaf27205f617d58a
Author: Vitaly Andrianov <vitalya@ti.com>
Date:   Wed Mar 4 07:06:34 2020 -0500

    emac: rework emac_util_crc64()

    remove dead code

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
commit 77063eb9f5653fddc7f81cce904a53321ddc2b12
Author: Vitaly Andrianov <vitalya@ti.com>
Date:   Mon Mar 2 14:31:05 2020 -0500

    simplify emac_util_crc64()

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
commit 8d6890ee03eaefc9739bfcdb7e3b0719c87a0310
Author: Vitaly Andrianov <vitalya@ti.com>
Date:   Thu Feb 27 13:03:45 2020 -0500

    incremental commit

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
commit 471ac3f573fdd13d8b401bbab1e36397c1965365
Author: Vitaly Andrianov <vitalya@ti.com>
Date:   Mon Feb 24 15:49:26 2020 -0500

    emac [tmp] got mgmt response from port 0

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
commit 25da81ff79d7f825f3db3afc0c84291d4b9473ca
Author: Vitaly Andrianov <vitalya@ti.com>
Date:   Mon Feb 24 14:39:25 2020 -0500

    [tmp] emac: replace psi-l management channel with hwqa

    only send message was tested. Need to rework callback function.

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
commit 94362cca49b08a0e6e7b106c25e4b8e52865c343
Author: Vitaly Andrianov <vitalya@ti.com>
Date:   Wed Feb 19 10:24:17 2020 -0500

    emac: remove code duplication from emac_ioctl_port_state_ctrl()

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
commit 1dcc7795518d9ba7de3be268de792b5a7affae1d
Author: Vitaly Andrianov <vitalya@ti.com>
Date:   Thu Feb 20 09:40:12 2020 -0500

    tmp: build one app only

commit 6871d32f3162d90fe64ff8c4ec527d1bbbe80e58
Author: Vitaly Andrianov <vitalya@ti.com>
Date:   Thu Feb 20 09:39:47 2020 -0500

    add hwq support to test_utils_k3.c

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
commit 6fcb76c16d1cccfa1b55b8df1f566d9edba5b2e0
Author: Vitaly Andrianov <vitalya@ti.com>
Date:   Thu Feb 20 09:38:57 2020 -0500

    fix hwq addresses

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
commit 66b829f2e0a92cc6065760e043654191ebc3f82f
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Wed Feb 19 21:33:01 2020 +0530

    Updated the memory map to align with firmware commit industrial_communications_dev : f111ccb784d840726adf6f093a05dba840719100

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
commit 822a30242c26a50013153caadfc0c40637cfd2c7
Author: Vitaly Andrianov <vitalya@ti.com>
Date:   Wed Feb 19 09:21:41 2020 -0500

    emac: introduce hw queue api

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
commit a9bccd1e25d979a61e85d4d803b484ba670059a1
Merge: f99946c6 e71d35b8
Author: Vitaly Andrianov <vitalya@ti.com>
Date:   Mon Feb 17 11:19:43 2020 -0500

    Merge branch 'dev_icssg_tsn_mac_baseline' of ssh://bitbucket.itg.ti.com/processor-sdk/pdk into dev_icssg_tsn_mac_baseline

commit f99946c608cbbdd458c48b492cc321e854b1adc6
Author: Vitaly Andrianov <vitalya@ti.com>
Date:   Mon Feb 17 11:19:26 2020 -0500

    set local path at launch.js

Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
commit e71d35b86f9a8f401159db8c97d0a8c528297587
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Mon Feb 17 18:28:18 2020 +0530

    Multiple fixes for Dual EMAC unit test to work with J7ES EVM

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
commit 88105aff2d1a67a6baa7a358f928d7842eb0e033
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Mon Feb 17 07:46:38 2020 +0530

    Update pool base addresses for J7ES

commit 59117a4d6595ef78d48249563c2da560edc89738
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sun Feb 16 20:32:55 2020 +0530

    TX timestamping fix - hard coded for MAC

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
commit f60c0036f2f0576065595b4b4191e70ebacac56c
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sun Feb 16 18:31:17 2020 +0530

    Fix for RX timestamping issue

commit 40371135e6fae2cbbbb2087f55bee931e0d310c7
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sun Feb 16 14:26:44 2020 +0530

    Add a workaround for test not sending any packets without couple of second delays post link up

commit ed8a37aac3e9fb61d9d7fdb10a0136126905922a
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sun Feb 16 12:37:49 2020 +0530

    Enabling remaining tests

commit c0208781cd5e24901539dc2c94e4a2cc103c9387
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Sun Feb 16 11:30:10 2020 +0530

    Many fixes in test_utils_k3.c for TSN MAC to work, removed OCRAM/MSMC hardcodings in the FW related buffer pool

    RX and TX timestamping is broken.

    TX is due to MAC port to slice mapping differences and associated hardcoding in FW.

    RX timestamp is not updated !

    Updated switch_mem_map.h, FW headers for MAC and Switch

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
commit a1660ec9e13435a1b0d99ad1acb7041832b5b310
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Thu Feb 13 01:27:13 2020 +0530

    Fixes for TX timestamps to work with TSN MAC firmware

commit 8b8fdf4e14545845b40f4acdb40ac30b2cef8b28
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Thu Feb 13 00:41:27 2020 +0530

    Update FW headers to match restored ring configuration for AM65xx

commit 82786e32ab2f92e24b5d2522961cb3e358dd3d51
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Tue Feb 11 19:39:47 2020 +0530

    Fixes for EMAC unit test (TX to RX from Port0 to Port1 and vice versa) and RX time stamping to work

    TODO
    TX Time stamping
    A break point in emac_send is required for all packets to be sent correctly (issue exists with original FW as well)

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
commit bf5c714656377bfc73da56f3b002a397846c337c
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Tue Feb 11 19:33:33 2020 +0530

    Firmware fixes for RX path to work (Using Default FlowID for now)

commit bc03f59402159edf2946de30564bd154abebaf6c
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Mon Feb 10 17:47:33 2020 +0530

    Adding TSN MAC/Switch FW headers

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
commit b08b4e14305f194c03808d3da9738d733aeb5e56
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Mon Feb 10 17:41:23 2020 +0530

    EMAC support using TSN Switch FW - prelim changes

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
commit 5981fb0626df77d4cd3747c0833f676a17518970
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Tue Feb 4 17:12:28 2020 +0530

    Aligning flow config to match J7ES for Maxwell PG2

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
commit de911effe82cdd70d2542db151162ec24aecd0bc
Merge: a45fb115 f75bb991
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Tue Feb 4 14:23:34 2020 +0530

    Merge remote-tracking branch 'remotes/origin/PRSDK-7993-support-ccs-launch-pg2'

commit f75bb99199515d11875c4db43b42ef0abf0151e6
Author: Brandon Wetzel <b-wetzel@ti.com>
Date:   Mon Feb 3 19:34:21 2020 -0500

    PRSDK-7993:sciclient:Support CCS launch for AM65xx PG2

    Sciclient must support PG2 in the sciclient_ccs_init_main/launch.js boot flow.

    Also added SYSFW w2020.17 and generated residual launch bins for J7

commit a45fb11502bd64cade802c59eae651b805615b3f
Merge: 54c55ed6 0b054e50
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Mon Feb 3 21:47:23 2020 +0530

    Merge remote-tracking branch 'remotes/origin/am65xx-pg2-support'

commit 54c55ed6726ca994869a6e2bb6696126775d3b7b
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Mon Feb 3 21:42:12 2020 +0530

    Disable EMAC_AM65XX_DUAL_ICSSG_CONFIG for PG2

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
commit 0b054e50ca3c7f62e0cebd3a197cbd4228a71f98
Author: Brandon Wetzel <b-wetzel@ti.com>
Date:   Mon Feb 3 09:16:03 2020 -0500

    PRSDK-7990:sciclient:Fix makefile warnings

    Makefile was reporting mixed implicit and normal rules. This was due to a
    comment formatting problem (introduced a rogue space)

commit 0e89f7352a8e96c26a15f83a00c30a40fcba05d1
Author: Pratheesh Gangadhar <pratheesh@ti.com>
Date:   Mon Feb 3 08:17:00 2020 +0530

    Adding board and emac lld fixes for AM65x and J7ES ICSSG TSN firmware

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
23 months agoBoard: Fix for AM65x Boot switch diag build failure
M V Pratap Reddy [Wed, 1 Jul 2020 08:42:03 +0000 (14:12 +0530)]
Board: Fix for AM65x Boot switch diag build failure

2 years agopdk build: PDK-5676: Migrate to aligned tool version for AM64x
Hao Zhang [Tue, 30 Jun 2020 15:15:15 +0000 (11:15 -0400)]
pdk build: PDK-5676: Migrate to aligned tool version for AM64x

Signed-off-by: Hao Zhang <hzhang@ti.com>
2 years agosciclient: doxygen fixes
Piyali Goswami [Tue, 30 Jun 2020 11:14:25 +0000 (16:44 +0530)]
sciclient: doxygen fixes

Doxygen comment fixes for API guide generation

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
2 years agoMove the GTC clock to SoC specific defines for K3 parts
Aravind Batni [Mon, 29 Jun 2020 22:27:47 +0000 (18:27 -0400)]
Move the GTC clock to SoC specific defines for K3 parts

Signed-off-by: Aravind Batni <aravindbr@ti.com>
2 years ago[PDK-5675] UDMA UT: Updates in test_event.c related to AM64x porting
Don Dominic [Mon, 29 Jun 2020 08:48:22 +0000 (14:18 +0530)]
[PDK-5675] UDMA UT: Updates in test_event.c related to AM64x porting

-UDMA_EVENT_TYPE_ERR_OUT_OF_RANGE_FLOW not supported in AM64x, therefore udmaTestEventOutOfRangeFlow is disabled

Signed-off-by: Don Dominic <a0486429@ti.com>
2 years ago[PDK-5675] UDMA Unit Test : Remove FVID2 dependency
Don Dominic [Mon, 29 Jun 2020 07:22:58 +0000 (12:52 +0530)]
[PDK-5675] UDMA Unit Test : Remove FVID2 dependency

-Duplicated trace.c and trace.h in udma/ut
-makefile and related updates

Signed-off-by: Don Dominic <a0486429@ti.com>
2 years agotools - Update NDK and NS versions
a0132233 [Fri, 26 Jun 2020 17:53:48 +0000 (23:23 +0530)]
tools - Update NDK and NS versions

- Updated as below NDK and NS versions has THUMB mode support enabled
   * NDK 3_76_00_05
   * NS 2_76_00_03

Signed-off-by: a0132233 <prasad.jondhale@ti.com>
2 years agopruss: fix package issue for unexpected SOCs
Eric Ruei [Sat, 27 Jun 2020 01:32:04 +0000 (21:32 -0400)]
pruss: fix package issue for unexpected SOCs

Signed-off-by: Eric Ruei <e-ruei1@ti.com>
2 years agobuild/tpr12: lib build cleanup
Eric Ruei [Thu, 25 Jun 2020 14:07:02 +0000 (10:07 -0400)]
build/tpr12: lib build cleanup

- all components except mailbox should be core independent
- indp library should be disabled for k3/tpr12
- profile related builds should be disabled for k3/tpr12

Signed-off-by: Eric Ruei <e-ruei1@ti.com>
2 years agoPDK-5104: Board: Updated diagnostic framework application for J7200 EVM
M V Pratap Reddy [Sat, 27 Jun 2020 23:22:53 +0000 (04:52 +0530)]
PDK-5104: Board: Updated diagnostic framework application for J7200 EVM

 Note: Build is not enabled due to dependency on sbl support for J7200

2 years agoPDK-5392: Enabled LIN diagnostic test for J7200 EVM
M V Pratap Reddy [Sat, 27 Jun 2020 23:11:50 +0000 (04:41 +0530)]
PDK-5392: Enabled LIN diagnostic test for J7200 EVM

2 years agoPDK-5105: Board: Enabled RS485 diagnostic test for J7200 EVM
M V Pratap Reddy [Sat, 27 Jun 2020 23:05:30 +0000 (04:35 +0530)]
PDK-5105: Board: Enabled RS485 diagnostic test for J7200 EVM

2 years agoPDK-5001: Enabled MCAN diagnostic test for J7200 EVM
M V Pratap Reddy [Sat, 27 Jun 2020 22:41:15 +0000 (04:11 +0530)]
PDK-5001: Enabled MCAN diagnostic test for J7200 EVM

2 years agoPDK-5014: Board: Enabled IO expansion header diagnostic test for J7200 EVM
M V Pratap Reddy [Sat, 27 Jun 2020 20:19:26 +0000 (01:49 +0530)]
PDK-5014: Board: Enabled IO expansion header diagnostic test for J7200 EVM

2 years agoPDK-5091: Board: Enabled ADC diagnostic test for J7200 EVM
M V Pratap Reddy [Sat, 27 Jun 2020 20:04:29 +0000 (01:34 +0530)]
PDK-5091: Board: Enabled ADC diagnostic test for J7200 EVM

2 years agoPDK-5093: Board: Enabled boot switch diagnostic test for J7200 EVM
M V Pratap Reddy [Sat, 27 Jun 2020 19:53:46 +0000 (01:23 +0530)]
PDK-5093: Board: Enabled boot switch diagnostic test for J7200 EVM

2 years agoPDK-5095: Board: Enabled automation header diagnostic test for J7200 EVM
M V Pratap Reddy [Sat, 27 Jun 2020 19:50:39 +0000 (01:20 +0530)]
PDK-5095: Board: Enabled automation header diagnostic test for J7200 EVM

2 years agosciclient: launch_qt.js Added tested launch script for QT.
Piyali Goswami [Sat, 27 Jun 2020 13:18:49 +0000 (18:48 +0530)]
sciclient: launch_qt.js Added tested launch script for QT.

The times are slowed down further and the RAT mapping and GEL sequence to enable PSC for R5F have been added.

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
2 years agoMigrating to SYSFW version presil/j7vcl
Piyali Goswami [Wed, 24 Jun 2020 12:07:18 +0000 (17:37 +0530)]
Migrating to SYSFW version presil/j7vcl

Migrating SYSFW to J7VCL

Fixes: PDK-6972

2 years agoJ7200: Sciclient Migrate
Piyali Goswami [Wed, 24 Jun 2020 11:46:07 +0000 (17:16 +0530)]
J7200: Sciclient Migrate

J7200 Sciclient Migrate

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
2 years agoMigrating to SYSFW version v2020.05 and AM64 presilicon
Piyali Goswami [Sat, 20 Jun 2020 07:40:57 +0000 (13:10 +0530)]
Migrating to SYSFW version v2020.05 and AM64 presilicon

Migration to SYSFW version v2020.05 and AM64 presilicon binaries

Fixes: PDK-6865

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
2 years agoPDK-5086: Enabled Uniflash flash programmer support for J7200 EVM
M V Pratap Reddy [Wed, 24 Jun 2020 19:57:07 +0000 (01:27 +0530)]
PDK-5086: Enabled Uniflash flash programmer support for J7200 EVM

 - PDK-5086: Enabled OSPI flash programmer
 - PDK-5087: Enabled eMMC flash programmer
 - PDK-4973: Enabled Hyperflash flash programmer

2 years ago[PDK-5625] UDMA Unit Test - Updates for Test Bug
Don Dominic [Tue, 23 Jun 2020 13:13:53 +0000 (18:43 +0530)]
[PDK-5625] UDMA Unit Test - Updates for Test Bug

-Changed Proxy Alloc to VINTR Alloc(by registering master event in shared mode) since Proxy is not present in devices like AM64x
-Other updates related to instId

-udmaTestBugTcPDK_4654 Passed

Signed-off-by: Don Dominic <a0486429@ti.com>
2 years ago[PDK-6790] Fix the out of memory issue of negative test for IPC and
Amit Makani [Fri, 19 Jun 2020 07:09:00 +0000 (12:39 +0530)]
[PDK-6790] Fix the out of memory issue of negative test for IPC and
enabled all negative test case.

Signed-off-by: Amit Makani <amit.makani@ti.com>
2 years agopdk: PDK-6853: revert change in am64x linder_r5.lds
Hao Zhang [Tue, 23 Jun 2020 13:55:11 +0000 (09:55 -0400)]
pdk: PDK-6853: revert change in am64x linder_r5.lds

Signed-off-by: Hao Zhang <hzhang@ti.com>
2 years ago[PDK-6892] UDMA: Added support for Ring ASEL (address select) configuration
Don Dominic [Fri, 19 Jun 2020 14:17:34 +0000 (19:47 +0530)]
[PDK-6892] UDMA: Added support for Ring ASEL (address select) configuration

-New parameter 'asel' in Udma_RingPrms to support configuration of Ring ASEL (address select) [ASEL field of the ring's RING_BA_HI register]
-This is not supported in some SoC.On SoCs that do not support this field the input is quietly ignored.

-This enables rings to be configured with ACP based coherency in AM64x for A53 core.

Signed-off-by: Don Dominic <a0486429@ti.com>
2 years agoPDK-5037: Board: Initial version of board library for J7200 EVM
M V Pratap Reddy [Mon, 22 Jun 2020 20:46:12 +0000 (02:16 +0530)]
PDK-5037: Board: Initial version of board library for J7200 EVM

 - PLL, clock and config update
 - Control and utils module update
 - Initial version of pinmux
 - DDR config update
 - LLD init for I2C and UART

2 years agoPDK-5910: ESM Example app in PDK.
Danny Jochelson [Fri, 12 Jun 2020 23:44:43 +0000 (18:44 -0500)]
PDK-5910: ESM Example app in PDK.

All 5 use cases for ESM example application functional.
Includes pin control for clearing the MCU_SAFETY_ERRORn
pin.
Confirmed proper functionality of the MCU_SAFETY_ERRORn
with the default minimum interval time of 100usec.

2 years agopdk: PDK-6853: use common simulation build compilation flag
Hao Zhang [Mon, 22 Jun 2020 17:41:44 +0000 (13:41 -0400)]
pdk: PDK-6853: use common simulation build compilation flag

Use a common simulation build flag (SIM_BUILD) in build infrastructure
for simulation test on VLAB/Zebu/QT. The flag need to be removed
from build infrastructure when testing on actual EVM.

Signed-off-by: Hao Zhang <hzhang@ti.com>
2 years agoospi: workaround to send reset command to flash
Hao Zhang [Fri, 19 Jun 2020 18:09:24 +0000 (14:09 -0400)]
ospi: workaround to send reset command to flash

Send reset command to flash after disabling/enabling the OSPI
controller. This is a workaround to address the Synopsis flash model
reset issue on Zebu.

Signed-off-by: Hao Zhang <hzhang@ti.com>
2 years agoPDK/Build: add missing instruction to copy rov.xs from configuro folder to bin
Eric Ruei [Fri, 19 Jun 2020 22:42:45 +0000 (18:42 -0400)]
PDK/Build: add missing instruction to copy rov.xs from configuro folder to bin

Note: The rov.xs file is required for CCS ROV-related operation.

Signed-off-by: Eric Ruei <e-ruei1@ti.com>
2 years agocsirx clock config for tpr12 boards (missed this one in earlier commit)
Piyush Patel [Sat, 20 Jun 2020 20:36:16 +0000 (16:36 -0400)]
csirx clock config for tpr12 boards (missed this one in earlier commit)

2 years agocsirx clock configuration for tpr12 boards
Piyush Patel [Sat, 20 Jun 2020 20:15:46 +0000 (16:15 -0400)]
csirx clock configuration for tpr12 boards

2 years ago[PDK-5625] UDMA Unit Test - Basic Porting for AM64x
Don Dominic [Fri, 19 Jun 2020 07:57:49 +0000 (13:27 +0530)]
[PDK-5625] UDMA Unit Test - Basic Porting for AM64x

- UT Build for AM64x passing
- Support for mpu1_0,mcu1_0,mcu1_1,mcu2_0 and mcu2_1

- BlkCpy related tests (except 3481 & 3482) successfull on VLAB

Squashed Commits:

LCDMA Ring Accelerator Updates
Build Issues Fix
Linker file and Makefile update
-makefile : proxy and ringmonitor excluded for am64x soc
udma_test_blkcpy.c Update
Added udma_test_soc.h and udma_test.h File for am64x

TODO:
-Updates for
* test_bug.c
* test_event.c
* test_flow.c
* test_ring.c

Signed-off-by: Don Dominic <a0486429@ti.com>
2 years agoPRSDK-8607: Board: Removed CSL based PLL config functions in AM65x Board library
M V Pratap Reddy [Mon, 15 Jun 2020 19:47:38 +0000 (01:17 +0530)]
PRSDK-8607: Board: Removed CSL based PLL config functions in AM65x Board library

 - PER0 and CPSW PLL clocks are being configured using direct register access through CSL macros.
   This was due to the issues faced with OSPI and USB interface tests when sciclient APIs are
   used for PER0 and CPSW PLL configurations. These issues are resolved with latest sysfw, so all
   the PLL configurations are done through sciclient APIs in the board library.

2 years agoPDK-5008: Board: Enabled UART diagnostic test for J7200 EVM
M V Pratap Reddy [Fri, 19 Jun 2020 22:33:07 +0000 (04:03 +0530)]
PDK-5008: Board: Enabled UART diagnostic test for J7200 EVM

2 years agoPDK-5097: Board: Enabled eMMC diagnostic test for J7200 EVM
M V Pratap Reddy [Fri, 19 Jun 2020 21:26:26 +0000 (02:56 +0530)]
PDK-5097: Board: Enabled eMMC diagnostic test for J7200 EVM

 - PDK-5096: Enabled MMCSD diagnostic test for J7200 EVM