]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/pdk.git/log
processor-sdk/pdk.git
3 years agoPDK-6775: Docs update REL.CORESDK.07.00.00.36
Tinku Mannan [Thu, 4 Jun 2020 12:27:32 +0000 (08:27 -0400)]
PDK-6775: Docs update

3 years agoPDK-6738: IPC: echo_testb: Copy vecs for ipc_echo_testb sysbios example REL.CORESDK.07.00.00.35
Angela Stegmaier [Wed, 3 Jun 2020 00:18:52 +0000 (19:18 -0500)]
PDK-6738: IPC: echo_testb: Copy vecs for ipc_echo_testb sysbios example

The latest sysbios expects the vecs to be present at address 0x0.
When the ipc_echo_testb starts from BTCM from SPL branch-only mode
for mcu1_0, the vecs at 0x0 are not matching the sysbios vecs.

This patch adds a function to the sysbios reset functions to
copy the vecs to 0x0 during bios startup for the btcm image for
mcu1_0. With this, the vecs are as expected for sysbios and the image
is able to run sucessfully and finish the echo test, even when
run in branch-only mode.

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
3 years agoPDK-6669: Use HS KEY for signing
Sivaraj R [Thu, 4 Jun 2020 04:52:24 +0000 (10:22 +0530)]
PDK-6669: Use HS KEY for signing

- HS KEY will work for both GP and HS device
- So instead of creating two app image - one with
GP KEY and HS KEY, we will use one app image for both
- For GP device customer can use the unsigned app image
in case boot time is a requirement

Signed-off-by: Sivaraj R <sivaraj@ti.com>
3 years agoPDK-6760: SBL: Fix image authentication for small images
Jonathan Bergsagel [Wed, 3 Jun 2020 19:17:56 +0000 (14:17 -0500)]
PDK-6760: SBL: Fix image authentication for small images

Fixes a pointer issue with X.509 certificate checking
that was calculating the wrong image size for signed
appimage files of a small size.

Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
3 years agouart: PDK-6740: fix UART unit test bug
Hao Zhang [Wed, 3 Jun 2020 19:30:37 +0000 (15:30 -0400)]
uart: PDK-6740: fix UART unit test bug

1. fix uart read/write API test bugs
2. enable loopback test for both baremetal and RTOS

Signed-off-by: Hao Zhang <hzhang@ti.com>
3 years ago[DSS TEST][PDK-6702]DSS Colorbar test is failing on J7 EVM REL.CORESDK.07.00.00.34
Vivek Dhande [Wed, 3 Jun 2020 13:38:15 +0000 (19:08 +0530)]
[DSS TEST][PDK-6702]DSS Colorbar test is failing on J7 EVM

Signed-off-by: Vivek Dhande <a0132295@ti.com>
3 years agoETHFW-1582: timesync: Fix Ethfw stuck in nRT task REL.CORESDK.07.00.00.33
Santhana Bharathi N [Wed, 3 Jun 2020 09:09:37 +0000 (14:39 +0530)]
ETHFW-1582: timesync: Fix Ethfw stuck in nRT task

- nRT task becomes while(1) when the configured port
  is down by the time timesync is enabled.
- Added sleep in nRT task to enable other tasks to
  be scheduled and also reduced the nRT task's priority
  to 2 from 8

Signed-off-by: Santhana Bharathi N <santa@ti.com>
3 years agoi2c: PDK-6672: fix i2c eeprom bios application bug REL.CORESDK.07.00.00.29 REL.CORESDK.07.00.00.30 REL.CORESDK.07.00.00.31 REL.CORESDK.07.00.00.32
Hao Zhang [Tue, 2 Jun 2020 20:16:32 +0000 (16:16 -0400)]
i2c: PDK-6672: fix i2c eeprom bios application bug

Signed-off-by: Hao Zhang <hzhang@ti.com>
3 years agoSBL: Update fix for MCU OCM RAM region for all SoC.
Jonathan Bergsagel [Tue, 2 Jun 2020 17:12:13 +0000 (12:12 -0500)]
SBL: Update fix for MCU OCM RAM region for all SoC.

Adds the max possible MCU OCM RAM memory in this R5 MPU
region, to cover all possible KS3 SoCs with MCU RAM.
Doesn't need to be SoC-specific here.

Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
3 years agoIPC: echo test: Fix stack overflow in c7x echo test
Angela Stegmaier [Tue, 2 Jun 2020 19:47:11 +0000 (14:47 -0500)]
IPC: echo test: Fix stack overflow in c7x echo test

The ipc_echo_test will sometimes throw stack overflow
error from the app task. This patch increases the size
of the task stack to avoid the error.

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
3 years agoPDK-6623:MCASP: Fix for device loopback example on c66xdsp_2
Mahesh Radhkrishnan [Tue, 2 Jun 2020 19:48:07 +0000 (15:48 -0400)]
PDK-6623:MCASP: Fix for device loopback example on c66xdsp_2

