]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/pdk.git/log
processor-sdk/pdk.git
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-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 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 agoPDK-6815 : Addressing review comments REL.CORESDK.07.01.00.49
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>
3 years agoBuild Break : Fixed REL.CORESDK.07.01.00.48
sujith [Wed, 25 Nov 2020 06:29:07 +0000 (11:59 +0530)]
Build Break : Fixed

Signed-off-by: sujith <sujith.s@ti.com>
3 years 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>
3 years 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>
3 years agoPDK-6815: AM65xx: Enable TCMs, Init them and copy vecs to ATCM
sujith [Tue, 24 Nov 2020 11:54:24 +0000 (17:24 +0530)]
PDK-6815: AM65xx: Enable TCMs, Init them and copy vecs to ATCM

Limiting the TCMs init to 100 bytes, will add time to boot
Expect customer to increase/decrease based on need

Tested with udma crc & adc example on AM65xx PG 1.1

Signed-off-by: sujith <sujith.s@ti.com>
3 years agoMMC/SD : AM65xx Fixes REL.CORESDK.07.01.00.46 REL.CORESDK.07.01.00.47
sujith [Sat, 21 Nov 2020 05:03:00 +0000 (10:33 +0530)]
MMC/SD : AM65xx Fixes

1. Enabled to used dummy interrupt
2. Corrected MPU config
3. Tested MMC/SD eMMC on MCU 10 & MPU 10

Signed-off-by: sujith <sujith.s@ti.com>
3 years agoenable appimage gen for pcie tests
Prasad Konnur [Fri, 20 Nov 2020 07:46:31 +0000 (13:16 +0530)]
enable appimage gen for pcie tests

Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
3 years agoPDK-8393 : am65xx : Updated other apps to enable execution from ccs
sujith [Fri, 20 Nov 2020 12:12:17 +0000 (17:42 +0530)]
PDK-8393 : am65xx : Updated other apps to enable execution from ccs

Signed-off-by: sujith <sujith.s@ti.com>
3 years agoPDK-8393 : am65xx CCS boot issue when not using ATCM : Resolved
sujith [Thu, 19 Nov 2020 18:56:45 +0000 (00:26 +0530)]
PDK-8393 : am65xx CCS boot issue when not using ATCM : Resolved

Root cause : The SBL with 07.01, do not enable ATCM/BTCM
which mandated entry point to be placed in mcu
mc ram.

However, when starting via CCS, the GEL's files
enables ATCM. When ATCM is enabled and with sysbios
6.83 and later, the entry point should be in ATCM

Fix : Included utils to copy the reset vector to ATCM, if
ATCM is enabled

Test : Tested with OSAL test app with sysbios, via ccs and
uart boot mode

Signed-off-by: sujith <sujith.s@ti.com>
3 years ago[PDK-8661] UDMA Examples : Disable AM65xx mcu1_1 examples REL.CORESDK.07.01.00.43 REL.CORESDK.07.01.00.44 REL.CORESDK.07.01.00.45 REL.CORESDK.07.01.05.01 REL.CORESDK.07.01.05.02
Don Dominic [Tue, 17 Nov 2020 08:01:21 +0000 (13:31 +0530)]
[PDK-8661] UDMA Examples : Disable AM65xx mcu1_1 examples

Signed-off-by: Don Dominic <a0486429@ti.com>
3 years ago[PDK-8661] UDMA : Update UDMA rmcfg for AM65xx
Don Dominic [Mon, 16 Nov 2020 15:14:12 +0000 (20:44 +0530)]
[PDK-8661] UDMA : Update UDMA rmcfg for AM65xx

- udma_rmcfg.c for AM65xx was outdated
- Update the default rm params to match with the latest from SysConfig tool

Signed-off-by: Don Dominic <a0486429@ti.com>
3 years agoBoard: Removed compile error based on core check in am64x evm board cfg REL.CORESDK.07.01.00.40
M V Pratap Reddy [Mon, 16 Nov 2020 05:55:21 +0000 (11:25 +0530)]
Board: Removed compile error based on core check in am64x evm board cfg

3 years agoPDK-8305: Updated am64x evm board uart config to map to proper SoC instance REL.CORESDK.07.01.00.39
M V Pratap Reddy [Fri, 13 Nov 2020 12:18:24 +0000 (17:48 +0530)]
PDK-8305: Updated am64x evm board uart config to map to proper SoC instance

 - Removed the additional configurations done for UART and I2C for
   SoC domain switch which are not needed on AM64x

3 years agoSciclient: Fixes for the firmware boot applications
Piyali Goswami [Thu, 12 Nov 2020 11:11:03 +0000 (16:41 +0530)]
Sciclient: Fixes for the firmware boot applications

Fixes to add support firmware boot for J721e

