]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/pdk.git/log
processor-sdk/pdk.git
3 years agoAdd diag folder to git ignore
Sivaraj R [Fri, 15 May 2020 06:30:43 +0000 (12:00 +0530)]
Add diag folder to git ignore

Signed-off-by: Sivaraj R <sivaraj@ti.com>
3 years agoRevert "osal: PRSDK-8153: AM65xx: OSAL sets R5F VIM interrupt priority incorrectly"
Jonathan Bergsagel [Thu, 14 May 2020 22:57:31 +0000 (17:57 -0500)]
Revert "osal: PRSDK-8153: AM65xx: OSAL sets R5F VIM interrupt priority incorrectly"

This reverts commit e53a74594cda04eea88f1ef5b391c7c01e584e1b.

3 years agoam65xx_pg2.0 Build fix
Piyali Goswami [Fri, 15 May 2020 06:55:06 +0000 (12:25 +0530)]
am65xx_pg2.0 Build fix

Build fix for guard macros

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
3 years ago[UDMA] AM64x Build Fix
Don Dominic [Fri, 15 May 2020 04:29:20 +0000 (09:59 +0530)]
[UDMA] AM64x Build Fix

Signed-off-by: Don Dominic <a0486429@ti.com>
3 years ago[PDK-5983] Fix review comments of IPC module
Amit Makani [Tue, 12 May 2020 10:30:48 +0000 (16:00 +0530)]
[PDK-5983] Fix review comments of IPC module

Signed-off-by: Amit Makani <amit.makani@ti.com>
3 years agonimu: PRSDK-8038: K2G to support 1514 bytes packet
Eric Ding [Thu, 7 May 2020 21:50:35 +0000 (17:50 -0400)]
nimu: PRSDK-8038: K2G to support 1514 bytes packet

3 years agoPRSDK-8299: nimu-icss transport lib support for am64x
Tinku Mannan [Tue, 28 Apr 2020 18:28:30 +0000 (14:28 -0400)]
PRSDK-8299: nimu-icss transport lib support for am64x

Signed-off-by: Tinku Mannan <tmannan@ti.com>
3 years agoPRSDK-8299: icss-emac lld support for am64x
Tinku Mannan [Mon, 27 Apr 2020 21:05:03 +0000 (17:05 -0400)]
PRSDK-8299: icss-emac lld support for am64x

Signed-off-by: Tinku Mannan <tmannan@ti.com>
3 years ago[FPD LIB][PDK-5262][BOARD LIB]UB960 pattern generation API programs UB960 in case...
Vivek Dhande [Wed, 13 May 2020 10:52:35 +0000 (16:22 +0530)]
[FPD LIB][PDK-5262][BOARD LIB]UB960 pattern generation API programs UB960 in case of error

- bug fix
- Removed multiple returns from the function

Signed-off-by: Vivek Dhande <a0132295@ti.com>
3 years agoam65xx: emac: driver fixes
Tinku Mannan [Thu, 14 May 2020 16:41:19 +0000 (12:41 -0400)]
am65xx: emac: driver fixes

 IOCTL fix for handling switch and host port numbers for switch use case
 Remove redundant port state check in internal ioctl implementation
 Update in r30 over dmem response handling
 Fix ICSSG bugger pool starting number

Signed-off-by: Tinku Mannan <tmannan@ti.com>
3 years agoospi: PDK-5427: fix am64x uart print issue on Zebu
Hao Zhang [Fri, 15 May 2020 01:30:56 +0000 (21:30 -0400)]
ospi: PDK-5427: fix am64x uart print issue on Zebu

Signed-off-by: Hao Zhang <hzhang@ti.com>
3 years agodrv/uart: porting SCI driver as UART v3
Eric Ruei [Thu, 7 May 2020 00:09:42 +0000 (20:09 -0400)]
drv/uart: porting SCI driver as UART v3

Porting the UART(SCI) driver from mmWave SDK to PDK UART/v3 with minimum
changes as described below:
- Move the IP-specific  configuration parameters from UART_Params to
  SoC-specific UART_HwAttrs
- Add EDMA Rx support
- Add Callback, polling timeout support
- Add interrupt control

Signed-off-by: Eric Ruei <e-ruei1@ti.com>
3 years agoPDK-5733: SBL: Updates SBL_IsSysfwEnc to use devicetype
Madan Srinivas [Wed, 13 May 2020 18:12:50 +0000 (14:12 -0400)]
PDK-5733: SBL: Updates SBL_IsSysfwEnc to use devicetype

In older sysfw releases, there was no way to tell whether the SYSFW was
encrypted or not, without parsing the sysfw to check if it was dual
signed.

After SYSFW Rel 2019.11, it is possible to read the device type from SoC
registers - this enables a faster way to determine if the sysfw is
encrypted or clear text.

