]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/pdk.git/log
processor-sdk/pdk.git
19 months agoImplemented the changes from am57x
Potluri Krishna [Fri, 8 Oct 2021 13:41:58 +0000 (19:11 +0530)]
Implemented the changes from am57x

19 months agoUpdating c7x Compiler to 2.0.0.STS release
Ankur [Mon, 25 Oct 2021 09:15:09 +0000 (14:45 +0530)]
Updating c7x Compiler to 2.0.0.STS release

Signed-off-by: Ankur <a0132173@ti.com>
19 months ago[PDK-7608] IPC: Disable Mailbox Interrupt before registering OSAL Interrupt
Don Dominic [Mon, 25 Oct 2021 08:42:03 +0000 (14:12 +0530)]
[PDK-7608] IPC: Disable Mailbox Interrupt before registering OSAL Interrupt

- disable the mailbox interrupt (from previous runs)
- This allows IPC to restart fine after Core rest

Signed-off-by: Don Dominic <a0486429@ti.com>
19 months ago[PDK-10524] IPC: Reset Global variables to allow IPC task to be restarted
Don Dominic [Mon, 25 Oct 2021 08:39:47 +0000 (14:09 +0530)]
[PDK-10524] IPC: Reset Global variables to allow IPC task to be restarted

- reset global variables to allow IPC task to be restarted
- And IPC can be re-attached to remote cores.
- This is done during Ipc_initVirtIO

Signed-off-by: Don Dominic <a0486429@ti.com>
19 months agoIPC: Fix IPC Echo Test Crash on C7x_1
Don Dominic [Mon, 25 Oct 2021 08:38:42 +0000 (14:08 +0530)]
IPC: Fix IPC Echo Test Crash on C7x_1

- Initialize vrTranslationTable.count to 0
- This is used to translate address
- When not initialized to zero, address may go out of range and can cause unexpected behavior
  This caused crash in c7x_1 after compiler migration

Signed-off-by: Don Dominic <a0486429@ti.com>
19 months ago[Build Fix]
Vivek Dhande [Wed, 20 Oct 2021 03:23:23 +0000 (08:53 +0530)]
[Build Fix]

Signed-off-by: Vivek Dhande <a0132295@ti.com>
19 months ago[Build Fix]Am65xx
Vivek Dhande [Tue, 19 Oct 2021 17:49:55 +0000 (23:19 +0530)]
[Build Fix]Am65xx

Signed-off-by: Vivek Dhande <a0132295@ti.com>
19 months ago[Build Fix]
Vivek Dhande [Tue, 19 Oct 2021 14:29:47 +0000 (19:59 +0530)]
[Build Fix]

Signed-off-by: Vivek Dhande <a0132295@ti.com>
19 months agoUnitls copy packaging fix for AM65
Ankur [Tue, 19 Oct 2021 12:54:45 +0000 (18:24 +0530)]
Unitls copy packaging fix for AM65

Signed-off-by: Ankur <a0132173@ti.com>
19 months agoDiabling few more Nimu lib for AM65
Ankur [Tue, 19 Oct 2021 11:36:26 +0000 (17:06 +0530)]
Diabling few more Nimu lib for AM65

Signed-off-by: Ankur <a0132173@ti.com>
19 months agoDisabling the nimu_icss for AM65 as this is not supported for 08.01.00 release
Ankur [Tue, 19 Oct 2021 06:54:59 +0000 (12:24 +0530)]
Disabling the nimu_icss for AM65 as this is not supported for 08.01.00 release

Signed-off-by: Ankur <a0132173@ti.com>
19 months ago[Build Fix]
Vivek Dhande [Mon, 18 Oct 2021 16:56:31 +0000 (22:26 +0530)]
[Build Fix]

Signed-off-by: Vivek Dhande <a0132295@ti.com>
19 months agoBuild fix for SBL
Ankur [Mon, 18 Oct 2021 15:17:21 +0000 (20:47 +0530)]
Build fix for SBL

Signed-off-by: Ankur <a0132173@ti.com>
19 months ago[Build Fix]
Vivek Dhande [Mon, 18 Oct 2021 05:28:04 +0000 (10:58 +0530)]
[Build Fix]

Signed-off-by: Vivek Dhande <a0132295@ti.com>
19 months agoBuild Fix
Ankur [Sun, 17 Oct 2021 06:59:36 +0000 (12:29 +0530)]
Build Fix

Signed-off-by: Ankur <a0132173@ti.com>
19 months agoC7x: Update to TI CGT C7000 2.0.0A21260
Don Dominic [Sat, 16 Oct 2021 11:29:49 +0000 (16:59 +0530)]
C7x: Update to TI CGT C7000 2.0.0A21260

- Update CGT_C7X_VERSION in pdk_tools_path.mk to 2.0.0A21260

- Makefile Updates to support Silicon Version 7120 along with 7100
  - Add new variable SI_VER defined in platform.mk
    - 7100 fro j721e
    - 7120 for j721s2
  - SI_VER variable used in rules_71.mk to support both silicon versions
  - Add --silicon_errata_i2117 to CFLAGS in case of Si Version 7100
  - rules_c7x-hostemu.mk to define -D__C7100__/D__C7120__ based on SI_VER

Signed-off-by: Don Dominic <a0486429@ti.com>
19 months agolwip: Move lwIP port layer from Enet LLD
Misael Lopez Cruz [Fri, 15 Oct 2021 15:50:44 +0000 (10:50 -0500)]
lwip: Move lwIP port layer from Enet LLD

TI-RTOS and FreeRTOS ports of lwIP are agnostic of the LLD, so they are
being relocated to lwip/ directory where lwip-stack and lwip-contrib
are hosted.

Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
19 months agoupdated the component .mk files for nimu and usb driver to generate app images
Potluri Krishna [Thu, 14 Oct 2021 15:32:14 +0000 (21:02 +0530)]
updated the component .mk files for nimu and usb driver to generate app images

19 months ago[TI Clang Migration][Phase 5]
Vivek Dhande [Thu, 30 Sep 2021 10:50:49 +0000 (16:20 +0530)]
[TI Clang Migration][Phase 5]