Fixes: PDK-8579
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
3 years agoSciclient_firmware_boot: Update for the test case for the firmware boot
Piyali Goswami [Thu, 12 Nov 2020 10:41:50 +0000 (16:11 +0530)]
Sciclient_firmware_boot: Update for the test case for the firmware boot

Update for the Firmware boot test app to run on AM65x and J7200

Fixes: PDK-8602
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
3 years agoPDK-8578: Fix for sciclient_fw_test example
Piyali Goswami [Thu, 12 Nov 2020 05:12:47 +0000 (10:42 +0530)]
PDK-8578: Fix for sciclient_fw_test example

Fix for the example to run on J721e, J7200 and AM65xx

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
3 years agoPDK-8155: IPC examples: Call Sciclient_init before Sciserver_tirtosInit REL.CORESDK.07.01.00.36 REL.CORESDK.07.01.00.37 REL.CORESDK.07.01.00.38
Angela Stegmaier [Wed, 11 Nov 2020 21:30:34 +0000 (15:30 -0600)]
PDK-8155: IPC examples: Call Sciclient_init before Sciserver_tirtosInit

Sciclient_init should be called before Sciserver_tirtosInit in
the init sequence.

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
3 years agomcspi example fix for release mode
Prasad Konnur [Wed, 11 Nov 2020 06:42:29 +0000 (12:12 +0530)]
mcspi example fix for release mode

 - after adding sync between the master and slave delay required in
master app for the release binary to make sure the slave is ready before
master initiates the transfer.

Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
3 years ago[BugFix] PDK-7945: OSPI Flash Application failing on J721E REL.CORESDK.07.01.00.35
Prasad Konnur [Mon, 9 Nov 2020 07:31:53 +0000 (13:01 +0530)]
[BugFix] PDK-7945: OSPI Flash Application failing on J721E

fixed ospi rtos example for j721e

Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
3 years agobuild fixed for baremetal build
Prasad Konnur [Tue, 10 Nov 2020 05:49:58 +0000 (11:19 +0530)]
build fixed for baremetal build

Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
3 years agoSciclient: documentation and header update
Piyali Goswami [Mon, 9 Nov 2020 13:42:10 +0000 (19:12 +0530)]
Sciclient: documentation and header update

Update for the documentation and header

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
3 years agosdr_test: Update j721e linker file to not load to ATCM
Angela Stegmaier [Mon, 9 Nov 2020 22:30:49 +0000 (16:30 -0600)]
sdr_test: Update j721e linker file to not load to ATCM

This fixes issue observed when performing sbl mmcsd booting
of the sdr_test appimage.

Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
3 years agofixed mcspi example for j721e and j7200
Prasad Konnur [Wed, 28 Oct 2020 17:15:36 +0000 (22:45 +0530)]
fixed mcspi example for j721e and j7200

Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
3 years agoPDK-8495: QoS settings disabled for SBL boot
Sivaraj R [Sat, 7 Nov 2020 10:14:21 +0000 (15:44 +0530)]
PDK-8495: QoS settings disabled for SBL boot

- Enabled the QoS settings for Non-HS
- For HS issue, we can track this seperately
- Also used CSLR register write macro instead of
writel which was not using the volatile keyward for
reg access - but not sure if this caused any issues
- The R5F QOS is still disabled as this is causing the
DRU testcases to hang

Signed-off-by: Sivaraj R <sivaraj@ti.com>
3 years agoPDK-8569: Board: Updated Uniflash host tool to avoid platform dependency for sysfw...
M V Pratap Reddy [Mon, 9 Nov 2020 06:11:53 +0000 (11:41 +0530)]
PDK-8569: Board: Updated Uniflash host tool to avoid platform dependency for sysfw load

 - Uniflash host tool depends on the platform name in the Uniflash flash programmer
   binary file name to decide whether system firmware autoload is needed.
   This is causing the Uniflash host tool update for every new platform with system firmware dependency.
   Updated the host tool to load system firmware if the file exists in flash programmer folder
   instead of depending on the platform name.

3 years agoBoard: Added ospi phy tuning data binary file
M V Pratap Reddy [Mon, 9 Nov 2020 05:56:56 +0000 (11:26 +0530)]
Board: Added ospi phy tuning data binary file

3 years agoPDK-8567: Board: Fix for board flash open performance issue on j7200
M V Pratap Reddy [Mon, 9 Nov 2020 05:54:20 +0000 (11:24 +0530)]
PDK-8567: Board: Fix for board flash open performance issue on j7200

 - Board flash open function is taking more CPU cycles which is caused
   by flash register write to configure hybrid sector configuration.
   Updated the code to check for the default setting and write only
   if hybrid sector config needs a change.

3 years agoSysfw Public doc updates
Piyali Goswami [Mon, 9 Nov 2020 05:20:54 +0000 (10:50 +0530)]
Sysfw Public doc updates

Public docs update based on review feedback

