processor-sdk/pdk.git
16 months agoMerge branch 'release/CORESDK_07.01.00' of ssh://bitbucket.itg.ti.com/processor-sdk...
sujith [Fri, 18 Dec 2020 13:37:10 +0000 (19:07 +0530)]
Merge branch 'release/CORESDK_07.01.00' of ssh://bitbucket.itg.ti.com/processor-sdk/pdk into dev

16 months agoPDK-8950: Use a correct value for dummyIRQ on AM64x
Dhaval Khandla [Fri, 18 Dec 2020 10:47:00 +0000 (04:47 -0600)]
PDK-8950: Use a correct value for dummyIRQ on AM64x

16 months agoAdded GPMC register dump before transfer operation
Aditya Wadhwa [Wed, 16 Dec 2020 17:02:04 +0000 (22:32 +0530)]
Added GPMC register dump before transfer operation

- Added a function to dump all timing configuration values

Signed-off-by: Aditya Wadhwa <a0485151@ti.com>
16 months agoUpdated paramters passed in OSPI API calls
Aditya Wadhwa [Mon, 14 Dec 2020 14:24:17 +0000 (19:54 +0530)]
Updated paramters passed in OSPI API calls

- Adapting to changes made in csl ospi app
- Passed dac mode as TRUE in relevant APIs
- Passed OSPI object in relevant APIs

Signed-off-by: Aditya Wadhwa <a0485151@ti.com>
16 months ago[PDK-8725]Enabling DAC tests for xSPI Flash devices
Aditya Wadhwa [Fri, 27 Nov 2020 20:07:52 +0000 (01:37 +0530)]
[PDK-8725]Enabling DAC tests for xSPI Flash devices

- DAC tests perform writes in INDAC mode and reads in DAC mode
- PHY is disabled for DAC reads due to bug PDK-8724

Signed-off-by: Aditya Wadhwa <a0485151@ti.com>
17 months agoPDK-7626: IPC: Test: Cleanup ex05 test and Make ready for Automation REL.CORESDK.07.02.01.01
Angela Stegmaier [Fri, 23 Oct 2020 22:52:10 +0000 (17:52 -0500)]
PDK-7626: IPC: Test: Cleanup ex05 test and Make ready for Automation

Cleanup the ex05 test:
- remove Task_sleep between each test
- remove creation of tasks with each test

Also add UART traces so that test can be automated.

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
17 months agoBumping the build version with latest changes
Vineet Roy [Wed, 16 Dec 2020 06:49:07 +0000 (12:19 +0530)]
Bumping the build version with latest changes

17 months agoBumping build and version
Vineet Roy [Mon, 14 Dec 2020 13:31:36 +0000 (19:01 +0530)]
Bumping build and version

17 months agoAdding offset to control storm control behavior
Vineet Roy [Mon, 14 Dec 2020 13:09:26 +0000 (18:39 +0530)]
Adding offset to control storm control behavior

Host can control whether storm prevention bypass for cut-through should be enabled or not. This is for backward compatibility

17 months agoBumping the firmware version
Vineet Roy [Thu, 10 Dec 2020 12:27:06 +0000 (17:57 +0530)]
Bumping the firmware version

17 months agoFix for issue PINDSW-4265
Vineet Roy [Thu, 10 Dec 2020 12:25:17 +0000 (17:55 +0530)]
Fix for issue PINDSW-4265
1. Firmware patch to fix race condition while updating NSP credit value
2. The fix is taken directly from PINDSW-2997 which has already been validated on HSR-PRP

17 months agoFix for the issue. PINDSW-4577. Storm prevention done for all paths
Vineet Roy [Thu, 10 Dec 2020 12:19:07 +0000 (17:49 +0530)]
Fix for the issue. PINDSW-4577. Storm prevention done for all paths

1. This fix makes sure that storm prevention is not done for cut-through packets
2. Without this fix, the rate of cut-through packets gets throttled

17 months agopdkAppImageCreate: fix typo error in script REL.CORESDK.07.01.03.08 REL.CORESDK.07.01.03.09
Vishal Mahaveer [Sun, 13 Dec 2020 05:20:54 +0000 (23:20 -0600)]
pdkAppImageCreate: fix typo error in script

Fix a typo / syntax error in the app image script.

Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
17 months agoBoard: Updated am64x evm pinmux syscfg file to be in sync with pinmux data REL.CORESDK.07.01.03.07
M V Pratap Reddy [Sat, 12 Dec 2020 12:48:10 +0000 (18:18 +0530)]
Board: Updated am64x evm pinmux syscfg file to be in sync with pinmux data

17 months agoPDK-6955: Board: Updated am64x evm uniflash flash programmer
M V Pratap Reddy [Sat, 12 Dec 2020 12:06:46 +0000 (17:36 +0530)]
PDK-6955: Board: Updated am64x evm uniflash flash programmer

 - Increased the UART baudrate to 1.5mbps
 - Enabled UART load support

