processor-sdk/pdk.git
15 months 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>
15 months 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>
15 months 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.

15 months 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.

15 months 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>
15 months 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>
15 months 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>
15 months 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>
15 months 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>
15 months 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>
15 months 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.

15 months 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>
15 months 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>
15 months 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>
15 months 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>
15 months 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>
15 months 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>
15 months 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>
15 months 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>
15 months 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>
15 months 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>
15 months 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>
16 months 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>
16 months 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>
16 months 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>
16 months 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>
16 months 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>
16 months 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>
16 months 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>
16 months 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>
16 months 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

16 months 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.

16 months 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>
16 months 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

16 months agoPDK-5239: Board: Removed unused diagnostic test source files REL.CORESDK.07.00.00.11
M V Pratap Reddy [Fri, 22 May 2020 11:11:19 +0000 (16:41 +0530)]
PDK-5239: Board: Removed unused diagnostic test source files

16 months agoPDK-6391: Board: Enabled MPU build for AM65xx diagnostic tests
M V Pratap Reddy [Fri, 22 May 2020 10:56:00 +0000 (16:26 +0530)]
PDK-6391: Board: Enabled MPU build for AM65xx diagnostic tests

16 months agoPDK-5239: Board: Update board diag binary and build names
M V Pratap Reddy [Fri, 22 May 2020 10:49:34 +0000 (16:19 +0530)]
PDK-5239: Board: Update board diag binary and build names

 - Board diagnostic tests are using non-standatd names build and binary names
   to match with existing platforms. Updated these names for K3 platforms
   to allow system test automation

16 months agoPDK-6462: Removes SBL XIP testcases's dependency on MSMC
Madan Srinivas [Sat, 23 May 2020 03:41:33 +0000 (23:41 -0400)]
PDK-6462: Removes SBL XIP testcases's dependency on MSMC

As the SBL now supports MCU only boot mode, the XIP testcase has been
updated to use OCMC memory instead of MSMC.

This testcase now uses the memory where the SBL normally loads up the
sysfw temporarily and the memory where the RoM loads hte SBL

Signed-off-by: Madan Srinivas <madans@ti.com>
16 months agoPRSDK-8535: use only mcpu and avoid march and mtune
Aravind Batni [Fri, 22 May 2020 19:48:28 +0000 (15:48 -0400)]
PRSDK-8535: use only mcpu and avoid march and mtune

 reference: https://community.arm.com/developer/tools-software/tools/b/tools-software-ides-blog/posts/compiler-flags-across-architectures-march-mtune-and-mcpu

Signed-off-by: Aravind Batni <aravindbr@ti.com>
16 months agoAM64x: Testing SCICLIENT Unit test on VLAB REL.CORESDK.06.02.03.05
Piyali Goswami [Fri, 22 May 2020 09:37:25 +0000 (15:07 +0530)]
AM64x: Testing SCICLIENT Unit test on VLAB

SCiclient unit test based on RTOS enabled and tested on VLAB

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
16 months agouart/test: remove vector copy section for tpr12
Eric Ruei [Thu, 21 May 2020 20:37:06 +0000 (16:37 -0400)]
uart/test: remove vector copy section for tpr12

Signed-off-by: Eric Ruei <e-ruei1@ti.com>
16 months agoUDMA : Remove Duplicate get ring occupancy API's
Don Dominic [Fri, 22 May 2020 15:46:34 +0000 (21:16 +0530)]
UDMA : Remove Duplicate get ring occupancy API's

-Minor clean up, in UDMA ring get occupancy API's for Normal RA:
Udma_ringGetForwardRingOccNormal and Udma_ringGetReverseRingOccNormal was identical.
So updated it to a single fn named Udma_ringGetRingOccNormal and modified the fn pointers in soc file

16 months ago[PDK-6522] UDMA : Updates in Ring Occupancy
Don Dominic [Fri, 22 May 2020 15:41:28 +0000 (21:11 +0530)]
[PDK-6522] UDMA : Updates in Ring Occupancy

- Refresh the SW ringOcc while reading from HWOCC Reg
- Update in unit test to refersh the occ
- This fixes/unblocks ETHFW-1554

Signed-off-by: Don Dominic <a0486429@ti.com>
16 months ago[PDK-5981]DSS and CAL: Fix Static Analysis Issues REL.CORESDK.06.02.03.04
Vivek Dhande [Fri, 22 May 2020 12:31:18 +0000 (18:01 +0530)]
[PDK-5981]DSS and CAL: Fix Static Analysis Issues

