2 years agoam64x: launch.js: update file name for sysfw
Vishal Mahaveer [Thu, 8 Oct 2020 16:32:53 +0000 (11:32 -0500)]
am64x: launch.js: update file name for sysfw

Update correct file name for sysfw file.

Signed-off-by: Vishal Mahaveer <>
2 years ago[PDK-8182] AM64x RM: Update Sciclient_defaultBoardCfg to the latest from SysConfig...
Don Dominic [Thu, 8 Oct 2020 10:54:49 +0000 (16:24 +0530)]
[PDK-8182] AM64x RM: Update Sciclient_defaultBoardCfg to the latest from SysConfig tool

- Change allocation to non secure hosts for all R5
- Unlike previous K3 devices, am64s contexts for secure / non secure  are swapped for R5 cores.
- Currently, am64x uses R5_0/2 as secure and R5_1/3 as non secure context.
- Update the allocation such that all resources are assigned to the non secure contexts R5_1/3
- Share the allocation of R5_1 (non secure) to R5_1(secure) so that bootloaders can use these resources w/o changing the security of Main R5

- Along with updates in udma_rmcfg.c for am64x.
- Regenerated Sciclient Boardcfg and sciclient_ccs_init

Signed-off-by: Don Dominic <>
2 years agoBoard: Fix for am64x evm ospi diagnostic test build failure
M V Pratap Reddy [Thu, 8 Oct 2020 07:12:09 +0000 (12:42 +0530)]
Board: Fix for am64x evm ospi diagnostic test build failure

2 years agoPDK-7686: Fix SBL "CUST" build for J7200 when OSPI PHY enabled
Jonathan Bergsagel [Thu, 8 Oct 2020 03:56:53 +0000 (22:56 -0500)]
PDK-7686: Fix SBL "CUST" build for J7200 when OSPI PHY enabled

J7200 OSPI boot requires usage of DMA with OSPI whenever
the PHY is enabled.  So, sbl_cust_img build must also use

Signed-off-by: Jonathan Bergsagel <>
2 years agoAdded windowed watchdog timer example
Nicholas Chan [Fri, 26 Jun 2020 16:39:04 +0000 (11:39 -0500)]
Added windowed watchdog timer example

2 years agoosal rtos test compilation fix for am64x
Aravind Batni [Wed, 7 Oct 2020 17:04:44 +0000 (13:04 -0400)]
osal rtos test compilation fix for am64x

Signed-off-by: Aravind Batni <>
2 years ago[PDK-8145] Board: J721E DDR: Check-in Latest DDR Configuration Revision: 0.5.0
Don Dominic [Wed, 30 Sep 2020 11:27:09 +0000 (16:57 +0530)]
[PDK-8145] Board: J721E DDR: Check-in Latest DDR Configuration Revision: 0.5.0

    - Update configuration to output from EMIF tool output
- LP4-4266 register settings
- Updates found during J7ES characterization
   - DDR4 Frequency = 800MHz (1600MTs)

Signed-off-by: Don Dominic <>
2 years agoPDK-7686: Enable DMA in SBL when OSPI PHY is enabled
Jonathan Bergsagel [Tue, 6 Oct 2020 07:26:22 +0000 (02:26 -0500)]
PDK-7686: Enable DMA in SBL when OSPI PHY is enabled

Enables "SBL_USE_DMA" for J7200 / J721E, for testing with
the OSPI PHY enabled and the required PHY tuning procedure.

Signed-off-by: Jonathan Bergsagel <>
2 years agoPDK-7613: Support check for the DDR access in launch.js
Piyali Goswami [Tue, 6 Oct 2020 11:47:46 +0000 (17:17 +0530)]
PDK-7613: Support check for the DDR access in launch.js

Support check for DDR access in launch.js

Signed-off-by: Piyali Goswami <>
2 years ago[Bug Fix] PDK-8178
Prasad Konnur [Tue, 6 Oct 2020 11:50:36 +0000 (17:20 +0530)]
[Bug Fix] PDK-8178

  Desc: mailbox example crashes for multi channel usecase

  fixed interrupt handling for multi channel case
  Added sync in example to wait for the remote core to start execution

Signed-off-by: Prasad Konnur <>
2 years agoPDK-8044 : MMCSD do not work on mcu 11/j721e
sujith [Tue, 6 Oct 2020 22:03:08 +0000 (03:33 +0530)]
PDK-8044 : MMCSD do not work on mcu 11/j721e

The destination interrupt on mcu 11 was wrong, fixed the