17 months agoAM64x: Board_PLL: TEMP: enable MCU_PLL
Vishal Mahaveer [Fri, 11 Dec 2020 17:16:53 +0000 (11:16 -0600)]
AM64x: Board_PLL: TEMP: enable MCU_PLL

As a temporary workaround enable MCU_PLLCTRL0 in board library for supporting
M4F application load via SBL.

This should be reverted when actual fix is done in combination of SYSFW and SBL.

Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
17 months agoAM64x: Build: update 'dummy' app for mcux_0
Jonathan Bergsagel [Sat, 12 Dec 2020 00:59:35 +0000 (18:59 -0600)]
AM64x: Build: update 'dummy' app for mcux_0

Apps built for the 2nd core in R5 pairs need a dummy app
on Core 0 (mcux_0) to be paired with it.
Updated the sbl_mcux_0_dummpy_app rprc file for AM64x.

Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
17 months agoPDK-6948: Board: Removed unused macros in am64x evm board config REL.CORESDK.07.01.03.06
M V Pratap Reddy [Fri, 11 Dec 2020 16:55:51 +0000 (22:25 +0530)]
PDK-6948: Board: Removed unused macros in am64x evm board config

17 months agoPDK-6954: Board: Updated gpio pin configurations for am64x evm button test
M V Pratap Reddy [Fri, 11 Dec 2020 16:54:57 +0000 (22:24 +0530)]
PDK-6954: Board: Updated gpio pin configurations for am64x evm button test

17 months agoPDK-6945: Board: am64x evm eeprom test validated for board ID read
M V Pratap Reddy [Fri, 11 Dec 2020 16:35:08 +0000 (22:05 +0530)]
PDK-6945: Board: am64x evm eeprom test validated for board ID read

 - Added board ID info read functions in am64x evm board library

17 months agoPDK-6955: Board: Fix for ospi flash programmer failure on am64x evm
M V Pratap Reddy [Fri, 11 Dec 2020 15:52:45 +0000 (21:22 +0530)]
PDK-6955: Board: Fix for ospi flash programmer failure on am64x evm

17 months agoBoard: Fix for am64x diagnostic test failure on mpu core
M V Pratap Reddy [Fri, 11 Dec 2020 15:51:35 +0000 (21:21 +0530)]
Board: Fix for am64x diagnostic test failure on mpu core

17 months ago[PDK-8894] AM64x RM: Update BoardCfg and UDMA RM to allign with latest from SysConfig...
Don Dominic [Fri, 11 Dec 2020 15:00:41 +0000 (20:30 +0530)]
[PDK-8894] AM64x RM: Update BoardCfg and UDMA RM to allign with latest from SysConfig tool

- Update BoardCfg with changes in CPSW resources
  - Allocate all resources to A53
- Udpate udma_rmcfg.c to be alligned with this
- Regenrate scilcient_boardcfg and sciclient_ccs_init

- Updates in allignment with https://bitbucket.itg.ti.com/projects/PSDKLA/repos/k3-resource-partitioning/pull-requests/11/overview

Signed-off-by: Don Dominic <a0486429@ti.com>
17 months ago[PDK-8892] UDMA: Update BCDMA BlkCpy channel allocation in allignment with latest...
Don Dominic [Fri, 11 Dec 2020 11:06:37 +0000 (16:36 +0530)]
[PDK-8892] UDMA: Update BCDMA BlkCpy channel allocation in allignment with latest SYSFW

 - As per latest SYSFW,
    - For requesting BCDMA Block Copy channels, set extended_ch_type and pass the valid flag.
    - For requesting BCDMA Split TR TX channels, set extended_ch_type=0 and pass the valid flag.
 - Also remove the existing offset of 32 for blk cpy channel index, in alignment with old sysfw.

Signed-off-by: Don Dominic <a0486429@ti.com>
17 months agoMigrating to SYSFW version w2020.17-am64x
Sheng Zhao [Fri, 11 Dec 2020 00:10:34 +0000 (18:10 -0600)]
Migrating to SYSFW version w2020.17-am64x

Only am64x related binaries are updated. Other SoCs are not tested, so
those binaries remain unchanged from v2020.08b release.

Signed-off-by: Sheng Zhao <shengzhao@ti.com>
17 months agoPDK-8891: Board: Fix for csi-rx power status check on tpr12 evm
M V Pratap Reddy [Fri, 11 Dec 2020 06:47:26 +0000 (12:17 +0530)]
PDK-8891: Board: Fix for csi-rx power status check on tpr12 evm

 - CSIRX_getComplexIOpowerStatus function is taking few secs
   to complete the execution as part of csi-rx diagnostic test.
   This behaviour is observed while using the OSAL delay function.
   Removed the osal delay which completes the CSIRX_getComplexIOpowerStatus
   quick.

17 months agoicss_emac: package header files from firmware folder
Vishal Mahaveer [Fri, 11 Dec 2020 03:07:33 +0000 (21:07 -0600)]
icss_emac: package header files from firmware folder