Signed-off-by: Vivek Dhande <a0132295@ti.com>
16 months agoPDK-6487: emac: test app updates REL.CORESDK.06.02.03.01 REL.CORESDK.06.02.03.02 REL.CORESDK.06.02.03.03 REL.CORESDK.07.00.00.10
Tinku Mannan [Thu, 21 May 2020 19:38:52 +0000 (15:38 -0400)]
PDK-6487: emac: test app updates

 update to demonstrate use of timer based polling
 when calling emac_poll_ctrl api.
 minor cleanup

Signed-off-by: Tinku Mannan <tmannan@ti.com>
16 months agoPDK-6489 : Enabling image generation and image naming convention
sujith [Thu, 21 May 2020 20:32:24 +0000 (02:02 +0530)]
PDK-6489 : Enabling image generation and image naming convention

to allow automation of these tests

Signed-off-by: sujith <sujith.s@ti.com>
16 months agoAdded appimage generation for apps
Prasad Konnur [Thu, 21 May 2020 14:07:28 +0000 (19:37 +0530)]
Added appimage generation for apps

 - required for test automation

Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
16 months agoboard: am64x: fix ospi pinmux configuration bug
Hao Zhang [Thu, 21 May 2020 01:42:40 +0000 (21:42 -0400)]
board: am64x: fix ospi pinmux configuration bug

Signed-off-by: Hao Zhang <hzhang@ti.com>
16 months agoPDK-6481: [Build] XDC Meta Generation Results in Warning
Sivaraj R [Thu, 21 May 2020 13:13:54 +0000 (18:43 +0530)]
PDK-6481: [Build] XDC Meta Generation Results in Warning

Signed-off-by: Sivaraj R <sivaraj@ti.com>
16 months agoPDK-6482: ics_emac: Klocwork SA updates
Tinku Mannan [Thu, 21 May 2020 14:30:01 +0000 (10:30 -0400)]
PDK-6482: ics_emac: Klocwork SA updates

16 months agoospi: PDK-5600: set default Chip Select De-Assert device delay
Hao Zhang [Tue, 19 May 2020 21:52:06 +0000 (17:52 -0400)]
ospi: PDK-5600: set default Chip Select De-Assert device delay

For OSPI flash timing optimization set 2 ref_clk delay for 133Mhz
and 3 ref_clk delay for 166MHz

Signed-off-by: Hao Zhang <hzhang@ti.com>
16 months ago[J721E] Increase MAX_SEMAPHORE paramter
Jesse Villarreal [Mon, 18 May 2020 18:27:31 +0000 (13:27 -0500)]
[J721E] Increase MAX_SEMAPHORE paramter

- Recent changes to VISS node has put us over the limit of needed
  number of semaphores (157).  Bumping to 180 to give us some
  future proof margin and customer apps.

16 months agoPDK-6478: SBL from PDK tip is not booting MCUSW boot app REL.CORESDK.07.00.00.09
Sivaraj R [Thu, 21 May 2020 09:14:02 +0000 (14:44 +0530)]
PDK-6478: SBL from PDK tip is not booting MCUSW boot app

Resolution:
MCU1_0 is missing from the APP image name
This was a mistake when adding HS build support
LOCAL_APP_IMAGE expects MCU1_0 suffixed

Signed-off-by: Sivaraj R <sivaraj@ti.com>
16 months agoPDK-6454: SBL: Adds support for non-GP device types
Madan Srinivas [Wed, 20 May 2020 05:08:42 +0000 (01:08 -0400)]
PDK-6454: SBL: Adds support for non-GP device types

There are variants on non-GP device types that dont require app
authentication as the SMPK/BMPK keys are not present.

This patch renames the SBL_IsSysfwEnc function to SBL_IsAuthReq to
better reflect this functionality and and enables it to detect
all device types that dont need authentication.

Authentication is needed, and indeed, only possible, on the EMU/HS
device type, SE subtype. These are basically basically EMU ahd HS
devices with a valid SMPK or BMPK key for authenticating the app
against.

Signed-off-by: Madan Srinivas <madans@ti.com>
16 months agoPDK-6444: Changed test/test -> test/sdtf-test
Danny Jochelson [Tue, 19 May 2020 18:22:57 +0000 (13:22 -0500)]
PDK-6444: Changed test/test -> test/sdtf-test

