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

16 months agoFix PDK location to use proper variable REL.CORESDK.07.00.00.05
Sivaraj R [Mon, 18 May 2020 06:10:55 +0000 (11:40 +0530)]
Fix PDK location to use proper variable

- For some of the SOC, PDK_SOC and PDK_VERSION string is not defined
- Fixed this to not use these variables and rely on PDK_INSTALL_PATH
variable directly
- The top level rules.make file sets this properly

Signed-off-by: Sivaraj R <sivaraj@ti.com>
16 months agoPDK-6391: Fix package issues
Sivaraj R [Mon, 18 May 2020 03:48:58 +0000 (09:18 +0530)]
PDK-6391: Fix package issues

Signed-off-by: Sivaraj R <sivaraj@ti.com>
16 months agoPDK-6391: Board: Updated build infra make setup for AM65xx diag
M V Pratap Reddy [Sun, 17 May 2020 23:28:03 +0000 (04:58 +0530)]
PDK-6391: Board: Updated build infra make setup for AM65xx diag

16 months agoSupprt AM65xx board diag via build infra
Sivaraj R [Sun, 17 May 2020 08:39:01 +0000 (14:09 +0530)]
Supprt AM65xx board diag via build infra

Signed-off-by: Sivaraj R <sivaraj@ti.com>
16 months agoBug Fix: PRSDK-8528: XDC files are not packaged in core sdk - patch 2
Sivaraj R [Sun, 17 May 2020 04:03:29 +0000 (09:33 +0530)]
Bug Fix: PRSDK-8528: XDC files are not packaged in core sdk - patch 2

Signed-off-by: Sivaraj R <sivaraj@ti.com>
16 months agoPDK-6384: SBL: K3: Updates allowed MAX size of SYSFW
Madan Srinivas [Sat, 16 May 2020 05:50:28 +0000 (01:50 -0400)]
PDK-6384: SBL: K3: Updates allowed MAX size of SYSFW

The SBL loads the system firmware in the memory section
OCMRAM_SBL_SYSFW that is defined in the SBL's linker command file at
ti/boot/sbl/soc/k3/linker.cmd

This section starts from 0x41C3E000 and extends to the end of OCM RAM
and this determines the max size of the SYSFW that can be loaded by the
SBL.

This patch updates sbl_sci_client.h to set SBL_SYSFW_MAX_SIZE to this
value for both GP and HS devices.

Signed-off-by: Madan Srinivas <madans@ti.com>
16 months agoAddressed review commments - use different folder instead of image name
Sivaraj R [Thu, 14 May 2020 05:05:00 +0000 (10:35 +0530)]
Addressed review commments - use different folder instead of image name

Signed-off-by: Sivaraj R <sivaraj@ti.com>
16 months agoFix Board package issue
Sivaraj R [Thu, 14 May 2020 03:37:38 +0000 (09:07 +0530)]
Fix Board package issue

Signed-off-by: Sivaraj R <sivaraj@ti.com>
16 months agoPRSDK-7753: Added HS build support to coexist with nonhs library
Sivaraj R [Fri, 8 May 2020 08:26:42 +0000 (13:56 +0530)]
PRSDK-7753: Added HS build support to coexist with nonhs library

Signed-off-by: Sivaraj R <sivaraj@ti.com>
16 months agoOsal/MuxIntcP: add stub functions
Eric Ruei [Fri, 15 May 2020 15:50:57 +0000 (11:50 -0400)]
Osal/MuxIntcP: add stub functions

Implement stub functions for the SOCs which do not have the Crossbar Mux.

Signed-off-by: Eric Ruei <e-ruei1@ti.com>
16 months agoam65xx: remove switch test apps and references
Tinku Mannan [Fri, 15 May 2020 18:51:48 +0000 (14:51 -0400)]
am65xx: remove switch test apps and references

16 months ago[PDK-6364] UDMA : Handle TR Events in AM64x
Don Dominic [Fri, 15 May 2020 14:47:35 +0000 (20:17 +0530)]
[PDK-6364] UDMA : Handle TR Events in AM64x

- new TR event specific IRQ offset and devId params added to drvHandle
- intialized in soc.c file