[TI Clang Migration][Build]Porting + Build Fix

- Switched from '-O3' to '-Oz' optimization level to reduce code size
- Some applications on mcu1_0 were not able to fit into OCMCRAM due to increase in code size because of '-O3'
- Added option to chose between '-O3' and '-Oz'

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[TI Clang Migration][IPC]Porting + Build Fix

- Re-enabled freeRTOS for TIRTOS as this is supported on other cores
- Fixed IPC multi-core app build

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[TI Clang Migration][Fixed Review Comments][IPC]

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[TI Clang Migration][SafeRTOS]Disabled build for safeRTOS

- This is not ported yet by WHIS team

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[TI Clang Migration][Compile Warnings Fixed]Removed '.asmfunc' and '.endasmfunc' to fix compiler warnings

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[TI Clang Migration][Link Warnings Fixed]warning: entry-point symbol other than "_c_int00" specified:

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[TI Clang Migration][Sci-client]Fixed issue with sci-server testApp

- Fixed miss-aligned caused due to misplaced sections 'OCMC_RAM_X509_HEADER1' and 'OCMC_RAM_X509_HEADER2'

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[TI Clang Migration] Re-enable lwIP in makefile

Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
[TI Clang Migration][Build options]Updated build option after aligning with Compiler team

- Added '-O1' option for debug build
- Checked in new ccs init and sci-server testapp bins

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[TI Clang Migration][Build Fix]Disabled Sci-server testapp for debug build to unblock Jenkins

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[TI Clang Migration][Build Fix]Fixed warning while compiling assembly file

- Enabled sci-server testapp for both debug and release mode
- Updated sci-server testapp linker command file

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[TI Clang Migration][Build Fix]

Signed-off-by: Vivek Dhande <a0132295@ti.com>
19 months ago[TI Clang Migration][Phase 4]AM65xx and J7200 porting
Vivek Dhande [Thu, 23 Sep 2021 11:00:45 +0000 (16:30 +0530)]
[TI Clang Migration][Phase 4]AM65xx and J7200 porting

[TI Clang Migration][Sci-client]Build Fix

- Linker command file changes

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[J7200][TI Clang Migration][Board]Porting + Build Fix

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[J7200][TI Clang Migration][PCIe]Porting + Build Fix

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[J7200][TI Clang Migration][Build]Porting + Build Fix

- Disabled mcu2_0 and mcu2_1 cores for TIRTOS/SYSBIOS

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[J7200][TI Clang Migration][LWIP/EMAC]Porting + Build Fix

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[J7200][TI Clang Migration][IPC]Porting + Build Fix

- Updated for TIRTOS apps build

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[AM65xx][TI Clang Migration][Board]Porting + Build Fix

- Disabled EMAC related Diag tests

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[AM65xx][TI Clang Migration][PCIe]Porting + Build Fix

- Removed <module>_profile libs due to PDK utils issue

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[AM65xx][TI Clang Migration][USB]Porting + Build Fix

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[J7200][TI Clang Migration][SBL]One minor linker command file change

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[AM65xx][TI Clang Migration][Diag/SDR]Porting + Build Fix

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[AM65xx][TI Clang Migration][FREERTOS]Porting + Build Fix

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[AM65xx][TI Clang Migration][NIMU]Disabled NIMU as it is only supported on TIRTOS

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[AM65xx][TI Clang Migration][EMAC]Disabled EMAC as it is only supported on TIRTOS

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[AM65xx][TI Clang Migration][SBL]Minot Linker Command update

Signed-off-by: Vivek Dhande <a0132295@ti.com>
19 months ago[TI Clang Migration][Phase 3]
Vivek Dhande [Tue, 21 Sep 2021 18:42:24 +0000 (00:12 +0530)]
[TI Clang Migration][Phase 3]

[TI Clang Migration][FATFS]Porting to Clang

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[TI Clang Migration][PDK Utils][FATFS]Disabled PDK Utils based libs/apps

- disabling this as entry/exit hook arguments are not supported by clang

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[TI Clang Migration][FreeRTOS]Disabled C99 build as it does not supprot 'asm()'

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[TI Clang Migration][OSAL]Porting to Clang

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[TI Clang Migration][PDK Utils][OSAL]Disabled PDK Utils based libs/apps

- disabling this as entry/exit hook arguments are not supported by clang
- disabling mcu build for TIRTOS

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[TI Clang Migration][Transport]Porting to Clang

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[TI Clang Migration][PDK Utils][Transport]Disabled PDK Utils based libs/apps
- Disabled NIMU as it is only built for TIRTOS

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[TI Clang Migration][PDK Utils]Disabled PDK Utils based libs/apps
- disabling this as entry/exit hook arguments are not supported by clang

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[TI Clang Migration]Porting to Clang

- Added '*.d' and '*.o' for ignoring these compiler generated files

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[TI Clang Migration][Sci-client]Porting to Clang

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[Keywriter]Disabled application for TI Clang Migration, for build fix

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[TI Clang Migration][Keywriter]

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[TI Clang Migration][SBL]Porting to Clang patch-3

- Fixed mcu1_0, mcu1_1 builds

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[TI Clang Migration][SBL]Porting to Clang patch-4

- Fixed mcu1_0, mcu1_1 builds: increased MSMC3 memory size

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[TI Clang Migration][Sci-client]Porting to Clang

Signed-off-by: Vivek Dhande <a0132295@ti.com>
19 months ago[TI Clang Migration][Phase 2]
Vivek Dhande [Tue, 21 Sep 2021 18:15:09 +0000 (23:45 +0530)]
[TI Clang Migration][Phase 2]

[TI Clang Migration][PDK Utils][DSS]Disabled PDK Utils based libs/apps

- disabling this as entry/exit hook arguments are not supported by clang

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[TI Clang Migration][PDK Utils][EMAC]Disabled PDK Utils based libs/apps

- disabling this as entry/exit hook arguments are not supported by clang

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[TI Clang Migration][McASP]Porting to Clang

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[TI Clang Migration][PDK Utils][McASP]Disabled PDK Utils based libs/apps