Signed-off-by: sujith <>
2 years agowatchdog: update the CSL include file for rti
Hongmei Gou [Wed, 30 Sep 2020 04:50:49 +0000 (00:50 -0400)]
watchdog: update the CSL include file for rti

Signed-off-by: Hongmei Gou <>
2 years agoUDMA : Remove weird chars in udma files
Don Dominic [Tue, 6 Oct 2020 07:43:05 +0000 (13:13 +0530)]
UDMA : Remove weird chars in udma files

Signed-off-by: Don Dominic <>
2 years agoBumping firmware build number
Vineet Roy [Tue, 6 Oct 2020 05:34:34 +0000 (11:04 +0530)]
Bumping firmware build number

2 years agoRemoving R22 bit conflict between PTP and STP
Vineet Roy [Thu, 1 Oct 2020 15:41:02 +0000 (21:11 +0530)]
Removing R22 bit conflict between PTP and STP

2 years agoPDK-6931: Board: Fix for am65xx uart diag log issue
M V Pratap Reddy [Tue, 6 Oct 2020 04:53:54 +0000 (10:23 +0530)]
PDK-6931: Board: Fix for am65xx uart diag log issue

 - UART diagnostic test on AM65x R5 core is not reurning to
   diagnostic test menu while running from framework.
   Need to enable MCU UART console while exiting the test.

2 years agoPDK-8114: Board: Updated ospi phy tuning algorithm to use windowed TxDLL
M V Pratap Reddy [Fri, 2 Oct 2020 05:54:33 +0000 (11:24 +0530)]
PDK-8114: Board: Updated ospi phy tuning algorithm to use windowed TxDLL

 - Finding RxDLL low value is failing on some of the j7200 boards
   at TxDLL 16. It works stable at TxDLL value of 18.
   Updated the PHY tuning algorithm to use a Window of TxDLL values
   instead of one fixed value for finding RxDLL.

2 years ago[Bug Fix] PDK-6741: sciclient firmware boot testapp doenot work
Prasad Konnur [Mon, 5 Oct 2020 08:41:36 +0000 (14:11 +0530)]
[Bug Fix] PDK-6741: sciclient firmware boot testapp doenot work

Signed-off-by: Prasad Konnur <>
2 years agoPDK-8147: IPC: AM64X: Update Vring Address
Angela Stegmaier [Wed, 30 Sep 2020 13:09:08 +0000 (08:09 -0500)]
PDK-8147: IPC: AM64X: Update Vring Address

Update the Vring address for AM64X platform from 0xAA000000
to 0xA5000000 in order to co-locate the shared memory with
the location where firmware is loaded.

Signed-off-by: Angela Stegmaier <>
2 years agoSciclient: Migrate to sysfw 2020.08-RC1 tag
Jonathan Bergsagel [Fri, 2 Oct 2020 21:38:41 +0000 (16:38 -0500)]
Sciclient: Migrate to sysfw 2020.08-RC1 tag

Moves to v2020.08-RC1 SYSFW (legacy arch used
for j721e/j7200)

NOTE: Only GP devices are supported in this SYSFW
RC.  HS device support will be coming in a later tag.

Signed-off-by: Jonathan Bergsagel <>
2 years agoPRSDK-5626: SBL: Fix FSS DAT0 firewall issue for HS devices
Jonathan Bergsagel [Thu, 1 Oct 2020 22:03:35 +0000 (17:03 -0500)]
PRSDK-5626: SBL: Fix FSS DAT0 firewall issue for HS devices

Disables firewalls for FSS DAT0 (OSPI0) flash region
in order to allow DMA usage with flash for SBL HS devices.
This handles a carryover issue from Secure ROM, that leaves
certain firewalls enabled after it completes its operations.

Signed-off-by: Jonathan Bergsagel <>
2 years agoPDK-7686: SBL: Update OSPI Board_flashOpen params for PHY usage
Jonathan Bergsagel [Sat, 3 Oct 2020 07:03:36 +0000 (02:03 -0500)]
PDK-7686: SBL: Update OSPI Board_flashOpen params for PHY usage

Fixes issue with Board_flashRead, when used w/ DMA, by resetting
PHY tuning params with the Board_flashOpen call, and by disabling
the flash XIP mode.  Will look into adding back XIP mode w/
PHY tuning at a later point.

Signed-off-by: Jonathan Bergsagel <>
2 years agoPDK-7686: SBL: Fix R5_MPU setup for PHY tuning in FSS DAT0
Jonathan Bergsagel [Thu, 1 Oct 2020 00:51:58 +0000 (19:51 -0500)]
PDK-7686: SBL: Fix R5_MPU setup for PHY tuning in FSS DAT0