Modified the directory names for the SDTF test to be more descriptive.
Updated makefile and confirmed proper building.
Also, renamed "drvsdr" to "compsdr" in makefiles.
Also, moved Test makefiles into sdtf-test directory.

16 months agoPDK-6444: Renamed all files for "sdr" instead of "sdl"
Danny Jochelson [Tue, 19 May 2020 14:21:54 +0000 (09:21 -0500)]
PDK-6444: Renamed all files for "sdr" instead of "sdl"

Renamed all "sdl" files to be "sdr" instead and updated
makefile and linker file.
Changed all header inclusions to pull in new header file
names.
Confirmed proper building of sdr-test for j721e_evm and am65xx_evm.

16 months agoPDK-6444: Updated filenames for "sdr" instead of "sdl" in name.
Danny Jochelson [Mon, 18 May 2020 22:59:37 +0000 (17:59 -0500)]
PDK-6444: Updated filenames for "sdr" instead of "sdl" in name.

Only done within file comments.
Still to rename files and change header includes.

16 months agoPDK-6444: Removed "SDL" and "Library" reference in code.
Danny Jochelson [Mon, 18 May 2020 22:48:45 +0000 (17:48 -0500)]
PDK-6444: Removed "SDL" and "Library" reference in code.

Removed all "SDL" within source code files (except for file name
information and includes).
Replaced all mentions of "Library" with "Reference" instead.
Not yet renamed all the file references.
Confirmed code builds properly.

16 months agoboard: am64x: add pinmux configuration for main_uart1
Hao Zhang [Wed, 20 May 2020 15:19:59 +0000 (11:19 -0400)]
board: am64x: add pinmux configuration for main_uart1

Signed-off-by: Hao Zhang <hzhang@ti.com>
16 months agoAM64x: Add M4F proc boot code ID
Piyali Goswami [Wed, 20 May 2020 16:11:24 +0000 (21:41 +0530)]
AM64x: Add M4F proc boot code ID

Adding M4F PROC Boot core ID.

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
16 months agoIPC: Increase Stack Size for echo test
Angela Stegmaier [Wed, 20 May 2020 21:55:14 +0000 (16:55 -0500)]
IPC: Increase Stack Size for echo test

The A53 echo test for AM65XX needs an increased stack size.

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
16 months agobuild/makefile_non-buildinfra: empty NON_BUILDINFRA_EXAMPLES_LIST_tpr12
Eric Ruei [Wed, 20 May 2020 22:19:25 +0000 (18:19 -0400)]
build/makefile_non-buildinfra: empty NON_BUILDINFRA_EXAMPLES_LIST_tpr12

Note: This list is for old build infrastructure of legacy SOCs only

Signed-off-by: Eric Ruei <e-ruei1@ti.com>
16 months agoprofiling: am64x: enable profiling to fix package build issue
Hao Zhang [Wed, 20 May 2020 21:48:11 +0000 (17:48 -0400)]
profiling: am64x: enable profiling to fix package build issue

Signed-off-by: Hao Zhang <hzhang@ti.com>
16 months agouart: am64x: disable uart dma example on M4 core REL.CORESDK.07.00.00.08
Hao Zhang [Wed, 20 May 2020 17:02:30 +0000 (13:02 -0400)]
uart: am64x: disable uart dma example on M4 core

Signed-off-by: Hao Zhang <hzhang@ti.com>
16 months agoicss_emac: am64x: fix package build issue
Hao Zhang [Wed, 20 May 2020 16:40:02 +0000 (12:40 -0400)]
icss_emac: am64x: fix package build issue

Signed-off-by: Hao Zhang <hzhang@ti.com>
16 months agosciclient: Fix critical KW issue
Justin Sobota [Wed, 20 May 2020 16:18:13 +0000 (12:18 -0400)]
sciclient: Fix critical KW issue

Fix remaining critical issue in sciclient_rm_irq.c

Signed-off-by: Justin Sobota <jsobota@ti.com>
16 months ago[PDK-5988] UDMA : Fix additional Static Analysis Issues
Don Dominic [Wed, 20 May 2020 13:41:48 +0000 (19:11 +0530)]
[PDK-5988] UDMA : Fix additional Static Analysis Issues

