]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/sciclient.git/log
keystone-rtos/sciclient.git
4 years agoMigrate to SYSFW version 2019.06a REL.PDK.J7.00.09.00.10 REL.PDK.J7.00.09.00.11 REL.PDK.J7.00.09.00.12 REL.PDK.J7.00.09.00.13 REL.PDK.J7.00.09.00.14 REL.PDK.J7.00.09.00.15 REL.PDK.J7.00.09.00.16
Anand Mahadevan SS [Wed, 10 Jul 2019 10:36:57 +0000 (16:06 +0530)]
Migrate to SYSFW version 2019.06a

- This version of SYSFW has critical bug fixes in PM

Signed-off-by: Anand Mahadevan SS <a0230421@ti.com>
4 years agoAdded flag to specify Secure/Non-secure context REL.PDK.J7.00.09.00.06 REL.PDK.J7.00.09.00.07 REL.PDK.J7.00.09.00.08 REL.PDK.J7.00.09.00.09
Anand Mahadevan SS [Mon, 8 Jul 2019 14:25:29 +0000 (19:55 +0530)]
Added flag to specify Secure/Non-secure context

- Added a flag in Sciclient CfgParams to specify
  Secure/Non-Secure Mode
- This will be saved to the same flag in gSciclientHandle
  as well
- By default, Sciclient_initParams function or Sciclient_init
  called with NULL params will set this flag to 0 (Non-secure Mode)
- To specify Secure mode, call Sciclient_configPrmsInit to initialize
  defaults, then manually change cfgParams.isSecureMode=1U before
  calling Sciclient_init()

Signed-off-by: Anand Mahadevan SS <a0230421@ti.com>
4 years agoMigrate Sysfw to v2019.06 REL.PDK.J7.00.09.00.05
Anand Mahadevan SS [Thu, 4 Jul 2019 20:24:16 +0000 (01:54 +0530)]
Migrate Sysfw to v2019.06

Signed-off-by: Anand Mahadevan SS <a0230421@ti.com>
4 years agoReverting the API addition
Anand Mahadevan SS [Thu, 4 Jul 2019 15:22:08 +0000 (20:52 +0530)]
Reverting the API addition

- The newly added APIs can be replaced by a small fix in the
  original function.
- We can avoid code duplication
- It's not required to take user input on freq limits

Signed-off-by: Anand Mahadevan SS <a0230421@ti.com>
4 years agoDoxygen warnings fixes[PDK-3619, PDK-3645]
Anand Mahadevan SS [Sun, 31 Mar 2019 10:12:55 +0000 (15:42 +0530)]
Doxygen warnings fixes[PDK-3619, PDK-3645]

Signed-off-by: Anand Mahadevan SS <a0230421@ti.com>
4 years agoAdded two APIs to support new PM API[PDK-4320]
Anand Mahadevan SS [Tue, 2 Jul 2019 18:51:31 +0000 (00:21 +0530)]
Added two APIs to support new PM API[PDK-4320]

- These are minor variations of existing APIs
- In this we expose the min and max freq parameters of
  the tisci msg request to the user in the API

Signed-off-by: Anand Mahadevan SS <a0230421@ti.com>
4 years ago6.0 doc/ver update: correcting the copyright year DEV.PROCESSOR-SDK.06.00.00.05 DEV.SCICLIENT.01.00.00.03 REL.PDK.J7.00.09.00.02 REL.PDK.J7.00.09.00.03 REL.PDK.J7.00.09.00.04
Mahesh Radhakrishnan [Mon, 24 Jun 2019 19:54:26 +0000 (15:54 -0400)]
6.0 doc/ver update: correcting the copyright year

4 years ago6.0 doc/ver update
Mahesh Radhakrishnan [Mon, 24 Jun 2019 19:02:06 +0000 (15:02 -0400)]
6.0 doc/ver update

4 years agoFix for C66 to send unaligned messages when optimization enabled
Stephen Molfetta [Fri, 21 Jun 2019 12:32:30 +0000 (07:32 -0500)]
Fix for C66 to send unaligned messages when optimization enabled

Sciclient is treating headers/payloads as data-opaque memory blobs. We
must refer to the memory through a byte pointer since there are no
assumptions about alignment. If a pointer to another data type, compiler
optimizations may treat the data to be of that type and assume certain
alignment.

Resolves PDK-4250

4 years agoPRSDK-6037: Updates firmwareHeaderGen.sh for parallel builds
Madan Srinivas [Sat, 22 Jun 2019 04:01:26 +0000 (00:01 -0400)]
PRSDK-6037: Updates firmwareHeaderGen.sh for parallel builds

