keystone-rtos/sciclient.git
17 months agoNOTICE OF RELOCATION master
Jacob Stiffler [Thu, 31 Oct 2019 17:58:13 +0000 (13:58 -0400)]
NOTICE OF RELOCATION

Active maintenance and development of the contents of this repository
has been relocated to git.ti.com/processor-sdk/pdk.git under the path
packages/ti/drv/sciclient.

The use of this repository has been deprecated and will no longer
receive updates.

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
17 months agoUse same prototype for decleration and definition
Anshu Jain [Fri, 25 Oct 2019 16:11:31 +0000 (21:41 +0530)]
Use same prototype for decleration and definition

Signed-off-by: Anshu Jain <anshu.jain@ti.com>
17 months agoupdated ti disclaimer file
Prasad Konnur [Fri, 18 Oct 2019 12:34:24 +0000 (18:04 +0530)]
updated ti disclaimer file

Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
17 months agoAPI Guide Cleanup
Anand Mahadevan SS [Mon, 14 Oct 2019 09:07:47 +0000 (14:37 +0530)]
API Guide Cleanup

- Keeping TISCI Includes header as the main group define
  page for TISCI files

Signed-off-by: Anand Mahadevan SS <a0230421@ti.com>
18 months agoAPI Guide cleanup
Anand Mahadevan SS [Fri, 11 Oct 2019 11:40:12 +0000 (17:10 +0530)]
API Guide cleanup

Signed-off-by: Anand Mahadevan SS <a0230421@ti.com>
18 months agoChange in the launch JS for J7
Anand Mahadevan SS [Fri, 11 Oct 2019 11:00:11 +0000 (16:30 +0530)]
Change in the launch JS for J7

- The function name for DDR_Late config is changed
  in the new GEL package, updating that

Signed-off-by: Anand Mahadevan SS <a0230421@ti.com>
18 months agoSciclient API Guide Fixes
Anand Mahadevan SS [Wed, 9 Oct 2019 11:55:57 +0000 (17:25 +0530)]
Sciclient API Guide Fixes

Signed-off-by: Anand Mahadevan SS <a0230421@ti.com>
18 months agoReverting back to original SYSFW v2019.08
Anand Mahadevan SS [Wed, 9 Oct 2019 09:19:30 +0000 (14:49 +0530)]
Reverting back to original SYSFW v2019.08

- This is the version without the bug fixes
  for ring monitor
- This is to align with PSDKLA's sysfw version

Signed-off-by: Anand Mahadevan SS <a0230421@ti.com>
18 months agoPRSDK-7183: Updates build scripts to to use SYSFW release bins
Madan Srinivas [Tue, 8 Oct 2019 18:16:58 +0000 (14:16 -0400)]
PRSDK-7183: Updates build scripts to to use SYSFW release bins

This patch updates the names of the release bins used by the
firmwareHeaderGen.sh to match the names used by the sysfw release.

Signed-off-by: Madan Srinivas<madans@ti.com>
18 months agoMinor bug fixes and api guide fixes
Anand Mahadevan SS [Mon, 7 Oct 2019 11:58:44 +0000 (17:28 +0530)]
Minor bug fixes and api guide fixes

- [PDK-4719] will be fixed
- Unit test is set to autorun by default
- Interactive option can be enabled by a MACRO
- C7x and C6x test prints are redirected to UART
- Pre-init of C7x added in all RTOS-based apps
- Sciclient loadFirmware testapp is disabled for J7
- This is anyway tested by any app loaded through SBL
- API Guide fixes applied on tisci headers

Signed-off-by: Anand Mahadevan SS <a0230421@ti.com>
18 months agomisra issue fix
Prasad Konnur [Thu, 3 Oct 2019 15:07:04 +0000 (20:37 +0530)]
misra issue fix

Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
18 months ago6.1 version update DEV.SCICLIENT.01.00.00.04
Mahesh Radhakrishnan [Sun, 29 Sep 2019 18:25:26 +0000 (14:25 -0400)]
6.1 version update

18 months agoRM Ring monitor crash fix
Anand Mahadevan SS [Fri, 27 Sep 2019 09:37:05 +0000 (15:07 +0530)]
RM Ring monitor crash fix

- Added hacked firmware binaries to fix the RM
  ring monitor crash

Signed-off-by: Anand Mahadevan SS <a0230421@ti.com>
18 months agomisra issue fix for incomplete_ptr
Prasad Konnur [Thu, 26 Sep 2019 11:56:09 +0000 (17:26 +0530)]
misra issue fix for incomplete_ptr

Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
18 months agoPDK-2666: c++ build fix
Prasad Konnur [Wed, 25 Sep 2019 09:12:51 +0000 (14:42 +0530)]
PDK-2666: c++ build fix

Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
18 months ago[lokiBuild] Add support for loki build
Anshu Jain [Tue, 24 Sep 2019 06:20:13 +0000 (11:50 +0530)]
[lokiBuild] Add support for loki build

Signed-off-by: Anshu Jain <a0132012@ti.com>
18 months agoPDK-4454 Misra fixes
Prasad Konnur [Fri, 20 Sep 2019 13:42:13 +0000 (19:12 +0530)]
PDK-4454 Misra fixes

Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
18 months agoPDK-4454 Misra fixes
Prasad Konnur [Wed, 18 Sep 2019 13:12:51 +0000 (18:42 +0530)]
PDK-4454 Misra fixes

Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
18 months agoMigrate to v2019.08
Anand Mahadevan SS [Thu, 19 Sep 2019 06:29:28 +0000 (11:59 +0530)]
Migrate to v2019.08