Fixes FSS DAT0 regions for OSPI/XSPI flash to allow for
PHY tuning data region to be uncached, while all the rest
of the Flash is left as cacheable.
Issue is fixed now for: J721E, J7200, and AM65xx.

Signed-off-by: Jonathan Bergsagel <>
2 years agoPDK-8163: Board: Updated board diag test result log as needed for test automation
M V Pratap Reddy [Sun, 4 Oct 2020 23:14:18 +0000 (04:44 +0530)]
PDK-8163: Board: Updated board diag test result log as needed for test automation

2 years agosdr: Bug fix and Minor formatting and comment changes
Sam Nelson [Fri, 2 Oct 2020 17:16:06 +0000 (13:16 -0400)]
sdr: Bug fix and Minor formatting and comment changes

Signed-off-by: Sam Nelson <>
2 years agodiag: ecc_example_app: Fix expected address offset for VIM RAM use cases
Sam Nelson [Fri, 2 Oct 2020 16:54:10 +0000 (12:54 -0400)]
diag: ecc_example_app: Fix expected address offset for VIM RAM use cases

Signed-off-by: Sam Nelson <>
2 years agosdr: Add width and size correction for VIM RAM id
Sam Nelson [Fri, 2 Oct 2020 16:48:11 +0000 (12:48 -0400)]
sdr: Add width and size correction for VIM RAM id

Signed-off-by: Sam Nelson <>
2 years agosdr: Remove TODO statement
Sam Nelson [Fri, 2 Oct 2020 15:32:15 +0000 (11:32 -0400)]
sdr: Remove TODO statement

Signed-off-by: Sam Nelson <>
2 years agosdr: am65xx: Update to use manually generated cslr_soc_ecc_aggr.h
Sam Nelson [Fri, 2 Oct 2020 14:35:23 +0000 (10:35 -0400)]
sdr: am65xx: Update to use manually generated cslr_soc_ecc_aggr.h

Note: cslr_soc_ecc_aggr.h is manually generated only for MCU R5F for now

Signed-off-by: Sam Nelson <>
2 years agosdr: Remove use of defines from csl_ecc_aggr_ram_id.h
Sam Nelson [Fri, 2 Oct 2020 14:33:20 +0000 (10:33 -0400)]
sdr: Remove use of defines from csl_ecc_aggr_ram_id.h

Note all the information from csl_ecc_aggr_ram_id.h is now available in
auto generated cslr_soc_ecc_aggr.h

Signed-off-by: Sam Nelson <>
2 years agosdr: Update to cross check agains group checkers data
Sam Nelson [Fri, 2 Oct 2020 04:28:42 +0000 (00:28 -0400)]
sdr: Update to cross check agains group checkers data

Signed-off-by: Sam Nelson <>
2 years agoPDK-5918: ECC example and SDR updates for latest CSLR.
Danny Jochelson [Thu, 1 Oct 2020 22:22:18 +0000 (17:22 -0500)]
PDK-5918: ECC example and SDR updates for latest CSLR.

Changed chkGrp in ECC example to use uint32_t type, and got rid of
the SDR_ECC_MemSubSubType from SDR layer.
Removed "Dummy" RAM ID's from MSMC AGGR0 list, and filled these slots
with SDR macros for "INVALID" slots.
Updated R5F Group Checker array to use CSLR values (for a single RAM ID
on MCU R5F Aggregator).
Added Group Checker array for MSMC RAM ID used for Interconnect RAM ID
examples in ECC example.

2 years agosdr: Use CSL-R defines
Sam Nelson [Thu, 1 Oct 2020 19:28:24 +0000 (15:28 -0400)]
sdr: Use CSL-R defines

TODO: need to remove DUMMY ids

Signed-off-by: Sam Nelson <>
2 years agoPDK-5918: Added eccMemType to ECC callback.
Danny Jochelson [Thu, 1 Oct 2020 17:10:59 +0000 (12:10 -0500)]
PDK-5918: Added eccMemType to ECC callback.

Propagated the eccMemType to the ECC callback so that the application
can receive this information.
Added to ECC example printout and checking of this information.

2 years agoPDK-6963: Board: Enabled MMR unlock for tpr12 IO MUX registers
M V Pratap Reddy [Fri, 2 Oct 2020 14:14:16 +0000 (19:44 +0530)]
PDK-6963: Board: Enabled MMR unlock for tpr12 IO MUX registers

 - Corrected the I2C pinmux
 - Enabled board UART init support

