]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/pdk.git/log
processor-sdk/pdk.git
3 years ago[PDK-7089] UDMA : Updates in udma_rmcfg for J7VCL to align with latest RM Config REL.CORESDK.07.00.03.04
Don Dominic [Mon, 27 Jul 2020 16:28:44 +0000 (21:58 +0530)]
[PDK-7089] UDMA : Updates in udma_rmcfg for J7VCL to align with latest RM Config

- Updates in allignment witht the latest RM Config as per https://bitbucket.itg.ti.com/projects/PSDKLA/repos/k3-resource-partitioning/pull-requests/1/diff

Signed-off-by: Don Dominic <a0486429@ti.com>
3 years agoPDK-5086: Board: Fix for J7200 OSPI flash programmer UART load failure
M V Pratap Reddy [Mon, 27 Jul 2020 23:11:14 +0000 (04:41 +0530)]
PDK-5086: Board: Fix for J7200 OSPI flash programmer UART load failure

3 years agoPDK-5104: Board: Moved J7200 EVM mcu diagnostic tests memory allocation to MSMC
M V Pratap Reddy [Mon, 27 Jul 2020 23:09:02 +0000 (04:39 +0530)]
PDK-5104: Board: Moved J7200 EVM mcu diagnostic tests memory allocation to MSMC

3 years agoPDK-5037: Board: Fix for J7200 EVM PLL config failures
M V Pratap Reddy [Mon, 27 Jul 2020 23:07:38 +0000 (04:37 +0530)]
PDK-5037: Board: Fix for J7200 EVM PLL config failures

3 years agoPDK-5095: Board: Updated automation header test for J7200 EVM
M V Pratap Reddy [Mon, 27 Jul 2020 23:06:43 +0000 (04:36 +0530)]
PDK-5095: Board: Updated automation header test for J7200 EVM

3 years agoMerge pull request #986 in PROCESSOR-SDK/pdk from PDK-6470-finish-unaddressed-comment...
Sivaraj R [Mon, 27 Jul 2020 15:05:36 +0000 (10:05 -0500)]
Merge pull request #986 in PROCESSOR-SDK/pdk from PDK-6470-finish-unaddressed-comments to master

Squashed commit of the following:

commit 3288a65347a9afcc17fb90f1e2fa6b9d7a900b7e
Author: Jennifer Huang <a0270948@ti.com>
Date:   Mon Jul 27 10:47:14 2020 -0400

    PDK-6470: fix based on review comments

commit 98794b3a4303a98f35f2bb1e16ab5a4f2f61a6f5
Author: Jennifer Huang <a0270948@ti.com>
Date:   Wed Jul 22 15:02:47 2020 -0400

    PDK-6470: change HWA_open to same API for both DSP and ARM build

commit 5cf1c3eafcd491de55cba04799727f8521cf6552
Author: Jennifer Huang <a0270948@ti.com>
Date:   Tue Jul 21 12:09:02 2020 -0400

    PDK-6470: address review comments

commit a7767c126abfb9dd0989253badc979f922a61b8a
Author: Jennifer Huang <a0270948@ti.com>
Date:   Fri Jul 17 09:59:44 2020 -0400

    PDK-6470:fix some unaddressed comments, and changed the hardcoded interrupt priority to configurable in mss

3 years agoBoard: Fix for K3 diag framework build errors REL.CORESDK.07.00.03.01
M V Pratap Reddy [Sun, 26 Jul 2020 08:02:48 +0000 (13:32 +0530)]
Board: Fix for K3 diag framework build errors

3 years agoPDK-5038: Board: Enabled board flash library for TPR12 QT
M V Pratap Reddy [Sat, 25 Jul 2020 14:03:30 +0000 (19:33 +0530)]
PDK-5038: Board: Enabled board flash library for TPR12 QT

3 years agoPDK-5038: Board: Fix for TPR12 EVM board build issues
M V Pratap Reddy [Sat, 25 Jul 2020 12:53:02 +0000 (18:23 +0530)]
PDK-5038: Board: Fix for TPR12 EVM board build issues

3 years agoPDK-5038: Board: Fix for TPR12 EVM flash library src package issue
M V Pratap Reddy [Mon, 6 Jul 2020 08:50:40 +0000 (14:20 +0530)]
PDK-5038: Board: Fix for TPR12 EVM flash library src package issue

3 years agoPDK-5009: Board: Enabled UART diagnostic test for TPR12 EVM
M V Pratap Reddy [Sun, 5 Jul 2020 23:00:07 +0000 (04:30 +0530)]
PDK-5009: Board: Enabled UART diagnostic test for TPR12 EVM