Fixes: SYSFW-4215
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
3 years agoPDK-8305: Board: Updated am64x diag tests to map with proper driver instances REL.CORESDK.07.01.02.03 REL.CORESDK.07.01.02.04
M V Pratap Reddy [Fri, 6 Nov 2020 15:27:17 +0000 (20:57 +0530)]
PDK-8305: Board: Updated am64x diag tests to map with proper driver instances

3 years agoPDK-5118: Board: Enabled I2C init functions in am64x board library
M V Pratap Reddy [Fri, 6 Nov 2020 15:07:50 +0000 (20:37 +0530)]
PDK-5118: Board: Enabled I2C init functions in am64x board library

3 years agoAdded wwdt multicore back to build with lastcore change
Nicholas Chan [Thu, 5 Nov 2020 20:20:30 +0000 (14:20 -0600)]
Added wwdt multicore back to build with lastcore change

3 years agoPDK-8511: sciserver: set GTC to 200MHz
Sheng Zhao [Fri, 6 Nov 2020 20:36:14 +0000 (14:36 -0600)]
PDK-8511: sciserver: set GTC to 200MHz

This is a temporary hack. The SPL expects the GTC to be configured at
200MHz. Since the default GTC frequency is 250MHz, it needs to be
reconfigured to 200MHz to align with SPL.

Signed-off-by: Sheng Zhao <shengzhao@ti.com>
3 years ago[PDK-8391] UDMA UT : Fix issues with unit_testapp on J7200 mcu2_1 and mcu2_0
Don Dominic [Fri, 6 Nov 2020 11:21:02 +0000 (16:51 +0530)]
[PDK-8391] UDMA UT : Fix issues with unit_testapp on J7200 mcu2_1 and mcu2_0

- Update Linker File
- Else Test was stuck in Sciclient_Service in Sciclient_init

Signed-off-by: Don Dominic <a0486429@ti.com>
3 years agoPDK-8502: Board: Fix for Uniflash flash programmer failure in UART load mode
M V Pratap Reddy [Fri, 6 Nov 2020 09:07:51 +0000 (14:37 +0530)]
PDK-8502: Board: Fix for Uniflash flash programmer failure in UART load mode

 - Uniflash flash programmer is hanging in board init with latest sciclient
   driver due to dependency on system firmware.
   Updated the flash programmer init sequence to call board init after
   loading system firmware.
   DMA mode is not functional which is disabled in this update.

3 years ago[PDK-8515] UDMA UT : Enable MCU NAVSS HC Block Copy Testcases on J7200 mcu1_0
Don Dominic [Fri, 6 Nov 2020 06:56:11 +0000 (12:26 +0530)]
[PDK-8515] UDMA UT : Enable MCU NAVSS HC Block Copy Testcases on J7200 mcu1_0

- This change somehow got missed from 9b50f64b1208c54c7de3105f7027815bf77d120a

Signed-off-by: Don Dominic <a0486429@ti.com>
3 years agofixed mmcsd tests
Prasad Konnur [Fri, 6 Nov 2020 06:23:33 +0000 (11:53 +0530)]
fixed mmcsd tests

 - removed the mcu1_1 build for the mmcsd
 - fixed the mmcsd tests for mcu2_1 and mcu3_1 cores

Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
3 years ago[PDK-8515] UDMA UT : Enable HC Block Copy Testcases REL.CORESDK.07.01.00.34
Don Dominic [Thu, 5 Nov 2020 17:39:21 +0000 (23:09 +0530)]
[PDK-8515] UDMA UT : Enable HC Block Copy Testcases

- As per BoardCfg, there no HC Block Copy Channel assigned for any core.
- In this case, use the resource assigned for HC RX/TX channels
- to test various HC Block Copy testcases.
- This is with the assumption that, the range of this resources are same
- for both RX and TX High Capacity channels

- Also remove macors for START of resource, since its no longer used to override rm prms.

Signed-off-by: Don Dominic <a0486429@ti.com>
3 years ago[PDK-8492] RM : Regenerate boardCfg and Sciclient_ccs_init
Don Dominic [Thu, 5 Nov 2020 18:38:02 +0000 (00:08 +0530)]
[PDK-8492] RM : Regenerate boardCfg and Sciclient_ccs_init

- Was not on tip of rm_pal_hal while generated the binaries last time in commit 47856c4a40c531039165d8da2c292a725d579ba1
- Hence regenerating after rebasing to tip of rm_pm_hal

Signed-off-by: Don Dominic <a0486429@ti.com>
3 years agoSciclient debug build enabling
Piyali Goswami [Thu, 5 Nov 2020 16:54:51 +0000 (22:24 +0530)]
Sciclient debug build enabling

Sciclient debug linker file changes to enable build