3 years agoapiguide:timeSync: Fix API guide build warnings REL.CORESDK.06.02.04.03 REL.CORESDK.06.02.04.04
Santhana Bharathi N [Tue, 2 Jun 2020 12:35:48 +0000 (18:05 +0530)]
apiguide:timeSync: Fix API guide build warnings

- Fix TimeSync API guide doxygen build warnings

Signed-off-by: Santhana Bharathi N <santa@ti.com>
3 years agoOSAL/test: add DebugP Log test for TPR12 REL.CORESDK.06.02.04.02
Eric Ruei [Mon, 1 Jun 2020 23:59:09 +0000 (19:59 -0400)]
OSAL/test: add DebugP Log test for TPR12

- Enable the test for TPR12 only because BIOS-based trace is not required
  for other SoCs.
- Although this test is applicable for all SoCs, the local BIOS config file
   is required to enable the XDC/BIOS log operation.

Signed-off-by: Eric Ruei <e-ruei1@ti.com>
3 years agoSBL: Fix J7 MCU OCM RAM region for SBL CUST builds
Jonathan Bergsagel [Tue, 2 Jun 2020 07:34:55 +0000 (02:34 -0500)]
SBL: Fix J7 MCU OCM RAM region for SBL CUST builds

SBL CUST build on J7 family devices must support MCU-only
mode where only MCU domain resources are used for initial
bringup, even for signed applications.  Full MCU OCM RAM
space must be utilized for app image verification in this
case.

Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
3 years agoFix package issue for uniflash due to HS changes REL.CORESDK.07.00.00.28
Sivaraj R [Tue, 2 Jun 2020 06:32:03 +0000 (12:02 +0530)]
Fix package issue for uniflash due to HS changes

- Uniflash target now gets build for HS and non-HS
from different dir
- So don't use relative patch for SRC and INC DIR
- Also fixed package variables and skip for HS build

Signed-off-by: Sivaraj R <sivaraj@ti.com>
3 years agoPRSDK-7753: HS build support REL.CORESDK.07.00.00.27
Sivaraj R [Tue, 2 Jun 2020 04:41:48 +0000 (10:11 +0530)]
PRSDK-7753: HS build support

- The APPNAME or app -C directory (_PATH variable) should be
unique as the complier creates lto_$APPNAME optimization
file in the directory in which -C is called
- Because of this multiple lto_ files with same name can be
created if app name and app path are same

Signed-off-by: Sivaraj R <sivaraj@ti.com>
3 years agoPRSDK-7753: HS build support REL.CORESDK.07.00.00.25 REL.CORESDK.07.00.00.26
Sivaraj R [Mon, 1 Jun 2020 12:55:40 +0000 (18:25 +0530)]
PRSDK-7753: HS build support

- Added SCICLIENT API to return the default board cfg
address and size
- This way the caller need not include the private header file
which has the size macros based on BUILD_HS flag
- This way the caller need not be built special way using the
BUILD_HS macro

Signed-off-by: Sivaraj R <sivaraj@ti.com>
3 years agospi: qspi-flash-test: use CSL address translation function for TPR12
Hongmei Gou [Mon, 1 Jun 2020 23:37:35 +0000 (19:37 -0400)]
spi: qspi-flash-test: use CSL address translation function for TPR12

Signed-off-by: Hongmei Gou <hgou@ti.com>
3 years agosciclient: am64: Fix errors in gSciclientMap
Justin Sobota [Tue, 2 Jun 2020 00:47:13 +0000 (20:47 -0400)]
sciclient: am64: Fix errors in gSciclientMap

The host mapping array, gSciclientMap had incorrect
entries defined.  This patch removes all the incorrect
entries and adds a TBD M4 secure entry to match
sciclient_fmwMsgParams.h

Fixes: PDK-6724
Signed-off-by: Justin Sobota <jsobota@ti.com>
3 years agoRevert "PDK-6624: WORKAROUND for SBL OSPI Boot instability on J721E-HS"
Jonathan Bergsagel [Mon, 1 Jun 2020 23:32:26 +0000 (18:32 -0500)]
Revert "PDK-6624: WORKAROUND for SBL OSPI Boot instability on J721E-HS"

This reverts commit 2c2cca942ff1c3f29b40dd23797fee80a7f3f83e.

Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
3 years agoPRSDK-7492: Board: Fix for Uniflash host failure on Windows REL.CORESDK.07.00.00.24
M V Pratap Reddy [Mon, 1 Jun 2020 10:31:06 +0000 (16:01 +0530)]
PRSDK-7492: Board: Fix for Uniflash host failure on Windows

 - Uniflash host utility on Windows fails when executed after using
   the COM port with TeraTerm. Serial cable disconnect and reconnect
   is needed to avoid this failure.

   Failure is caused by COM port timeout settings done by TeraTerm.
   Uniflash is not using the timeouts and failures are observed with the
   timeout values configures by TeraTerm. This update fixes the issue by
   resetting the COM port timeout settings to default.