Signed-off-by: Don Dominic <a0486429@ti.com>
16 months agoPDK-5982: emac: Klocwork SA updates
Tinku Mannan [Wed, 20 May 2020 13:04:47 +0000 (09:04 -0400)]
PDK-5982: emac: Klocwork SA updates

16 months agoSYSFW Friendly for SYSFW-3813 and SYSFW-3808
Piyali Goswami [Wed, 20 May 2020 10:29:30 +0000 (15:59 +0530)]
SYSFW Friendly for SYSFW-3813 and SYSFW-3808

Friendly for SYSFW-3813 and SYSFW-3808

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
16 months ago[PDK-6184][AM64x-Zebu][DMSC] Updates for Zebu DMSC launch script
Don Dominic [Tue, 19 May 2020 06:58:44 +0000 (12:28 +0530)]
[PDK-6184][AM64x-Zebu][DMSC] Updates for Zebu DMSC launch script

- updates related to https://bitbucket.itg.ti.com/projects/PROCESSOR-SDK/repos/pdk/pull-requests/566/diff#packages/ti/drv/sciclient/tools/ccsLoadDmsc/am64x/launch.js

Signed-off-by: Don Dominic <a0486429@ti.com>
16 months agodrv/i2c: enable TPR12 as i2c/v0 driver
Eric Ruei [Fri, 15 May 2020 17:26:51 +0000 (13:26 -0400)]
drv/i2c: enable TPR12 as i2c/v0 driver

Signed-off-by: Eric Ruei <e-ruei1@ti.com>
16 months agoAdd XDC Meta Clean option in comp top makefile REL.CORESDK.07.00.00.07
Sivaraj R [Wed, 20 May 2020 07:28:44 +0000 (12:58 +0530)]
Add XDC Meta Clean option in comp top makefile

Signed-off-by: Sivaraj R <sivaraj@ti.com>
16 months agoBug Fix: PRSDK-8528: XDC files are not packaged in core sdk - patch 3
Sivaraj R [Tue, 19 May 2020 15:15:03 +0000 (20:45 +0530)]
Bug Fix: PRSDK-8528: XDC files are not packaged in core sdk - patch 3

- For SOC that support package through makefile, skip the XDC packahge step
- This is requried becasuse selective packaging is not done propely in
XDC file and having this info in both makefile and XDC file is not maintainable
- This change doesn't affect other platform build as we have != check which
takes care of when the flag is not set

Signed-off-by: Sivaraj R <sivaraj@ti.com>
16 months agoPRSDK-7753: Added HS build support to coexist with nonhs library - added cust SBL...
Sivaraj R [Wed, 20 May 2020 04:27:40 +0000 (09:57 +0530)]
PRSDK-7753: Added HS build support to coexist with nonhs library - added cust SBL support

Signed-off-by: Sivaraj R <sivaraj@ti.com>
16 months agoSBL: Properly sign the combined AMP and SMP appimages with the HS key
Brandon Wetzel [Wed, 20 May 2020 03:29:48 +0000 (23:29 -0400)]
SBL: Properly sign the combined AMP and SMP appimages with the HS key

In the spirit of the primary build flow for applications, we will create a *.appimage.signed that is signed with the degenerate key, and a *_hs.appimage.signed that is signed with the HS key.

16 months agoETHFW-1541: Timesync: Fix packaging error in Ethfw
Santhana Bharathi N [Tue, 19 May 2020 05:55:12 +0000 (11:25 +0530)]
ETHFW-1541: Timesync: Fix packaging error in Ethfw

- Top level component.mk file required for
  building were not packaged for J7. Fixed it by adding
  all necessary components for J7.

Signed-off-by: Santhana Bharathi N <santa@ti.com>
16 months agoPDK-5876: Add PACKAGE_SRCS_COMMON to SDR component.
Danny Jochelson [Tue, 19 May 2020 23:13:20 +0000 (18:13 -0500)]
PDK-5876: Add PACKAGE_SRCS_COMMON to SDR component.

Added all files to confirm package build works correctly.

16 months agoPDK-5876: Removed unsupported am65xx_idk from SDL board list.
Danny Jochelson [Mon, 18 May 2020 20:26:16 +0000 (15:26 -0500)]
PDK-5876: Removed unsupported am65xx_idk from SDL board list.