- disabling this as entry/exit hook arguments are not supported by clang

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[PDK-9554][TI CLANG Migration] R5 Drivers Updates and Testing: MMCSD

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[TI Clang Migration][PDK Utils][MMCSD]Disabled PDK Utils based libs/apps

- disabling this as entry/exit hook arguments are not supported by clang
Signed-off-by: Vivek Dhande <a0132295@ti.com>
[TI Clang Migration][PDK Utils][PRUSS]Disabled PDK Utils based libs/apps

- disabling this as entry/exit hook arguments are not supported by clang

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[TI Clang Migration][Sci-Sclient]Porting to Clang

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[PDK-9556][TI CLANG Migration] R5 Drivers Updates and Testing: SPI

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[TI Clang Migration][PDK Utils][SPI]Disabled PDK Utils based libs/apps

- disabling this as entry/exit hook arguments are not supported by clang

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[PDK-9554][TI CLANG Migration] R5 Drivers Updates and Testing: UART

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[TI Clang Migration][PDK Utils][UART]Disabled PDK Utils based libs/apps

- disabling this as entry/exit hook arguments are not supported by clang

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[PDK-9552][TI CLANG Migration] R5 Drivers Updates and Testing: UDMA

Signed-off-by: Vivek Dhande <a0132295@ti.com>
19 months ago[TI Clang Migration][Phase 1]
Vivek Dhande [Thu, 29 Jul 2021 16:47:18 +0000 (22:17 +0530)]
[TI Clang Migration][Phase 1]

[TI CLANG Migration][PDK-9370]Enable build for R5 core

- Initial commit to port compiler to TI CLNAG
- able to compile few files/.asm

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[TI CLANG Migration]After compiling 'csl' with some warnings suppressed

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[TI CLANG Migration][PDK-9551]OSAL updates

- This commit also includes some changes for build, board, sciclient, GPIO and UART

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[TI CLANG Migration][OSAL][SBL][Board]

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[TI Clang Migration][PDK-9370][PDK-9550][PDK-9551]

- Additional OSAL changes
- freeRTOS changes
- Liker command file changes for freeRTOS

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[TI CLANG Migration][PDK-9554] DSS Driver changes - Patch 2

- OSAL changes for TIRTOS
    - these are enough as auto-generated files by XDS tools also throws errors
- includes '.gitignore' changes to ignore '*.d', '*.o'

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[PDK-9555][TI CLANG Migration] R5 Drivers Updates and Testing: IPC, VISS, LDC, NF, SDE, MSC, DOF: Patch-1

- IPC driver changes
- Additional warnings ignored

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[TI Clang Migration][Board]Porting to Clang

- increased OCMC memory size to 1MB for J721E for /packages/ti/board/utils/uniflash/target/soc/k3/linker_j7.cmd

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[TI Clang Migration][SBL]Porting to Clang

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[TI Clang Migration][SBL]Porting to Clang patch-2

- Increased memory section size for SBL OCM section, took the extra space from reserved 'OCMRAM_SBL_RESERVED_CUST_BOOT' section
- check if this is OK?

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[TI Clang Migration][Build]Added options for additional warning suppression

Signed-off-by: Vivek Dhande <a0132295@ti.com>
[TI Clang Migration][Build]Disabled mcu core for TIRTOS build

- Disabled NIMU as it is only built for TIRTOS

Signed-off-by: Vivek Dhande <a0132295@ti.com>
19 months agoLPM: Add docs/ folder
Aditya Wadhwa [Tue, 12 Oct 2021 07:19:41 +0000 (12:49 +0530)]
LPM: Add docs/ folder

Signed-off-by: Aditya Wadhwa <a0485151@ti.com>
19 months agoChanging sbl_component.mk as per comment
Parth Nagpal [Tue, 5 Oct 2021 11:32:18 +0000 (17:02 +0530)]
Changing sbl_component.mk as per comment

19 months agosbl_cust_img not booting mcu1_1
Parth Nagpal [Tue, 14 Sep 2021 13:54:17 +0000 (19:24 +0530)]
sbl_cust_img not booting mcu1_1
Issue is fixed by removing SBL_SKIP_MCU_RESET flag

Signed-off-by: Parth Nagpal <x1080849@ti.com>
Changes for turning off rti module
RTI module turned off for AM65xx when SBL_SKIP_MCU_RESET is defined

Signed-off-by: Parth Nagpal <x1080849@ti.com>
19 months agoupdating the core list to mcu1_0 for enet icssg diag test
Potluri Krishna [Wed, 13 Oct 2021 10:09:36 +0000 (15:39 +0530)]
updating the core list to mcu1_0 for enet icssg diag test

19 months agoDiabling enetIcssg due to build error
Ankur [Wed, 13 Oct 2021 04:09:30 +0000 (09:39 +0530)]
Diabling enetIcssg due to build error

Signed-off-by: Ankur <a0132173@ti.com>
19 months agoupdating the size of tx and rx frames inside memset
Potluri Krishna [Tue, 12 Oct 2021 16:13:52 +0000 (21:43 +0530)]
updating the size of tx and rx frames inside memset

19 months agoDiable LPM due to build issue
Ankur [Mon, 11 Oct 2021 20:03:41 +0000 (01:33 +0530)]
Diable LPM due to build issue

Signed-off-by: Ankur <a0132173@ti.com>
19 months agoLPM: Function and variable name fixes
Aditya Wadhwa [Mon, 11 Oct 2021 16:53:33 +0000 (22:23 +0530)]
LPM: Function and variable name fixes

Signed-off-by: Aditya Wadhwa <a0485151@ti.com>
19 months ago[PDK-10305][PDK-10306][PDK-10331][PDK-10516][PDK-10532] LPM Library Fixes
Aditya Wadhwa [Fri, 8 Oct 2021 18:50:37 +0000 (00:20 +0530)]
[PDK-10305][PDK-10306][PDK-10331][PDK-10516][PDK-10532] LPM Library Fixes

- updated API names in compliance with doxygen
- added API comments for doxygen documentation
- removed lpm from PDK_COMMON_COMP
- added a gitignore file
- reomoved usage of pmic_ut_common
- used TimerP instead of local implementation