3 years agoPDK-5038: Board: Updated TPR12 EVM board library
M V Pratap Reddy [Sun, 5 Jul 2020 22:52:33 +0000 (04:22 +0530)]
PDK-5038: Board: Updated TPR12 EVM board library

 - Added I2C and UART init functions
 - Added board info APIs
 - Added Ethernet configurations
 - Corrected pinmux file names
 - Updated utils and mmr functions

3 years agoPDK-5004: Board: Enabled QSPI flash diagnostic test for TPR12 EVM
M V Pratap Reddy [Sun, 5 Jul 2020 12:41:11 +0000 (18:11 +0530)]
PDK-5004: Board: Enabled QSPI flash diagnostic test for TPR12 EVM

 - PDK-5038: Added flash API support for board library

3 years agoPDK-5611: SBL: Switch OSPI flash to SPI mode at the end
Jonathan Bergsagel [Sat, 25 Jul 2020 17:42:47 +0000 (12:42 -0500)]
PDK-5611: SBL: Switch OSPI flash to SPI mode at the end

Adds support for re-opening the OSPI flash in SPI mode
and leaving it in that mode when the SBL exits.

This supports U-boot or HLOS boot on the Cortex-A cores
of the SoC. It allows the SPL/U-boot to take over the
flash, reset it, and reconfigure it for Octal-mode again.

Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
3 years agoCPSW5G J7VCL changes to support QSGMII 4 ports
a0132233 [Thu, 16 Jul 2020 13:43:51 +0000 (19:13 +0530)]
CPSW5G J7VCL changes to support QSGMII 4 ports

With J7200, GESI board + QSGMII board not possible due to shared MAC port; only below
combinations are possible –
1. 1 port RGMII via GESI DB
2. 4 port QSGMII via QSGMII DB

In board config we configure only QSGMII by default.

Signed-off-by: a0132233 <prasad.jondhale@ti.com>
3 years agoPDK-5375: Board/Sbl: OSPI configurations update for sbl boot
M V Pratap Reddy [Sat, 25 Jul 2020 07:35:37 +0000 (13:05 +0530)]
PDK-5375: Board/Sbl: OSPI configurations update for sbl boot

 - Board flash library is updated to allow applications to DAC mode configurations
 - SBL is update to disable PHY and PLL clock configurations which are taken care by board

3 years agohyperbus : bringup
sujith [Wed, 22 Jul 2020 19:27:59 +0000 (00:57 +0530)]
hyperbus : bringup

Works most of the times, ensured 5 consecutive run works
Removed the mem-reset after determining ID, as we don't check
if device is active before subsequent command.

Additional checks to ensure device is indeed free, before
initiating next command

Signed-off-by: sujith <sujith.s@ti.com>
3 years agoPDK-7061: Mailbox LLD: Single Lib for RTOS and Baremetal
Angela Stegmaier [Mon, 20 Jul 2020 19:02:23 +0000 (14:02 -0500)]
PDK-7061: Mailbox LLD: Single Lib for RTOS and Baremetal

Update the mailbox lld to remove the separate mailbox and mailbox_baremetal
libraries. Instead, have a single library, that can be linked with either
tirtos osal or nonos osal by application.
In order to do this, the mailbox library uses a new OSAL API that is used
for am64x R5F direct VIM interrupt registration (new API is used in certain
readMode by am64x mailbox implementation only).
Additionally, add a new open param "enableVIMDirectInterrupt", which can
be used to enable/disable this feature. By default, it is set to false,
but can be enabled by the application.

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
3 years agoPDK-7062: OSAL: Add API for Direct VIM Registration for R5
Angela Stegmaier [Thu, 16 Jul 2020 20:53:40 +0000 (15:53 -0500)]
PDK-7062: OSAL: Add API for Direct VIM Registration for R5

Add the API for supporting direct VIM registration for R5
for baremetal. All other cores and TIRTOS are not
supported.

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
3 years agoPDK-6820: Fix "isUsed" bookkeeping in TPR12 EDMA driver: patch 2
Prasad Konnur [Fri, 24 Jul 2020 11:29:42 +0000 (16:59 +0530)]
PDK-6820: Fix "isUsed" bookkeeping in TPR12 EDMA driver: patch 2

This was fixed partly in
https://bitbucket.itg.ti.com/projects/PROCESSOR-SDK/repos/pdk/pull-requests/894/overview

Fixed the unregister interrupt only for the registered interrupts

Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
3 years agoPDK-4989: edma driver clean up for tpr12
Prasad Konnur [Fri, 24 Jul 2020 10:11:37 +0000 (15:41 +0530)]
PDK-4989: edma driver clean up for tpr12

Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
3 years agoPDK-5375: J7200: Board: Add in GTC clock cfg
Jonathan Bergsagel [Fri, 24 Jul 2020 22:52:35 +0000 (17:52 -0500)]
PDK-5375: J7200: Board: Add in GTC clock cfg