This patch updates the SBL_IsSysfwEnc to return that the sysfw is clear
text, only if the device type is GP.

Signed-off-by: Madan Srinivas <madans@ti.com>
3 years agoPDK-5147: Board: Updated J721E Board I2C to support multiple instances
M V Pratap Reddy [Thu, 14 May 2020 23:20:51 +0000 (04:50 +0530)]
PDK-5147: Board: Updated J721E Board I2C to support multiple instances

 - Board I2C get handle function supports only one active instance of I2C which is inconvenient
   for the applications which access multiple I2C ports.
   Updated board I2C module to support multiple I2C instances as supported by the I2C driver.
   It is not allowed to open same instance of multiple domains simultaneously. For example if MAIN I2C
   instance 0 is opened, it is not possible to open the instance 0 of MCU or Wakeup

3 years agospi: address review comments for adding TPR12 support
Hongmei Gou [Thu, 14 May 2020 14:46:20 +0000 (10:46 -0400)]
spi: address review comments for adding TPR12 support

Signed-off-by: Hongmei Gou <hgou@ti.com>
3 years agospi: add QSPI flash test application for TPR12 QT
Hongmei Gou [Wed, 13 May 2020 20:38:04 +0000 (16:38 -0400)]
spi: add QSPI flash test application for TPR12 QT

* Baremetal and RTOS with makefile
* Use prints on the IO console for TPR12 QT
* Support flash model w25q16fw for TPR12 QT

Signed-off-by: Hongmei Gou <hgou@ti.com>
3 years agospi: build qspi(v1) lib for tpr12
Hongmei Gou [Wed, 13 May 2020 23:05:57 +0000 (19:05 -0400)]
spi: build qspi(v1) lib for tpr12

Signed-off-by: Hongmei Gou <hgou@ti.com>
3 years agoIPC: Update c7x echo_test linker file and mmu map call
Angela Stegmaier [Thu, 14 May 2020 18:47:13 +0000 (13:47 -0500)]
IPC: Update c7x echo_test linker file and mmu map call

Latest tools need secure_vecs to be included.
Also need to set the ns attr for the mapping call.

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
3 years agoboard: Revert offset translation and use direct define
Sam Nelson [Thu, 14 May 2020 14:34:58 +0000 (10:34 -0400)]
board: Revert offset translation and use direct define

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
3 years agosciclient: rm_irq: Fix critical Klocwork errors
Justin Sobota [Thu, 14 May 2020 20:23:46 +0000 (16:23 -0400)]
sciclient: rm_irq: Fix critical Klocwork errors

Resolve critical Klocwork errors reported in
the Sciclient interrupt managements logic.

Signed-off-by: Justin Sobota <jsobota@ti.com>
3 years agodrv: sciclient: Using the latest binaries and checked load firmware on ZeBu
Piyali Goswami [Wed, 13 May 2020 09:51:27 +0000 (15:21 +0530)]
drv: sciclient: Using the latest binaries and checked load firmware on ZeBu

The Load firmware is passing on ZeBu with this.

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
3 years agodrv: sciclient: Updates to firmwaregen.sh to handle AM64x new ROM address
Piyali Goswami [Wed, 13 May 2020 07:08:52 +0000 (12:38 +0530)]
drv: sciclient: Updates to firmwaregen.sh to handle AM64x new ROM address

Validated VLAB based load firmware is working

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
3 years agodrv: sciclient: Updated the sysfw binaries for 1.4.0 snapshot5 VLAB
Piyali Goswami [Wed, 13 May 2020 06:08:33 +0000 (11:38 +0530)]
drv: sciclient: Updated the sysfw binaries for 1.4.0 snapshot5 VLAB

Fixes: PDK-6184
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
3 years ago[PDK-5988] UDMA : Fix Bug introduced by SA issue resolution
Don Dominic [Thu, 14 May 2020 14:20:57 +0000 (19:50 +0530)]
[PDK-5988] UDMA : Fix Bug introduced by SA issue resolution

-Fix for a minor bug introduced by Static Analysis issue resolution in commit:97fecfcd

-In case of LCDMA, since Teardown event is not supported, the eventRegister &  eventUnregister will be bypassed.
As a result eventInitDone wont be set to UDMA_INIT_DONE.
While bypassing eventUnregister, as part of SA fix, the check for eventInitDone was moved  alongwith Handle NULL_PTR check.
It was on top of the if condition to bypass the Teardown event. Due to this, Teardown event returned EFAIL in AM64x.

-The check for eventInitDone is moved under, bypass check.

Signed-off-by: Don Dominic <a0486429@ti.com>
3 years ago[PDK-5988] UDMA : Fix Static Analysis Issues
Don Dominic [Thu, 14 May 2020 11:13:58 +0000 (16:43 +0530)]
[PDK-5988] UDMA : Fix Static Analysis Issues