We were removing the whole firmware folder from package before, but some
header files from firmware folder are needed for drivers and applications.

Adding those header files as part of the package.
For legacy devices continuing to add whole folder.

Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
17 months agoemac icssg - Enable firmware build for mcu1_0 REL.CORESDK.07.01.00.53 REL.CORESDK.07.01.00.54 REL.CORESDK.07.01.00.55
Prasad Jondhale [Fri, 11 Dec 2020 11:04:46 +0000 (16:34 +0530)]
emac icssg - Enable firmware build for mcu1_0

 - Firmware headers are used for mcu1_0 core in the nimu and emac loopback
   example. Hence building it for mcu1_0

Signed-off-by: Prasad Jondhale <prasad.jondhale@ti.com>
17 months agoam65xx - Add dummy interrupt and fix linker command file
Prasad Jondhale [Fri, 11 Dec 2020 11:00:37 +0000 (16:30 +0530)]
am65xx - Add dummy interrupt and fix linker command file

Signed-off-by: Prasad Jondhale <prasad.jondhale@ti.com>
17 months agoRemove ICSS firmware for AM64x
Sivaraj R [Thu, 10 Dec 2020 04:54:05 +0000 (10:24 +0530)]
Remove ICSS firmware for AM64x

Signed-off-by: Sivaraj R <sivaraj@ti.com>
17 months ago[PDK-8824] Addressing review comments
Aditya Wadhwa [Mon, 7 Dec 2020 08:23:43 +0000 (13:53 +0530)]
[PDK-8824] Addressing review comments

- Removed rxBuf
- Fixed return status from test function
- Tests logs compliant with automation

Signed-off-by: Aditya Wadhwa <a0485151@ti.com>
17 months ago[PDK-8824] Added pimux config to board init
Aditya Wadhwa [Fri, 4 Dec 2020 16:31:01 +0000 (22:01 +0530)]
[PDK-8824] Added pimux config to board init

- Added the necessary pinmux config in board init to enable probing from expansion board
- Minor bugfix in init function return statement

Signed-off-by: Aditya Wadhwa <a0485151@ti.com>
17 months ago[WIP] Addressing review comments
Aditya Wadhwa [Tue, 1 Dec 2020 17:19:46 +0000 (22:49 +0530)]
[WIP] Addressing review comments

- Not all comments resolved
- Build is successfull but not tested on evm

Signed-off-by: Aditya Wadhwa <a0485151@ti.com>
17 months ago[PDK-8824] Added a GPMC example for probing
Aditya Wadhwa [Tue, 1 Dec 2020 13:37:56 +0000 (19:07 +0530)]
[PDK-8824] Added a GPMC example for probing

- Added a GPMC example in ti/drv/gpmc/example/
- Test function does initialization then write operation 100 times

Signed-off-by: Aditya Wadhwa <a0485151@ti.com>
17 months agoAM65xx: Change SBL Boot Perf Test to smaller version
Jonathan Bergsagel [Thu, 10 Dec 2020 01:11:46 +0000 (19:11 -0600)]
AM65xx: Change SBL Boot Perf Test to smaller version

Moved to smaller version of sbl_boot_perf_test that fits
in MCU SRAM.
Larger version was conflicting with MSMC RAM area used
to authenticate the signed appimage on AM65xx HS devices.

Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
17 months agoAM65xx: CUST SBL fix for booting MCU1_0
Jonathan Bergsagel [Wed, 9 Dec 2020 17:20:15 +0000 (11:20 -0600)]
AM65xx: CUST SBL fix for booting MCU1_0

Enables ATCM vecs copy for MCU1_0 for CUST build only, since
the CUST build skips the MCU reset and ATCM is already enabled.

Allows CUST SBL build to boot XIP test case and sbl_boot_perf_test.

Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
17 months ago[PDK-8866] Add PDK_INSTALL_PATH path to pdkAppImageCreate scripts
Jesse Villarreal [Tue, 8 Dec 2020 23:36:20 +0000 (17:36 -0600)]
[PDK-8866] Add PDK_INSTALL_PATH path to pdkAppImageCreate scripts

17 months ago[PDK-8865] Fix powershell call on windows for image signing step
Jesse Villarreal [Tue, 8 Dec 2020 19:40:40 +0000 (13:40 -0600)]
[PDK-8865] Fix powershell call on windows for image signing step

- The quote was misplaced, causing the powershell call to fail
  when running on windows.
- Moving the quote until the ps1 command fixes the problem.

17 months agoPDK-8777: Board: Upated board flash package config to add ospi tuning data
M V Pratap Reddy [Wed, 9 Dec 2020 05:01:38 +0000 (10:31 +0530)]
PDK-8777: Board: Upated board flash package config to add ospi tuning data