Adds PLL & clock config for proper GTC clock
frequency (200 MHz) for the GTC provided to
the Cortex-A72 cores (similar to J721E).

Necessary, now that the GTC is enabled by
default in the SBL. Also matches up with ATF/
Linux expectations for the proper GTC clock
base.

Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
3 years 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.

3 years agoEnable GTC in SBL
Brandon Wetzel [Thu, 18 Jun 2020 21:16:40 +0000 (17:16 -0400)]
Enable GTC in SBL

GTC must be enabled for SBL to boot Linux

3 years agoPDK-7091: PRUSS: move init of function handler before interrupt registration REL.CORESDK.07.00.02.03
Tinku Mannan [Thu, 23 Jul 2020 15:54:48 +0000 (11:54 -0400)]
PDK-7091: PRUSS: move init of function handler before interrupt registration

Signed-off-by: Tinku Mannan <tmannan@ti.com>
3 years agoTPR12: fix build failure per EDMA_init()
Eric Ruei [Thu, 23 Jul 2020 18:18:44 +0000 (14:18 -0400)]
TPR12: fix build failure per EDMA_init()

Fix TPR12 build failure due to EDMA_init() prototype change

Signed-off-by: Eric Ruei <e-ruei1@ti.com>
3 years agosciclient: j7200: Sync RM boardcfg entries with SYSFW
Justin Sobota [Mon, 13 Jul 2020 15:22:16 +0000 (11:22 -0400)]
sciclient: j7200: Sync RM boardcfg entries with SYSFW

Sync the j7200 RM boardcfg entries with the latest
entry definitions within SYSFW.

Signed-off-by: Justin Sobota <jsobota@ti.com>
3 years agosciclient: Delete commented j7200 RM data from j721e data
Justin Sobota [Mon, 13 Jul 2020 14:50:44 +0000 (10:50 -0400)]
sciclient: Delete commented j7200 RM data from j721e data

The j7200 data was initially added as part of the j721e
data in sciclient.  The j7200 data was commented out until
V2 was added.  Delete the commented data now that j7200
formally exists.

Signed-off-by: Justin Sobota <jsobota@ti.com>
3 years agoam64x_svb: Update to use SIM_BUILD similar to am64x_evm REL.CORESDK.07.00.02.02
Sam Nelson [Thu, 23 Jul 2020 01:40:51 +0000 (21:40 -0400)]
am64x_svb: Update to use SIM_BUILD similar to am64x_evm

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
3 years agoam64x_svb: update to match with am64x_evm
Sam Nelson [Tue, 21 Jul 2020 19:31:06 +0000 (15:31 -0400)]
am64x_svb: update to match with am64x_evm

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
3 years agoPRSDK-8372: board: Update configuration to output from EMIF tool output
Sam Nelson [Thu, 9 Jul 2020 18:22:50 +0000 (14:22 -0400)]
PRSDK-8372: board: Update configuration to output from EMIF tool output

Updated on 21 July2020

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
3 years agoIncorporating review comments
Vineet Roy [Mon, 20 Jul 2020 19:49:51 +0000 (01:19 +0530)]
Incorporating review comments

3 years agoFixing potential bug in firmware DEV.PINDSW-4363.RX_TS_APPEND_DUAL_MAC
Vineet Roy [Mon, 20 Jul 2020 19:39:43 +0000 (01:09 +0530)]
Fixing potential bug in firmware

R2-R9 will be overwritten for case where packet is both forwarded and received in host

3 years agoFinal driver and firmware changes for Rx TS append
Vineet Roy [Mon, 13 Jul 2020 17:35:48 +0000 (23:05 +0530)]
Final driver and firmware changes for Rx TS append

1. Tested with timesync application on port 1
2. Requires inputs from BMCA algorithm

3 years agoAdding features for Rx TS append feature
Vineet Roy [Tue, 7 Jul 2020 14:26:04 +0000 (19:56 +0530)]
Adding features for Rx TS append feature

1. Timestamp flag in descriptor is set for driver
2. CRC length is not subtracted for timestamped packets as timestmap comes after CRC

3 years agoDraft changes in FW to append TS to Rx packet
Vineet Roy [Thu, 2 Jul 2020 11:45:36 +0000 (17:15 +0530)]
Draft changes in FW to append TS to Rx packet

1. Draft firmware changes to append Timestamp to PTP packets
2. 10 bytes of timestamp are appended to frame
3. Only appended for PTP frames in this commit