Signed-off-by: Aditya Wadhwa <a0485151@ti.com>
19 months agoMigrating to SYSFW version v2021.09
Don Dominic [Mon, 11 Oct 2021 10:19:19 +0000 (15:49 +0530)]
Migrating to SYSFW version v2021.09

Signed-off-by: Don Dominic <a0486429@ti.com>
19 months agosciclient: Update osal_delay definition for rm_pm_hal
Stephen Molfetta [Mon, 11 Oct 2021 03:13:16 +0000 (22:13 -0500)]
sciclient: Update osal_delay definition for rm_pm_hal

Recent update to rm_pm_hal and interface for osal clock functions
removed static inline definition of osal_delay.

Instead of keeping static inline function defined in the header, break
out the osal callout dependencies from rm_pm_hal to PDK through a
dedicated osal glue layer to resolve the interface compatibilities
between both osal definitions.

Signed-off-by: Stephen Molfetta <sjmolfetta@ti.com>
19 months agochanged the test name and corresponding file names from icssg_enet to enet_icssg
Potluri Krishna [Wed, 6 Oct 2021 13:13:31 +0000 (18:43 +0530)]
changed the test name and corresponding file names from icssg_enet to enet_icssg

19 months agoPDK-9596: Migrated ICSSG EMAC test to ENET LLD
M V Pratap Reddy [Fri, 16 Jul 2021 06:31:24 +0000 (12:01 +0530)]
PDK-9596: Migrated ICSSG EMAC test to ENET LLD

Adding the updated code for icssg with enet lld
New folder for board diag enet lld created

Signed-off-by: Parth Nagpal <x1080849@ti.com>
ICSSG Enet LLD
Tested code with multiple ports
Signed-off-by: Parth Nagpal <x1080849@ti.com>
Iterations updated for open and close port
Port is opened and closed every iteration
Signed-off-by: Parth Nagpal <x1080849@ti.com>
support added for building on evm

TX and RX flags replaced with corresponding semaphores, log format updated

19 months agolpm:fix packaging issue
Badri S [Fri, 8 Oct 2021 19:40:32 +0000 (01:10 +0530)]
lpm:fix packaging issue

Signed-off-by: Badri S <badri@ti.com>
19 months agofreertos_c7x: remove clec secure claim clearing out of OS_init
Badri S [Fri, 8 Oct 2021 15:39:32 +0000 (21:09 +0530)]
freertos_c7x: remove clec secure claim clearing out of OS_init

clecl secure claim clearning should not be in OS_init.
It should be done in secure supervisor mode in InitMmu callback
Updated the IPC example to invoke OsalCfgClecAccessCtrl(false)
from its custom mmu function

Signed-off-by: Badri S <badri@ti.com>
19 months agofreertos_c7x: changed the dmtimer allocation for c7x core
Badri S [Thu, 7 Oct 2021 14:24:21 +0000 (19:54 +0530)]
freertos_c7x: changed the dmtimer allocation for c7x core

changed dmtimer assignemnt for c7x_1 core and changed
the timer interrupt as pulse to resolve the dmtimer
dual interrupt issue

Signed-off-by: Badri S <badri@ti.com>
19 months agosciclient: Fix dependencies from latest rm_pm_hal change
Stephen Molfetta [Fri, 8 Oct 2021 15:49:55 +0000 (10:49 -0500)]
sciclient: Fix dependencies from latest rm_pm_hal change

Recent rm_pm_hal change refactored some header file dependencies. Update
sciclient to account for these changes.

Signed-off-by: Stephen Molfetta <sjmolfetta@ti.com>
19 months agoPCIe Sample Example not working with mpu
Parth Nagpal [Thu, 7 Oct 2021 11:31:25 +0000 (17:01 +0530)]
PCIe Sample Example not working with mpu
Removing console printf as test hangs there

Signed-off-by: Parth Nagpal <x1080849@ti.com>
19 months agomoved the starting address of DDR0 region of mpu by 0x8000000
Potluri Krishna [Thu, 7 Oct 2021 14:43:10 +0000 (20:13 +0530)]
moved the starting address of DDR0 region of mpu by 0x8000000

19 months agoadded the missing modifications to .h file and makefile
Potluri Krishna [Thu, 7 Oct 2021 10:06:36 +0000 (15:36 +0530)]
added the missing modifications to .h file and makefile

19 months agoLPM Library Development
Aditya Wadhwa [Wed, 6 Oct 2021 18:36:56 +0000 (00:06 +0530)]
LPM Library Development

- put the sequence in a loop
- addressed PR review comments

Signed-off-by: Aditya Wadhwa <a0485151@ti.com>
19 months agoMoved the LPM library to drv folder
Aditya Wadhwa [Fri, 1 Oct 2021 15:18:54 +0000 (20:48 +0530)]
Moved the LPM library to drv folder

Signed-off-by: Aditya Wadhwa <a0485151@ti.com>
19 months agoGo to MCU only mode from ACTIVE mode
Karan Saxena [Fri, 24 Sep 2021 12:37:26 +0000 (18:07 +0530)]
Go to MCU only mode from ACTIVE mode

- Validated trasition ACTIVE -> MCU -> ACTIVE -> MCU -> ACTIVE
- PMIC drv has some issues, using i2c calls for now

Signed-off-by: Karan Saxena <karan@ti.com>
19 months agoPDK-10536: SBL: Release MCU1_0 before jumping to app while skipping MCU reset
Karan Saxena [Thu, 16 Sep 2021 10:24:09 +0000 (15:54 +0530)]
PDK-10536: SBL: Release MCU1_0 before jumping to app while skipping MCU reset

- In case of booting Linux from CUST SBL by skipping reset of MCU R5 then
  Linux is not able to attach to MCU R5 in IPC-only mode as the MCU1_0 is not
  released by the SBL.

- The SBL should call TISCI_MSG_PROC_RELEASE in the case where MCU reset is
  skipped i.e. SBL_SKIP_MCU_RESET  is defined.