2 years agoPDK-7036: SBL: AM65xx: Remove support for TCM pre-loading
Jonathan Bergsagel [Tue, 15 Sep 2020 04:54:02 +0000 (23:54 -0500)]
PDK-7036: SBL: AM65xx: Remove support for TCM pre-loading

Avoids loss of TCM data when power-cycling MCU R5 cores
(for reset into the next app) by removing support for TCM
pre-loading, for AM65xx SoC.

This will require loaded MCU applications to avoid using
"load" sections for ATCM/BTCM memory, and instead enable &
load their own data into the TCM memories once they have
started to run.

Signed-off-by: Jonathan Bergsagel <>
2 years agoPDK-7036: SBL: Update POKE MEM addresses for SBL test
Jonathan Bergsagel [Wed, 2 Sep 2020 22:32:29 +0000 (17:32 -0500)]
PDK-7036: SBL: Update POKE MEM addresses for SBL test

Changes the SBL test POKE MEM addresses in order to not
overlap with possible SBL bootloader memory usage, going

Signed-off-by: Jonathan Bergsagel <>
2 years agoShorter SBL Boot Test
Brandon Wetzel [Mon, 31 Aug 2020 21:30:10 +0000 (17:30 -0400)]
Shorter SBL Boot Test

Add a shorter SBL boot test that does not rely on delays in the start. The delays previously hid the fact that MCU1_1 was running its application twice

2 years agoFix the SBL R5F-0 cluster reset sequence
Brandon Wetzel [Mon, 31 Aug 2020 21:26:03 +0000 (17:26 -0400)]
Fix the SBL R5F-0 cluster reset sequence

SBL has been illegally resetting the R5F-0 cluster.

Core 1 must never be in a higher functional state than core 0, and it is a bad idea to power-down (and power back on) the cores once TCMs have been loaded (as the data will not necessarily be valid when the RAM comes back on-line).

2 years agoPDK-8155: IPC: test: Add sleep while waiting for Linux
Angela Stegmaier [Thu, 1 Oct 2020 19:15:26 +0000 (14:15 -0500)]
PDK-8155: IPC: test: Add sleep while waiting for Linux

Between checking for the remote (Linux) to be ready via the
call to Ipc_isRemoteReady, the test should sleep the task
to give a chance for other tasks to run rather than
busy waiting for Linux.

To enable Task_sleep to be functional for all cores, also
enable the timer interrupts for C7x and C66x, rather than only
for the IPC negative test.

Signed-off-by: Angela Stegmaier <>
2 years agoAdd support for Windows makefiles
Brandon Wetzel [Thu, 1 Oct 2020 14:10:55 +0000 (10:10 -0400)]
Add support for Windows makefiles

2 years agoMove bypass workaround to C code to allow for SIM_BUILD
Brandon Wetzel [Tue, 29 Sep 2020 22:34:37 +0000 (18:34 -0400)]
Move bypass workaround to C code to allow for SIM_BUILD

2 years agoDo a full OSPI driver bypass to work with the current OSPI ip packaged with current...
Brandon Wetzel [Tue, 29 Sep 2020 02:46:14 +0000 (22:46 -0400)]
Do a full OSPI driver bypass to work with the current OSPI ip packaged with current Zebu release

2 years agopruss: Update version to in package.xdc
Dhaval Khandla [Fri, 25 Sep 2020 19:48:29 +0000 (14:48 -0500)]
pruss: Update version to in package.xdc

2 years agopruss: Increment the version number to
Dhaval Khandla [Thu, 24 Sep 2020 14:29:58 +0000 (09:29 -0500)]
pruss: Increment the version number to

2 years agoFix for windows
Brandon Wetzel [Fri, 18 Sep 2020 16:57:55 +0000 (12:57 -0400)]
Fix for windows

2 years agoMove bypass workaround to C code to allow for SIM_BUILD
Brandon Wetzel [Tue, 29 Sep 2020 22:34:37 +0000 (18:34 -0400)]
Move bypass workaround to C code to allow for SIM_BUILD

2 years agoBoard: Fix for tpr12 evm pmic diagnostic test build REL.CORESDK.
M V Pratap Reddy [Thu, 1 Oct 2020 11:20:54 +0000 (16:50 +0530)]
Board: Fix for tpr12 evm pmic diagnostic test build

2 years ago[PDK-7488] TPR12: SBL build fix and bios cfg file cleanup
Badri S [Thu, 1 Oct 2020 08:40:28 +0000 (14:10 +0530)]
[PDK-7488] TPR12: SBL build fix and bios cfg file cleanup

Build fix for SBL for TPR12 and cleanup sysbios cfg file
as sysbios now support correct values for CPU freq for
DSP/R5F and RTI timer