3 years agoPDK-7142: IPC: Update J7VCL Shared Memory Address
Angela Stegmaier [Wed, 15 Jul 2020 19:22:32 +0000 (14:22 -0500)]
PDK-7142: IPC: Update J7VCL Shared Memory Address

For J7VCL, move the location of the shared memory buffer
closer to the carveouts used for loading the firmwares.
This reduces the gap between the regions used for firmware
loading and shared memory for the R5F cores.

New location is at 0xA4000000 for J7VCL.
J721E remains at 0xAA000000.

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
3 years agoPDK-5375: sbl: Updated xspi flash device ID for J7200 EVM
M V Pratap Reddy [Wed, 22 Jul 2020 16:37:51 +0000 (22:07 +0530)]
PDK-5375: sbl: Updated xspi flash device ID for J7200 EVM

3 years agoFix AM64x build errors REL.CORESDK.07.00.02.01
Sivaraj R [Wed, 22 Jul 2020 10:05:31 +0000 (15:35 +0530)]
Fix AM64x build errors

Signed-off-by: Sivaraj R <sivaraj@ti.com>
3 years ago[Bug Fix] EDMA CSL driver
Prasad Konnur [Thu, 16 Jul 2020 12:07:55 +0000 (17:37 +0530)]
[Bug Fix] EDMA CSL driver

 - PDK-7043: edma csl driver initializes all channels in EDMA3Init
        Updated edma driver and example to use this
 - PDK-7069: edma csl driver fails to support multiple instances with
different region id
        Updated edma driver to use new CSL APIs with region id

Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
3 years agoHyperbus : write functions : fixed minor issue
sujith [Tue, 21 Jul 2020 18:21:47 +0000 (23:51 +0530)]
Hyperbus : write functions : fixed minor issue

When built in release mode first 2 bytes of data
was always corrupted. It seemed like the lack of
prcedence of operator, was causing malfunctions.

e.g. when we step through the operation, the write and
subsequent read was successful. However, on a
free run, data was corrupted

Added explicit precedence. MISRA C check would have
caught this

Minor optimization in read, limiting the number of reads
1

Tested with CSL example application on J7VCL

Signed-off-by: sujith <sujith.s@ti.com>
3 years agofixing the port check in emac ioctls
Manmohan [Tue, 21 Jul 2020 15:41:33 +0000 (21:11 +0530)]
fixing the port check in emac ioctls

PINDSW-4498

3 years agoSBL: Enabling sbl_lib_cust for AM64x
Mahesh Radhkrishnan [Tue, 21 Jul 2020 21:57:49 +0000 (17:57 -0400)]
SBL: Enabling sbl_lib_cust for AM64x

3 years agoMMCSD: Using initMMu() for AM64x EMMC example
Mahesh Radhkrishnan [Tue, 21 Jul 2020 17:43:06 +0000 (13:43 -0400)]
MMCSD: Using initMMu() for AM64x EMMC example

3 years agoFATFS: Fix for inclusion of wrong csl files during AM64x builds
Mahesh Radhkrishnan [Tue, 21 Jul 2020 16:05:42 +0000 (12:05 -0400)]
FATFS: Fix for inclusion of wrong csl files during AM64x builds

3 years agoEnable I2C appimage gen for test automation
Sivaraj R [Mon, 20 Jul 2020 05:52:31 +0000 (11:22 +0530)]
Enable I2C appimage gen for test automation

Signed-off-by: Sivaraj R <sivaraj@ti.com>
3 years agoFATFS: Enabling packaging & example for AM64x
Mahesh Radhkrishnan [Tue, 21 Jul 2020 14:55:42 +0000 (10:55 -0400)]
FATFS: Enabling packaging & example for AM64x

3 years agoMMCSD: Cleanup of usage of csl_chip.h
Mahesh Radhkrishnan [Tue, 21 Jul 2020 12:44:50 +0000 (08:44 -0400)]
MMCSD: Cleanup of usage of csl_chip.h

3 years agoMMCSD: Adding AM64x to examples
Mahesh Radhkrishnan [Tue, 21 Jul 2020 12:39:22 +0000 (08:39 -0400)]
MMCSD: Adding AM64x to examples

3 years agoupdated pass string as expected by test automation
Prasad Konnur [Tue, 21 Jul 2020 12:40:19 +0000 (18:10 +0530)]
updated pass string as expected by test automation

Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
3 years agoRevert "Revert "PDK-4989: edma driver clean up for tpr12""
Prasad Konnur [Tue, 21 Jul 2020 11:04:00 +0000 (16:34 +0530)]
Revert "Revert "PDK-4989: edma driver clean up for tpr12""