Signed-off-by: Don Dominic <a0486429@ti.com>
3 years agoAddressed review comments
Sivaraj R [Thu, 14 May 2020 10:24:08 +0000 (15:54 +0530)]
Addressed review comments

Signed-off-by: Sivaraj R <sivaraj@ti.com>
3 years agoPDK-5149: Below changes are done
Brijesh Jadav [Wed, 29 Apr 2020 16:42:24 +0000 (22:12 +0530)]
PDK-5149: Below changes are done

- Moved DSS to MCU2_0
- Interchanged channel allocation for MCU2_0 and MCU2_1

Signed-off-by: Brijesh Jadav <brijesh.jadav@ti.com>
3 years ago[PDK-5983] Fix warning issue of IPC module
Amit Makani [Mon, 11 May 2020 12:29:06 +0000 (17:59 +0530)]
[PDK-5983] Fix warning issue of IPC module

Signed-off-by: Amit Makani <amit.makani@ti.com>
3 years ago[PDK-4957] Additional error checks for mappedGrp and mappedChNum
Don Dominic [Wed, 13 May 2020 12:54:46 +0000 (18:24 +0530)]
[PDK-4957] Additional error checks for mappedGrp and mappedChNum

Signed-off-by: Don Dominic <a0486429@ti.com>
3 years agoam65xx: emac and nimu: Maxwell PG2 updates
Tinku Mannan [Tue, 12 May 2020 21:51:31 +0000 (17:51 -0400)]
am65xx: emac and nimu: Maxwell PG2 updates

3 years agoam65xx: emac: Maxwell PG2 updates
Tinku Mannan [Mon, 11 May 2020 13:55:44 +0000 (09:55 -0400)]
am65xx: emac: Maxwell PG2 updates

3 years ago[hostemu] Fix host emulation and loki link issue
Anshu Jain [Wed, 13 May 2020 10:52:07 +0000 (16:22 +0530)]
[hostemu] Fix host emulation and loki link issue

Signed-off-by: Anshu Jain <anshu.jain@ti.com>
3 years agoPDK-6291: UDMA unit test app is failing for all the cores
Sivaraj R [Wed, 13 May 2020 14:25:54 +0000 (19:55 +0530)]
PDK-6291: UDMA unit test app is failing  for all the cores

Resolution:
- With 2020.04 the RM API returns error if the flow count is 0x4000
- The default should be zero which is the logical value to have

Signed-off-by: Sivaraj R <sivaraj@ti.com>
3 years ago[PDK-6289] Update in max doorbell count for lcdma
Don Dominic [Wed, 13 May 2020 13:31:52 +0000 (19:01 +0530)]
[PDK-6289] Update in max doorbell count for lcdma

-Updates in max doorbell count for lcdma related to changes in csl_lcdma file bug fix

Signed-off-by: Don Dominic <a0486429@ti.com>
3 years agoPDK-5118: Board: Enabled pinmux setup for AM64x EVM
M V Pratap Reddy [Wed, 13 May 2020 10:47:15 +0000 (16:17 +0530)]
PDK-5118: Board: Enabled pinmux setup for AM64x EVM

3 years agoPDK-6273: Host emulation (GCC) library in PDK release package
Sivaraj R [Wed, 13 May 2020 08:20:33 +0000 (13:50 +0530)]
PDK-6273: Host emulation (GCC) library in PDK release package

- Enable only the libraries that are needed for HOSTEMU

Signed-off-by: Sivaraj R <sivaraj@ti.com>
3 years agoBuild Fix
Sivaraj R [Wed, 13 May 2020 08:03:29 +0000 (13:33 +0530)]
Build Fix

- FATFS is build for all cores and it needs MMCSD
to be enabled for all cores as well
- Added SA LLD folder to git ignore

Signed-off-by: Sivaraj R <sivaraj@ti.com>
3 years agoPDK-4966: Added SA2UL Package Support - Use DDR for SAUL Buffers
Sivaraj R [Wed, 13 May 2020 03:43:07 +0000 (09:13 +0530)]
PDK-4966: Added SA2UL Package Support - Use DDR for SAUL Buffers

Signed-off-by: Sivaraj R <sivaraj@ti.com>
3 years agoMerge pull request #536 in PROCESSOR-SDK/pdk from don/am64x_pktdma_dev to master
Sivaraj R [Wed, 13 May 2020 06:21:18 +0000 (01:21 -0500)]
Merge pull request #536 in PROCESSOR-SDK/pdk from don/am64x_pktdma_dev to master

Squashed commit of the following:

commit 896b1c90dc7e87ada1dc9ddf61150815b4cff74a
Author: Don Dominic <a0486429@ti.com>
Date:   Tue May 12 18:46:02 2020 +0530

     [PDK-4957] VLAB Debug Updates