- A clean release from SBL running on MCU1_0 will mean that A72 running Linux
  can call TISCI_MSG_PROC_REQUEST and attach in IPC-only mode. This will enable
  IPC between MCU R5 and A72.

Signed-off-by: Karan Saxena <karan@ti.com>
19 months agoLPM Library Development
Aditya Wadhwa [Mon, 20 Sep 2021 10:33:18 +0000 (16:03 +0530)]
LPM Library Development

        - Added VTM temp sensor disabling API
- Copyright year fixes

Signed-off-by: Aditya Wadhwa <a0485151@ti.com>
19 months agoLPM Library Development
Aditya Wadhwa [Fri, 17 Sep 2021 12:43:04 +0000 (18:13 +0530)]
LPM Library Development

    - Example running successfully

Signed-off-by: Aditya Wadhwa <a0485151@ti.com>
19 months agoLPM Library Development
Aditya Wadhwa [Thu, 16 Sep 2021 12:27:13 +0000 (17:57 +0530)]
LPM Library Development

- Example building successfully

Signed-off-by: Aditya Wadhwa <a0485151@ti.com>
19 months agotypecast for volatile variable added inside memset function
Potluri Krishna [Wed, 6 Oct 2021 10:50:28 +0000 (16:20 +0530)]
typecast for volatile variable added inside memset function

19 months agoAdded API for setting pinmux from example apps
Parth Nagpal [Mon, 27 Sep 2021 06:19:19 +0000 (11:49 +0530)]
Added API for setting pinmux from example apps
Added API to allow example apps to set their own pinmux.

Signed-off-by: Parth Nagpal <x1080849@ti.com>
19 months agoFixed PDK-10698:[FreeRTOS] Interrupt priority cannot be set
Brijesh Jadav [Tue, 5 Oct 2021 04:39:44 +0000 (10:09 +0530)]
Fixed PDK-10698:[FreeRTOS] Interrupt priority cannot be set

Interrupt priorities are set only in the Intc_IntRegister register, but
in the current code, priority is updated after this API call.
Moved priority setting before this API call.
Also updated error checks.

Signed-off-by: Brijesh Jadav <brijesh.jadav@ti.com>
19 months agoc7x freertos: udma ut custom lnk cmd file
Badri S [Sat, 2 Oct 2021 08:13:10 +0000 (13:43 +0530)]
c7x freertos: udma ut custom lnk cmd file

add custom linker cmd file for udma ut
testcases for c7x freertos build

Signed-off-by: Badri S <badri@ti.com>
19 months agofreertos c7x: address review comments
Badri S [Sat, 2 Oct 2021 03:44:56 +0000 (09:14 +0530)]
freertos c7x: address review comments

review comments addressed in PR
https://bitbucket.itg.ti.com/projects/PROCESSOR-SDK/repos/pdk/pull-requests/2147/overview

Signed-off-by: Badri S <badri@ti.com>
19 months ago[PDK-9353] freertos c7x cpu port
Badri S [Sun, 12 Sep 2021 03:06:21 +0000 (08:36 +0530)]
[PDK-9353] freertos c7x cpu port

freertos c7x cpu port
OS UT validated
-- freertos ut
-- freertos task_switch
-- OSAL_TestApp_freertos
-- freertos_test_posix
Drivers validated
-- udma
-- uart
-- gpio
-- ipc

Signed-off-by: Badri S <badri@ti.com>
19 months agoadded volatile keyword for tx and rx buffers to remove compiler optimization
Potluri Krishna [Mon, 4 Oct 2021 09:47:12 +0000 (15:17 +0530)]
added volatile keyword for tx and rx buffers to remove compiler optimization

19 months agoRemoved pinmux config
Parth Nagpal [Mon, 4 Oct 2021 05:19:44 +0000 (10:49 +0530)]
Removed pinmux config
if PDK_RAW_BOOT is not defined pinmux config is not needed

Signed-off-by: Parth Nagpal <x1080849@ti.com>
19 months agoUSB device diagnoatic test failure on mcu core
Parth Nagpal [Wed, 11 Aug 2021 12:07:43 +0000 (17:37 +0530)]
USB device diagnoatic test failure on mcu core
Fixed by replacing the interrupt configuration from CSI to sciclient

Signed-off-by: Parth Nagpal <x1080849@ti.com>
19 months ago[QNX] Sciclient: Update to support QNX resource manager
Praveen Rao [Wed, 24 Feb 2021 03:03:13 +0000 (21:03 -0600)]
[QNX] Sciclient: Update to support QNX resource manager

Signed-off-by: Praveen Rao <prao@ti.com>
19 months agopackages/ti/boot/keywriter/tifs_bin/j7200/ti-fs-keywriter.bin: Add a dummy binary...
Keerthy [Mon, 4 Oct 2021 04:53:43 +0000 (10:23 +0530)]
packages/ti/boot/keywriter/tifs_bin/j7200/ti-fs-keywriter.bin: Add a dummy binary to enable compilation

Add a dummy binary to enable compilation for J7200

Signed-off-by: Keerthy <j-keerthy@ti.com>
19 months ago[PDK-9714] Build: C66x/C7x: Disable compiler option --program_level_compile
Don Dominic [Wed, 29 Sep 2021 09:33:41 +0000 (15:03 +0530)]
[PDK-9714] Build: C66x/C7x: Disable compiler option --program_level_compile

- This is to support FreeRTOS ROV
- When --program_leve_compile is enabled, static variables symbols gets appended with
  "$0" and hence can't be viewed from CCS ROV

Signed-off-by: Don Dominic <a0486429@ti.com>
19 months ago[PDK-9714] Build: R5F/C66x/C7x: Copy FreeROTS ROV .xs file to Binary folder
Don Dominic [Wed, 29 Sep 2021 10:26:42 +0000 (15:56 +0530)]
[PDK-9714] Build: R5F/C66x/C7x: Copy FreeROTS ROV .xs file to Binary folder

- Update makefile rules to copy freertos 'syscgf_c.rov.xs' file to binary folder
- CCS ROV expects this file in th esame directory as the ELF file.