This reverts commit 2fae8f408563111e72fd756f064eae8c5895fdb6.

3 years agowatchdog: enable the switch between printf and UART_printf
Hongmei Gou [Mon, 20 Jul 2020 04:50:10 +0000 (00:50 -0400)]
watchdog: enable the switch between printf and UART_printf

Signed-off-by: Hongmei Gou <hgou@ti.com>
3 years agowatchdog: print the message of test passed in watchdog callback
Hongmei Gou [Sat, 18 Jul 2020 21:00:56 +0000 (17:00 -0400)]
watchdog: print the message of test passed in watchdog callback

* DSP Watchdog timeout triggers an ESM high priority error, which is an NMI
  first captured by the NMI exception handler. Since there is no returning
  from NMI/Exceptions, print the message of "All Tests PASSED" in the
  watchdog callback function to facilitate the test automation.

Signed-off-by: Hongmei Gou <hgou@ti.com>
3 years agoJ7200 : OSPI : works in IN DAC mode
sujith [Mon, 20 Jul 2020 19:44:15 +0000 (01:14 +0530)]
J7200 : OSPI : works in IN DAC mode

Pending fixes identified in PDK-7115

Signed-off-by: sujith <sujith.s@ti.com>
3 years agoGPIO : update
sujith [Wed, 15 Jul 2020 15:05:25 +0000 (20:35 +0530)]
GPIO : update

Signed-off-by: sujith <sujith.s@ti.com>
3 years agov2020.06 Migrate to v2020.06 SYSFW
Piyali Goswami [Tue, 21 Jul 2020 07:21:02 +0000 (12:51 +0530)]
v2020.06 Migrate to v2020.06 SYSFW

Migrate to v2020.06 release

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
3 years agoPRSDK-8644: Board: Restored MCU timer0 FCLK setting changed by ROM
M V Pratap Reddy [Tue, 21 Jul 2020 02:34:14 +0000 (08:04 +0530)]
PRSDK-8644: Board: Restored MCU timer0 FCLK setting changed by ROM

 - RoM bootloader changes the defaul timer clock configurations which causes
   timer to run at different frequency. This impacts the OS clock tick function.
   Updated board library to restore the timer clock settings to default.

3 years agoMMCSD: Nightly fixes for AM64x
Mahesh Radhkrishnan [Tue, 21 Jul 2020 01:29:42 +0000 (21:29 -0400)]
MMCSD: Nightly fixes for AM64x

3 years agoospi: PDK-5464: am64x: add driver/example support for M4F core
Hao Zhang [Mon, 20 Jul 2020 21:02:08 +0000 (17:02 -0400)]
ospi: PDK-5464: am64x: add driver/example support for M4F core

Signed-off-by: Hao Zhang <hzhang@ti.com>
3 years agoSBL: Fix compilation issue for sbl_boot_perf_test (AM64x)
Mahesh Radhkrishnan [Mon, 20 Jul 2020 19:46:49 +0000 (15:46 -0400)]
SBL: Fix compilation issue for sbl_boot_perf_test (AM64x)

3 years agoSBL:Adding option to skip OSPI driver for sysfw download for K3
Mahesh Radhkrishnan [Mon, 20 Jul 2020 15:17:05 +0000 (11:17 -0400)]
SBL:Adding option to skip OSPI driver for sysfw download for K3

Signed-off-by: uda0875154local <uda0875154local@UDA0875154>
3 years agoUpdate EMAC FW headers
Pratheesh Gangadhar [Sun, 19 Jul 2020 08:22:48 +0000 (13:52 +0530)]
Update EMAC FW headers

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
3 years agoFix for PINDSW-4470 - incorrect HW stats extraction in Switch mode
Pratheesh Gangadhar [Sun, 19 Jul 2020 08:09:20 +0000 (13:39 +0530)]
Fix for PINDSW-4470 - incorrect HW stats extraction in Switch mode

Use the correct offsets for Port1 and Port2

Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
3 years agogpmc: PDK-5436: am64x: fix package build issues REL.CORESDK.07.00.01.05 REL.CORESDK.07.00.01.06
Hao Zhang [Fri, 17 Jul 2020 15:41:40 +0000 (11:41 -0400)]
gpmc: PDK-5436: am64x: fix package build issues

Signed-off-by: Hao Zhang <hzhang@ti.com>
3 years agogpmc: PDK-5436: am64x: add performance measurement support
Hao Zhang [Tue, 14 Jul 2020 22:33:03 +0000 (18:33 -0400)]
gpmc: PDK-5436: am64x: add performance measurement support