17 months agoAM64x BringUp: Board: SPI: Added pinmux data for MCU Domain SPI REL.CORESDK.07.01.04.02 REL.CORESDK.07.01.04.03 REL.CORESDK.07.01.04.04
Don Dominic [Tue, 8 Dec 2020 11:54:47 +0000 (17:24 +0530)]
AM64x BringUp: Board: SPI: Added pinmux data for MCU Domain SPI

- This fixes issues with McSPI tests on M4F, which uses MCU Domain

Signed-off-by: Don Dominic <a0486429@ti.com>
17 months agotpr12/canfd: canfd apiguide changes
Badri S [Mon, 7 Dec 2020 11:56:02 +0000 (17:26 +0530)]
tpr12/canfd: canfd apiguide changes

canfd apiguide support

Signed-off-by: Badri S <badri@ti.com>
17 months agoBugFix PDK-8840
Prasad Konnur [Mon, 7 Dec 2020 12:35:17 +0000 (18:05 +0530)]
BugFix PDK-8840

  Updated app image create script to support all cores of K3 devices

Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
17 months agoSciclient: Warning Fix
Piyali Goswami [Mon, 7 Dec 2020 11:29:30 +0000 (16:59 +0530)]
Sciclient: Warning Fix

Warning build time fix for Sciclient_rm_irq.c

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
17 months agodiag/tpr12: cpsw diag update to work with eth master branch
Badri S [Mon, 7 Dec 2020 07:38:28 +0000 (13:08 +0530)]
diag/tpr12: cpsw diag update to work with eth master branch

cpsw diag update to work with enet master branch

Signed-off-by: Badri S <badri@ti.com>
17 months agotpr12/sbl: support for sbl image signing in windows
Badri S [Thu, 3 Dec 2020 13:57:13 +0000 (19:27 +0530)]
tpr12/sbl: support for sbl image signing in windows

sbl image signing in windows environment

Signed-off-by: Badri S <badri@ti.com>
17 months agotpr12/canfd: address review comments
Badri S [Thu, 3 Dec 2020 13:29:44 +0000 (18:59 +0530)]
tpr12/canfd: address review comments

address review comments

Signed-off-by: Badri S <badri@ti.com>
17 months agoPDK-8720 : Addressed review comments : Initialized REL.CORESDK.07.01.00.50 REL.CORESDK.07.01.00.51 REL.CORESDK.07.01.00.52
sujith [Mon, 7 Dec 2020 08:14:05 +0000 (13:44 +0530)]
PDK-8720 : Addressed review comments : Initialized

Initialized config structure and then added overrides

Signed-off-by: sujith <sujith.s@ti.com>
17 months agoPDK-6948: Board: Updated mmr config for am64x evm
M V Pratap Reddy [Fri, 4 Dec 2020 12:52:36 +0000 (18:22 +0530)]
PDK-6948: Board: Updated mmr config for am64x evm

 - MMR config is failing during the pinmux configuration in release
   mode. Order of execution for setting kick0 and kick1 is done in reverse
   which is causing unlock/lock failure.
   Added volatile specifier for kick address variables to avoid the
   optimization.

17 months agoPDK-8720 : AM65xx OSPI Boot fails : Fixed
sujith [Sun, 6 Dec 2020 15:08:17 +0000 (20:38 +0530)]
PDK-8720 : AM65xx OSPI Boot fails : Fixed

The default board cfg is for now-secure mode, however,
SBL was initializing sciclient in secure mode.

Update to initialize sci client on non secure mode
for AM65xx only

Tested with udma_memcpy_testapp_mcu1_0_release
booting from OSPI, on PG 1.0 AM65xx IDK

Signed-off-by: sujith <sujith.s@ti.com>
17 months agoPDK-8827: IPC: examples: Fix Build Issue with Idle Task for J721e
Angela Stegmaier [Sat, 5 Dec 2020 17:12:54 +0000 (11:12 -0600)]
PDK-8827: IPC: examples: Fix Build Issue with Idle Task for J721e

Fix build issue introduced with recent change to swap order
of Idle task functions in commit 4e192c640bfb098806deda6ab9e9558504b6a76c

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
17 months agoPDK-8537: Update to the Sciclient_rm logic to handle AM64x MPU1_0 IA to GIC handling...
Piyali Goswami [Sun, 6 Dec 2020 06:41:51 +0000 (12:11 +0530)]
PDK-8537: Update to the Sciclient_rm logic to handle AM64x MPU1_0 IA to GIC handling without IRs

AM64x is the first device with IA to GIC mapping without an IR in between. This patch handles this case

Fixes: PDK-8537

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
17 months agoSBL: AM64x: Add library targets for mmcsd and ospi hlos
Vishal Mahaveer [Sat, 5 Dec 2020 05:44:57 +0000 (23:44 -0600)]
SBL: AM64x: Add library targets for mmcsd and ospi hlos