Signed-off-by: Don Dominic <a0486429@ti.com>
19 months ago[PDK-9714] FreeRTOS: ROV: Add syscfg_c.rov.xs file
Don Dominic [Wed, 29 Sep 2021 10:29:04 +0000 (15:59 +0530)]
[PDK-9714] FreeRTOS: ROV: Add syscfg_c.rov.xs file

- This file refers to FreeRTOS.rov.js
  - The base path to referred file should be set as XDCPATH in CCS
- This will be copied to binary folder while building any freertos application

Signed-off-by: Don Dominic <a0486429@ti.com>
19 months ago[PDK-9714] FreeRTOS: ROV: Add FreeRTOS.rov.js
Don Dominic [Wed, 29 Sep 2021 10:25:38 +0000 (15:55 +0530)]
[PDK-9714] FreeRTOS: ROV: Add FreeRTOS.rov.js

- Add FreeRTOS module
- Supports following views:-
  - Heap
  - Semaphore, Mutex and Queue Instances
  - Task Instances
  - Task Modules
  - Timer Instances

Signed-off-by: Don Dominic <a0486429@ti.com>
19 months agokeywriter: Add support for j7200
Keerthy [Tue, 21 Sep 2021 14:51:28 +0000 (20:21 +0530)]
keywriter: Add support for j7200

Add support for j7200

Signed-off-by: Keerthy <j-keerthy@ti.com>
19 months agopackages/ti/boot/keywriter/soc/j7200/keywriter_utils.c: Add J7200 utils
Keerthy [Mon, 27 Sep 2021 06:00:41 +0000 (11:30 +0530)]
packages/ti/boot/keywriter/soc/j7200/keywriter_utils.c: Add J7200 utils

Add J7200 utils. This is still to be validated on Hera PMIC board.
Patch adds support for both version.

This also corrects some comments on the j721e files as well.

Signed-off-by: Keerthy <j-keerthy@ti.com>
19 months agopackages: ti: boot: keywriter: soc: Factor out common files in to a folder to avoid...
Keerthy [Tue, 27 Jul 2021 04:12:58 +0000 (09:42 +0530)]
packages: ti: boot: keywriter: soc: Factor out common files in to a folder to avoid duplication

Factor out common files in to a folder to avoid duplication

Signed-off-by: Keerthy <j-keerthy@ti.com>
19 months agoKEYWRITER: Moving J7200 boardcfgs to keywriter
Keerthy [Thu, 22 Jul 2021 08:52:35 +0000 (14:22 +0530)]
KEYWRITER: Moving J7200 boardcfgs to keywriter

Moving J7200 boardcfgs to keywriter

Signed-off-by: Keerthy <j-keerthy@ti.com>
19 months agoPCIe diagnostic test failing for mpu core REL.CORESDK.08.01.00.01
Parth Nagpal [Fri, 1 Oct 2021 05:01:50 +0000 (10:31 +0530)]
PCIe diagnostic test failing for mpu core
Test hanging during data read due to optimization
Fixed by adding volatile keyword
Signed-off-by: Parth Nagpal <x1080849@ti.com>
19 months agoDSS: Updated eDP firmware_20210916_mhdp_fw_2_1_0
Brijesh Jadav [Fri, 17 Sep 2021 17:30:41 +0000 (23:00 +0530)]
DSS: Updated eDP firmware_20210916_mhdp_fw_2_1_0

Signed-off-by: Brijesh Jadav <brijesh.jadav@ti.com>
20 months ago[OSAL][QNX] Add mutex support and set timeout in msec
Praveen Rao [Mon, 27 Sep 2021 19:46:59 +0000 (14:46 -0500)]
[OSAL][QNX] Add mutex support and set timeout in msec

Signed-off-by: Praveen Rao <prao@ti.com>
20 months agoBin2c removing false stderr prints
Ankur [Mon, 27 Sep 2021 11:42:30 +0000 (17:12 +0530)]
Bin2c removing false stderr prints

Signed-off-by: Ankur <a0132173@ti.com>
20 months agoOSAL: UT: Load Test Updates
Don Dominic [Tue, 21 Sep 2021 08:11:06 +0000 (13:41 +0530)]
OSAL: UT: Load Test Updates

- Add new print task for printing tasks stats periodically
- Use semaphores to signal load tasks

Signed-off-by: Don Dominic <a0486429@ti.com>
20 months ago[ADASVISION-4927] OSAL: FreeRTOS: LoadP Updates
Don Dominic [Tue, 21 Sep 2021 08:06:21 +0000 (13:36 +0530)]
[ADASVISION-4927] OSAL: FreeRTOS: LoadP Updates

- Protect critical sections by suspending schedular
- Also add check for load overflow

Signed-off-by: Don Dominic <a0486429@ti.com>
20 months ago[PSDKQA-328][QNX] ipc_lld: Implemented timeout in RPMessage_recv()
Praveen Rao [Mon, 13 Sep 2021 21:59:22 +0000 (16:59 -0500)]
[PSDKQA-328][QNX] ipc_lld: Implemented timeout in RPMessage_recv()

Signed-off-by: Praveen Rao <prao@ti.com>
20 months agoFreeRTOS: C66x: J721E: Update L2 Cache Size to 64KB
Don Dominic [Tue, 14 Sep 2021 15:09:35 +0000 (20:39 +0530)]
FreeRTOS: C66x: J721E: Update L2 Cache Size to 64KB

- Update portCONFIGURE_CACHE_L2_SIZE in FreeRTOSConfig.h for j721e to 64KB
- This is to match the default SysBIOS settings in PSDK

Signed-off-by: Don Dominic <a0486429@ti.com>
20 months ago[PDK-10528] OSAL: C66x Cache: Cleanup and remove duplicate code
Don Dominic [Tue, 14 Sep 2021 14:28:00 +0000 (19:58 +0530)]
[PDK-10528] OSAL: C66x Cache: Cleanup and remove duplicate code

- Removing the duplicate code in all cache maintenance APIs
  by adding new generic static function CacheP_block
- Defines a prototype for CSL Cache Ops Function
  and pass the CSL function pointer to the new generic static function