Signed-off-by: Don Dominic <a0486429@ti.com>
commit 819bc062c630df794af30a845425d09550c7ecd8
Author: Don Dominic <a0486429@ti.com>
Date:   Tue May 12 14:39:28 2020 +0530

    [PDK-4957] Addressed Review Comments

Signed-off-by: Don Dominic <a0486429@ti.com>
commit 9f18587f0d18fa805e5193fa3ea619586200fd36
Author: Don Dominic <a0486429@ti.com>
Date:   Tue May 12 10:26:51 2020 +0530

    [PDK-4957] Updates for PSIL Channles (ICSSG) in soc.h file

Signed-off-by: Don Dominic <a0486429@ti.com>
commit 8a642ce53062bbcde4349a959c46b32e2b157abb
Author: Don Dominic <a0486429@ti.com>
Date:   Mon May 11 22:35:31 2020 +0530

    [PDK-5621][PDK-5362][PDK-4957] PKTMDA : Added support for TX/RX flows - Mapped Rings in AM64x

    - updates to support  mapped rings
    - new local API's for rmAllocMappedRing and rmFreeMappedRing
    - new params in ringPrms : mappedRingGroup and mappedChNum :- used to allocate appropriate ring
    - new param in ringHandle : mappedRingFroup :- to free an allocated mapped ring
    - renamed channel tx/rx group to tx/rx groups - to use for both channels and rings
    - rx group index followed by tx

    *)NO UDMA Driver exposed changes ( new ring params passed from chPrms)
     - if Udma_ringAlloc called explicitly to allocate mapped rings :- make sure to intialize mappedRingGroup and mappedChNum (by default allocated to invalid)

Signed-off-by: Don Dominic <a0486429@ti.com>
commit e93f521c9a6be2e1183babb8c9b7fd48eaf76cba
Author: Don Dominic <a0486429@ti.com>
Date:   Fri May 8 01:13:32 2020 +0530

    [PDK-4957][UDMA] PKTMDA : Added support for mapped channels in AM64x PKTDMA

    - added new Channel Type : Mapped (similar to UTC)
    - rmcfg udaptes for Mapped TX/RX Channels (default alloc only for mcu1_0)
    - new local API's for rmAllocMappedTxCh , rmAllocMappedRxCh, rmFreeMappedTxCh and rmFreeMappedRxCh

Signed-off-by: Don Dominic <a0486429@ti.com>
3 years agoPDK-5764: Fix MPU configuration for TCMs on J721E, J7200 and AM65xx SoCs
Karan Saxena [Mon, 11 May 2020 21:48:48 +0000 (03:18 +0530)]
PDK-5764: Fix MPU configuration for TCMs on J721E, J7200 and AM65xx SoCs

- As per R5F TRM, TCM always behave as Non-cacheable, Non-shared, Normal memory
  hence change the attributes in the MPU.

Signed-off-by: Karan Saxena <karan@ti.com>
3 years agosciclient: Fix IR output validation against board config
Justin Sobota [Sat, 9 May 2020 01:45:42 +0000 (21:45 -0400)]
sciclient: Fix IR output validation against board config

Fix the interrupt routing validation so that
only routes with IR outputs that validate
against the RM board configuration are used.

The logic was in place for this before but
an error in the code allowed routes to still be
programmed even if the validation against the
board configuration failed.

Fixes: PDK-5768
Signed-off-by: Justin Sobota <jsobota@ti.com>
3 years ago[PDK-5983] Fix critical issue of IPC module
Amit Makani [Sat, 9 May 2020 12:45:58 +0000 (18:15 +0530)]
[PDK-5983] Fix critical issue of IPC module

Signed-off-by: Amit Makani <amit.makani@ti.com>
3 years agodrv/uart: add double close check
Eric Ruei [Fri, 8 May 2020 19:46:36 +0000 (15:46 -0400)]
drv/uart: add double close check

This problem was exposed by tentative changes of UART unit test application.
Add a simple state check to avoid double free of UART resources.

Signed-off-by: Eric Ruei <e-ruei1@ti.com>
3 years agoPDK-5733: SBL: Removes roundabout way to determine device type
Madan Srinivas [Tue, 12 May 2020 20:03:30 +0000 (16:03 -0400)]
PDK-5733: SBL: Removes roundabout way to determine device type

Earlier, the secmgr registers that store the device type was accessible
only to DMSC M3. So the SBL determined the device type by reading teh
sysfw and checking if it was countersigned and encrypted.

From SYSFW 2019.11 the secmgr registers are made avaiable to the
non-secure software and SBL_IsSysfwEnc has been updated to return the
device type from the secmgr registers.

Hence this workaround of parsing the sysfw certs to determine the device
type must be removed.