Fixes: PDK-8440
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
3 years ago[Bug Fix]Fixed issue with I2C tests failing on Main Domain R5 Cores
Vivek Dhande [Thu, 5 Nov 2020 19:09:23 +0000 (00:39 +0530)]
[Bug Fix]Fixed issue with I2C tests failing on Main Domain R5 Cores

- Issue:
    - Tests fails on Main Domain MCU2_1 and MCU3_1 cores
- Root-cause:
    - Due to recent RM changes, interrupts reserved from Interrupt Routers for these core are changed
    - This was making TC time-out as no interrupts were triggered
- Resolution:
    - Assign interrupts as per new RM i.e. +128 for MCUx_1 cores from Main Domain

Signed-off-by: Vivek Dhande <a0132295@ti.com>
3 years agoUDMA UT: Enable Ring Monitor Testcases REL.CORESDK.07.01.00.33
Don Dominic [Thu, 5 Nov 2020 13:25:10 +0000 (18:55 +0530)]
UDMA UT: Enable Ring Monitor Testcases

Signed-off-by: Don Dominic <a0486429@ti.com>
3 years ago[PDK-8492] RM : Fix UDMA Ring Monitor Issues with mcu1_0
Don Dominic [Thu, 5 Nov 2020 13:04:59 +0000 (18:34 +0530)]
[PDK-8492] RM : Fix UDMA Ring Monitor Issues with mcu1_0

- Removed MCU NAVSS Ring monitor resource entry for mcu1_0 Non Secure context
- Updated for both  J721E and J7200

- The fixes the issues with Ring Monitor Config on mcu1_0
- SYSFW do not support multiple overlapping ranges in the RA monitor
  due to the limitation to support both the DM and DMSC to need to have access to the registers.
  So only one host can have exclusive access to the range of ring monitors.
- sysfw force the MCU1_0 to secure in the re-arch, so removing the non-secure and keep the secure.

Signed-off-by: Don Dominic <a0486429@ti.com>
3 years agoBoard: Diagnostic stress test update to resolve build issues
M V Pratap Reddy [Thu, 5 Nov 2020 12:32:49 +0000 (18:02 +0530)]
Board: Diagnostic stress test update to resolve build issues

3 years agoBoard: Disabled the macro PDK_RAW_BOOT for tpr12 evm diag release profile
M V Pratap Reddy [Thu, 5 Nov 2020 10:58:31 +0000 (16:28 +0530)]
Board: Disabled the macro PDK_RAW_BOOT for tpr12 evm diag release profile

 - PDK_RAW_BOOT is enabled for tpr12 during inital testing. Reverting it
   to default and release mode diag binaries should be tested with sbl boot flow.

3 years agoSciclient: CCS_Init application added cache options
Piyali Goswami [Thu, 5 Nov 2020 11:10:35 +0000 (16:40 +0530)]
Sciclient: CCS_Init application added cache options

Sciclient ccs init application updated with cache operations for writing the board config data
Fixes: PDK-8496
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
3 years agoedma: use CSL cache line size definitions and macros
Eric Ruei [Thu, 29 Oct 2020 17:48:56 +0000 (13:48 -0400)]
edma: use CSL cache line size definitions and macros

Replace local cache line size definitions and macros with the CSL ones

Signed-off-by: Eric Ruei <e-ruei1@ti.com>
3 years agoPDK-5002: Board: Updated the name for csirx diagnostic test
M V Pratap Reddy [Wed, 4 Nov 2020 03:02:42 +0000 (08:32 +0530)]
PDK-5002: Board: Updated the name for csirx diagnostic test

3 years ago[Bug Fix] PDK-8469: mcspi master test crashes in interrupt mode REL.CORESDK.07.01.00.32
Prasad Konnur [Wed, 4 Nov 2020 15:14:59 +0000 (20:44 +0530)]
[Bug Fix] PDK-8469: mcspi master test crashes in interrupt mode

Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
3 years agoMigrating to SYSFW version v2020.08b
Piyali Goswami [Wed, 4 Nov 2020 15:48:25 +0000 (21:18 +0530)]
Migrating to SYSFW version v2020.08b

Migrating to v2020.08b

3 years agosciserver: add sync semaphore to user message tasks
Sheng Zhao [Wed, 4 Nov 2020 02:46:08 +0000 (20:46 -0600)]
sciserver: add sync semaphore to user message tasks

A semaphore is added inside the high and low priority user message task.
It prevents the low priority task processing stale message response from
high priority task during message forwarding.

Both the high and low priority tasks can forward message to TIFS. But
DM2DMSC response path is shared. The reading of the RX thread in
Sciclient_serviceSecureProxy() is not protected by the critical section.

The DM's high priority task could forward a message to TIFS before low
priority reads the response. Then the high priority task processes the
response in the DM2DMSC rxThread. The issue occurs when the low priority
thread would process the same stale response message from high priority
task.

The sync semaphore serializes incoming messages to DM and prevents the
above scenario from occurring.