firmwareHeaderGen.sh stoes some temp files in current directory.
As a result, if the fw for 2 SoCs like am65x and J7 are being
signed in parallel, the script will fail.

To fix this, the script is updated to generate temp files in the
SoC specific folders only.

Signed-off-by: Madan Srinivas<madans@ti.com>
4 years ago[PDK-3291]Rename c7x to c7x_1
Vivek Dhande [Wed, 8 May 2019 15:42:46 +0000 (21:12 +0530)]
[PDK-3291]Rename c7x to c7x_1

Signed-off-by: Vivek Dhande <a0132295@ti.com>
4 years agoUpdate API to comprehend all clock/parent ID values
Stephen Molfetta [Wed, 19 Jun 2019 18:51:35 +0000 (13:51 -0500)]
Update API to comprehend all clock/parent ID values

In case clock or parent ID is greater than or equal to 255, clk/parent
must be set to 255 and clk32/parent32 must be set to the actual ID to be
used in the message.

Resolves PDK-4265

4 years agoRevert "Remove C7x workaround in release mode"
Anand Mahadevan SS [Tue, 18 Jun 2019 10:02:27 +0000 (15:32 +0530)]
Revert "Remove C7x workaround in release mode"

This reverts commit 423425ab23c4f5d91f3b1d24fa155c30eedcfeae.

4 years agoRemove C7x workaround in release mode
Sivaraj R [Thu, 13 Jun 2019 06:32:07 +0000 (12:02 +0530)]
Remove C7x workaround in release mode

- The compiler issue is fixed in 1.1.0A19161
version

Signed-off-by: Sivaraj R <sivaraj@ti.com>
4 years agoSciclient build fix
Anand Mahadevan SS [Wed, 12 Jun 2019 12:37:33 +0000 (18:07 +0530)]
Sciclient build fix

- Linker sections widened to accomodate the extra lib
  functions/variables for which space will be allocated
  in debug mode

- To specifically remove unused functions in debug mode,
  it is a two step build process, and is not a scalable
  approach

Signed-off-by: Anand Mahadevan SS <a0230421@ti.com>
4 years agoObsolete script files removed
Anand Mahadevan SS [Tue, 11 Jun 2019 07:04:41 +0000 (12:34 +0530)]
Obsolete script files removed

Signed-off-by: Anand Mahadevan SS <a0230421@ti.com>
4 years agoccs launch script - sync with earlier patch
Prasad Jondhale [Mon, 10 Jun 2019 17:39:02 +0000 (23:09 +0530)]
ccs launch script - sync with earlier patch

 - sysfw images with fireware disabled are removed so need to remove that
   from launch script as it is by default takes no firewall image

Signed-off-by: Prasad Jondhale <prasad.jondhale@ti.com>
4 years agoRemove nofwl, vlab and zebu firmwares
Sivaraj R [Mon, 10 Jun 2019 05:13:31 +0000 (10:43 +0530)]
Remove nofwl, vlab and zebu firmwares

- These are not up to date
- No point keeping old bnaries
- If required, we can checkout previous release
and get them

Signed-off-by: Sivaraj R <sivaraj@ti.com>
4 years agoMigrate to SYSFW 2019.05
Anand Mahadevan SS [Thu, 6 Jun 2019 15:22:19 +0000 (20:52 +0530)]
Migrate to SYSFW 2019.05

- Only firewalled version of sysfw is provided
- Cosmetic change made in rtos example

Signed-off-by: Anand Mahadevan SS <a0230421@ti.com>
4 years agoSciclient Updates
Anand Mahadevan SS [Thu, 30 May 2019 15:37:38 +0000 (21:07 +0530)]
Sciclient Updates

- Migrated to SYSFW w2019.11
- Boardcfg updated as per latest changes in sysfw-test
- Clock ids updated
- Updated tisci related headers
- Updated CCS binary

Signed-off-by: Anand Mahadevan SS <a0230421@ti.com>
4 years agoBuild Fix
Ankur [Thu, 30 May 2019 10:25:20 +0000 (15:55 +0530)]
Build Fix

Signed-off-by: Ankur <a0132173@ti.com>
4 years agoOsalMmuInit function fix, added DMPAC SDE Device
Anand Mahadevan SS [Thu, 30 May 2019 05:06:08 +0000 (10:36 +0530)]
OsalMmuInit function fix, added DMPAC SDE Device