- Added the unsigned sysfw binary
- Updated tisci header files

Signed-off-by: Anand Mahadevan SS <a0230421@ti.com>
18 months agosysfw-v2019.08-23-g285f7
Sivaraj R [Thu, 19 Sep 2019 05:35:58 +0000 (11:05 +0530)]
sysfw-v2019.08-23-g285f7

- This is on top of 2019.08 + ring monitor
bug fix SYSFW-2824
- This is from
https://jira.itg.ti.com/secure/attachment/456388/sysfw-v2019.08-23-g285f7.bin

Signed-off-by: Sivaraj R <sivaraj@ti.com>
18 months agoAdded comment as per review comments
Sivaraj R [Tue, 17 Sep 2019 06:11:37 +0000 (11:41 +0530)]
Added comment as per review comments

Signed-off-by: Sivaraj R <sivaraj@ti.com>
18 months agoAdded monitor message ID to get secure context API
Sivaraj R [Tue, 17 Sep 2019 05:18:47 +0000 (10:48 +0530)]
Added monitor message ID to get secure context API

- Made the changes generic
- Added SOC private files where this gets abstracted

Signed-off-by: Sivaraj R <sivaraj@ti.com>
18 months agoAdded monitor resource to board config
Sivaraj R [Mon, 16 Sep 2019 12:52:55 +0000 (18:22 +0530)]
Added monitor resource to board config

Signed-off-by: Sivaraj R <sivaraj@ti.com>
18 months ago[PDK-3584] Added ring monitor RM API
Sivaraj R [Sat, 14 Sep 2019 12:36:30 +0000 (18:06 +0530)]
[PDK-3584] Added ring monitor RM API

18 months agoMigrate to SYSFW v2019.07 - J7
Anand Mahadevan SS [Thu, 29 Aug 2019 12:43:03 +0000 (18:13 +0530)]
Migrate to SYSFW v2019.07 - J7

Signed-off-by: Anand Mahadevan SS <a0230421@ti.com>
18 months agoAdded API for MSMC Query[PDK-4277]
Anand Mahadevan SS [Mon, 16 Sep 2019 10:21:00 +0000 (15:51 +0530)]
Added API for MSMC Query[PDK-4277]

- Added API to check MSMC start and end address via DMSC
- Removed SOC dependency for Timer function
- Added testcase to UT to test the msmc query

Signed-off-by: Anand Mahadevan SS <a0230421@ti.com>
18 months agomisra c fixes
Prasad Konnur [Mon, 16 Sep 2019 11:05:12 +0000 (16:35 +0530)]
misra c fixes

Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
19 months agoUpdates to support Python 3.7 for trace parser REL.PDK.J7.00.09.01.01 REL.PDK.J7.00.09.01.02 REL.PDK.J7.00.09.01.03 REL.PDK.J7.00.09.01.04 REL.PDK.J7.00.09.01.05
Piyali Goswami [Sat, 17 Aug 2019 14:15:28 +0000 (19:45 +0530)]
Updates to support Python 3.7 for trace parser

Signed-off-by: Piyali Goswami <piyali_g@ti.com>
19 months agoxdc: Update settings to include core type
Sam Nelson [Wed, 14 Aug 2019 15:48:15 +0000 (11:48 -0400)]
xdc: Update settings to include core type

The Sciclient library is built core specific, so if you are using the
XDC configuration, it should have a way to specify the core name
specifically
The core type is mandatory as picking up wrong core library will end up
in run time failure.

NOTE: The target suffix does not have the information about the specific
core

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
20 months ago[hostemu] Fix host emulation build for sciclient
Anshu Jain [Thu, 8 Aug 2019 06:43:44 +0000 (12:13 +0530)]
[hostemu] Fix host emulation build for sciclient

Signed-off-by: Anshu Jain <a0132012@ti.com>
20 months agoChanges based on J7 SOC Alias changes
Ankur [Tue, 30 Jul 2019 13:35:01 +0000 (19:05 +0530)]
Changes based on J7 SOC Alias changes

Signed-off-by: Ankur <a0132173@ti.com>
21 months 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>
21 months 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>
21 months 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>
21 months 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>
21 months 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>
21 months 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>
21 months 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

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

21 months 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

21 months 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>
21 months 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>
21 months 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

21 months 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.

22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months agoBuild Fix
Ankur [Thu, 30 May 2019 10:25:20 +0000 (15:55 +0530)]
Build Fix

Signed-off-by: Ankur <a0132173@ti.com>
22 months 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>
22 months 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

22 months 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>
22 months ago Migrated to updated sysfw
Kedar Chitnis [Fri, 24 May 2019 17:13:34 +0000 (22:43 +0530)]
 Migrated to updated sysfw

22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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.

22 months 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>
22 months 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>
22 months 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

22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
22 months 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>
23 months 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>
23 months 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>
23 months 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>
23 months 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>
23 months 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>
23 months 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>
23 months 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>
23 months 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>
23 months 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>
23 months 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>
23 months 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>