3 years agoFix Host EMU remark
Sivaraj R [Sat, 30 May 2020 06:31:11 +0000 (12:01 +0530)]
Fix Host EMU remark

- Remove -v: Disable verbose
- Add -c: do not warn if the library had to be created

Signed-off-by: Sivaraj R <sivaraj@ti.com>
3 years agoPDK-6685 - bug fix - Timer osal - Uninitialized variable REL.CORESDK.07.00.00.23
Prasad Jondhale [Sun, 31 May 2020 16:37:30 +0000 (22:07 +0530)]
PDK-6685 - bug fix - Timer osal -  Uninitialized variable

 - gTimerStructs is uninitialized, initialized to zero

Signed-off-by: Prasad Jondhale <prasad.jondhale@ti.com>
3 years agodrv/usrt/test: use CSL address translation function for TPR12
Eric Ruei [Sat, 30 May 2020 13:43:14 +0000 (09:43 -0400)]
drv/usrt/test: use CSL address translation function for TPR12

Signed-off-by: Eric Ruei <e-ruei1@ti.com>
3 years agoOSAL/test: reduce TaskP test period for QT build
Eric Ruei [Sat, 30 May 2020 13:41:26 +0000 (09:41 -0400)]
OSAL/test: reduce TaskP test period for QT build

Signed-off-by: Eric Ruei <e-ruei1@ti.com>
3 years agosciclient: Verify last hop IR output against boardcfg REL.CORESDK.07.00.00.22
Justin Sobota [Sat, 30 May 2020 03:56:38 +0000 (23:56 -0400)]
sciclient: Verify last hop IR output against boardcfg

The intermediate interrupt router hops in an
interrupt route have their outputs validating
against the board configuration assignments.
This patch updates the code to also validate
the last hop IR output against the board
configuration resource assignments.

Signed-off-by: Justin Sobota <jsobota@ti.com>
3 years agosciclient: j721e: Some of the IR instances are not initialized correctly
Justin Sobota [Sat, 30 May 2020 03:49:08 +0000 (23:49 -0400)]
sciclient: j721e: Some of the IR instances are not initialized correctly

Some of the J721e IR instances do not have
their inp0_mapping field initialized properly.
This can cause a failure if attempting to route
to the 0th output for these IRs.

Fixes: PDK-6679
Signed-off-by: Justin Sobota <jsobota@ti.com>
3 years agoSBL Build Fix REL.CORESDK.06.02.03.12 REL.CORESDK.07.00.00.21
Sivaraj R [Sat, 30 May 2020 04:32:24 +0000 (10:02 +0530)]
SBL Build Fix

- Also fixes the J7 SBL build for HS
- All other boot media except OSPI should use DMA mode

Signed-off-by: Sivaraj R <sivaraj@ti.com>
3 years agoAM64x SBL Fix
Sivaraj R [Sat, 30 May 2020 04:32:24 +0000 (10:02 +0530)]
AM64x SBL Fix

- AM64x SBL only non-DMA OSPI is supported
- use that library instead of dma ospi library

Signed-off-by: Sivaraj R <sivaraj@ti.com>
3 years agoPRSDK-7753: HS build support - address review comments REL.CORESDK.06.02.03.10 REL.CORESDK.06.02.03.11 REL.CORESDK.06.02.04.01 REL.CORESDK.07.00.00.20
Sivaraj R [Fri, 29 May 2020 10:08:23 +0000 (15:38 +0530)]
PRSDK-7753: HS build support - address review comments

- Now we don't have to pass BUILD_HS flag
- All targets are enabled by default
- The HS SBL will get generated in $(BOARD)_hs folder with
the same name
- Added variable SBL_CERT_KEY in make infra which can be
passed from individual SBL targets based on HS or non-HS SBL
- App image signed image is always generated for both HS and GP

Signed-off-by: Sivaraj R <sivaraj@ti.com>
3 years agoi2c: ADASVISION-2476: fix check bus busy bug
Hao Zhang [Fri, 29 May 2020 17:41:58 +0000 (13:41 -0400)]
i2c: ADASVISION-2476: fix check bus busy bug

Signed-off-by: Hao Zhang <hzhang@ti.com>
3 years agoOSAL: add debugP support
Eric Ruei [Wed, 20 May 2020 19:49:19 +0000 (15:49 -0400)]
OSAL: add debugP support

Note: only tirtos version is supported for now,
      DebugP_log functions are implemented as stub
      functions tentatively for nonos.

Signed-off-by: Eric Ruei <e-ruei1@ti.com>
3 years agosciclient: AM64: Fix mcu hosts assigned to IA VINT resources
Justin Sobota [Fri, 29 May 2020 20:08:29 +0000 (16:08 -0400)]
sciclient: AM64: Fix mcu hosts assigned to IA VINT resources

The DMSS IA VINT ranges were mistakenly assigned
to the Secure MCU core hosts.  This patch assigns
the VINT ranges to the non-secure hosts.