Signed-off-by: Don Dominic <a0486429@ti.com>
20 months ago[PDK-10528] OSAL: C66x Cache: Optimize Cache Maintenance APIs
Don Dominic [Tue, 14 Sep 2021 13:40:33 +0000 (19:10 +0530)]
[PDK-10528] OSAL: C66x Cache: Optimize Cache Maintenance APIs

- Add option to enable/disable atomic cache operations
- Added new define CACHEP_ATOMIC_BLOCK_SIZE
  - This can be set to 0 to disable atomic cache operations
    - In this case it uses Max word count per cache operations
- Convert incCnt to bytes(from words) since CSL API expects in bytes

- Set CACHEP_ATOMIC_BLOCK_SIZE to 0 by default, to optimize performance
- With this update Cache Maintenance APIs performance is comparable with SysBIOS

Signed-off-by: Don Dominic <a0486429@ti.com>
20 months ago[PDK-10107] FreeRTOS: C66x: Switch to IDLE from Idle Task
Don Dominic [Wed, 8 Sep 2021 19:48:43 +0000 (01:18 +0530)]
[PDK-10107] FreeRTOS: C66x: Switch to IDLE from Idle Task

-  Switch to IDLE mode  from Idle Task hook function

Signed-off-by: Don Dominic <a0486429@ti.com>
20 months ago[PDK-10107] FreeRTOS: R5F: Switch to WFI from Idle Task
Don Dominic [Wed, 8 Sep 2021 19:47:16 +0000 (01:17 +0530)]
[PDK-10107] FreeRTOS: R5F: Switch to WFI from Idle Task

- Switch to WFI mode from Idle Task Hook Function

Signed-off-by: Don Dominic <a0486429@ti.com>
20 months ago[PDK-10107] FreeRTOS: R5F: Use OS Tick Timer instead of PMU Counter
Don Dominic [Mon, 6 Sep 2021 14:54:04 +0000 (20:24 +0530)]
[PDK-10107] FreeRTOS: R5F: Use OS Tick Timer instead of PMU Counter

- Use OS Tick timer to calculate current time in micro seconds,
  instead of using PMU counter
- OS Ticks can be used to get currrent time in milli sec resolution
- Calculate the residual by reading current count of OS Timer using TimerP APIs
  and converting to microseconds
- Remove PMU Counter related functions
  - This update is necesary to switch to wfi from Idle task
    since on wfi PMU counter also halts and will affect load measurements.

Signed-off-by: Don Dominic <a0486429@ti.com>
20 months ago[PDK-10107] FreeRTOS: C66x: Use OS Tick Timer instead of TSC Counter
Don Dominic [Mon, 6 Sep 2021 14:46:37 +0000 (20:16 +0530)]
[PDK-10107] FreeRTOS: C66x: Use OS Tick Timer instead of TSC Counter

- Use OS Tick timer to calculate current time in micro seconds,
  instead of using TSC counter
- OS Ticks can be used to get currrent time in milli sec resolution
- Calculate the residual by reading current count of OS Timer using TimerP APIs
  and converting to microseconds

Signed-off-by: Don Dominic <a0486429@ti.com>
20 months ago[PDK-10107] OSAL: TimerP: Add new APIs to get timer reload count and current count
Don Dominic [Fri, 3 Sep 2021 13:43:40 +0000 (19:13 +0530)]
[PDK-10107] OSAL: TimerP: Add new APIs to get timer reload count and current count

- Added New APIs:-
  - TimerP_getReloadCount: Get timer reload count
  - TimerP_getCount: Get timer current count

- Added implementation for DMTimer and RTI Timer (v1/v2)
- Not implemented for timer64(v0) - K2 devices

Signed-off-by: Don Dominic <a0486429@ti.com>
20 months ago[PDK-10423] IPC: RPMessage Buffer Size Byte Alignment update
Don Dominic [Mon, 13 Sep 2021 06:11:22 +0000 (11:41 +0530)]
[PDK-10423] IPC: RPMessage Buffer Size Byte Alignment update

- Align MSGBUFFERSIZE to HEAPALIGNMENT
- Related updates in buffer size used by examples
- 64bit cores was reporting failures in some cases without this update

Signed-off-by: Don Dominic <a0486429@ti.com>
20 months agoIPC: C66x: FreeRTOS multicore_echo_testb Example Build Fix
Don Dominic [Mon, 13 Sep 2021 04:42:17 +0000 (10:12 +0530)]
IPC: C66x: FreeRTOS multicore_echo_testb Example Build Fix

- Fix Build issues with ex02_bios_multicore_echo_testb_freertos for C66x.
- BTCM test makefile path is one level down and needs update in INCDIR

Signed-off-by: Don Dominic <a0486429@ti.com>
20 months agoIPC: C66x: Build Fix
Don Dominic [Thu, 9 Sep 2021 05:34:56 +0000 (11:04 +0530)]
IPC: C66x: Build Fix

- Fix Build issues with ipc_ech_testb_freertos for C66x.
- BTCM test makefile path is one level down and needs update in INCDIR

Signed-off-by: Don Dominic <a0486429@ti.com>
20 months ago[PDK-10425] Build Fix for SBL
Ankur [Wed, 8 Sep 2021 19:18:54 +0000 (00:48 +0530)]
[PDK-10425] Build Fix for SBL

Signed-off-by: Ankur <a0132173@ti.com>
20 months ago[PDK -9356] IPC: Performance Test Updates
Don Dominic [Mon, 30 Aug 2021 09:54:16 +0000 (15:24 +0530)]
[PDK -9356] IPC: Performance Test Updates

- Rename main_rtos.c to main.c
  - To avoid multiple source fiel with same name
    - First instance is examples/common/src folder
- Add function to Disable Cache for Shared DDR Region and IPC Data Region

- Add the following which was missing
  - C66x Timer Interrupt configuration
    - Function was defined in ipc_apputils, but was not used
  - Add C7x Clec Configuration Timer Interrupt
    - Implemented the fxn as well which was missing

- Related makefile updates