Signed-off-by: Badri S <>
2 years agoPDK-5088: Board: Enabled cpsw diagnostic test for j7200 evm
M V Pratap Reddy [Thu, 1 Oct 2020 05:59:39 +0000 (11:29 +0530)]
PDK-5088: Board: Enabled cpsw diagnostic test for j7200 evm

 PDK-5088: Enabled support for CPSW5G RGMII Ethernet test
 PDK-5535: Enabled support for CPSW5G SGMII Ethernet test

2 years agoPDK-5535: Board: Added SGMII support for j721e evm cpsw diagnostic test
M V Pratap Reddy [Thu, 1 Oct 2020 05:47:31 +0000 (11:17 +0530)]
PDK-5535: Board: Added SGMII support for j721e evm cpsw diagnostic test

2 years agoPDK-6860: Board: Integrated pmic diagnostic test with pmic lld
M V Pratap Reddy [Wed, 30 Sep 2020 08:23:47 +0000 (13:53 +0530)]
PDK-6860: Board: Integrated pmic diagnostic test with pmic lld

2 years agoBumping the version numbers post PTP addition to Switch/EMAC Firmware
Vineet Roy [Tue, 29 Sep 2020 09:59:18 +0000 (15:29 +0530)]
Bumping the version numbers post PTP addition to Switch/EMAC Firmware

2 years agoPDK-7684: Board: Added DAC and PHY mode support for ospi diagnostic test
M V Pratap Reddy [Wed, 30 Sep 2020 05:18:40 +0000 (10:48 +0530)]
PDK-7684: Board: Added DAC and PHY mode support for ospi diagnostic test

 - Updated the ospi diagnostic test to write tuning data to the flash
   and verify memory access in PHY mode.
 - Enable DMA mode support for OSPI diagnostic test

2 years agoPDK-4973: Board: Corrected no register settings for j7200 flash programmer
M V Pratap Reddy [Wed, 30 Sep 2020 03:45:28 +0000 (09:15 +0530)]
PDK-4973: Board: Corrected no register settings for j7200 flash programmer

2 years agoPDK-7718: Board: Fix for j7200 evm hyperflash stability issue
M V Pratap Reddy [Wed, 30 Sep 2020 03:44:36 +0000 (09:14 +0530)]
PDK-7718: Board: Fix for j7200 evm hyperflash stability issue

2 years agoPDK-5918: ECC Example application functional 6/6 use cases.
Danny Jochelson [Thu, 24 Sep 2020 20:00:40 +0000 (15:00 -0500)]
PDK-5918: ECC Example application functional 6/6 use cases.

All 6 use cases are functional.

2 years agoFix XDC build error
Sivaraj R [Wed, 30 Sep 2020 05:15:35 +0000 (10:45 +0530)]
Fix XDC build error

Signed-off-by: Sivaraj R <>
2 years agoSBL: Fix SBL_QoS build and include in sbl_lib
Jonathan Bergsagel [Wed, 30 Sep 2020 01:47:46 +0000 (20:47 -0500)]
SBL: Fix SBL_QoS build and include in sbl_lib

SBL_QoS function is needed by MCU BootApp and needs to
build for J7200 as well as J721E.

Signed-off-by: Jonathan Bergsagel <>
2 years ago[Addressed Review Comments]
Vivek Dhande [Tue, 29 Sep 2020 13:02:04 +0000 (18:32 +0530)]
[Addressed Review Comments]

Signed-off-by: Vivek Dhande <>
2 years ago[Bug Fix][PDK-8103][PDK-5237][OSAL]'TimerP_getTimeInUsecs()' API return wrong time...
Vivek Dhande [Tue, 29 Sep 2020 10:52:54 +0000 (16:22 +0530)]
[Bug Fix][PDK-8103][PDK-5237][OSAL]'TimerP_getTimeInUsecs()' API return wrong time value in Bare-metal

- Issue:
    - OSAL returns wrong time stamp value in microseconds when used in BM/nonOS mode
    - As a result, Applications report low performance (~2.5x less) in BM mode
- Root-cause:
    - R5 PMU frequency returned in BM is wrong
    - It is returned as 400MHz while is should be 1GHz
    - This is statically initiated for all K3 devices while it should be different for some SoCs
        - e.g. for J7 it is 1Ghz and for Maxwell, it is 400MHz
- Resolution:
    - Initialize this frequency differently for different SoCs