Signed-off-by: Justin Sobota <jsobota@ti.com>
3 years agoSBL: Fix for packaging SBL when only OSPI is enabled REL.CORESDK.06.02.03.09
Mahesh Radhkrishnan [Fri, 29 May 2020 23:03:13 +0000 (19:03 -0400)]
SBL: Fix for packaging SBL when only OSPI is enabled

Also includes fix for building SBL from within ti/boot/sbl/build for
Am64x

3 years agoSBL: Disabling SBL targets not ready (yet) for AM64x REL.CORESDK.06.02.03.08
Mahesh Radhkrishnan [Fri, 29 May 2020 17:22:21 +0000 (13:22 -0400)]
SBL: Disabling SBL targets not ready (yet) for AM64x

3 years agoSBL:Deriving OSPI base/data addr from socGetConfig()
Mahesh Radhkrishnan [Fri, 29 May 2020 15:04:59 +0000 (11:04 -0400)]
SBL:Deriving OSPI base/data addr from socGetConfig()

3 years agopdk: am64x: fix sbl build issue from the package
Hao Zhang [Fri, 29 May 2020 14:18:13 +0000 (10:18 -0400)]
pdk: am64x: fix sbl build issue from the package

Signed-off-by: Hao Zhang <hzhang@ti.com>
3 years agoPDK-6642: Removed SDR_ECC_selfTest from J721E build.
Danny Jochelson [Fri, 29 May 2020 17:44:38 +0000 (12:44 -0500)]
PDK-6642: Removed SDR_ECC_selfTest from J721E build.

Made SDR_ECC_selfTest() at start of Periodic tests only in AM65
build, since this test can fail on J721E.

3 years ago[PDK-6644] UDMA AM65X Unit Test Issues Fix
Don Dominic [Fri, 29 May 2020 11:58:53 +0000 (17:28 +0530)]
[PDK-6644] UDMA AM65X Unit Test Issues Fix

-Update DMSC Events offset for AM65X with ref from https://bitbucket.itg.ti.com/projects/SYSFW/repos/system-firmware/browse/docs/public/5_soc_doc/am65x_sr2/interrupt_cfg.rst?at=refs%2Fheads%2Fdevel%2Fam64#6007

Signed-off-by: Don Dominic <a0486429@ti.com>
3 years agoFix UDMA UT for C7x secure mode change
Sivaraj R [Fri, 29 May 2020 12:29:12 +0000 (17:59 +0530)]
Fix UDMA UT for C7x secure mode change

Signed-off-by: Sivaraj R <sivaraj@ti.com>
3 years agodrv/i2c/test/master_slave: fix package build issue
Eric Ruei [Fri, 29 May 2020 12:51:17 +0000 (08:51 -0400)]
drv/i2c/test/master_slave: fix package build issue

Signed-off-by: Eric Ruei <e-ruei1@ti.com>
3 years ago[UDMA] Updated UDMA RM cfg for j721e to allow more block copy and fewer rx+tx channel...
Kedar Chitnis [Fri, 29 May 2020 06:56:09 +0000 (12:26 +0530)]
[UDMA] Updated UDMA RM cfg for j721e to allow more block copy and fewer rx+tx channels for c6x-1, c6x-2

3 years agoBug Fix: PDK-6612: UDMA DRU Indirect Blockcpy DDR to DDR in polling mode fails for...
Sivaraj R [Thu, 28 May 2020 12:27:31 +0000 (17:57 +0530)]
Bug Fix: PDK-6612: UDMA DRU Indirect Blockcpy DDR to DDR in polling mode fails for mcu2_1

- There are no DRU channels allocated for MCU2_1
- So disabled the DRU testcase for MCU2_1 and enabled it for MCU2_0
- Also there is no Main HC channel allocated for MCU2_2
- Removed that as well

Signed-off-by: Sivaraj R <sivaraj@ti.com>
3 years agoSciclient: Updating sysfw-vlab.bin with the latest REL.CORESDK.06.02.03.07
Mahesh Radhkrishnan [Fri, 29 May 2020 03:32:39 +0000 (23:32 -0400)]
Sciclient: Updating sysfw-vlab.bin with the latest

3 years agoPDK-6624: WORKAROUND for SBL OSPI Boot instability on J721E-HS
Brandon Wetzel [Wed, 27 May 2020 22:30:22 +0000 (18:30 -0400)]
PDK-6624: WORKAROUND for SBL OSPI Boot instability on J721E-HS

WORKAROUND: On J721E-HS, the signed application is copied into DDR
where it is verified to be signed correctly. However, with OSPI
boot on the J721E-HS EVM, the verification is not proceeding in DDR.
If we change SBL_SCRATCH_MEM_START to use MSCM RAM, instead, then
it consistently boots fine.

The DDR stability should be fixed in CSL.