Signed-off-by: Madan Srinivas madans@ti.com
3 years agoPDK-5986: pruss drv static analysis fixes
Tinku Mannan [Mon, 11 May 2020 21:09:23 +0000 (17:09 -0400)]
PDK-5986: pruss drv static analysis fixes

3 years agoMCAL-4148: SBL: Optimized CUST build for MCU-only boot
Jonathan Bergsagel [Wed, 29 Apr 2020 23:32:18 +0000 (18:32 -0500)]
MCAL-4148: SBL: Optimized CUST build for MCU-only boot

Make use of special compile tokens to allow for faster
MCU-only boot when only minimal items in the MCU domain
are needed.
Useful especially for testing Early CAN response time.

Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
3 years agoMCAL-4148: sbl_boot_perf_test: Small test app option
Jonathan Bergsagel [Wed, 29 Apr 2020 23:26:17 +0000 (18:26 -0500)]
MCAL-4148: sbl_boot_perf_test: Small test app option

Added new build option for SBL_USE_MCU_DOMAIN_ONLY and
a corresponding sbl_boot_perf_test build that will fit
completely in MCU SRAM.  A smaller boot perf test was
needed for checking SBL boot time breakdown when only
the MCU domain is initialized.

Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
3 years agoPDK-5733: SBL: Updates SBL_IsSysfwEnc to use devicetype
Madan Srinivas [Mon, 4 May 2020 03:51:06 +0000 (23:51 -0400)]
PDK-5733: SBL: Updates SBL_IsSysfwEnc to use devicetype

In older sysfw releases, there was no way to tell whether the SYSFW was
encrypted or not, without parsing the sysfw to check if it was dual
signed.

After SYSFW Rel 2019.11, it is possible to read the device type from SoC
registers - this enables a faster way to determine if the sysfw is
encrypted or clear text.

This patch updates the SBL_IsSysfwEnc to return that the sysfw is clear
text, only if the device type is GP.

Signed-off-by: Madan Srinivas <madans@ti.com>
3 years agoPDK-5543 : C7x with CGT 1.3.0.LTS
sujith [Mon, 11 May 2020 11:57:17 +0000 (17:27 +0530)]
PDK-5543 : C7x with CGT 1.3.0.LTS

Configured to set sysbios in nonsecure mode
Updated sciclient board config for nonsecure
Configured CLEC to be configureable in nonsecure mode
Tested with udma mem copy app on C7x in mmc/sd boot
and with ccs

Signed-off-by: sujith <sujith.s@ti.com>
3 years agosciclient : updated the path to gcc bin directory
sujith [Tue, 12 May 2020 06:20:11 +0000 (11:50 +0530)]
sciclient : updated the path to gcc bin directory

Signed-off-by: sujith <sujith.s@ti.com>
3 years agoPDK-4874: Implement CRC driver
Prasad Konnur [Mon, 11 May 2020 07:37:27 +0000 (13:07 +0530)]
PDK-4874: Implement CRC driver

 - Added test code for CRC
 - verifies both instances of CRC
 - MSS CRC instance from R5 and DSS CRC instace from c66x cores

Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
3 years agoosal: PRSDK-8153: AM65xx: OSAL sets R5F VIM interrupt priority incorrectly
Aravind Batni [Mon, 11 May 2020 20:20:48 +0000 (16:20 -0400)]
osal: PRSDK-8153: AM65xx: OSAL sets R5F VIM interrupt priority incorrectly

Signed-off-by: Aravind Batni <aravindbr@ti.com>
3 years agoPDK-5765: Fix MSMC size for j7200
Karan Saxena [Mon, 11 May 2020 21:19:14 +0000 (02:49 +0530)]
PDK-5765: Fix MSMC size for j7200

- MSMC size for J7200 wrongly mentioned as 8MB instead of 1MB

Signed-off-by: Karan Saxena <karan@ti.com>
3 years agoPRSDK-7754: board: update temperature monitor to reconfigure tras max
Sam Nelson [Mon, 17 Feb 2020 15:23:30 +0000 (10:23 -0500)]
PRSDK-7754: board: update temperature monitor to reconfigure tras max

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
3 years agoTop level makefile enhancements
Sivaraj R [Tue, 5 May 2020 09:05:57 +0000 (14:35 +0530)]
Top level makefile enhancements

- Added J721e. Yocto uses j7 but normal build uses j721e
- We can remove j7 once PRSDK yocto build is descoped
- Added default path for PDK when export variable is not set
- This allows to work with makefile without an need to run env.sh file

Signed-off-by: Sivaraj R <sivaraj@ti.com>
3 years agoBuild Issue Resolutions : Minor updates
sujith [Sun, 10 May 2020 07:09:23 +0000 (12:39 +0530)]
Build Issue Resolutions : Minor updates