Libraries needed for mmcsd and ospi hlos were missed when adding
the examples. Fix the jenkins build issue by adding them.

Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
17 months ago[PDK-7909][PDK-6279] UDMA UT: Added new testcase for PKTDMA Channel API tets
Don Dominic [Fri, 4 Dec 2020 22:39:33 +0000 (04:09 +0530)]
[PDK-7909][PDK-6279] UDMA UT: Added new testcase for PKTDMA Channel API tets

- Tests various channel API's for various compinantions of TX/RX/Mapped/Unmapped PKTDMA Channels
- Udma_chOpen
- Udma_chConfigTx / Udma_chConfigRx
- Udma_chEnable
- Udma_chDisable
- Udma_chClose

- For BCDMA/UDMAP this gets tested with block copy tests.

Signed-off-by: Don Dominic <a0486429@ti.com>
17 months agoPDK-8843: Mailbox LLD: AM64X: Use writeTimeout for Mailbox_write calls
Angela Stegmaier [Fri, 4 Dec 2020 17:59:33 +0000 (11:59 -0600)]
PDK-8843: Mailbox LLD: AM64X: Use writeTimeout for Mailbox_write calls

The Mailbox_write API for AM64X was incorrectly using the readTimeout
instead of the writeTimeout when sending mailbox messages. Fix
the implementation to use the correct timeout value.

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
17 months agoPDK-8843: IPC: AM64X: Use timeout from Virtio Config when sending messages
Angela Stegmaier [Fri, 4 Dec 2020 17:46:20 +0000 (11:46 -0600)]
PDK-8843: IPC: AM64X: Use timeout from Virtio Config when sending messages

For AM64X IPC, the timeout passed at Virtio initialization was not being
propagated to the Mailbox LLD, so the Mailbox_read/write calls
would not timeout as expected.

This patch fixes the issue by propagating the user-configured
value to the Mailbox LLD.

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
17 months ago [PDK-7909][PDK-6282] UDMA UT: Added new testcase for PKTDMA Mapped Channel Parameter...
Don Dominic [Fri, 4 Dec 2020 14:25:19 +0000 (19:55 +0530)]
 [PDK-7909][PDK-6282] UDMA UT: Added new testcase for PKTDMA Mapped Channel Parameters check

- PKTDMA Channel Open with no ring memory test
- PKTDMA Mapped Channel Open with invalid mapped channel group negative test

TODO:
- Add new TC for PKTDMA Channel open test for all combinations (TX/RX/Mapped/Unmapped)

Signed-off-by: Don Dominic <a0486429@ti.com>
17 months agoPDK-6948: Board: Added gpmc pinmux support for am64x evm
M V Pratap Reddy [Fri, 4 Dec 2020 10:35:57 +0000 (16:05 +0530)]
PDK-6948: Board: Added gpmc pinmux support for am64x evm

17 months agoPDK-6958: Board: Updated tpr12 evm uart test to address review comments
M V Pratap Reddy [Fri, 4 Dec 2020 07:17:34 +0000 (12:47 +0530)]
PDK-6958: Board: Updated tpr12 evm uart test to address review comments

17 months agoPDK-5002: Board: Enabled IWR1443 FE support for tpr12 evm csirx test
M V Pratap Reddy [Fri, 4 Dec 2020 04:32:44 +0000 (10:02 +0530)]
PDK-5002: Board: Enabled IWR1443 FE support for tpr12 evm csirx test

 - CSI-Rx diagnostic test supports both AWR2243 and IWR1443 FE modules
   with AWR2243 enabled by default.
 - Done code clean-up to align with diag coding guidelines
 - Added binaries for IWR1443 FE

17 months agoPDK-6958:Board: Enabled MSS UARTB test for tpr12 evm
M V Pratap Reddy [Fri, 4 Dec 2020 04:28:02 +0000 (09:58 +0530)]
PDK-6958:Board: Enabled MSS UARTB test for tpr12 evm

17 months agoPDK-6956: Board: Enabled quad mode for tpr12 evm qspi flash test
M V Pratap Reddy [Fri, 4 Dec 2020 04:13:01 +0000 (09:43 +0530)]
PDK-6956: Board: Enabled quad mode for tpr12 evm qspi flash test

17 months ago[PDK-7909] UDMA UT: Added test for PKTDMA Mapped Rings
Don Dominic [Fri, 4 Dec 2020 11:05:56 +0000 (16:35 +0530)]
[PDK-7909] UDMA UT: Added test for PKTDMA Mapped Rings

- Updated the TC "PDK-3726 - Ring attach and detach testcase"
  - Tests various PKTDMA mapped ring groups too

- Along with minor updates in:
  - Mapped Flow Attach Test case:
    - Added more prints
    - Renamed/Updated API to get mappedChNum

  - udma_rm.c for Mapped Ring allocate
    - Added check for numFreRings for the mapped channel
    - added assert