Fixes: PDK-8312 #integrate-and-build
Signed-off-by: Sheng Zhao <shengzhao@ti.com>
3 years agoPDK-7718: Board: Fix for hyperflash stability issue at higher clock
M V Pratap Reddy [Mon, 2 Nov 2020 16:33:31 +0000 (22:03 +0530)]
PDK-7718: Board: Fix for hyperflash stability issue at higher clock

 - Hyperflash operations are not stable at higher frequency on j7200 evm.
   Hyperbus datasheet recommends to enable the controller after clocks are stable.
   But hyperbus controller will be active while PLLs are being configured which is
   causing wrong MDLL code some times resulting data write failure.
   Resetting the hyperbus controller in board flash open to resync with PLL
   clocks configured.

3 years agoRevert "PDK-8311: Revert "[PDK-8145] Board: J721E DDR: Check-in Latest DDR Configurat...
Don Dominic [Wed, 4 Nov 2020 15:33:07 +0000 (21:03 +0530)]
Revert "PDK-8311: Revert "[PDK-8145] Board: J721E DDR: Check-in Latest DDR Configuration Revision: 0.5.0""

This reverts commit c7b7ae53965394168e68cf0e1726ff3326d93074.

- 4266 configuration is the tested and recommended settings for production sample
- RTOS and Linux DDR configuration should be in sync, and both will be using the 4266 settings
- The failures in some boards could be due to earlier engineering sample issues.

Signed-off-by: Don Dominic <a0486429@ti.com>
3 years agoFix for print for automation
Piyali Goswami [Wed, 4 Nov 2020 04:22:39 +0000 (09:52 +0530)]
Fix for print for automation

Fix for print for automation test to pass.

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
3 years agoPDK-8480: Sciserver: Fix linker cmd file for testapp REL.CORESDK.07.01.01.05
Jonathan Bergsagel [Tue, 3 Nov 2020 20:20:00 +0000 (14:20 -0600)]
PDK-8480: Sciserver: Fix linker cmd file for testapp

Solves problem of Sciserver starting properly on MCU1_0
by putting all key boot code & vectors into BTCM memory.
This allows test cases on remote cores to be paired with
the included sciserver_testapp RPRC images and provide a
working sciserver on MCU1_0 when booting apps from OSPI.

NOTE: solves multiple test case issues on J7200 & J721E.

Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
3 years agofixed mmcsd test for am65xx mcu core
Prasad Konnur [Tue, 3 Nov 2020 12:27:15 +0000 (17:57 +0530)]
fixed mmcsd test for am65xx mcu core

Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
3 years agoFixing OSPI issues on J7200
Aditya Wadhwa [Fri, 30 Oct 2020 19:57:20 +0000 (01:27 +0530)]
Fixing OSPI issues on J7200

Added necessary task params to fix BIOS start failure.
Disabled DAC DMA write and verify for J7200 since this is not supported.
Disabled interrupt mode in cases that are facing hangs.

Signed-off-by: Aditya Wadhwa <a0485151@ti.com>
3 years agoUpdates to TIFS binaries with fix from IA MAP in TIFS REL.CORESDK.07.01.00.31
Piyali Goswami [Tue, 3 Nov 2020 05:40:24 +0000 (11:10 +0530)]
Updates to TIFS binaries with fix from IA MAP in TIFS

Fix for IA MAP in TIFS during secure proxy setup

Fixes: SYSFW-4212
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
3 years agodiag: fix memory map to work with SBL
Badri S [Tue, 3 Nov 2020 08:58:08 +0000 (14:28 +0530)]
diag: fix memory map to work with SBL

fixed memory map of MIBSPI/HWA/Diag to
work with SBL as they were using custom
linker cmd file.Also SBL updated for
case where app image only loaded on DSP
and not R5

Signed-off-by: Badri S <badri@ti.com>
3 years agoPDK-8453: SBL: Boot performance app fix REL.CORESDK.07.01.02.02
Jonathan Bergsagel [Tue, 3 Nov 2020 00:25:03 +0000 (18:25 -0600)]
PDK-8453: SBL: Boot performance app fix

Fixes "sbl_boot_perf_test" for both J721E & J7200.

Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
3 years agoRevert "Fix SBL build fix for J721E"
Jonathan Bergsagel [Mon, 2 Nov 2020 21:54:20 +0000 (15:54 -0600)]
Revert "Fix SBL build fix for J721E"

This reverts commit 8334df9f4cc5fa826da3677e26572859e869602a.

Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
3 years agogpio/tpr12: Update GPIO example to work on TPR12 EVM REL.CORESDK.07.01.02.01
Badri S [Mon, 2 Nov 2020 08:11:45 +0000 (13:41 +0530)]
gpio/tpr12: Update GPIO example to work on TPR12 EVM

Updated the GPIO example to work on TPR12 EVM