Signed-off-by: Anand Mahadevan SS <a0230421@ti.com>
4 years ago Updated C7x secure proxy to use, using NONSEC by default
Kedar Chitnis [Wed, 29 May 2019 14:19:34 +0000 (19:49 +0530)]
 Updated C7x secure proxy to use, using NONSEC by default

4 years ago[J7ES_EVM_SCRIPT] Updated script to call 4266 instead
Shyam Jagannathan [Sat, 25 May 2019 02:32:14 +0000 (21:32 -0500)]
[J7ES_EVM_SCRIPT] Updated script to call 4266 instead

Signed-off-by: Shyam Jagannathan <a0393891@ti.com>
4 years ago Migrated to updated sysfw
Kedar Chitnis [Fri, 24 May 2019 17:13:34 +0000 (22:43 +0530)]
 Migrated to updated sysfw

4 years agoj721e: boardcfg: Move reserved UDMA resources to MCU nav
Justin Sobota [Fri, 24 May 2019 16:22:19 +0000 (12:22 -0400)]
j721e: boardcfg: Move reserved UDMA resources to MCU nav

SYSFW now uses non-high capacity UDMA resources in
MCU Nav rather than Main Nav.  Update the board
configuration to reflect this.

Signed-off-by: Justin Sobota <jsobota@ti.com>
4 years agoMigration to SYSFW w2019.08
Anand Mahadevan SS [Thu, 23 May 2019 01:37:36 +0000 (07:07 +0530)]
Migration to SYSFW w2019.08

- Default binary is with firewalls enabled
- Use ti-sci-firmware-j721e-gp-no-fwl.bin for firewall disabled
- launch.js script for j7 is updated accordingly

Signed-off-by: Anand Mahadevan SS <a0230421@ti.com>
4 years agoPRSDK-4706: Adds support to HALT and UNHALT MCU cores when DMSC is waiting for WFI
Madan Srinivas [Mon, 20 May 2019 15:43:44 +0000 (11:43 -0400)]
PRSDK-4706: Adds support to HALT and UNHALT MCU cores when DMSC is waiting for WFI

To switch MCU cluster 0 from lockstep to split mode, the SBL needs to
halt and unhalt the MCU  0 cores, when the SYSFW is waiting for WFI.

To do this, the Sciclient_procBootSetSequenceCtrl must be able to
send a message to SYSFW and return successfully without waiting for
the status. This patch adds this support to the API.

Signed-off-by: Madan Srinivas<madans@ti.com>
4 years agoMigrate to SYSFW v2019.04a for Maxwell
Anand Mahadevan SS [Tue, 21 May 2019 09:28:21 +0000 (14:58 +0530)]
Migrate to SYSFW v2019.04a for Maxwell

Signed-off-by: Anand Mahadevan SS <a0230421@ti.com>
4 years agoMigration to sysfw w2019.07
Anand Mahadevan SS [Tue, 21 May 2019 06:26:22 +0000 (11:56 +0530)]
Migration to sysfw w2019.07

Signed-off-by: Anand Mahadevan SS <a0230421@ti.com>
4 years agoAdded support for sysfw logs on the terminal
Piyali Goswami [Tue, 21 May 2019 00:11:39 +0000 (05:41 +0530)]
Added support for sysfw logs on the terminal

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
4 years agoC7x changes to use secure context always
Piyali Goswami [Mon, 20 May 2019 23:03:54 +0000 (04:33 +0530)]
C7x changes to use secure context always

this needs to be reverted later to use a logic to detect the CPU mode and
then use the right context.

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
4 years agoDisable firewalls by default
Piyali Goswami [Mon, 20 May 2019 21:24:02 +0000 (16:24 -0500)]
Disable firewalls by default

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
4 years agoAdded some more prints to the launch.js file
Piyali Goswami [Mon, 20 May 2019 18:54:56 +0000 (13:54 -0500)]
Added some more prints to the launch.js file

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
4 years agoUse common OSAL MMU init fxn
Sivaraj R [Mon, 20 May 2019 07:42:27 +0000 (13:12 +0530)]
Use common OSAL MMU init fxn

Signed-off-by: Sivaraj R <sivaraj@ti.com>
4 years agoJ7ES: Made Firewall enabled DMSC as default
Sivaraj R [Mon, 20 May 2019 04:55:06 +0000 (10:25 +0530)]
J7ES: Made Firewall enabled DMSC as default