Signed-off-by: sujith <sujith.s@ti.com>
3 years agoPDK-5038: Board: Added build support for TPR12 QT
M V Pratap Reddy [Sat, 9 May 2020 17:08:22 +0000 (22:38 +0530)]
PDK-5038: Board: Added build support for TPR12 QT

3 years agoFix AM64x build - Revert GCC properly
Sivaraj R [Fri, 8 May 2020 16:40:04 +0000 (22:10 +0530)]
Fix AM64x build - Revert GCC properly

Signed-off-by: Sivaraj R <sivaraj@ti.com>
3 years agoPRSDK-8426: OSAL: SemaphoreP_postfromISR() API does not work for baremetal
Aravind Batni [Thu, 7 May 2020 15:36:18 +0000 (11:36 -0400)]
PRSDK-8426: OSAL: SemaphoreP_postfromISR() API does not work for baremetal

Signed-off-by: Aravind Batni <aravindbr@ti.com>
3 years agoPRSDK-8481: OSAL: Timer API wrongly uses HWIP clear and disable interrupts, instead...
Aravind Batni [Thu, 7 May 2020 15:43:53 +0000 (11:43 -0400)]
PRSDK-8481: OSAL: Timer API wrongly uses HWIP clear and disable interrupts, instead of OSAL clear and disable APIs

Signed-off-by: Aravind Batni <aravindbr@ti.com>
3 years agoAM64x & TP12 : ARM CGT : Reverting to back to 18.12.5.LTS
sujith [Fri, 8 May 2020 15:52:01 +0000 (21:22 +0530)]
AM64x & TP12 : ARM CGT : Reverting to back to 18.12.5.LTS

Signed-off-by: sujith <sujith.s@ti.com>
3 years agoOSAL: add double-free check
Eric Ruei [Tue, 5 May 2020 22:34:12 +0000 (18:34 -0400)]
OSAL: add double-free check

- Add double-free check for the OSAL module with local control blocks
  - hwi
  - semaphore
  - timer

Signed-off-by: Eric Ruei <e-ruei1@ti.com>
3 years agopdk: fix package build issues
Hao Zhang [Fri, 8 May 2020 14:13:42 +0000 (10:13 -0400)]
pdk: fix package build issues

Signed-off-by: Hao Zhang <hzhang@ti.com>
3 years agoTools Update : Minor correction on the NDK version
sujith [Fri, 8 May 2020 13:45:24 +0000 (19:15 +0530)]
Tools Update : Minor correction on the NDK version

Signed-off-by: sujith <sujith.s@ti.com>
3 years agoPDK-5543 : Addressed review comments.
sujith [Fri, 8 May 2020 09:37:31 +0000 (15:07 +0530)]
PDK-5543 : Addressed review comments.

Signed-off-by: sujith <sujith.s@ti.com>
3 years agoPDK-5543 : Updated NDK & NS versions
sujith [Sun, 3 May 2020 23:19:11 +0000 (04:49 +0530)]
PDK-5543 : Updated NDK & NS versions

Signed-off-by: sujith <sujith.s@ti.com>
3 years agoPDK-5543 : TOOLS : Resolving new gcc/c7x associated issues
sujith [Thu, 16 Apr 2020 15:04:24 +0000 (20:34 +0530)]
PDK-5543 : TOOLS : Resolving new gcc/c7x associated issues

Signed-off-by: sujith <sujith.s@ti.com>
3 years agoPDK-5543 : TOOLS : Updating following tools for Jacinto
sujith [Mon, 13 Apr 2020 09:55:14 +0000 (15:25 +0530)]
PDK-5543 : TOOLS : Updating following tools for Jacinto

BIOS_VERSION=6_82_00_16
XDC_VERSION=3_61_00_16_core
GCC_ARCH64_VERSION=9.2-2019.12
CGT_C7X_VERSION=1.3.0.STS
CGT_ARM_VERSION=20.2.0.LTS

Signed-off-by: sujith <sujith.s@ti.com>
3 years agoPDK-5543 : Addressed review comments.
sujith [Fri, 8 May 2020 09:37:31 +0000 (15:07 +0530)]
PDK-5543 : Addressed review comments.

Signed-off-by: sujith <sujith.s@ti.com>
3 years ago[TOOLS] Fixes to make C7x host-emu work with updated CGT
Kedar Chitnis [Fri, 8 May 2020 06:21:31 +0000 (11:51 +0530)]
[TOOLS] Fixes to make C7x host-emu work with updated CGT

3 years agoPDK-5543 : Updated NDK & NS versions
sujith [Sun, 3 May 2020 23:19:11 +0000 (04:49 +0530)]
PDK-5543 : Updated NDK & NS versions

Signed-off-by: sujith <sujith.s@ti.com>
3 years agoPDK-5543 : TOOLS : Resolving new gcc/c7x associated issues
sujith [Thu, 16 Apr 2020 15:04:24 +0000 (20:34 +0530)]
PDK-5543 : TOOLS : Resolving new gcc/c7x associated issues