Signed-off-by: Vivek Dhande <>
2 years ago[PDK-8027] Sciclient RM : J721E - Allign Sciclient_defaultBoardCfg_rm.c with Linux
Don Dominic [Fri, 18 Sep 2020 10:54:24 +0000 (16:24 +0530)]
[PDK-8027] Sciclient RM : J721E - Allign Sciclient_defaultBoardCfg_rm.c with Linux

- Updated J721E - Sciclient_defaultBoardCfg_rm.c to allign with Linux.
- Effectively uses less HOST_ID_ALL and allocates resources to specific cores.

- File generated from SysConfig Tool + k3-resource-partitioning master(9e59d70ff5b)

Signed-off-by: Don Dominic <>
2 years ago[DDR_INIT] Flattened AXI priorities
Shyam Jagannathan [Wed, 23 Sep 2020 14:57:56 +0000 (20:27 +0530)]
[DDR_INIT] Flattened AXI priorities

- The defaults are not good, we need to flatten AXI priority defaults to make VBUSM.C priorities take effect

Signed-off-by: Shyam Jagannathan <>
2 years agofixed mmcsd mpu image size issue
Prasad Konnur [Tue, 29 Sep 2020 06:44:54 +0000 (12:14 +0530)]
fixed mmcsd mpu image size issue

Signed-off-by: Prasad Konnur <>
2 years agoRemoving AM335x specific changes
Vineet Roy [Mon, 28 Sep 2020 17:58:44 +0000 (23:28 +0530)]
Removing AM335x specific changes

2 years agoApplying makefile patches to enable PTP for RSTP switch
Vineet Roy [Mon, 28 Sep 2020 17:54:39 +0000 (23:24 +0530)]
Applying makefile patches to enable PTP for RSTP switch

2 years agoFix for incorrect offset for TS copy
Vineet Roy [Fri, 25 Sep 2020 11:20:21 +0000 (16:50 +0530)]
Fix for incorrect offset for TS copy

Was using the wrong offset for copying Timestamp for the usecase where last block is wrapped around

2 years agoFollow Up Forwarding Fix
Vineet Roy [Fri, 25 Sep 2020 11:08:15 +0000 (16:38 +0530)]
Follow Up Forwarding Fix

Fix for preventing follow up frames from getting forwarded, this is required for 2-step bridge delay calculation

2 years agoFixing the PTP Macro definition for Tx
Vineet Roy [Mon, 7 Sep 2020 14:33:50 +0000 (20:03 +0530)]
Fixing the PTP Macro definition for Tx

Without this PTP pkt detection wouldn't get compiled

2 years agoFix for missing label and compilation issue
Vineet Roy [Mon, 7 Sep 2020 07:41:36 +0000 (13:11 +0530)]
Fix for missing label and compilation issue

2 years agoAdding changes to enable PTP for RSTP and ICSS Switch
Vineet Roy [Mon, 31 Aug 2020 13:07:28 +0000 (18:37 +0530)]
Adding changes to enable PTP for RSTP and ICSS Switch

1. Changes in FW to enable PTP
2. Removed Unicast UDP support as it's not tenable with switch enablement
3. Added support for switch + PTP application in timeSync folder

2 years agoadd/enable XPC getLibs support for TPR12 drivers
Eric Ruei [Mon, 29 Jun 2020 18:23:31 +0000 (14:23 -0400)]
add/enable XPC getLibs support for TPR12 drivers

- crc
- edma
- esm
- hwa
- mailbox
- mibspi
- watchdog

- select the same library (r5f) for both arm and thumb modes

Signed-off-by: Eric Ruei <>
2 years ago[SBL_QOS] Added more QOS parameters
Shyam Jagannathan [Tue, 22 Sep 2020 02:30:35 +0000 (08:00 +0530)]
[SBL_QOS] Added more QOS parameters

Signed-off-by: Shyam Jagannathan <>
2 years agoPDK-6550: Board: Fix for Hyperflash diagnostic test on J721E EVM
M V Pratap Reddy [Mon, 28 Sep 2020 11:09:59 +0000 (16:39 +0530)]
PDK-6550: Board: Fix for Hyperflash diagnostic test on J721E EVM

 - Hyperflash is running at higher frequency that is not supported on
   j721e due to which read/write operations are not stable. Corrected the
   clock ID to fix the issue
 - Enabled reset command after device ID read to fix issue with
   erase/write operations.

2 years agoPRSDK-7891: Board: Fix for j721e evm cpsw RGMII diagnostic test failure
M V Pratap Reddy [Sun, 27 Sep 2020 13:41:09 +0000 (19:11 +0530)]
PRSDK-7891: Board: Fix for j721e evm cpsw RGMII diagnostic test failure

 - Updated the link detection sequence to fix the link failure
 - QSGMII pinmux is used to enable the RGMII ports used in the test