Signed-off-by: Don Dominic <a0486429@ti.com>
17 months agoAM64x_evm: add pull up for mmc1 lines
Vishal Mahaveer [Fri, 4 Dec 2020 05:49:47 +0000 (23:49 -0600)]
AM64x_evm: add pull up for mmc1 lines

Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
17 months agommcsd: test: cleanup simulation related flags for am64x_evm
Vishal Mahaveer [Wed, 2 Dec 2020 04:16:34 +0000 (22:16 -0600)]
mmcsd: test: cleanup simulation related flags for am64x_evm

Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
17 months ago[PDK-7909][PDK-8837] UDMA UT: Added new testcase for LCDMA Ring Prime Test
Don Dominic [Thu, 3 Dec 2020 12:28:02 +0000 (17:58 +0530)]
[PDK-7909][PDK-8837] UDMA UT: Added new testcase for LCDMA Ring Prime Test

- For LCDMA with Dual ring,
- Ring Prime Read checks for Reverse occupancy.
- In this case, actual transfer should happen to populate
- reverse occupancy count and successfully do a ring prime read.
- This testcase, implements block copy using ring prime API's
- This tests only Ring Prime API's.
- Data check and TR Responce checks are NOT carried out.

Signed-off-by: Don Dominic <a0486429@ti.com>
17 months agoPDK-8403: Board: Workaround for CSI-Rx DSP baremetal interrupt issue on TPR12 EVM
M V Pratap Reddy [Thu, 3 Dec 2020 11:06:18 +0000 (16:36 +0530)]
PDK-8403: Board: Workaround for CSI-Rx DSP baremetal interrupt issue on TPR12 EVM

 - Interrupt is not functional in CSI-Rx diagnostic test while running
   on DSP in batemetal mode. Need to make changes in osal configuration
   functions to fix the issue.
   Added interrupt enable in the CSI-Rx diag as a temporary workaround.

17 months agotpr12/canfd: build packaging fixes REL.CORESDK.07.01.04.01
Badri S [Wed, 2 Dec 2020 07:37:52 +0000 (13:07 +0530)]
tpr12/canfd: build packaging fixes

build and packaging fixes for tpr12

Signed-off-by: Badri S <badri@ti.com>
17 months agotpr12: add reference to cslInit for baremetal in lnkflags
Badri S [Wed, 2 Dec 2020 06:08:52 +0000 (11:38 +0530)]
tpr12: add reference to cslInit for baremetal in lnkflags

for baremetal apps in tpr12 add unresolved reference to
cslInit so that compiler links in the csl_init lib .

Signed-off-by: Badri S <badri@ti.com>
17 months agoboard/tpr12: remove board/src/tpr12_qt as they are not used
Badri S [Wed, 2 Dec 2020 05:29:18 +0000 (10:59 +0530)]
board/tpr12: remove board/src/tpr12_qt as they are not used

tpr12_qt files for board lib are not used and removed

Signed-off-by: Badri S <badri@ti.com>
17 months agoCANFD driver for TPR12
Badri S [Mon, 30 Nov 2020 06:39:03 +0000 (12:09 +0530)]
CANFD driver for TPR12

Added CANFD driver for TPR12

Signed-off-by: Badri S <badri@ti.com>
17 months agoPDK-8417: Board: Enabled UART load support for trp12 evm flash programmer
M V Pratap Reddy [Mon, 30 Nov 2020 04:48:37 +0000 (10:18 +0530)]
PDK-8417: Board: Enabled UART load support for trp12 evm flash programmer

17 months agotpr12/qt: changes to enable tpr12 on QT again
Badri S [Mon, 23 Nov 2020 11:47:32 +0000 (17:17 +0530)]
tpr12/qt: changes to enable tpr12 on QT again

QT support is required for AR29xx bringup so
restored TPR12 QT platform support

Signed-off-by: Badri S <badri@ti.com>
17 months agotpr12/boardflash: SBL/Uniflash writer update for GD25B64CW2G
Badri S [Fri, 20 Nov 2020 14:54:33 +0000 (20:24 +0530)]
tpr12/boardflash: SBL/Uniflash writer update for GD25B64CW2G

Board flash library update to work with GD25B64CW2G which
is populated in the next batch of TPR12 EVM builds

Signed-off-by: Badri S <badri@ti.com>
17 months agoAM64x Bringup: MMCSD : Fix linker issue with Baremetal EMMC Regression Testapp
Don Dominic [Wed, 2 Dec 2020 06:59:28 +0000 (12:29 +0530)]
AM64x Bringup: MMCSD : Fix linker issue with Baremetal EMMC Regression Testapp

- Update LNKFLAGS_LOCAL for mpu1_0
  - This fix the issue "Unable to find 'main'" when loading on mpu1_0
- Remove SIMULATOR flag

Signed-off-by: Don Dominic <a0486429@ti.com>
17 months agoPDK-5000: Board: Enabled CAN diagnostic test for tpr12 evm
M V Pratap Reddy [Wed, 2 Dec 2020 06:18:03 +0000 (11:48 +0530)]
PDK-5000: Board: Enabled CAN diagnostic test for tpr12 evm