Signed-off-by: sujith <sujith.s@ti.com>
3 years agoPDK-5543 : TOOLS : Updating following tools for Jacinto
sujith [Mon, 13 Apr 2020 09:55:14 +0000 (15:25 +0530)]
PDK-5543 : TOOLS : Updating following tools for Jacinto

BIOS_VERSION=6_82_00_16
XDC_VERSION=3_61_00_16_core
GCC_ARCH64_VERSION=9.2-2019.12
CGT_C7X_VERSION=1.3.0.STS
CGT_ARM_VERSION=20.2.0.LTS

Signed-off-by: sujith <sujith.s@ti.com>
3 years agoAM64x binary Update with Proc Control
Piyali Goswami [Thu, 7 May 2020 17:46:10 +0000 (23:16 +0530)]
AM64x binary Update with Proc Control

Binary with Proc Control

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
3 years ago[PDK-5125][UDMA] Ring : Fix Review comments
Don Dominic [Thu, 7 May 2020 10:30:45 +0000 (16:00 +0530)]
[PDK-5125][UDMA] Ring : Fix Review comments

Signed-off-by: Don Dominic <a0486429@ti.com>
3 years ago[PDK-5125][UDMA] Ring : Use function pointers for local ring API's
Don Dominic [Wed, 6 May 2020 17:05:22 +0000 (22:35 +0530)]
[PDK-5125][UDMA] Ring : Use function pointers for local ring API's

- Use function pointers to call Normal/LCDMA ring API's ,
  instead of using if conditions with raType(affects performance due to additional if check)
- Function Pointers intialized in soc source file.

Signed-off-by: Don Dominic <a0486429@ti.com>
3 years agoPDK-4940: SBL: Program SoC thermal limits for J721E
Jonathan Bergsagel [Wed, 8 Apr 2020 16:48:03 +0000 (11:48 -0500)]
PDK-4940: SBL: Program SoC thermal limits for J721E

Enable temp sensors on the SoC and program the thermal
shutdown temp to 125 deg C to put the device into reset
when this high temp is reached.
A safe temp is also programmed, such that the SoC will
be released from reset again when the safe temp is
reached.

Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
3 years ago[UDMA] makefile updates for build issues fix
Don Dominic [Thu, 7 May 2020 08:28:07 +0000 (13:58 +0530)]
[UDMA] makefile updates for build issues fix

Signed-off-by: Don Dominic <a0486429@ti.com>
3 years ago[UDMA] Build Fix for udma
Don Dominic [Thu, 7 May 2020 07:09:52 +0000 (12:39 +0530)]
[UDMA] Build Fix for udma

- Temporarily disabling build for a53 and m4f in AM64x due to sysbios issue
- RingMode intialized by defining soc specific macro for invalid ring mopde

Signed-off-by: Don Dominic <a0486429@ti.com>
3 years agoFix AM64x Build issues
Sivaraj R [Thu, 7 May 2020 05:25:56 +0000 (10:55 +0530)]
Fix AM64x Build issues

Signed-off-by: Sivaraj R <sivaraj@ti.com>
3 years ago2020.04 migration sysfw.bin fixes for non overlapping HS and GP bins
Piyali Goswami [Thu, 7 May 2020 04:43:14 +0000 (10:13 +0530)]
2020.04 migration sysfw.bin fixes for non overlapping HS and GP bins

Fixed the firmwareHeaderGen script to not overwrite GP binaries with HS binaries

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
3 years ago[UDMA][PDK-3669][PDK-5665][PDK-5663] Ring: Add APIs for using exposed ring mode
Don Dominic [Wed, 6 May 2020 10:42:53 +0000 (16:12 +0530)]
[UDMA][PDK-3669][PDK-5665][PDK-5663] Ring: Add APIs for using exposed ring mode

- Added UDMA ring APIs to read ring in exposed ring mode without setting doorbell.
- Updated SetDoorbell API to also set the doorbell after prime read
- Added APIs to get ring mode, occupancy, element count, read index and write index.
- Unit test updates for New API's

Signed-off-by: Don Dominic <a0486429@ti.com>
3 years agodiag: MAC_ADDR_LEN macro define name change in cpsw lld
Badri S [Thu, 30 Jan 2020 15:20:55 +0000 (20:50 +0530)]
diag: MAC_ADDR_LEN macro define name change in cpsw lld

Changes to cpsw_board_diag app due to change in cpsw lld
macro name change

Signed-off-by: Badri S <badri@ti.com>
3 years agoospi: PDK-5427: fix OSPI clock configuration issue.
Hao Zhang [Tue, 5 May 2020 18:00:49 +0000 (14:00 -0400)]
ospi: PDK-5427: fix OSPI clock configuration issue.