Signed-off-by: Badri S <badri@ti.com>
3 years agodiag_csirx/tpr12: added frontend cfg binaries to packaging list REL.CORESDK.07.01.01.04
Badri S [Mon, 2 Nov 2020 07:17:40 +0000 (12:47 +0530)]
diag_csirx/tpr12: added frontend cfg binaries to packaging list

Added frontend cfg binaries to PKG_SRCS so that it packaged

Signed-off-by: Badri S <badri@ti.com>
3 years agosbl/tpr12: ROM certificate generation script ignore tmpfile not present
Badri S [Mon, 2 Nov 2020 05:51:55 +0000 (11:21 +0530)]
sbl/tpr12: ROM certificate generation script ignore tmpfile not present

Modified the ROM certificate signing script to ignore rm of temp file
if not present

Signed-off-by: Badri S <badri@ti.com>
3 years agoboard/tpr12: pinmux data for AWR2243 front end control from DSP
Badri S [Mon, 2 Nov 2020 03:05:25 +0000 (08:35 +0530)]
board/tpr12: pinmux data for AWR2243 front end control from DSP

Modified pnmux data so that default support is for AWR2243 front
end cfg from DSP instead of R5 which is the common usecase
This allows mmWaveSDK to run out of box with PDK without any
changes

Signed-off-by: Badri S <badri@ti.com>
3 years ago[PDK-8394] Bug fix for wrong delay value in edma ut
Badri S [Sun, 1 Nov 2020 17:30:11 +0000 (23:00 +0530)]
[PDK-8394] Bug fix for wrong delay value in edma ut

Osal_delay takes delay in ms in ti_rtos configuration
but in CPU cycles in baremetal configuration.The test
case was invoking Osal_delay with large values assuming
CPU cycles but results in huge delay in execution as it
is interpreted as ms delay.Setting delay value to min 1
which is sufficient. Osal_delay API has to be fixed so that
API behaviour is same for both baremetal and ti_rtos

Signed-off-by: Badri S <badri@ti.com>
3 years agodiag_csirx/tpr12: support for csirx diag on c66x and ti_rtos config
Badri S [Sun, 1 Nov 2020 17:15:45 +0000 (22:45 +0530)]
diag_csirx/tpr12: support for csirx diag on c66x and ti_rtos config

added frontend cfg for AWR2243 and added support for c66x build
and sysbios config. CSIRX on c66x works only in sysbios config
and not in baremetal config presently due to PDK-8403

Signed-off-by: Badri S <badri@ti.com>
3 years agoPDK-8437: Create Board init with limited module initializations for tpr12 REL.CORESDK.07.01.00.30
M V Pratap Reddy [Mon, 2 Nov 2020 03:32:35 +0000 (09:02 +0530)]
PDK-8437: Create Board init with limited module initializations for tpr12

 - This is for usage in the Radar applications which cannot integrate
   drivers like uart due to memory constraints.

3 years agoMigrating to SYSFW version v2020.08b
Piyali Goswami [Sat, 31 Oct 2020 19:35:46 +0000 (01:05 +0530)]
Migrating to SYSFW version v2020.08b

Migrating to SYSFW 2020.08b

3 years agoFixes for IRQ_RELEASE failing on the 2020.08a release
Piyali Goswami [Sat, 31 Oct 2020 18:56:40 +0000 (00:26 +0530)]
Fixes for IRQ_RELEASE failing on the 2020.08a release

Fixed IRQ_RELEASE to use the forwarding of messages for VINT clearning.

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
3 years agosbl: swap order of boardcfg
Stephen Molfetta [Thu, 29 Oct 2020 19:24:37 +0000 (14:24 -0500)]
sbl: swap order of boardcfg

Send security boardcfg prior to RM boardcfg. This is required for the
specified devgrp to ensure firewalls are in proper state for rm_pm_hal
to access the resources.

Signed-off-by: Stephen Molfetta <sjmolfetta@ti.com>
3 years agoMigrating to SYSFW version v2020.08a
Stephen Molfetta [Fri, 30 Oct 2020 02:24:34 +0000 (21:24 -0500)]
Migrating to SYSFW version v2020.08a

3 years agosciclient: Update RM boardcfg after TIFS processing
Stephen Molfetta [Thu, 29 Oct 2020 03:55:43 +0000 (22:55 -0500)]
sciclient: Update RM boardcfg after TIFS processing

In HS builds using unoptimized/development boot flows, RM boardcfg will
have a certificate prefix. TIFS will strip the certificate after
authentication and copy the boardcfg back in-place.

When returning for rm_pm_hal processing, adjustments to the RM boardcfg
request must be made:

- Invalidate the cache

- Adjust the length of the boardcfg request to compensate for the
  missing certificate

- If the certificate is not stripped (which would be the case if the
  signed RM boardcfg is sent a second time from an application), adjust
  the boardcfg pointer to pick up from the offset of the certificate