Signed-off-by: Sivaraj R <sivaraj@ti.com>
4 years agoJ721e Dev Boot Mode Checked out
Piyali Goswami [Sat, 18 May 2019 15:44:49 +0000 (21:14 +0530)]
J721e Dev Boot Mode Checked out

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
4 years agoBuild Fix
Piyali Goswami [Sat, 18 May 2019 12:02:30 +0000 (17:32 +0530)]
Build Fix

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
4 years agoAdded optimization off for writitng into secure proxy memory
Piyali Goswami [Sat, 18 May 2019 03:31:23 +0000 (09:01 +0530)]
Added optimization off for writitng into secure proxy memory

C7x optimization causes reads to the secure proxy write. This causes the message to the M3 to never reach.
Fixed some review comments from previous commit.

4 years agoC7x Interrupt Fixes
Piyali Goswami [Fri, 17 May 2019 14:14:45 +0000 (19:44 +0530)]
C7x Interrupt Fixes

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
4 years agoSciclient cleanup and migate to sysfw w2019.03
Anand Mahadevan SS [Fri, 17 May 2019 10:20:07 +0000 (15:50 +0530)]
Sciclient cleanup and migate to sysfw w2019.03

- Default init cfg op mode changed back to POLLED
- Fixed the anomaly in rtos_app
- SYSFW w2019.03 binaries added-gp, signed and signed binary in header file

Signed-off-by: Anand Mahadevan SS <a0230421@ti.com>
4 years ago Setting default path for j7es launch script to /ti/j7presi/workarea
Kedar Chitnis [Fri, 17 May 2019 02:33:39 +0000 (08:03 +0530)]
 Setting default path for j7es launch script to /ti/j7presi/workarea

4 years agoFix for IRQ numbers in J7
Piyali Goswami [Thu, 16 May 2019 22:10:30 +0000 (03:40 +0530)]
Fix for IRQ numbers in J7

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
4 years agoPrintf Fixed and tested on MPU1_0
Piyali Goswami [Thu, 16 May 2019 17:07:32 +0000 (22:37 +0530)]
Printf Fixed and tested on MPU1_0

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
4 years agoClock IDs updated with the new DPI clk changes
Anand Mahadevan SS [Thu, 16 May 2019 10:23:31 +0000 (15:53 +0530)]
Clock IDs updated with the new DPI clk changes

Signed-off-by: Anand Mahadevan SS <a0230421@ti.com>
4 years agoMigrate to SYSFW w2019.02
Anand Mahadevan SS [Thu, 16 May 2019 06:33:02 +0000 (12:03 +0530)]
Migrate to SYSFW w2019.02

- Build fix also added for uninit variable

Signed-off-by: Anand Mahadevan SS <a0230421@ti.com>
4 years agoFix for init for A72. Removing copies of InitMMU
Piyali Goswami [Wed, 15 May 2019 21:21:46 +0000 (16:21 -0500)]
Fix for init for A72. Removing copies of InitMMU

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
4 years agoLaunch Script Updates for running the DDR config when running System firmware
Piyali Goswami [Wed, 15 May 2019 15:23:52 +0000 (10:23 -0500)]
Launch Script Updates for running the DDR config when running System firmware

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
4 years agoUpdated ccs_init elf file with latest board_cfg
Anand Mahadevan SS [Wed, 15 May 2019 11:34:58 +0000 (17:04 +0530)]
Updated ccs_init elf file with latest board_cfg

Signed-off-by: Anand Mahadevan SS <a0230421@ti.com>
4 years agoFixed Board Config for J7 ES.
Piyali Goswami [Tue, 14 May 2019 18:04:36 +0000 (13:04 -0500)]
Fixed Board Config for J7 ES.

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
4 years agoSYSFW binaries updated to w2019.01
Anand Mahadevan SS [Wed, 15 May 2019 07:23:28 +0000 (12:53 +0530)]
SYSFW binaries updated to w2019.01

Signed-off-by: Anand Mahadevan SS <a0230421@ti.com>
4 years agoDos2Unix change for the js file
Anand Mahadevan SS [Tue, 14 May 2019 16:27:10 +0000 (21:57 +0530)]
Dos2Unix change for the js file

Signed-off-by: Anand Mahadevan SS <a0230421@ti.com>
4 years agoUpdated binaries for SYSFW T0 release(p2019.19+)
Anand Mahadevan SS [Tue, 14 May 2019 15:33:21 +0000 (21:03 +0530)]
Updated binaries for SYSFW T0 release(p2019.19+)

- Has updated gp binary, signed binary and header file
- Has updated ccs_init file built for j721e_evm

Signed-off-by: Anand Mahadevan SS <a0230421@ti.com>
4 years agoFinal js script updates
Anand Mahadevan SS [Tue, 14 May 2019 14:40:32 +0000 (20:10 +0530)]
Final js script updates