Signed-off-by: Hao Zhang <hzhang@ti.com>
3 years agogpmc: PDK-5436: am64x: add gpmc dma driver support
Hao Zhang [Tue, 14 Jul 2020 22:31:56 +0000 (18:31 -0400)]
gpmc: PDK-5436: am64x: add gpmc dma driver support

Signed-off-by: Hao Zhang <hzhang@ti.com>
3 years agogpmc: PDK-5436: am64x: add gpmc sram LLD support
Hao Zhang [Wed, 1 Jul 2020 03:24:44 +0000 (23:24 -0400)]
gpmc: PDK-5436: am64x: add gpmc sram LLD support

Signed-off-by: Hao Zhang <hzhang@ti.com>
3 years ago[PDK-7099][PDK-6923] Update usage of PDK_COMMON_*_COMP
Don Dominic [Mon, 20 Jul 2020 07:14:43 +0000 (12:44 +0530)]
[PDK-7099][PDK-6923] Update usage of PDK_COMMON_*_COMP

-remove(filter out) addition of lib's if any alternate version of the lib is used
-csl removed when csl2 is included
-sciclient removed when sciclient_hs is included

Signed-off-by: Don Dominic <a0486429@ti.com>
3 years agoPDK-5086: Board: Disabled OSPI DMA mode for J7200 flash programmer
M V Pratap Reddy [Sun, 19 Jul 2020 21:47:19 +0000 (16:47 -0500)]
PDK-5086: Board: Disabled OSPI DMA mode for J7200 flash programmer

 - OSPI is not functional in DMA mode on J7200 platform. Disabled DMA
   mode for Uniflash flash programmer till the DMA mode issue is
   resolved.

3 years agoPDK-5037: Board: Fix for J7200 OSPI erase failures
M V Pratap Reddy [Sun, 19 Jul 2020 21:41:43 +0000 (16:41 -0500)]
PDK-5037: Board: Fix for J7200 OSPI erase failures

 - OSPI erase is failing during flash programming due to 4KB sectors
   in hybrid configuration. Updated the board library to disable
   hybrid sector configuration and keep the sector size uniform

3 years agoPDK-5102: Spi: J7200 OSPI dtr mode is enabled by default
M V Pratap Reddy [Sun, 19 Jul 2020 21:36:34 +0000 (16:36 -0500)]
PDK-5102: Spi: J7200 OSPI dtr mode is enabled by default

 - OSPI driver enables dtr mode by default for all the platforms.
   It was disabled for J7200 due to failures in dtr mode. Enabling
   the dtr mode as the board APIs are now functioning in dtr mode.

3 years agoPDK-5003: Board: Fix for nor flash diagnostic test on J7200 EVM
M V Pratap Reddy [Sat, 18 Jul 2020 16:37:39 +0000 (11:37 -0500)]
PDK-5003: Board: Fix for nor flash diagnostic test on J7200 EVM

3 years agoDMA Utils: Fix warning
Sivaraj R [Sat, 18 Jul 2020 08:48:05 +0000 (14:18 +0530)]
DMA Utils: Fix warning

Signed-off-by: Sivaraj R <sivaraj@ti.com>
3 years agoPDK-5102: Spi: Updated OSPI clock configurations REL.CORESDK.07.00.01.04 REL.CORESDK.07.00.03.02
M V Pratap Reddy [Thu, 16 Jul 2020 10:50:51 +0000 (05:50 -0500)]
PDK-5102: Spi: Updated OSPI clock configurations

 - Updated OSPI clock configurations for higher frequency when
   PHY is disabled.

3 years ago[PDK-5687] Dmautils support for Vitrual to Physical addr translation
Anshu Jain [Sat, 11 Jul 2020 03:04:03 +0000 (08:34 +0530)]
[PDK-5687] Dmautils support for Vitrual to Physical addr translation

Signed-off-by: Anshu Jain <anshu.jain@ti.com>
3 years agoPDK-7082: Disabling HwiP_disable interrupts for AM64x timer interrupts
Mahesh Radhkrishnan [Thu, 16 Jul 2020 19:52:10 +0000 (15:52 -0400)]
PDK-7082: Disabling HwiP_disable interrupts for AM64x timer interrupts

3 years agodrv/uart/test/makefile: remove uart when uart_dma is used
Eric Ruei [Fri, 17 Jul 2020 23:16:12 +0000 (19:16 -0400)]
drv/uart/test/makefile: remove uart when uart_dma is used

 remove uart from COMP_LIST_COMMON when DMA is enabled.
 Without this change, uart_dma library will not be used as desired.