Signed-off-by: Stephen Molfetta <sjmolfetta@ti.com>
3 years agobuild: Update sciclient_direct_hs target
Stephen Molfetta [Thu, 29 Oct 2020 03:54:11 +0000 (22:54 -0500)]
build: Update sciclient_direct_hs target

Enable sciclient_direct_hs target build. Include this in hs sbl builds

Signed-off-by: Stephen Molfetta <sjmolfetta@ti.com>
3 years agosciclient: Fix for using board config type instead of index
Piyali Goswami [Fri, 30 Oct 2020 02:53:00 +0000 (08:23 +0530)]
sciclient: Fix for using board config type instead of index

Fix for board config type instead of index for the header left behind by SBL/SPL.

Fixes: PDK-8377
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
3 years agosciclient: sysfw migrate: update for correct j721e name
Stephen Molfetta [Fri, 30 Oct 2020 02:47:57 +0000 (21:47 -0500)]
sciclient: sysfw migrate: update for correct j721e name

Update j721e to remove no-pm-rm temporary binary name

Signed-off-by: Stephen Molfetta <sjmolfetta@ti.com>
3 years agoBoard: Updated tpr12 evm diagnostic test build configurations
M V Pratap Reddy [Sun, 1 Nov 2020 16:27:56 +0000 (21:57 +0530)]
Board: Updated tpr12 evm diagnostic test build configurations

 - Enabled app image creation
 - Enabled PDK_RAW_BOOT flag to allow running the release mode binaries
   from CCS/JTAG

3 years agoPDK-6959: Board: Updated board ID EEPROM diagnostic test for tpr12 evm
M V Pratap Reddy [Sun, 1 Nov 2020 16:26:25 +0000 (21:56 +0530)]
PDK-6959: Board: Updated board ID EEPROM diagnostic test for tpr12 evm

 - Board ID EEPROM changes verified on evm with valid board ID programmed

3 years ago[PDK-8402] OSAL UT: J721E: Fix OSAL_TestApp issue in OSAL_timer_test on mcu1_0 with SBL
Don Dominic [Fri, 30 Oct 2020 18:12:07 +0000 (23:42 +0530)]
[PDK-8402] OSAL UT: J721E: Fix OSAL_TestApp issue in OSAL_timer_test on mcu1_0 with SBL

- Use MCU_TIMER_2 when running on mcu1_0 with Sys BIOS
- TimerP_ANY in Sys BIOS will allocate MCU Timer 0 which was used by SBL and remains at Smart-idle wake-up-capable mod with Emulation mode set 1( The timer runs free, regardless of PINSUSPENDN value.)
  - Hene TimerP_Create with default timer 0 in UT was crashing
- MCU Timer 1 is used by sysbios on mcu1_0
- UT works fine with MCU Timer 2; Added in board_clock.c to enable the timer.

Signed-off-by: Don Dominic <a0486429@ti.com>
3 years agoPDK-5002: Board: Diabled board PLL config in csirx diag REL.CORESDK.07.01.01.03
M V Pratap Reddy [Sat, 31 Oct 2020 07:05:08 +0000 (12:35 +0530)]
PDK-5002: Board: Diabled board PLL config in csirx diag

3 years agoPDK-6963: Board: Updated tpr12 pinmux config file
M V Pratap Reddy [Sat, 31 Oct 2020 06:22:51 +0000 (11:52 +0530)]
PDK-6963: Board: Updated tpr12 pinmux config file

3 years agoPDK-6956: Updated logs for tpr12 evm qspi stress test REL.CORESDK.07.01.01.02
M V Pratap Reddy [Sat, 31 Oct 2020 05:48:20 +0000 (11:18 +0530)]
PDK-6956: Updated logs for tpr12 evm qspi stress test

3 years agoPDK-5015: Board: Updated gpio configuration for tpr12 expansion header test
M V Pratap Reddy [Sat, 31 Oct 2020 05:46:46 +0000 (11:16 +0530)]
PDK-5015: Board: Updated gpio configuration for tpr12 expansion header test

3 years agoPDK-6963: Board: Fix for tpr12 board pll crash issue
M V Pratap Reddy [Sat, 31 Oct 2020 05:42:25 +0000 (11:12 +0530)]
PDK-6963: Board: Fix for tpr12 board pll crash issue

3 years agotpr12: undo changes that affect other SOC and made changes TPR12 specific REL.CORESDK.07.01.01.01
Badri S [Fri, 30 Oct 2020 13:22:22 +0000 (18:52 +0530)]
tpr12: undo changes that affect other SOC and made changes TPR12 specific

Common code affecting multiple SoC was modified during TPR12 bringup
The changes are reverted to not affect other SoCs and changes required
for TPR12 are added under SoC specific defines