Removed the unsupported am65xx_idk from the BOARDLIST options for SDL.
Only am65xx_evm and j721e_evm are targetted to be supported.
Removed unused CSL_ESM1_INTR_PBIST0_DFT_PBIST_SAFETY_ERROR from
am65-specific header.

16 months agoPDK-5876: Removed requirements/design tags from SDL code.
Danny Jochelson [Mon, 18 May 2020 18:23:47 +0000 (13:23 -0500)]
PDK-5876: Removed requirements/design tags from SDL code.

Since the SDL code is no longer Functional Safety, removed the
requirements tracing/design tags in the code.

16 months agoPDK-5876: Removed "safety" references. Updated header references.
Danny Jochelson [Mon, 18 May 2020 17:42:52 +0000 (12:42 -0500)]
PDK-5876: Removed "safety" references. Updated header references.

Removed all "safety" references (except CSL macro that
uses "SAFETY").
Updated all header files to use makefile search paths for
SOC-specific files.
Rebased on latest PDK master branch.

16 months agoPDK-5876: Updated BSD license text in SDL.
Danny Jochelson [Sun, 17 May 2020 18:32:45 +0000 (13:32 -0500)]
PDK-5876: Updated BSD license text in SDL.

Updated all C, header, and ASM files for BSD license text in
SDL and SDL-TEST.
Removed extraneous COPYING.txt files.
Removed SafeTI references in source code.

16 months agoPDK-5876: SDL port to PDK SDR.
Danny Jochelson [Fri, 15 May 2020 23:54:27 +0000 (18:54 -0500)]
PDK-5876: SDL port to PDK SDR.

Ported over SDL and SDL-TEST to the PDK SDR directory.
Properly able to build for J721E the SDL-Test framework (with
SDL library as well).
Still to rename all "SDL" filenames to use "SDR" instead, and
update names in the code that use "SDL" to use "SDR".

16 months agoPRSDK-8423: TASK sleep tests added
Aravind Batni [Tue, 19 May 2020 23:44:28 +0000 (19:44 -0400)]
PRSDK-8423: TASK sleep tests added

Signed-off-by: Aravind Batni <aravindbr@ti.com>
16 months agoPDK-4378: emac and nimu app updates for R5F core
Tinku Mannan [Tue, 19 May 2020 16:25:32 +0000 (12:25 -0400)]
PDK-4378: emac and nimu app updates for R5F core

 enable copy of vectors
 enable execution of R5 apps via CCS

Signed-off-by: Tinku Mannan <tmannan@ti.com>
16 months agoPDK-5149: UDMA fixes for MCU2_1 to MCU2_0 RM migration
Sivaraj R [Tue, 19 May 2020 05:40:14 +0000 (11:10 +0530)]
PDK-5149: UDMA fixes for MCU2_1 to MCU2_0 RM migration

Signed-off-by: Sivaraj R <sivaraj@ti.com>
16 months agoPRSDK-7278: emac: Fix description of prempt/cut-through map ioctl
Tinku Mannan [Mon, 18 May 2020 21:41:57 +0000 (17:41 -0400)]
PRSDK-7278: emac: Fix description of prempt/cut-through map ioctl

Signed-off-by: Tinku Mannan <tmannan@ti.com>
16 months agoPRSDK-7750: emac: unit test updates to reduce size image size
Tinku Mannan [Mon, 18 May 2020 21:22:46 +0000 (17:22 -0400)]
PRSDK-7750: emac: unit test updates to reduce size image size

 make emac specfic ddr amd mmc sections non-loadable to reduce image size

Signed-off-by: Tinku Mannan <tmannan@ti.com>
16 months agouart: fix UART RAT mapping issue for M4 core
Hao Zhang [Mon, 18 May 2020 16:43:32 +0000 (12:43 -0400)]
uart: fix UART RAT mapping issue for M4 core

Signed-off-by: Hao Zhang <hzhang@ti.com>
16 months agoboard: add PSC support
Hao Zhang [Mon, 18 May 2020 16:40:35 +0000 (12:40 -0400)]
board: add PSC support

Signed-off-by: Hao Zhang <hzhang@ti.com>
16 months agoOSPI: PDK_5427: fix OSPI pinmux config base address bug
Hao Zhang [Mon, 18 May 2020 16:38:41 +0000 (12:38 -0400)]
OSPI: PDK_5427: fix OSPI pinmux config base address bug