Signed-off-by: Eric Ruei <e-ruei1@ti.com>
3 years agoPDK-5375: J7200 SBL: Add DDR usage and include OSPI driver
Jonathan Bergsagel [Fri, 17 Jul 2020 23:28:19 +0000 (18:28 -0500)]
PDK-5375: J7200 SBL: Add DDR usage and include OSPI driver

Adds back the DDR support for J7200 SBL. Confirmed DDR usage
is working now with multiple test cases.

Also, adds capability to build & test with the OSPI driver.
SBL xSPI boot testing is still pending.

Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
3 years agoMMCSD: Added AM64x support REL.CORESDK.07.00.01.03
Mahesh Radhkrishnan [Thu, 16 Jul 2020 18:55:58 +0000 (14:55 -0400)]
MMCSD: Added AM64x support

3 years agomibspi: disable slave mode test which blocks without testbench
Badri S [Fri, 17 Jul 2020 13:24:57 +0000 (18:54 +0530)]
mibspi: disable slave mode test which blocks without testbench

Slave mode test requires peer master which is currently not
available .Disable the test so that other tests run to
completion in loopback mode without need for testbench

Signed-off-by: Badri S <badri@ti.com>
3 years agoPDK-5037: Board: Updated J7200 EVM DDR configurations (1600 MTs)
M V Pratap Reddy [Fri, 17 Jul 2020 10:55:41 +0000 (05:55 -0500)]
PDK-5037: Board: Updated J7200 EVM DDR configurations (1600 MTs)

3 years agoPDK-5037: Board: Fix for J7200 OSPI failure while writing multiple pages
M V Pratap Reddy [Fri, 17 Jul 2020 10:53:13 +0000 (05:53 -0500)]
PDK-5037: Board: Fix for J7200 OSPI failure while writing multiple pages

3 years agomailbox: Bug fix for PDK-7090
Badri S [Fri, 17 Jul 2020 10:28:06 +0000 (15:58 +0530)]
mailbox: Bug fix for PDK-7090

Fix for Mailbox_close crashing on TPR12
Mailbox_freeDriver is invoked with &handle but function
Mailbox_freeDriver argument is expected to be handle and not &handle

Signed-off-by: Badri S <badri@ti.com>
3 years agoRevert "PDK-4989: edma driver clean up for tpr12"
Badri S [Fri, 17 Jul 2020 06:44:32 +0000 (12:14 +0530)]
Revert "PDK-4989: edma driver clean up for tpr12"

This reverts commit 370c178cbf1b2c09765ddcba45bb01183f0b1367.

3 years agosciclient: Revert to 2020.05 binaries for AM65 and J7. REL.CORESDK.07.00.01.02
Piyali Goswami [Fri, 17 Jul 2020 03:28:21 +0000 (08:58 +0530)]
sciclient: Revert to 2020.05 binaries for AM65 and J7.

Revert to v2020.05 binaries for AM65 and J7.

Fixes: PDK-7067
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
3 years agoPINDSW-4484:Providing information about version, type and features runtime
shubham shandilya [Wed, 15 Jul 2020 13:58:45 +0000 (19:28 +0530)]
PINDSW-4484:Providing information about version, type and features runtime

3 years agoPDK-6648: Combined RTOS/Baremetal + Linux Boot Appiamge Creation
Brandon Wetzel [Thu, 18 Jun 2020 20:24:53 +0000 (16:24 -0400)]
PDK-6648: Combined RTOS/Baremetal + Linux Boot Appiamge Creation

Makefile to create combined RTOS/Baremetal + Linux appimages. Makefile parses a specific configuration format defined in config.mk, and creates the necessary ELF/RPRC files needed for creating a multicore appimage.

The goal here is confine all configuration to config.mk or to set the variables in config.mk from the CLI

3 years agowatchdog: test makefile fix to use XDC_CFG_UPDATE
Hongmei Gou [Thu, 16 Jul 2020 22:02:13 +0000 (18:02 -0400)]
watchdog: test makefile fix to use XDC_CFG_UPDATE

Signed-off-by: Hongmei Gou <hgou@ti.com>
3 years ago[PDK-4856] [SBL][TPR12] UART Boot Media Support REL.CORESDK.07.00.01.01
Badri S [Fri, 10 Jul 2020 06:41:19 +0000 (12:11 +0530)]
[PDK-4856] [SBL][TPR12] UART Boot Media Support

SBL UART mode support for TPR12. Additionally
implements requirements:
  [PDK-5989] [SBL] Program TRIM values for DSP PLL and PER PLL
  [PDK-4898] [SBL] Selective Logging to reduce UART prints
  [PDK-4896] [SBL] MCU0 Boot Support in Lock-step Mode
  [PDK-4865] [SBL] Boot profiling hooks
  [PDK-4854] [SBL] SBL Example