Signed-off-by: Badri S <badri@ti.com>
3 years agoqspi/tpr12: Undo changes to qspi_flash_test for file flash write
Badri S [Fri, 30 Oct 2020 12:06:02 +0000 (17:36 +0530)]
qspi/tpr12: Undo changes to qspi_flash_test for file flash write

Undo TPR12 specific changes to QSPI flash test to allow
file write to flash from CCS. This is moved to a separate app
now

Signed-off-by: Badri S <badri@ti.com>
3 years agoqspi/tpr12: add ccs based flash writer from file app
Badri S [Fri, 30 Oct 2020 11:53:21 +0000 (17:23 +0530)]
qspi/tpr12: add ccs based flash writer from file app

qspi example to write to qspi flash from file , read
back contents in DMA mode and verify.Used temporarily
till uniflash support is available on TPR12 for
flashing binaries to sflash

Signed-off-by: Badri S <badri@ti.com>
3 years agosbl/tpr12: added GP device degenerate key for SBL certificate to PDK
Badri S [Fri, 30 Oct 2020 09:01:29 +0000 (14:31 +0530)]
sbl/tpr12: added GP device degenerate key for SBL certificate to PDK

To enable SBL certificate generation without ROM mmWaveBootTest
repo which had the gpKey.pem added the GP device degenrate key to
PDK repo

Signed-off-by: Badri S <badri@ti.com>
3 years agouniflash/tpr12: Add support for ROM flow
Badri S [Fri, 30 Oct 2020 00:48:42 +0000 (06:18 +0530)]
uniflash/tpr12: Add support for ROM flow

Uniflash target binary support for load by
TPR12 ROM

Signed-off-by: Badri S <badri@ti.com>
3 years agoqspi/tpr12: bug fixes for DMA mode support
Badri S [Wed, 28 Oct 2020 23:02:54 +0000 (04:32 +0530)]
qspi/tpr12: bug fixes for DMA mode support

Bug fix for DMA mode support for QSPI and
resolve the SoC reset when SBL runs in
release mode

Signed-off-by: Badri S <badri@ti.com>
3 years agotpr12: mmwaveLink integration fixes
Kamath [Fri, 16 Oct 2020 09:13:13 +0000 (14:43 +0530)]
tpr12: mmwaveLink integration fixes

Signed-off-by: Kamath <r-kamath@ti.com>
3 years agosbl: tpr12 fixes for Soc reset in release mode
Badri S [Fri, 23 Oct 2020 07:56:58 +0000 (13:26 +0530)]
sbl: tpr12 fixes for Soc reset in release mode

Fixes for TPR12 SoC reset when SBL executed with
ROM flow in release mode for UART boot
Changes for modified giga device flash
part for TPR12 EVM compatible with ROM

Signed-off-by: Badri S <badri@ti.com>
3 years agotpr12: fixes when testing SBL QSPI mode on TPR12 EVM
Badri S [Fri, 16 Oct 2020 11:02:02 +0000 (16:32 +0530)]
tpr12: fixes when testing SBL QSPI mode on TPR12 EVM

misc fixes for issues found when enabling SBL QSPI mode
on TPR12 EVM

Signed-off-by: Badri S <badri@ti.com>
3 years agosbl/tpr12: added qspi test to write from file to flash
Badri S [Tue, 13 Oct 2020 07:04:48 +0000 (12:34 +0530)]
sbl/tpr12: added qspi test to write from file to flash

to test SBL QSPI in absense of uniflash tool temp added
qspi test option to read file via CCS and write to
serial flash

Signed-off-by: Badri S <badri@ti.com>
3 years agoadded sync using the hw spare register
Prasad Konnur [Wed, 7 Oct 2020 15:52:59 +0000 (21:22 +0530)]
added sync using the hw spare register

Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
3 years agoBoard: Updated tpr12 evm board flash library
M V Pratap Reddy [Fri, 9 Oct 2020 11:40:30 +0000 (17:10 +0530)]
Board: Updated tpr12 evm board flash library

3 years agosbl/tpr12: Support timeout for UART SBL mode
Badri S [Sun, 11 Oct 2020 13:38:54 +0000 (19:08 +0530)]
sbl/tpr12: Support timeout for UART SBL mode

Support timeout for UART SBL mode for TPR12.
Also move the module clock init out of SBL lib
to SBL image and moved it board folder

Signed-off-by: Badri S <badri@ti.com>
3 years agomailbox/tpr12: fix for mailmox msg app to work with SBL
Badri S [Wed, 7 Oct 2020 11:55:03 +0000 (17:25 +0530)]
mailbox/tpr12: fix for mailmox msg app to work with SBL

Fix sequencing issue in mailbox app where remote core
mailbox clears mailbox interrupt and msg ram on open
resulting in msg lost. So modified application to
rewrite msg if write timeout

Signed-off-by: Badri S <badri@ti.com>