3 years agopdk/build: remove utilsCopyVecs2ATcm.asm from TPR12 examples/tests
Eric Ruei [Thu, 28 May 2020 21:45:41 +0000 (17:45 -0400)]
pdk/build: remove utilsCopyVecs2ATcm.asm from TPR12 examples/tests

Signed-off-by: Eric Ruei <e-ruei1@ti.com>
3 years agobuild/tpr12: cleanup linker command files
Eric Ruei [Thu, 28 May 2020 19:17:16 +0000 (15:17 -0400)]
build/tpr12: cleanup linker command files

- Update L3 size to 0x390000
- Combine two L2 Banks into one
- Update HWA_RAM base

Signed-off-by: Eric Ruei <e-ruei1@ti.com>
3 years agodrv/i2c/test: enable master_slave test for TPR12
Eric Ruei [Thu, 28 May 2020 18:17:20 +0000 (14:17 -0400)]
drv/i2c/test: enable master_slave test for TPR12

- enable makefile build for TPR12
- add polling mode test

Signed-off-by: Eric Ruei <e-ruei1@ti.com>
3 years agouart: am64x: fix unit test out of memory build issue for m4 core
Hao Zhang [Thu, 28 May 2020 18:24:27 +0000 (14:24 -0400)]
uart: am64x: fix unit test out of memory build issue for m4 core

Signed-off-by: Hao Zhang <hzhang@ti.com>
3 years agoPDK-6627: emac: Updates for Emac_Icssg_WithoutDDR_TestApp
Tinku Mannan [Thu, 28 May 2020 17:40:43 +0000 (13:40 -0400)]
PDK-6627: emac: Updates for Emac_Icssg_WithoutDDR_TestApp

 fix sizing of ICSSG port queues
 linker command and .cfg file updates to sync with build
 infrastucture versions

Signed-off-by: Tinku Mannan <tmannan@ti.com>
3 years agoSBL:AM64x: Update SMP example with updated SMP core IDs
Mahesh Radhkrishnan [Fri, 29 May 2020 02:44:10 +0000 (22:44 -0400)]
SBL:AM64x: Update SMP example with updated SMP core IDs

3 years agoSBL:AM64x: Using SBL_LAST_CORE_ID instead of specific core name
Mahesh Radhkrishnan [Thu, 28 May 2020 21:29:58 +0000 (17:29 -0400)]
SBL:AM64x: Using SBL_LAST_CORE_ID instead of specific core name

3 years agoSBL:AM64x:Disable SBL log, fix M4F boot issue,cleanup OSAL test
Mahesh Radhkrishnan [Thu, 28 May 2020 18:50:55 +0000 (14:50 -0400)]
SBL:AM64x:Disable SBL log, fix M4F boot issue,cleanup OSAL test

-Disable SBL Logs
-Fix M4 boot issue
-Cleanup OSAL test for M4

3 years agoSBL on AM64x: Addressing review comments
Mahesh Radhkrishnan [Thu, 28 May 2020 03:56:08 +0000 (23:56 -0400)]
SBL on AM64x: Addressing review comments

3 years agoSBL: Disabling DDR Init for AM64x, bug fix for sbl_boot_test app on AM64x
Mahesh Radhkrishnan [Thu, 28 May 2020 01:48:00 +0000 (21:48 -0400)]
SBL: Disabling DDR Init for AM64x, bug fix for sbl_boot_test app on AM64x

3 years agoPDK-5378: SBL: Add AM64x support
Mahesh Radhkrishnan [Wed, 27 May 2020 06:38:33 +0000 (02:38 -0400)]
PDK-5378: SBL: Add AM64x support

Signed-off-by: Mahesh Radhakrishnan <uda0875154local@UDA0875154>
3 years agopdk: fix example build issue with GCC tools 9-2019-q4 for am3/4/5 and K2 devices
Hao Zhang [Thu, 28 May 2020 17:53:37 +0000 (13:53 -0400)]
pdk: fix example build issue with GCC tools 9-2019-q4 for am3/4/5 and K2 devices

Signed-off-by: Hao Zhang <hzhang@ti.com>
3 years agospi: qspi with local edma: move global address translation to test application REL.CORESDK.07.00.00.18 REL.CORESDK.07.00.00.19
Hongmei Gou [Wed, 27 May 2020 13:19:50 +0000 (09:19 -0400)]
spi: qspi with local edma: move global address translation to test application

Signed-off-by: Hongmei Gou <hgou@ti.com>
3 years agospi: add build support for tpr12_qt
Hongmei Gou [Mon, 25 May 2020 18:24:08 +0000 (14:24 -0400)]
spi: add build support for tpr12_qt

Signed-off-by: Hongmei Gou <hgou@ti.com>
3 years agospi: address review comments for TPR12 qspi with edma support
Hongmei Gou [Mon, 25 May 2020 17:17:43 +0000 (13:17 -0400)]
spi: address review comments for TPR12 qspi with edma support