Signed-off-by: Hao Zhang <hzhang@ti.com>
3 years ago[UDMA][AM64x] Fix Package Build Issues
Don Dominic [Tue, 5 May 2020 09:56:30 +0000 (15:26 +0530)]
[UDMA][AM64x] Fix Package Build Issues

- Port udma_examples for AM64x
- csl_dru file include protected with macro
- Alongwith minor bug fix in API Guide
- cppi.h not required

Signed-off-by: Don Dominic <a0486429@ti.com>
3 years agoAdded PMIC build support
Sivaraj R [Thu, 23 Apr 2020 07:04:10 +0000 (12:34 +0530)]
Added PMIC build support

Signed-off-by: Sivaraj R <sivaraj@ti.com>
3 years agoPRSDK-7753: Pick up SYSFW 2020.04 binary for J7HS
Brandon Wetzel [Wed, 6 May 2020 15:21:03 +0000 (11:21 -0400)]
PRSDK-7753: Pick up SYSFW 2020.04 binary for J7HS

J7HS support was originally build upon SYSFW 2020.01, but was merged on top of
2020.04 without sysfw-hs-enc.bin getting updated. This commit fixes that.

3 years agoPRSDK-7753: J7 Boot time Security support on RTOS
Brandon Wetzel [Thu, 19 Mar 2020 15:02:46 +0000 (11:02 -0400)]
PRSDK-7753: J7 Boot time Security support on RTOS

Support J721e-hs boot in RTOS

3 years agoSciclient: Firewall: Example updates to use default linker
Piyali Goswami [Thu, 30 Apr 2020 07:14:20 +0000 (12:44 +0530)]
Sciclient: Firewall: Example updates to use default linker

Updated the example to use the standard linker files and now can be loaded by SBL

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
3 years agoFirewall Example update for J721e
Piyali Goswami [Sun, 26 Apr 2020 17:20:46 +0000 (22:50 +0530)]
Firewall Example update for J721e

J721e support for the Firewall example

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
3 years agoFirewall Example enhance for DDR based firewalls
Piyali Goswami [Sun, 26 Apr 2020 13:21:02 +0000 (18:51 +0530)]
Firewall Example enhance for DDR based firewalls

Enhanced the Example for DDR based firewall.

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
3 years agoExample update for Firewalls for MSMC RAM
Piyali Goswami [Sun, 26 Apr 2020 11:57:31 +0000 (17:27 +0530)]
Example update for Firewalls for MSMC RAM

The example will showcase the ability to set firewalls for MSMC RAM.

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
3 years agoFirewall example
Piyali Goswami [Sat, 25 Apr 2020 08:41:30 +0000 (14:11 +0530)]
Firewall example

Example for Firewall for differen memories from R5F

Fixes: PDK-4928
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
3 years agoBuild fix for Boot Perf Application
Piyali Goswami [Wed, 6 May 2020 04:41:23 +0000 (10:11 +0530)]
Build fix for Boot Perf Application

Build fix for Boot Perf Application

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
3 years agoAm64x: Proc Control Ids
Piyali Goswami [Wed, 6 May 2020 03:52:44 +0000 (09:22 +0530)]
Am64x: Proc Control Ids

Proc control IDs for AM64x

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
3 years agosciclient: Cleanup IRQ trees
Justin Sobota [Tue, 5 May 2020 15:09:49 +0000 (11:09 -0400)]
sciclient: Cleanup IRQ trees

Some cleanups were needed in the IRQ trees for
all SoCs in order to align their structure.  Also,
the AM65x tree was not the latest version and did
not include the main2mcu IR in_bit offset.

Signed-off-by: Justin Sobota <jsobota@ti.com>
3 years agoBuild Fix for applications.
Piyali Goswami [Tue, 5 May 2020 04:20:18 +0000 (09:50 +0530)]
Build Fix for applications.

Build fix for UT

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
3 years agosciclient: makefile Removed packaging build fix
Piyali Goswami [Mon, 4 May 2020 13:23:37 +0000 (18:53 +0530)]
sciclient: makefile Removed packaging build fix

Build Fix to not have to package am65xx_sr2 R5F binaries

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
3 years agosbl: sbl_sci_client.c Avoid reading inner certificate for GP devices
Piyali Goswami [Fri, 1 May 2020 18:12:27 +0000 (23:42 +0530)]
sbl: sbl_sci_client.c Avoid reading inner certificate for GP devices

Inner certificate is not populated for GP devices. This is a work around for PDK-5733.

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
3 years agoAM64x: Firmware Gen Updates for AM64x
Piyali Goswami [Mon, 4 May 2020 04:13:03 +0000 (09:43 +0530)]
AM64x: Firmware Gen Updates for AM64x

Firmware Updates for AM64x VLAB and ZeBu

Signed-off-by: Piyali Goswami <piyali_g@ti.com>