]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/pdk.git/log
processor-sdk/pdk.git
3 years agosysbios_r5f: Use a valid value for dummyIRQ on AM64x
Vishal Mahaveer [Mon, 21 Dec 2020 15:19:06 +0000 (09:19 -0600)]
sysbios_r5f: Use a valid value for dummyIRQ on AM64x

As per cslr_intr_r5fss0_core*.h 179 is not mapped to any peripheral,Use this
as a dummyIRQ.

Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
3 years agoPDK-8940: am64x/sbl for MCU domain reset isolation, skip M4F application load if...
Ahmad Rashed [Thu, 17 Dec 2020 18:58:22 +0000 (12:58 -0600)]
PDK-8940: am64x/sbl for MCU domain reset isolation, skip M4F application load if there is an application already running.

3 years agoKEYWRITER: example app, which loads sysfw-keywr itself
Anuraag Tummanapally [Wed, 25 Nov 2020 16:20:19 +0000 (16:20 +0000)]
KEYWRITER: example app, which loads sysfw-keywr itself
Fixes: SYSFW-4164
Signed-off-by: Anuraag Tummanapally <anuraagt@ti.com>
3 years agoKEYWRITER: sciclient fn for keywriter API call, opcode, and msg struct
Anuraag Tummanapally [Wed, 25 Nov 2020 16:18:48 +0000 (16:18 +0000)]
KEYWRITER: sciclient fn for keywriter API call, opcode, and msg struct
Fixes: SYSFW-4164
Signed-off-by: Anuraag Tummanapally <anuraagt@ti.com>
3 years agoKEYWRITER: x509 certificate generation scripts
Anuraag Tummanapally [Wed, 25 Nov 2020 16:11:53 +0000 (16:11 +0000)]
KEYWRITER: x509 certificate generation scripts
Fixes: SYSFW-4163
Signed-off-by: Anuraag Tummanapally <anuraagt@ti.com>
3 years agoMerge pull request #1564 in PROCESSOR-SDK/pdk from review_for_07_01_am65xx_brach_merg...
Sujith Shivalingappa [Fri, 18 Dec 2020 15:38:49 +0000 (09:38 -0600)]
Merge pull request #1564 in PROCESSOR-SDK/pdk from review_for_07_01_am65xx_brach_merge_to_master_sujith to master

* commit '65329534f95702fd986981151646e8ea546f1425': (21 commits)
  emac icssg - Enable firmware build for mcu1_0
  am65xx - Add dummy interrupt and fix linker command file
  AM65xx: Change SBL Boot Perf Test to smaller version
  AM65xx: CUST SBL fix for booting MCU1_0
  [PDK-8866] Add PDK_INSTALL_PATH path to pdkAppImageCreate scripts
  [PDK-8865] Fix powershell call on windows for image signing step
  PDK-8777: Board: Upated board flash package config to add ospi tuning data
  PDK-8720 : Addressed review comments : Initialized
  PDK-8720 : AM65xx OSPI Boot fails : Fixed
  [PDK-3964][Bug Fix][TC Failure Fix]fatfs test read and write to a file
  PDK-6815 : Addressing review comments
  Build Break : Fixed
  PDK-6815: AM65xx: Updated UDMA Adc example
  PDK-6815 : Updated all apps to enable TCM and copy the vecs
  PDK-6815: AM65xx: Enable TCMs, Init them and copy vecs to ATCM
  MMC/SD : AM65xx Fixes
  enable appimage gen for pcie tests
  PDK-8393 : am65xx : Updated other apps to enable execution from ccs
  PDK-8393 : am65xx CCS boot issue when not using ATCM : Resolved
  [PDK-8661] UDMA Examples : Disable AM65xx mcu1_1 examples
  ...

3 years agoBumping the build version
Vineet Roy [Fri, 18 Dec 2020 14:36:09 +0000 (20:06 +0530)]
Bumping the build version

3 years agoFix for the PRU Tx lock up issue. LCPD-19899
Vineet Roy [Thu, 17 Dec 2020 07:41:59 +0000 (13:11 +0530)]
Fix for the PRU Tx lock up issue. LCPD-19899

1. During high traffic when links are taken down, Tx PRU locks up
2. Fix is to check Tx FIFO fill level and then issue a reset

3 years 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

3 years 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

3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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

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

3 years 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

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

3 years 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

3 years 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

3 years 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>
3 years 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

3 years 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

3 years 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>
3 years 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>
3 years 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

3 years 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

3 years 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

3 years 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

3 years 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

3 years 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>
3 years 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>
3 years 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>
3 years 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.

3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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

3 years 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.

3 years 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

3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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.

3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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

3 years 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

3 years 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

3 years 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

3 years 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

3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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.

3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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

3 years 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>
3 years 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>
3 years 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>
3 years 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

3 years 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.

3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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>
3 years 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

3 years 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.

3 years 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

3 years 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

3 years 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

3 years 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

3 years 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