Signed-off-by: Hongmei Gou <hgou@ti.com>
3 years agospi: add edma support for TPR12 qspi
Hongmei Gou [Thu, 21 May 2020 21:42:27 +0000 (17:42 -0400)]
spi: add edma support for TPR12 qspi

Signed-off-by: Hongmei Gou <hgou@ti.com>
3 years agoBug Fix: PRSDK-8528: Patch 4
Sivaraj R [Thu, 28 May 2020 15:32:01 +0000 (21:02 +0530)]
Bug Fix: PRSDK-8528: Patch 4

- This will break Yocto build as Yocto is XDC base build
- This flag can be overridden in Jenkin build scripts

Signed-off-by: Sivaraj R <sivaraj@ti.com>
3 years agov2020.04a migration
Piyali Goswami [Wed, 27 May 2020 17:04:13 +0000 (22:34 +0530)]
v2020.04a migration

Migrate to v2020.04a release

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
3 years agotools: firmwareHeaderGen.sh Update to generate separate header for HS
Piyali Goswami [Tue, 26 May 2020 14:49:01 +0000 (20:19 +0530)]
tools: firmwareHeaderGen.sh Update to generate separate header for HS

Create a separate header for HS

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
3 years agoPDK-6556 : When built for mcu11, adding a dummy app for mcu10
sujith [Thu, 28 May 2020 11:30:03 +0000 (17:00 +0530)]
PDK-6556 : When built for mcu11, adding a dummy app for mcu10

This is required to ensure mcu11 is not in a higher
power states w.r.t to mcu10 when running in split mode

This same approach is used for mcu21, mcu31, etc...

Signed-off-by: sujith <sujith.s@ti.com>
3 years agoPDK-6626: Unable to rebuild board LLD since top level makefile is not packaged
Sivaraj R [Thu, 28 May 2020 11:04:49 +0000 (16:34 +0530)]
PDK-6626: Unable to rebuild board LLD since top level makefile is not packaged

- This is because we use "jacinto" as the directory name when we package PDK now
- Due to this the PDK_SOC variable is set to jacinto when the steenv script is called
- Instead set a default SOC so that the compilation goes through by default
- User can always override the PDK_SOC variable if need to build for another SOC
in the same family

Signed-off-by: Sivaraj R <sivaraj@ti.com>
3 years agoAdded DRU trigger and event testcases
Sivaraj R [Thu, 28 May 2020 10:27:47 +0000 (15:57 +0530)]
Added DRU trigger and event testcases

Signed-off-by: Sivaraj R <sivaraj@ti.com>
3 years agodiag: sdr/sdtf_test: Fix typo error
Sam Nelson [Thu, 28 May 2020 11:03:27 +0000 (07:03 -0400)]
diag: sdr/sdtf_test: Fix typo error

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
3 years agoPDK-6547: Board: Fix for AM65xx CPSW2G Ethernet diag test failure
M V Pratap Reddy [Thu, 28 May 2020 05:34:03 +0000 (11:04 +0530)]
PDK-6547: Board: Fix for AM65xx CPSW2G Ethernet diag test failure

 - emac_poll function is not able to detect the PHY link up/down
   which is making the diagnostic test to hang while running the
   cable disconnect/reconnet test.
   Updated the diagnostic test to use PHY registers to detect the
   link up/down as a workaround till emac driver API is fixed.

3 years agoPDK-6546: Board: Fix for AM65xx SPI NOR flash diag test failure
M V Pratap Reddy [Thu, 28 May 2020 05:30:27 +0000 (11:00 +0530)]
PDK-6546: Board: Fix for AM65xx SPI NOR flash diag test failure

 - SPI NOR diagnostic test is based on CSL for AM65xx. Need to pick
   the source files specific to AM65xx in diag make file.

3 years agoPDK-6614: Bug Fix: Ring attach failure
Sivaraj R [Thu, 28 May 2020 07:12:11 +0000 (12:42 +0530)]
PDK-6614: Bug Fix: Ring attach failure

- The drv handle was not initialized due to
the recent changes in ring API for AM64x support

Signed-off-by: Sivaraj R <sivaraj@ti.com>
3 years agoBug Fix: PRSDK-8528: Patch 4
Sivaraj R [Thu, 28 May 2020 04:29:17 +0000 (09:59 +0530)]
Bug Fix: PRSDK-8528: Patch 4

- Top level scripts files were missing
- There are part of https://bitbucket.itg.ti.com/projects/PROCESSOR-SDK/repos/processor-pdk-packages/browse/release/full
repo.
- These were packaged as part of Yocto and was missed
- These are now maintained here and will be removed from Yocto flow
and from above repo as well

Signed-off-by: Sivaraj R <sivaraj@ti.com>
3 years agosciclient: am64: Update VINT resource allocation
Justin Sobota [Tue, 26 May 2020 02:37:46 +0000 (22:37 -0400)]
sciclient: am64: Update VINT resource allocation

Update the DMASS IA VINT resource allocation in
the RM board configuration so that the proper
hosts are assigned to the processors connected
to the VINT ranges.