Signed-off-by: Hao Zhang <hzhang@ti.com>
16 months agoPDK-6391: Disable McASP for AM65xx board diag as porting is not yet completed REL.CORESDK.07.00.00.06
Sivaraj R [Mon, 18 May 2020 14:28:39 +0000 (19:58 +0530)]
PDK-6391: Disable McASP for AM65xx board diag as porting is not yet completed

Signed-off-by: Sivaraj R <sivaraj@ti.com>
16 months agoPDK-4378 : Addressed review comment
sujith [Mon, 18 May 2020 03:56:39 +0000 (09:26 +0530)]
PDK-4378 : Addressed review comment

Signed-off-by: sujith <sujith.s@ti.com>
16 months agoPDK-4378 : App updates to include routine to copy required vector
sujith [Sun, 17 May 2020 13:20:36 +0000 (18:50 +0530)]
PDK-4378 : App updates to include routine to copy required vector

Signed-off-by: sujith <sujith.s@ti.com>
16 months agoPDK-4378 : App updates to include routine to copy required vector
sujith [Fri, 15 May 2020 23:15:20 +0000 (04:45 +0530)]
PDK-4378 : App updates to include routine to copy required vector

Signed-off-by: sujith <sujith.s@ti.com>
16 months agoPDK-4378 : Moved the int vecs to ATCM. to allow execution from ccs
sujith [Fri, 15 May 2020 13:59:19 +0000 (19:29 +0530)]
PDK-4378 : Moved the int vecs to ATCM. to allow execution from ccs

            With sysbios 06.82.00, the ATCM is enabled (& in gel files)
            With ATCM enabled, arm expects vector to be present in ATCM.

            Our vectors are stored in the OCMC by default, this mismatch
            will not allow us to execute application from CCS. When using
            SBL, the SBL would copy the vectors to ATCM and hence it
            function as expected.

            Added an function to copy the sysbios vector to ATCM, this
            function is hooked to "reset" XDC. This function would be
            invoked at the very beging of sysbios (even before MPU is
            initialized)

            Also, note that this applicable for R5F only and examples
            that use sysbios only.

    Tested on J721E with udma_memcpy_testapp
mcu 20, mcu10

Signed-off-by: sujith <sujith.s@ti.com>
16 months agoPSDKQA-161: IPC: Fix Incorrect Heap Buffer Pointer Assignment
Angela Stegmaier [Sun, 17 May 2020 19:15:57 +0000 (14:15 -0500)]
PSDKQA-161: IPC: Fix Incorrect Heap Buffer Pointer Assignment

The heap buffer pointer should be incremented only
after adding the buffer to the queue.

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
16 months ago[BugFix] PDK-6401: pcie example load filas for mpu core
Prasad Konnur [Mon, 18 May 2020 12:44:39 +0000 (18:14 +0530)]
[BugFix] PDK-6401: pcie example load filas for mpu core

 - Moved text section to MSMC RAM.
 - Moved the stack to MSMC_RAM_H as it will not fit in MSMC_RAM for SMP example in debug mode

Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
16 months ago[DSS APP][PDK-6378][PDK-4988]Bug Fixes
Vivek Dhande [Fri, 15 May 2020 18:33:23 +0000 (00:03 +0530)]
[DSS APP][PDK-6378][PDK-4988]Bug Fixes

- Fixed a bug for running through DMSC flow
- Added input images for RGB and YUV format testing

Signed-off-by: Vivek Dhande <a0132295@ti.com>
16 months ago[CAL DRV][PDK-5252]Added real time vs non real time configuration
Vivek Dhande [Mon, 18 May 2020 09:25:08 +0000 (14:55 +0530)]
[CAL DRV][PDK-5252]Added real time vs non real time configuration

- Maxwell PG2: CAL Configuration option to route traffic through real time or non real time path

Signed-off-by: Vivek Dhande <a0132295@ti.com>
16 months agoPDK-5645: Board: Updated J721E MCU timer0 to use 19.2MHz clock source
M V Pratap Reddy [Mon, 18 May 2020 09:10:34 +0000 (14:40 +0530)]
PDK-5645: Board: Updated J721E MCU timer0 to use 19.2MHz clock source

 - MCU timer0 is used by BIOS for tick function and expects the clock to
   be 19.2MHz. RoM configures the timer0 to use 250MHz clock source which
   is cuasing bios tick function to behave differently when using with sbl.
   Timer0 clock configuration is restored to default in board library.