Signed-off-by: Badri S <badri@ti.com>
3 years ago[mibspi][tpr12] KW fixes and pin mux config
Badri S [Fri, 10 Jul 2020 06:21:02 +0000 (11:51 +0530)]
[mibspi][tpr12] KW fixes and pin mux config

KW fixes and fixes for register config and pinmux
picked from AVV TPR12 MIBSPI testcase

Signed-off-by: Badri S <badri@ti.com>
3 years ago[edma][tpr12] Restore edma asserts in edmaIsr
Badri S [Fri, 10 Jul 2020 06:18:56 +0000 (11:48 +0530)]
[edma][tpr12] Restore edma asserts in edmaIsr

Asserts in edmaIsr were removed when porting
from mmWaveSDK as DebugP module was unavailable
in PDK. As DebugP support is not added restore
the assert which can important error conditions

Signed-off-by: Badri S <badri@ti.com>
3 years ago[PDK-5796] DSP compiler options updated for release mode
Badri S [Fri, 15 May 2020 06:27:02 +0000 (11:57 +0530)]
[PDK-5796] DSP compiler options updated for release mode

As per Compiler user guide optimize_with_debug option is
deprecated and should not be used.Further including -g
flag does not affect performance so can be enabled for
release build as well. As per input from mmWaveSDK team
compiler option -mf3 is selected to balance performance
vs codesize tradeoff

Signed-off-by: Badri S <badri@ti.com>
3 years ago[PDK-5675] UDMA UT : Ring TC's Basic Porting
Don Dominic [Thu, 16 Jul 2020 05:58:33 +0000 (11:28 +0530)]
[PDK-5675] UDMA UT : Ring TC's Basic Porting

- Port existing testcases for LCDMA Normal Rings (BCDMA Rings and PKTDMA Unmapped Rings)

TODO:
-New TC's for Mapped Rings
-New TC for LCDMA Ring Prime

Signed-off-by: Don Dominic <a0486429@ti.com>
3 years agoPDK-5037: Board: Fix for J7200 OSPI DTR mode failure
M V Pratap Reddy [Thu, 16 Jul 2020 10:19:37 +0000 (05:19 -0500)]
PDK-5037: Board: Fix for J7200 OSPI DTR mode failure

3 years agoPDK-5037: Board: Updated J7200 EVM SD voltage control board API
M V Pratap Reddy [Thu, 16 Jul 2020 10:06:10 +0000 (05:06 -0500)]
PDK-5037: Board: Updated J7200 EVM SD voltage control board API

 - Update the J7200 board SD voltage control function to use GPIO for
   switching the PMIC voltage output.
 - Updated input parameter expected value of Board_pmSdVoltageCtrl
   functoion to match with logical state of the HW IO controlling the SD voltage.
   Made similar change in J721E board lib as well to be consistent.
   No impact on applications since this is a board internal function.

3 years agoJ7200 : McSPI : Post bringup : McSPI functional now
sujith [Tue, 14 Jul 2020 22:54:49 +0000 (04:24 +0530)]
J7200 : McSPI : Post bringup : McSPI functional now

Signed-off-by: sujith <sujith.s@ti.com>
3 years agoJ7200 : I2C test functional
sujith [Tue, 14 Jul 2020 13:55:43 +0000 (19:25 +0530)]
J7200 : I2C test functional

Multiple gaps identified, tracking via
https://jira.itg.ti.com/browse/PDK-7046

Signed-off-by: sujith <sujith.s@ti.com>
3 years agoFlash : J7200 updated to use S28HS512T also disabled DTR mode
sujith [Mon, 13 Jul 2020 16:21:24 +0000 (21:51 +0530)]
Flash : J7200 updated to use S28HS512T also disabled DTR mode

Signed-off-by: sujith <sujith.s@ti.com>
3 years agoFix script copy error for the ccs_init
Piyali Goswami [Thu, 16 Jul 2020 06:50:33 +0000 (12:20 +0530)]
Fix script copy error for the ccs_init

Fixed the copy error of the sciclient_ccs_init

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
3 years agoPDK-5375: J7200 SBL: Fix for booting lock-step R5s
Jonathan Bergsagel [Thu, 16 Jul 2020 06:37:54 +0000 (01:37 -0500)]
PDK-5375: J7200 SBL: Fix for booting lock-step R5s

Adds support for booting lock-step R5s, in addition
to split-mode R5s.
Enables switching to larger size TCMs for J7VCL R5
pairs when lockstep apps are detected.

Requires use of MCU "SMP" IDs for .appimage creation
in order to indicate lockstep operation to the SBL.

Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>