Signed-off-by: Anand Mahadevan SS <a0230421@ti.com>
4 years agoJS file changes to work in EVM
Anand Mahadevan SS [Tue, 14 May 2019 14:15:52 +0000 (19:45 +0530)]
JS file changes to work in EVM

Signed-off-by: Anand Mahadevan SS <a0230421@ti.com>
4 years agoLinker Cmd File change for CCS_init app
Anand Mahadevan SS [Tue, 14 May 2019 14:06:48 +0000 (19:36 +0530)]
Linker Cmd File change for CCS_init app

- Moved stack,bss etc. to OCMC RAM

Signed-off-by: Anand Mahadevan SS <a0230421@ti.com>
4 years agoMoving the CCS launch scripts to SOC folders
Anand Mahadevan SS [Tue, 14 May 2019 11:10:25 +0000 (16:40 +0530)]
Moving the CCS launch scripts to SOC folders

Signed-off-by: Anand Mahadevan SS <a0230421@ti.com>
4 years agoPRSDK-5816: Fixes the sequence number used in load sysfw message.
Madan Srinivas [Tue, 14 May 2019 14:54:48 +0000 (10:54 -0400)]
PRSDK-5816: Fixes the sequence number used in load sysfw message.

ROM expects a sequence number of 0 for the message
SCICLIENT_ROM_MSG_R5_TO_M3_M3FW.

Sciclient incorreclty uses a sequence number of 55. Maxwell ROM was not
checking for this and simply logging an error, in J721e ROM, the ROM refuses
to process a message with an incorrect sequence number.

Signed-off-by: Madan Srinivas<madans@ti.com>
4 years agoMigration to SYSFW p2019.19
Anand Mahadevan SS [Mon, 13 May 2019 06:24:53 +0000 (11:54 +0530)]
Migration to SYSFW p2019.19

- Changes in fmwMsgParams.h and gp bin

Signed-off-by: Anand Mahadevan SS <a0230421@ti.com>
4 years agoSYSFW bringup binary added
Anand Mahadevan SS [Fri, 10 May 2019 15:18:10 +0000 (20:48 +0530)]
SYSFW bringup binary added

- The non-vlab gp bin file to be used in the CCS flow is added
- The soc/V1 folder contains two signed binaries, sysfw_vlab.bin
  corresponds to the vlab version of the gp bin, the non-vlab one
  is named as sysfw.bin
- Header files are also generated for non-vlab bin
- binary signing script edited to look for non-vlab bin
- sample js script added to use in CCS flow of silicon

Signed-off-by: Anand Mahadevan SS <a0230421@ti.com>
4 years agoSupport for C66x Interrupts
Piyali Goswami [Sun, 12 May 2019 09:52:46 +0000 (15:22 +0530)]
Support for C66x Interrupts

1. Fixed the interrupt numbers of Event Combiner used for C66x DSPs
2. Using OSAL Functions instead of HwiP to register and enable interrupts. These functions internally handle C66x as well.

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
4 years agoFix for the base address of Secure Proxy Configuration registers
Piyali Goswami [Sat, 11 May 2019 15:21:01 +0000 (20:51 +0530)]
Fix for the base address of Secure Proxy Configuration registers

This is not really used anywhere in the code. Fixing this for completeness.

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
4 years agoBuild enable for J721e_evm for sciclient_ut REL.PDK.J7.00.09.00.01
Piyali Goswami [Thu, 9 May 2019 12:25:30 +0000 (17:55 +0530)]
Build enable for J721e_evm for sciclient_ut

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
4 years agoEnable board dependency for ccqt,hostemu builds
Anshu Jain [Thu, 9 May 2019 07:20:16 +0000 (12:50 +0530)]
Enable board dependency for ccqt,hostemu builds

Signed-off-by: Anshu Jain <a0132012@ti.com>
4 years agoC7x MMU init function Fix
Ankur [Thu, 9 May 2019 05:35:28 +0000 (11:05 +0530)]
C7x MMU init function Fix

Signed-off-by: Ankur <a0132173@ti.com>
4 years agoMigration to SYSFW p2019.18
Anand Mahadevan SS [Tue, 7 May 2019 19:27:24 +0000 (00:57 +0530)]
Migration to SYSFW p2019.18

- Macro changes in Device IDs
- AOR flag not used anymore, only check AOP
- PM interface change to support clk ids more than 255

Signed-off-by: Anand Mahadevan SS <a0230421@ti.com>
4 years ago[Revert Commit]Reverted back c7x to c7x_1 name change
Vivek Dhande [Wed, 8 May 2019 15:38:51 +0000 (21:08 +0530)]
[Revert Commit]Reverted back c7x to c7x_1 name change