Signed-off-by: Don Dominic <a0486429@ti.com>
20 months ago[PDK-9356] IPC: FreeRTOS C66x - Linker File and Memory Map Updates
Don Dominic [Mon, 30 Aug 2021 09:47:13 +0000 (15:17 +0530)]
[PDK-9356] IPC: FreeRTOS C66x - Linker File and Memory Map Updates

- Swap C66x Cores IPC_DATA section for proper caching
  - to overcome the limitation - "16 MB" being the minimum cache block size in C66x
  - Requirement is to disable cache for IPC_DATA only(1 MB)
  - Each C66x core mark 16MB as un-cached(swapped default allocation) and place the section to be uncached here.
    Rest all section are palced in default allocated regions (which remains cached from current cores perspective)
- Approach similar to SysBIOS case

- Also fix typo in c66xdsp_2 linker file

Signed-off-by: Don Dominic <a0486429@ti.com>
20 months ago[PDK-9356] IPC : FreeRTOS C66x Migration - Cache Related Updates
Don Dominic [Mon, 30 Aug 2021 09:40:57 +0000 (15:10 +0530)]
[PDK-9356] IPC : FreeRTOS C66x Migration - Cache Related Updates

- Disable Cache for Shared DDR Region and IPC Data Region
- In case of SysBIOS, cache was disable for this region via .cfg file
  - Use OSAL APIs for FreeRTOS
- Related makefile updates

Signed-off-by: Don Dominic <a0486429@ti.com>
20 months ago[PDK-9355] FreeRTOS: C66x: Use OSAL CacheP APIs to enable cache for DDR
Don Dominic [Mon, 30 Aug 2021 09:32:56 +0000 (15:02 +0530)]
[PDK-9355] FreeRTOS: C66x: Use OSAL CacheP APIs to enable cache for DDR

- Instead of custom implementation in freertos portable layer to enable cache
  for DDR region by configuring the MAR registers, use the new OSAl CacheP_setMar API

- Validated FreeRTOS UT on j721e c66xdsp_1/c66xdsp_2

Signed-off-by: Don Dominic <a0486429@ti.com>
20 months ago[PDK-9356] OSAL: CacheP: Add new APIs for C66x Cache Enable/Disable
Don Dominic [Mon, 30 Aug 2021 09:22:35 +0000 (14:52 +0530)]
[PDK-9356] OSAL: CacheP: Add new APIs for C66x Cache Enable/Disable

- Add following APIs in nonos/freertos CacheP OSAL implementation
  - CacheP_setMar
    - To Enable/Disable cache for a region
    - This API sets the corressponding MAR registers
  - CacheP_getMar
   - To get the current MAR register value for block
- Add typedef for MAR register setting type definition

Signed-off-by: Don Dominic <a0486429@ti.com>
20 months ago[PDK-10423] IPC: Address Review Comments - Remove multiple macros redefinition
Don Dominic [Mon, 6 Sep 2021 12:30:25 +0000 (18:00 +0530)]
[PDK-10423] IPC: Address Review Comments - Remove multiple macros redefinition

- Remove multiple macros redefinition in ipc_perf_test source file
- These macros are already defined in common/src/ipc_setup.h

Signed-off-by: Don Dominic <a0486429@ti.com>
20 months ago[PDK-10423] IPC: Fix RPMessage Heap Corruption due to wrong size
Don Dominic [Tue, 31 Aug 2021 19:42:41 +0000 (01:12 +0530)]
[PDK-10423] IPC: Fix RPMessage Heap Corruption due to wrong size

Fix:
- Update MSGBUFFERSIZE to max data payload + header RPMessage_MsgElem size
  - This is used to create multiple heaps for Rx messages
- Added new define IPC_MAX_DATA_PAYLOAD
- Related updates in Rx buffers size for examples

Issue:
- Wrong sized heap was causing corruption in subsequent heap block's handle(next/prev elem)

Validation:
- Issue reproduced and fix validated on RTOS multicore echo test with payload of size 496 bytes
  and invoking heap alloc in RPMessage_enqueMsg

Signed-off-by: Don Dominic <a0486429@ti.com>
20 months agoPDK-9368: drv/ipc: j721s2: Fix OCM RAM addr range for mcu1_0
Jonathan Bergsagel [Tue, 31 Aug 2021 16:03:52 +0000 (11:03 -0500)]
PDK-9368: drv/ipc: j721s2: Fix OCM RAM addr range for mcu1_0

Fixes OCMRAM address range in alternate usage mcu1_0 linker
cmd files to match with new X509 header address for J721S2.

Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
20 months agoPDK-9368: drv/ipc: Update VRING addr and fix comments
Jonathan Bergsagel [Tue, 24 Aug 2021 14:28:08 +0000 (09:28 -0500)]
PDK-9368: drv/ipc: Update VRING addr and fix comments

Changes VRING address for J721S2 to 0xA8000000, since
there are only 9 processor cores on the SoC and we can
compress the memory layout for IPC.

Also takes care of review comments on drv/ipc updates
for J721S2.

Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
20 months agoPDK-9368: drv/ipc: Initial build for j721s2
Jonathan Bergsagel [Thu, 27 May 2021 00:13:35 +0000 (19:13 -0500)]
PDK-9368: drv/ipc: Initial build for j721s2

Initial IPC driver support for J721S2.  Mainly
for support of ipc_echo_testb build for mcu1_0
to support sciserver functionality for testing
Linux boot on A72.

Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
21 months agoKeywriter build fix
Ankur [Mon, 30 Aug 2021 17:15:36 +0000 (22:45 +0530)]
Keywriter build fix

Signed-off-by: Ankur <a0132173@ti.com>
21 months ago[PDK-10497] OSAL: TimerP: Fix Timer TIOCP_CFG Register configuration
Don Dominic [Wed, 25 Aug 2021 17:22:34 +0000 (22:52 +0530)]
[PDK-10497] OSAL: TimerP: Fix Timer TIOCP_CFG Register configuration

- Set 'emulation mode' and 'idle mode' in TIOCP_CFG
  after Soft Reset(if required)

- Earlier, it was setting all bits except soft reset bit to 1 due to wrong implementation

Signed-off-by: Don Dominic <a0486429@ti.com>