Signed-off-by: Don Dominic <a0486429@ti.com>
16 months agoSciclient: update sciclient firmware header for J721e GP
Jonathan Bergsagel [Fri, 15 May 2020 14:22:14 +0000 (09:22 -0500)]
Sciclient: update sciclient firmware header for J721e GP

Regenerated the firmware header file (with proper sysfw
size) for J71e GP, along with matching sysfw.bin file.

Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
16 months agoETHFW-1293: timesync: Add build support for v2
Santhana Bharathi N [Thu, 14 May 2020 09:46:00 +0000 (15:16 +0530)]
ETHFW-1293: timesync: Add build support for v2

- Added build support for newly added timsync version 2.
- When PDK fires build, both V1 & V2 will be built for all
  supported cores and libraries will be generated.

Signed-off-by: Santhana Bharathi N <santa@ti.com>
16 months agoETHFW-1293: timeSync v2: Add version 2 of timesync
Santhana Bharathi N [Thu, 14 May 2020 09:39:38 +0000 (15:09 +0530)]
ETHFW-1293: timeSync v2: Add version 2 of timesync

- Version 1 of timesync supports only ICSS on
  AM3xxx, AM4xxx, AM5xxx platforms. But to run PTP stack
  on CPSW or other IPs an IP-agnostic timesync design is required.

- Newly added timesync Version 2 addresses this by abstracting
  IP-specific functions in a HAL and adding PTP stack which is agnostic
  to any SoC/IP.

- Version 2 adds following new features:
   - Multiple ports support(max: 8 ports)
   - Boundary clock support
   - VLAN tagged PTP packets
   - PPS configuration

- Version 2 build is verified for following SoCs:
     am572x am571x am574x am335x am437x j721e
  and functionally tested on j721e with cpsw9G Ethfw.

- Legacy examples are not included in v2 as they are not
  functionally tested on all legacy platforms.

Signed-off-by: Santhana Bharathi N <santa@ti.com>
16 months agoreplacing double quotes with <> for include
Sahin Okur [Wed, 13 May 2020 16:56:33 +0000 (11:56 -0500)]
replacing double quotes with <> for include

16 months agoadding include path for CSLR MSS_IOMUX header file
Sahin Okur [Tue, 5 May 2020 16:21:38 +0000 (11:21 -0500)]
adding include path for CSLR MSS_IOMUX header file

16 months agoaddressing review feedback
Sahin Okur [Mon, 4 May 2020 22:19:32 +0000 (17:19 -0500)]
addressing review feedback

16 months agoremoving PADs EA-EP as they are NC on package 1
Sahin Okur [Thu, 30 Apr 2020 20:03:09 +0000 (15:03 -0500)]
removing PADs EA-EP as they are NC on package 1

16 months agoinitial version of tpr12 evm pinmux files
Sahin Okur [Thu, 30 Apr 2020 19:48:05 +0000 (14:48 -0500)]
initial version of tpr12 evm pinmux files

16 months ago[PDK-6364] UDMA : Handle RING events in AM64x
Don Dominic [Fri, 15 May 2020 09:59:38 +0000 (15:29 +0530)]
[PDK-6364] UDMA : Handle RING events in AM64x

Signed-off-by: Don Dominic <a0486429@ti.com>
16 months agoPDK-5149: Board: Changed J7ES display/csi diag tests core support to mcu2_0
M V Pratap Reddy [Fri, 15 May 2020 08:43:34 +0000 (14:13 +0530)]
PDK-5149: Board: Changed J7ES display/csi diag tests core support to mcu2_0

16 months agoPDK-5149: Board: Changed J7ES display diag test core support to mcu2_0
M V Pratap Reddy [Fri, 15 May 2020 08:43:34 +0000 (14:13 +0530)]
PDK-5149: Board: Changed J7ES display diag test core support to mcu2_0

16 months agoBug Fix: PRSDK-8528: XDC files are not packaged in core sdk
Sivaraj R [Fri, 15 May 2020 09:53:45 +0000 (15:23 +0530)]
Bug Fix: PRSDK-8528: XDC files are not packaged in core sdk

Signed-off-by: Sivaraj R <sivaraj@ti.com>
16 months agoBuild Fix
Sivaraj R [Fri, 15 May 2020 08:05:54 +0000 (13:35 +0530)]
Build Fix

Signed-off-by: Sivaraj R <sivaraj@ti.com>
16 months 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>
16 months 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.

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

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

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