17 months agoPDK-5005: Board: Enabled Ethernet diagnostic test for trp12 evm
M V Pratap Reddy [Wed, 2 Dec 2020 06:16:09 +0000 (11:46 +0530)]
PDK-5005: Board: Enabled Ethernet diagnostic test for trp12 evm

 - enet lld based diagnostic test is not suppored on other platforms.
   cpsw diag build is enabled for only tpr12 evm.

17 months agoSBL: AM64x: Adding makefile support for mmcsd and ospi hlos
Dillon Frank [Wed, 2 Dec 2020 01:36:35 +0000 (19:36 -0600)]
SBL: AM64x: Adding makefile support for mmcsd and ospi hlos

Added the makefile options for both mmcsd and ospi, in order
to build their hlos images for AM64x

Signed-off-by: Dillon Frank <uda0233816local@UDA0233816>
17 months agoPDK-8827: IPC: test: Make traceBuffer flush before sysIdleLoop
Angela Stegmaier [Tue, 1 Dec 2020 16:40:28 +0000 (10:40 -0600)]
PDK-8827: IPC: test: Make traceBuffer flush before sysIdleLoop

Place the traceBuffer flush Idle function before the sysIdleLoop
Idle function in order to reduce potential delay for trace
buffer flush.

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
17 months agoPDK-8826: IPC: AM64X: Flush trace buffer in ipc_echo_test
Angela Stegmaier [Tue, 1 Dec 2020 14:56:06 +0000 (08:56 -0600)]
PDK-8826: IPC: AM64X: Flush trace buffer in ipc_echo_test

Add the idle function in the sysbios ipc_echo_test images
to flush the remoteproc trace buffer in idle.

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
17 months agoAM64x Bringup: GPIO LED Updates
Don Dominic [Tue, 1 Dec 2020 10:40:12 +0000 (16:10 +0530)]
AM64x Bringup: GPIO LED Updates

- Updated Port Num of MCU_GPIO_TEST_LED_2
- Updated LED macros for AM64x in gpio drv - GPIO_board,h
- Toggle USER_LED1
  - In AM64x GP EVM, USER_LED0 (TEST_LED1) is connected to IO EXPANDER.
  - So, toggling USER_LED1 (TEST_LED2) - connected to MCU_GPIO0_5(EVM-LD26)

Signed-off-by: Don Dominic <a0486429@ti.com>
17 months agoPDK-8815: IPC: AM64X: ipc_perf_test memory map update
Angela Stegmaier [Mon, 30 Nov 2020 22:38:20 +0000 (16:38 -0600)]
PDK-8815: IPC: AM64X: ipc_perf_test memory map update

The ipc_perf_test memory map for mpu1_0 and mcu1_0
need to be updated to work with SBL boot. The memory
map needed to be updated to not conflict with SBL
usage.

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
17 months agoSBL: AM64x: Updates for OSPI boot
Jonathan Bergsagel [Tue, 24 Nov 2020 02:14:18 +0000 (20:14 -0600)]
SBL: AM64x: Updates for OSPI boot

OSPI parameter updates in the SBL to support OSPI boot at 133MHz.

Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
17 months ago[PDK-3964][Bug Fix][TC Failure Fix]fatfs test read and write to a file
Vivek Dhande [Mon, 30 Nov 2020 14:02:04 +0000 (19:32 +0530)]
[PDK-3964][Bug Fix][TC Failure Fix]fatfs test read and write to a file

Issue:
    - 'FATFS_Console_TestApp' application was crashing and was not able to run to main
Root-cause:
    - Application was causing abort during MPU configuration, this was happening due to wrong MPU configurations
Resolution:
    - Updated MPU configuration to desired/proper cfg

Signed-off-by: Vivek Dhande <a0132295@ti.com>
17 months agoAM64x Bringup: UDMA UT: Update Linker Files
Don Dominic [Mon, 30 Nov 2020 10:32:27 +0000 (16:02 +0530)]
AM64x Bringup: UDMA UT: Update Linker Files

- Update linker files of UDMA UT for all cores AM64x
- Remove Presilicon macro UDMA_TEST_SOC_PRESILICON

Signed-off-by: Don Dominic <a0486429@ti.com>
17 months agopdk/osal: fixed the AM64x OSAL timer issue REL.CORESDK.07.01.03.04 REL.CORESDK.07.01.03.05
Ming Wei [Mon, 30 Nov 2020 04:11:06 +0000 (22:11 -0600)]
pdk/osal: fixed the AM64x OSAL timer issue

In pdk\packages\ti\osal\src\nonos\timer\v1\TimerP_nonos.c line 572,
the “|| defined(SOC_AM64X)” is missing, so for AM64x the
triggerSensitivity is always set to OSAL_ARM_GIC_TRIG_TYPE_EDGE.
This incorrect setting then causes the OsalArch_HwiPCreateDirect()
(line 409 in pdk\packages\ti\osal\arch\core\r5\Arch_util.c) to set the
“intrSrcType = CSL_VIM_INTR_TYPE_PULSE”.