2 years agoPDK-8120: IPC: Fix j7200 ipc_perf_test vring settings
Angela Stegmaier [Fri, 25 Sep 2020 15:55:59 +0000 (10:55 -0500)]
PDK-8120: IPC: Fix j7200 ipc_perf_test vring settings

The build for j7200 for the ipc_perf_test was incorrectly
using the j721e vring settings, so the correct region
was not being set as un-cached.

This patch fixes the makefile to use the correct config
file. Also, the files are updated for mcu1_0 to be able
to be loaded from CCS or sbl by adding the copyVecsToAtcm.

Signed-off-by: Angela Stegmaier <>
2 years agoPRSDK-8153: OSAL interrupt registration - R5 Core documentation for priority updated
Aravind Batni [Fri, 25 Sep 2020 21:21:57 +0000 (17:21 -0400)]
PRSDK-8153: OSAL interrupt registration - R5 Core documentation for priority updated

Signed-off-by: Aravind Batni <>
2 years agofix tpr12 builds for baremetal REL.CORESDK. REL.CORESDK.REL.CORESDK.
Aravind Batni [Thu, 24 Sep 2020 15:10:02 +0000 (11:10 -0400)]
fix tpr12 builds for baremetal

Signed-off-by: Aravind Batni <>
2 years agotpr12: KW fixes for edma,esm
Badri S [Thu, 24 Sep 2020 08:35:57 +0000 (14:05 +0530)]
tpr12: KW fixes for edma,esm

KW critical error fixes for edma,esm

Signed-off-by: Badri S <>
2 years agodrv/i2c: set interrupt trigger type to edge-triggered for TPR12
Eric Ruei [Wed, 23 Sep 2020 15:13:46 +0000 (11:13 -0400)]
drv/i2c: set interrupt trigger type to edge-triggered for TPR12

Signed-off-by: Eric Ruei <>
2 years agoBoard: Fix for tpr12 evm build failure due to pinmux update
M V Pratap Reddy [Thu, 24 Sep 2020 04:31:06 +0000 (10:01 +0530)]
Board: Fix for tpr12 evm build failure due to pinmux update

2 years agoPRSDK-7226: Resolved OSAL_TestApp does not run on C66 or C7x_1 core on J7
Aravind Batni [Wed, 23 Sep 2020 22:37:31 +0000 (18:37 -0400)]
PRSDK-7226: Resolved OSAL_TestApp does not run on C66 or C7x_1 core on J7

Signed-off-by: Aravind Batni <>
2 years agoTPR12 QSPI fix interrupt sensitivity
Badri S [Wed, 23 Sep 2020 07:00:13 +0000 (12:30 +0530)]
TPR12 QSPI fix interrupt sensitivity

TPR12 QSPI interrupt sensitivity is edge but
driver worngly sets it as level. This causes
crash due to continuous interrupts as pulse
interrupt is not acknowledged before IRQ are
enabled in ISR

Signed-off-by: Badri S <>
2 years agoreplacing optimized pinmux files with full pinmux
Sahin Okur [Mon, 21 Sep 2020 18:10:20 +0000 (13:10 -0500)]
replacing optimized pinmux files with full pinmux

2 years agoupdating copyright banner to be consistent with other files in pdk, and removing...
Sahin Okur [Mon, 14 Sep 2020 19:08:22 +0000 (14:08 -0500)]
updating copyright banner to be consistent with other files in pdk, and removing 'auto-generated' statement

2 years agosubmitting optimized pinmux tool output for TPR12 EVM which also includes fix for...
Sahin Okur [Mon, 14 Sep 2020 19:02:26 +0000 (14:02 -0500)]
submitting optimized pinmux tool output for TPR12 EVM which also includes fix for PDK-7982 bug

2 years agosciclient: Add DKEK support
Stephen Molfetta [Thu, 2 Jul 2020 16:22:48 +0000 (11:22 -0500)]
sciclient: Add DKEK support

Add support to request DKEK set, release, and get services from System

Fixes PDK-7045

Signed-off-by: Stephen Molfetta <>
2 years agoPDK-6610: SBL: Adds support for MMCSD as backup bootmode
Jonathan Bergsagel [Tue, 22 Sep 2020 04:32:37 +0000 (23:32 -0500)]
PDK-6610: SBL: Adds support for MMCSD as backup bootmode

Fixes an issue with MMCSD as backup bootmode, where the ROM
code forces a 1-bit bus width. This commit detects whether
the SBL was booted with MMCSD in primary bootmode or backup
bootmode, and then sets up the MMCSD bus width accordingly.
Applies to J721E and J7200 SoCs.