Signed-off-by: Justin Sobota <jsobota@ti.com>
3 years agosdr: sdtf-test: Add unity support for automation
Sam Nelson [Tue, 26 May 2020 15:18:38 +0000 (11:18 -0400)]
sdr: sdtf-test: Add unity support for automation

Also update passing tests with default image for J721E
- CCM tests not covered part of run_all for J721E due to HW issue

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
3 years agoPDK/Build: undo PDK-4378 changes for TPR12
Eric Ruei [Wed, 27 May 2020 13:24:45 +0000 (09:24 -0400)]
PDK/Build: undo PDK-4378 changes for TPR12

Signed-off-by: Eric Ruei <e-ruei1@ti.com>
3 years agopdk: update GCC tools to 9-2019-q4 for am3/4/5 and K2 devices
Hao Zhang [Thu, 28 May 2020 00:22:00 +0000 (20:22 -0400)]
pdk: update GCC tools to 9-2019-q4 for am3/4/5 and K2 devices

Signed-off-by: Hao Zhang <hzhang@ti.com>
3 years agoPDK-6625: Fix cust boot issue on J7HS
Brandon Wetzel [Wed, 27 May 2020 22:15:53 +0000 (18:15 -0400)]
PDK-6625: Fix cust boot issue on J7HS

J7HS currently copies the appimage into MSMC to validate the HS signature. "CUST" boot only initializes the MCU domain, and thus does not have access to MSMC. As such, "CUST" boot must now use R5 OCMC as scratch memory to authenticate the image.

3 years agoUpdated the dependency for Doxygen rule
Aravind Batni [Wed, 27 May 2020 18:01:35 +0000 (14:01 -0400)]
Updated the dependency for Doxygen rule

Signed-off-by: Aravind Batni <aravindbr@ti.com>
3 years ago[PDK-4949][UDMA][Docs] Addressed additional review comments in Migration Guide
Don Dominic [Wed, 27 May 2020 09:17:10 +0000 (14:47 +0530)]
[PDK-4949][UDMA][Docs] Addressed additional review comments in Migration Guide

Signed-off-by: Don Dominic <a0486429@ti.com>
3 years agoi2c: ADASVISION-2476: fix polling mode timeout issue REL.CORESDK.07.00.00.17
Hao Zhang [Wed, 27 May 2020 01:16:47 +0000 (21:16 -0400)]
i2c: ADASVISION-2476: fix polling mode timeout issue

Signed-off-by: Hao Zhang <hzhang@ti.com>
3 years agoPRSDK-7753: HS build support - address review comments REL.CORESDK.06.02.03.06
Sivaraj R [Mon, 25 May 2020 07:44:26 +0000 (13:14 +0530)]
PRSDK-7753: HS build support - address review comments

- Made changes so that make targets remain same for both HS and GP
- Only the library and generated SBL image path gets changed
- This is minimal required so that both HS/GP libraries and SBL
images can co-esit without a clean build

Signed-off-by: Sivaraj R <sivaraj@ti.com>
3 years agoPRSDK-8493: Fix the Am64x XDC packaging for remaining modules
Sivaraj R [Wed, 27 May 2020 06:23:23 +0000 (11:53 +0530)]
PRSDK-8493: Fix the Am64x XDC packaging for remaining modules

Signed-off-by: Sivaraj R <sivaraj@ti.com>
3 years agoPDK-6604: SBL: Fix Boot perf test to fit in MCU SRAM
Jonathan Bergsagel [Tue, 26 May 2020 22:40:10 +0000 (17:40 -0500)]
PDK-6604: SBL: Fix Boot perf test to fit in MCU SRAM

Builds the correct (smaller) Boot performance test for
all SBL CUST builds, by checking for the proper flag set
in the CUST set of build flags.  If the SBL_ENABLE_DEV_GRP_MCU
flag is set for the CUST build set of flags, then the small
Boot performance test is used (which fits into MCU SRAM).

Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
3 years ago [PDK-4949][UDMA][Docs] Replaced LCDMA with DMSS REL.CORESDK.07.00.00.15 REL.CORESDK.07.00.00.16
Don Dominic [Mon, 25 May 2020 16:45:55 +0000 (22:15 +0530)]
  [PDK-4949][UDMA][Docs] Replaced LCDMA with DMSS

-Also replaced UDMA(old) with NAVSS UDMA

Signed-off-by: Don Dominic <a0486429@ti.com>
3 years ago[PDK-4949][UDMA][Docs] Updates for PKTDMA
Don Dominic [Mon, 18 May 2020 14:24:03 +0000 (19:54 +0530)]
[PDK-4949][UDMA][Docs] Updates for PKTDMA

Highlights:
- 1.2 :- New
- 2.2 :- Updated + New Sup Sections
- 3.1.6 :- New