Signed-off-by: Vivek Dhande <a0132295@ti.com>
4 years agoSYSFW-2338: Reverts workaround for SYSFW-2338
Madan Srinivas [Mon, 6 May 2019 16:53:10 +0000 (12:53 -0400)]
SYSFW-2338: Reverts workaround for SYSFW-2338

The system firmware has an issue that caused a data abort while
polling for the TISCI_MSG_BOOT_NOTIFICATION

A workaround was implemented in commit

a6daab4a3398b4c4048c8fa0974c77e5b8f68801

As the issue is now fixed in SYSFW, this workaround can now be
reverted. This will improve boot time.

Signed-off-by: Madan Srinivas<madans@ti.com>
4 years agosciclient: add CCS init script for SYSFW on ZeBu
Jonathan Bergsagel [Sat, 4 May 2019 00:29:14 +0000 (19:29 -0500)]
sciclient: add CCS init script for SYSFW on ZeBu

Added a new ZeBU version of the CCS init script for
loading the SYSFW on the DMSC.
Also added a 'stripped' version of the R5 init ELF
to load the mcu1_0 much faster on ZeBu.

Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
4 years ago[hostemu] Run sciclient in bypass mode for hostemu
Anshu Jain [Wed, 8 May 2019 07:55:39 +0000 (13:25 +0530)]
[hostemu] Run sciclient in bypass mode for hostemu

Signed-off-by: Anshu Jain <a0132012@ti.com>
4 years ago[PDK-3291]Rename c7x to c7x_1
Vivek Dhande [Mon, 6 May 2019 08:52:21 +0000 (14:22 +0530)]
[PDK-3291]Rename c7x to c7x_1

Signed-off-by: Vivek Dhande <a0132295@ti.com>
4 years ago Updated CCS DMSC loading script to make it more generic. Setting default path as...
Kedar Chitnis [Tue, 30 Apr 2019 11:02:41 +0000 (16:32 +0530)]
 Updated CCS DMSC loading script to make it more generic. Setting default path as /ti/j7presi/workarea

4 years agoSciclient example cleanup
Anand Mahadevan SS [Fri, 19 Apr 2019 08:53:48 +0000 (14:23 +0530)]
Sciclient example cleanup

- Added tirtos UT excluding loadFirmware
- This closes [PDK-4001]
- Cleaned up firmware boot example(baremetal)
- Contains only loadFirmware and getVersion now
- This closes [PDK-3987]

Signed-off-by: Anand Mahadevan SS <a0230421@ti.com>
4 years agoSYSFW migration to p2019.15 - RM CSL fix
Sivaraj R [Mon, 22 Apr 2019 04:14:52 +0000 (09:44 +0530)]
SYSFW migration to p2019.15 - RM CSL fix

Signed-off-by: Sivaraj R <sivaraj@ti.com>
4 years agoSYSFW migration to p2019.15
Anand Mahadevan SS [Fri, 19 Apr 2019 09:09:08 +0000 (14:39 +0530)]
SYSFW migration to p2019.15

- Added new sysfw binaries
- Changed relevant header files and boardcfg
- Edited firmwareHeaderGen script to use the j721e named bin instead of dra82
- Removed the obsolete the dra82x bin file
- Edited sciclient src makefile to use DMSC instead of dummy
- This closes [PDK-3867]

Signed-off-by: Anand Mahadevan SS <a0230421@ti.com>
4 years agoPDK-4085: Add j721e_evm build support
Sivaraj R [Tue, 16 Apr 2019 14:15:22 +0000 (19:45 +0530)]
PDK-4085: Add j721e_evm build support

Signed-off-by: Sivaraj R <sivaraj@ti.com>
5 years agoSYSFW migrate to v2019.03 with firewalls disabled
Anand Mahadevan SS [Sat, 13 Apr 2019 05:49:10 +0000 (11:19 +0530)]
SYSFW migrate to v2019.03 with firewalls disabled

- Includes the binary with firewalls disabled
- Removed firmware.h file for maxwell as sysfw
  binary is stored separately in the MMCSD card
- Added cache operations in loadfirmware and boardcfg
- This will fix PDK-3994
- Added return check for getCurrentContext()
- This closes PDK-4003

Signed-off-by: Anand Mahadevan SS <a0230421@ti.com>
5 years agoPRSDK-4054: v2019.02 syfw.bin signed with degenerate key
Madan Srinivas [Wed, 10 Apr 2019 23:10:20 +0000 (19:10 -0400)]
PRSDK-4054: v2019.02 syfw.bin signed with degenerate key