Signed-off-by: Jonathan Bergsagel <>
2 years agoAdded Encryption key
Brijesh Jadav [Tue, 1 Sep 2020 08:56:20 +0000 (14:26 +0530)]
Added Encryption key

Signed-off-by: Brijesh Jadav <>
2 years agosdr-test: Add additional tests for CBASS single bit
Sam Nelson [Fri, 18 Sep 2020 16:49:30 +0000 (12:49 -0400)]
sdr-test: Add additional tests for CBASS single bit

Signed-off-by: Sam Nelson <>
2 years agoPDK-8037: sdr: Update to handle single bit errors for EDC interconnect type
Sam Nelson [Fri, 18 Sep 2020 16:48:51 +0000 (12:48 -0400)]
PDK-8037: sdr: Update to handle single bit errors for EDC interconnect type

With EDC interconnect type RAM Id, with the group checkers of type
REDUNDANT or PARITY, single bit error will result in a Uncorrectable

NOTE: This can be later expanded to double check if the checker type to
be specifically whether the checker used is indeed REDUNDANT or PARITY

Signed-off-by: Sam Nelson <>
2 years agoPDK-7542: Align to CSL SPI restructure
Aravind Batni [Mon, 21 Sep 2020 17:40:28 +0000 (13:40 -0400)]
PDK-7542: Align to CSL SPI restructure

Signed-off-by: Aravind Batni <>
2 years agoPDK-8044 : MMC Apps fails on mcu 11
sujith [Mon, 21 Sep 2020 21:31:25 +0000 (03:01 +0530)]
PDK-8044 : MMC Apps fails on mcu 11

The interrupts for mcu 11 was not mapped correctly
updated the map and tested on j7200 mcu 10 and mcu 11

Signed-off-by: sujith <>
2 years ago[PDK-8063] UDMA Examples : Added Polling mode in DRU Direct TR Testapp REL.CORESDK.
Don Dominic [Mon, 21 Sep 2020 10:49:26 +0000 (16:19 +0530)]
[PDK-8063] UDMA Examples :  Added Polling mode in DRU Direct TR Testapp

- Poll on IA VINTR Register instead of callback function.

Signed-off-by: Don Dominic <>
2 years agoBoard: Fix for rs485 diagnostic build error on j7200 evm REL.CORESDK.
M V Pratap Reddy [Mon, 21 Sep 2020 08:49:24 +0000 (14:19 +0530)]
Board: Fix for rs485 diagnostic build error on j7200 evm

2 years ago[PDK-4913][PDK-7432] SBL QSPI mode and bug fix for large SBL img size REL.CORESDK. REL.CORESDK. REL.CORESDK. REL.CORESDK.
Badri S [Sun, 20 Sep 2020 14:14:59 +0000 (19:44 +0530)]
[PDK-4913][PDK-7432] SBL QSPI mode and bug fix for large SBL img size

Migrate SBL QSPI to BoardFlash APIs and fix bug of large SBL img
size due to use of multiple discontinuous memory segments

Signed-off-by: Badri S <>
2 years agoPDK-5085: Board: Updated j7200 evm diagnostic stress tests
M V Pratap Reddy [Sun, 20 Sep 2020 21:33:23 +0000 (03:03 +0530)]
PDK-5085: Board: Updated j7200 evm diagnostic stress tests

 - Updated memory allocations for some of the tests to use
   DDR for data buffers
 - Enabled stress tests for UART, Hyperflash & norflash

2 years agoemac: add example function to configure rx rate limiter REL.CORESDK.
Vitaly Andrianov [Mon, 10 Aug 2020 18:17:19 +0000 (14:17 -0400)]
emac: add example function to configure rx rate limiter

Signed-off-by: Vitaly Andrianov <>
2 years agoPDK-7402: Fix typos in PRU ICSS enum names
Dhaval Khandla [Tue, 15 Sep 2020 12:19:14 +0000 (17:49 +0530)]
PDK-7402: Fix typos in PRU ICSS enum names

Signed-off-by: Dhaval Khandla <>
2 years ago[PDK-7986] IPC: QNX: Update to support 64-bit virtual addresses for vring and mailbox
Angela Stegmaier [Wed, 9 Sep 2020 16:27:14 +0000 (11:27 -0500)]
[PDK-7986] IPC: QNX: Update to support 64-bit virtual addresses for vring and mailbox

Signed-off-by: Angela Stegmaier <>
Signed-off-by: Praveen Rao <>