Signed-off-by: Don Dominic <a0486429@ti.com>
3 years ago[PDK-4949][UDMA][Docs] Addressed Review Comments
Don Dominic [Wed, 29 Apr 2020 06:18:55 +0000 (11:48 +0530)]
[PDK-4949][UDMA][Docs] Addressed Review Comments

Signed-off-by: Don Dominic <a0486429@ti.com>
3 years ago[PDK-4949][UDMA][Docs] Application Note: Migrating_Applications_from_UDMA_to_LCDMA_us...
Don Dominic [Tue, 28 Apr 2020 11:27:09 +0000 (16:57 +0530)]
[PDK-4949][UDMA][Docs] Application Note: Migrating_Applications_from_UDMA_to_LCDMA_using_TI-RTOS.doc

Signed-off-by: Don Dominic <a0486429@ti.com>
3 years agoMinor Build issues resolution
sujith [Mon, 25 May 2020 10:59:14 +0000 (16:29 +0530)]
Minor Build issues resolution

Signed-off-by: sujith <sujith.s@ti.com>
3 years agoPDK-5543 : Moving to a GA version of sysbios
sujith [Mon, 25 May 2020 08:01:11 +0000 (13:31 +0530)]
PDK-5543 : Moving to a GA version of sysbios

Signed-off-by: sujith <sujith.s@ti.com>
3 years agoboard: Add am64x_svb board support
Sam Nelson [Wed, 13 May 2020 13:42:25 +0000 (09:42 -0400)]
board: Add am64x_svb board support

NOTE: AM64X SVB will use LPDDR4

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
3 years agoboard: am64x_evm: Add board support for am64x_evm
Sam Nelson [Thu, 16 Apr 2020 14:16:16 +0000 (10:16 -0400)]
board: am64x_evm: Add board support for am64x_evm

NOTE: am64x_evm will use DDR4

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
3 years agoboard: j721e, j7200 evm: Update to cleanup hard coding and use CSL defines
Sam Nelson [Thu, 16 Apr 2020 14:14:58 +0000 (10:14 -0400)]
board: j721e, j7200 evm: Update to cleanup hard coding and use CSL defines

The naming of BOARD_DDR_SS_BASE was wrong. It is actually the CTRL_CFG
register base

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
3 years agosdr: sdtf-test: Move core specific define to be platform & core specific
Sam Nelson [Fri, 22 May 2020 13:45:31 +0000 (09:45 -0400)]
sdr: sdtf-test: Move core specific define to be platform & core specific

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
3 years agoPRSDK-8529: Update ESM Event numbers for J721E
Sam Nelson [Thu, 21 May 2020 22:06:05 +0000 (18:06 -0400)]
PRSDK-8529: Update ESM Event numbers for J721E

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
3 years agoPRSDK-8529: Update alignment of DED vector
Sam Nelson [Thu, 21 May 2020 22:04:16 +0000 (18:04 -0400)]
PRSDK-8529: Update alignment of DED vector

With thumb mode this alignment to 32 byte is required to avoid exception

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
3 years agosciclient: sciclient_component.mk Build Fixes for Sciclient
Piyali Goswami [Mon, 25 May 2020 02:57:38 +0000 (08:27 +0530)]
sciclient: sciclient_component.mk Build Fixes for Sciclient

Build fixes for RTOS build for M4F.

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
3 years agoPDK-5148: Board: Enabled auto config for J721E board pinmux REL.CORESDK.07.00.00.14
M V Pratap Reddy [Sat, 16 May 2020 15:10:54 +0000 (20:40 +0530)]
PDK-5148: Board: Enabled auto config for J721E board pinmux

3 years agoPRSDK-7908: Board: Fix for R5 diag execution hang through SD boot framework
M V Pratap Reddy [Sat, 23 May 2020 23:56:12 +0000 (05:26 +0530)]
PRSDK-7908: Board: Fix for R5 diag execution hang through SD boot framework

 - R5 diagnostic tests on K3 platform are hanging while running from diagnostic
   framework through SD boot due to cache configurations and osal interrupts.
   This was fixed earlier but diag entry code execution flow changed due to thumb
   mode updates. Added the R5 issue fix for new execution sequence of diag entry code.

3 years agoudma rm cfg - allocated RX channel to mcu2_1 REL.CORESDK.07.00.00.13
Prasad Jondhale [Sat, 23 May 2020 11:32:07 +0000 (17:02 +0530)]
udma rm cfg - allocated RX channel to mcu2_1

 - cpsw examples failed on mcu2_1 due to not having RX channels allcocated and CPSW needs
   one RX channels
 - Allocated single RX channel to mcu2_1

Signed-off-by: Prasad Jondhale <prasad.jondhale@ti.com>
3 years agoPDK-4724: Fix for J7 CPSW9G Ethernet test REL.CORESDK.07.00.00.12
M V Pratap Reddy [Fri, 8 Nov 2019 10:53:57 +0000 (16:23 +0530)]
PDK-4724: Fix for J7 CPSW9G Ethernet test