Signed-off-by: Ming Wei <mwei@ti.com>
17 months agoPDK-6947: Board: mcan diagnostic test update validated on am64x evm REL.CORESDK.07.01.03.03
M V Pratap Reddy [Sat, 28 Nov 2020 10:34:41 +0000 (16:04 +0530)]
PDK-6947: Board: mcan diagnostic test update validated on am64x evm

17 months agoPDK-6943: Board: Updated ospi diagnostic test for am64x evm
M V Pratap Reddy [Sat, 28 Nov 2020 10:33:33 +0000 (16:03 +0530)]
PDK-6943: Board: Updated ospi diagnostic test for am64x evm

 - Test is not working in dma mode. Disabled DMA mode for now.

17 months agoPDK-8777: Board: Upated board flash package config to add ospi tuning data
M V Pratap Reddy [Sat, 28 Nov 2020 10:31:37 +0000 (16:01 +0530)]
PDK-8777: Board: Upated board flash package config to add ospi tuning data

17 months agoBoard: Fix for QSPI flash hang issue in flash open
M V Pratap Reddy [Fri, 27 Nov 2020 16:03:31 +0000 (21:33 +0530)]
Board: Fix for QSPI flash hang issue in flash open

17 months agoPDK-6948: Board: Integrated DDR configurations with am64x evm board lib
M V Pratap Reddy [Fri, 27 Nov 2020 15:36:21 +0000 (21:06 +0530)]
PDK-6948: Board: Integrated DDR configurations with am64x evm board lib

 - DDR is working fine at 1600MTs

17 months agoPDK-6948: Board: Removed unused Ethernet PHY macros from am64x board lib REL.CORESDK.07.01.03.02
M V Pratap Reddy [Fri, 27 Nov 2020 13:03:25 +0000 (18:33 +0530)]
PDK-6948: Board: Removed unused Ethernet PHY macros from am64x board lib

17 months agoPDK-6948: Board: Updated am64x icss core clock to 250MHz
M V Pratap Reddy [Fri, 27 Nov 2020 13:02:29 +0000 (18:32 +0530)]
PDK-6948: Board: Updated am64x icss core clock to 250MHz

17 months agoPDK-6948: Board: Enabled icss mdio init for am64x evm
M V Pratap Reddy [Fri, 27 Nov 2020 09:48:49 +0000 (15:18 +0530)]
PDK-6948: Board: Enabled icss mdio init for am64x evm

 - Moved Board_STATUS variable definition from board.h to board_cfg.h.
   This will allow including board header files in board_cfg.h to avoid
   including the header files in every application.
   Change applies to all the platforms and should not break any
   functionality.

17 months agoPDK-6948: Board: Added ICSS MII pinmux support for am64x evm
M V Pratap Reddy [Fri, 27 Nov 2020 09:44:59 +0000 (15:14 +0530)]
PDK-6948: Board: Added ICSS MII pinmux support for am64x evm

17 months agoPDK-6948: Board: Updated am64x evm pinmux project file to be compatible to
M V Pratap Reddy [Fri, 27 Nov 2020 09:42:04 +0000 (15:12 +0530)]
PDK-6948: Board: Updated am64x evm pinmux project file to be compatible to
latest tool version

17 months agoPDK-6948: Board: Enabled PLL configurations in am64x board library
M V Pratap Reddy [Fri, 27 Nov 2020 09:36:25 +0000 (15:06 +0530)]
PDK-6948: Board: Enabled PLL configurations in am64x board library

 - Enabling only limited PLL configurations as most of the PLL clocks
   are fixed and should be configured by default.

17 months agoPDK-6815 : Addressing review comments
sujith [Thu, 26 Nov 2020 11:32:19 +0000 (17:02 +0530)]
PDK-6815 : Addressing review comments

Retained the untils vector copy function name to ensure it's
common for all platforms

Signed-off-by: sujith <sujith.s@ti.com>
17 months agoBuild Break : Fixed
sujith [Wed, 25 Nov 2020 06:29:07 +0000 (11:59 +0530)]
Build Break : Fixed

Signed-off-by: sujith <sujith.s@ti.com>
17 months agoPDK-6815: AM65xx: Updated UDMA Adc example
sujith [Tue, 24 Nov 2020 18:59:01 +0000 (00:29 +0530)]
PDK-6815: AM65xx: Updated UDMA Adc example

To load .txt and .data into MSMC and copy the same to
ATCM at runtime and use ATCM for runtime

Tested UDMA on MCU 10, MPU 10 in SBL and CCS mode

Signed-off-by: sujith <sujith.s@ti.com>
17 months agoPDK-6815 : Updated all apps to enable TCM and copy the vecs
sujith [Tue, 24 Nov 2020 13:38:44 +0000 (19:08 +0530)]
PDK-6815 : Updated all apps to enable TCM and copy the vecs

Applicable for AM65xx only

Signed-off-by: sujith <sujith.s@ti.com>