This improves boot times.

Signed-off-by: Madan Srinivas<madans@ti.com>
5 years agoPRSDK-4054: Updates signing script to use degenrate key for GP
Madan Srinivas [Mon, 8 Apr 2019 21:11:10 +0000 (17:11 -0400)]
PRSDK-4054: Updates signing script to use degenrate key for GP

If the SYSFW is signed using a degenerate key on GP devices, the
ROM will use the SA2UL to load the SYSFW. This gives the fastest
SYSFW load times.

The script currently uses the TI DEV key to sign the SYSFW images.
While this functionally works, it results in slow SYSFW load times.

With this fix, the SYSFW load time for GP devices goes from ~80ms
to ~3ms.

Signed-off-by: Madan Srinivas<madans@ti.com>
5 years ago[PDK-3280][R5F]R5F CSL FL Bug fixes
Dhande [Thu, 28 Mar 2019 09:46:00 +0000 (15:16 +0530)]
[PDK-3280][R5F]R5F CSL FL Bug fixes

-linker command file changes

Signed-off-by: Dhande <v-dhande@ti.com>
5 years agoPerformance of APIs included REL.PDK.J7.00.08.00.10 REL.PDK.J7.00.08.00.11 REL.PDK.J7.00.08.00.12
Anand Mahadevan SS [Mon, 1 Apr 2019 05:24:23 +0000 (10:54 +0530)]
Performance of APIs included

- A separate example is not added
- Timer API is used to find out execution time of APIs.
- This will be printed along with the normal logs of other examples

Signed-off-by: Anand Mahadevan SS <a0230421@ti.com>
5 years agoAdded two negative test cases REL.PDK.J7.00.08.00.07 REL.PDK.J7.00.08.00.08 REL.PDK.J7.00.08.00.09
Anand Mahadevan SS [Wed, 27 Mar 2019 18:02:27 +0000 (23:32 +0530)]
Added two negative test cases

- Invalid ReqPrm test[PDK-2907]
- Timeout test [PDK-2906]

Signed-off-by: Anand Mahadevan SS <a0230421@ti.com>
5 years agoAdded more dummy API for Proc REL.PDK.J7.00.08.00.06
Sivaraj R [Wed, 27 Mar 2019 05:35:34 +0000 (11:05 +0530)]
Added more dummy API for Proc

Signed-off-by: Sivaraj R <sivaraj@ti.com>
5 years agoAddresses review comments for PR#134 DEV.SCICLIENT.01.00.00.02B REL.PDK.J7.00.08.00.05
Madan Srinivas [Tue, 26 Mar 2019 21:17:48 +0000 (17:17 -0400)]
Addresses review comments for PR#134

5 years agoSYSFW-2239: Impelments work around for HS SYSFW init issue
Madan Srinivas [Tue, 19 Mar 2019 19:22:45 +0000 (15:22 -0400)]
SYSFW-2239: Impelments work around for HS SYSFW init issue

The HS SYSFW recofigures the firewalls during init, as a result
the poll for TISCI_MSG_BOOT_NOTIFICATION gets a data abort.

As a workaround, this patch implements a delay before polling
for the TISCI_MSG_BOOT_NOTIFICATION message.

Doing this for both GP and HS would impact boot time, so this patch
first checks to see if teh SYSFW image is dual-signed (HS), and applies
the delay only for HS devices.

These changes must be reverted once SYSFW-2239 is fixed.

Signed-off-by: Madan Srinivas<madans@ti.com>
5 years agoPRSDK-4150: Updates firmwareHeaderGen.sh to sign SYSFW for HS SYSFW images
Madan Srinivas [Thu, 14 Mar 2019 18:49:38 +0000 (14:49 -0400)]
PRSDK-4150: Updates firmwareHeaderGen.sh to sign SYSFW for HS SYSFW images

The SYSFW release images for HS devices will be signed and encrypted by
the SYSFW team at release time. The firmwareHeaderGen.sh has been
updated to detect "hs" in the SOC (param1) and then sing the inner
sysfw cert for secure devices.

Signed-off-by: Madan Srinivas<madans@ti.com>
5 years agoAdded dummy API for PM and Proc
Sivaraj R [Tue, 26 Mar 2019 12:23:55 +0000 (17:53 +0530)]
Added dummy API for PM and Proc

Signed-off-by: Sivaraj R <sivaraj@ti.com>
5 years agoMinor MISRA-C fixes
Anand Mahadevan SS [Mon, 25 Mar 2019 10:34:25 +0000 (16:04 +0530)]
Minor MISRA-C fixes

- Fixes for two KW errors (Critical, Error)[PDK-3675]
- Rest of the fixes will be done once the actual sciclient files are in build

Signed-off-by: Anand Mahadevan SS <a0230421@ti.com>
5 years agoAdded string.h in sciclient.c
Anand Mahadevan SS [Thu, 21 Mar 2019 10:21:13 +0000 (15:51 +0530)]
Added string.h in sciclient.c

- Maxwell build fails for MPU saying memcpy undefined
- Included string.h for fixing the build for maxwell

Signed-off-by: Anand Mahadevan SS <a0230421@ti.com>
5 years agoFixes added for UDMA fucntionality with C66x
Anand Mahadevan SS [Thu, 14 Mar 2019 05:12:56 +0000 (10:42 +0530)]
Fixes added for UDMA fucntionality with C66x

- Unaligned access is not permitted in VLAB model of C66x
- This causes wrong data to be read and thus written to sec_proxy
- To overcome this, before writing to the sec_proxy, the data is copied byte by byte to a local variable and then written to sec_proxy
- This is a hack until unaligned access is supported
- This fix shall complete [PDK-3607]

Signed-off-by: Anand Mahadevan SS <a0230421@ti.com>
5 years agoRe-write struct intilisation as assignment for msvc build
Anshu Jain [Wed, 20 Mar 2019 04:25:00 +0000 (09:55 +0530)]
Re-write struct intilisation as assignment for msvc build

Signed-off-by: Anshu Jain <anshu.jain@ti.com>
5 years agoBuild fix REL.PDK.J7.00.08.00.04
Sivaraj R [Tue, 19 Mar 2019 17:00:53 +0000 (22:30 +0530)]
Build fix

Signed-off-by: Sivaraj R <sivaraj@ti.com>
5 years agoAdded the support for IR for mailbox interrupt
Santosh Jha [Tue, 19 Mar 2019 19:57:32 +0000 (14:57 -0500)]
Added the support for IR for mailbox interrupt

5 years agoPDK-3775: [SCI-CLIENT]CSIRX application is not working when sci-client is bypassed DEV.PROCESSOR-SDK.05.03.00.05 DEV.SCICLIENT.01.00.00.02A
Sivaraj R [Tue, 19 Mar 2019 14:51:06 +0000 (20:21 +0530)]
PDK-3775: [SCI-CLIENT]CSIRX application is not working when sci-client is bypassed

Signed-off-by: Sivaraj R <sivaraj@ti.com>
5 years agoUltra minor makefile change
Anand Mahadevan SS [Tue, 19 Mar 2019 10:10:54 +0000 (15:40 +0530)]
Ultra minor makefile change

- Removed comments before endif in line 37, build fails otherwise

Signed-off-by: Anand Mahadevan SS <a0230421@ti.com>
5 years agoMakefile changes to bypass DMSC and use CSL
Anand Mahadevan SS [Tue, 19 Mar 2019 08:57:54 +0000 (14:27 +0530)]
Makefile changes to bypass DMSC and use CSL

- Makefile changes made to bypass DMSC and use CSL for J7

Signed-off-by: Anand Mahadevan SS <a0230421@ti.com>
5 years agoFixing CSL-Sciclient errors on C66x REL.PDK.J7.00.08.00.02 REL.PDK.J7.00.08.00.03
Stephen Molfetta [Mon, 18 Mar 2019 16:48:59 +0000 (11:48 -0500)]
Fixing CSL-Sciclient errors on C66x

5 years agoupdate version for SCICLIENT LLD release 1.0.0.2 DEV.SCICLIENT.01.00.00.02
Hao Zhang [Mon, 18 Mar 2019 12:25:22 +0000 (08:25 -0400)]
update version for SCICLIENT LLD release 1.0.0.2

Signed-off-by: Hao Zhang <hzhang@ti.com>
5 years agoAdded PSIL write and read API to CSL implementation REL.PDK.J7.00.08.00.01
Sivaraj R [Sat, 16 Mar 2019 07:58:12 +0000 (13:28 +0530)]
Added PSIL write and read API to CSL implementation

- Required for DRU enable/diable API in UDMA

Signed-off-by: Sivaraj R <sivaraj@ti.com>
5 years ago[Sci-Client J7 Script]Updated script to take care of absent or by-passed cores
Dhande [Fri, 8 Mar 2019 12:13:20 +0000 (17:43 +0530)]
[Sci-Client J7 Script]Updated script to take care of absent or by-passed cores

Signed-off-by: Dhande <v-dhande@ti.com>