keystone-rtos/osal.git
17 months agoNOTICE OF RELOCATION master
Jacob Stiffler [Thu, 31 Oct 2019 17:52:44 +0000 (13:52 -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/osal.

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 agoSupport for AM64X osal lib
Aravind Batni [Tue, 22 Oct 2019 20:27:42 +0000 (16:27 -0400)]
Support for AM64X osal lib

Signed-off-by: Aravind Batni <aravindbr@ti.com>
18 months agoosal: PRSDK-7114: enable SBL APP image gen only for K3 devices DEV.OSAL.01.00.00.16B REL.PDK.J7.01.00.00.05
Hao Zhang [Fri, 4 Oct 2019 16:07:04 +0000 (12:07 -0400)]
osal: PRSDK-7114: enable SBL APP image gen only for K3 devices

Signed-off-by: Hao Zhang <hzhang@ti.com>
18 months agoPRSDK-6460: Fixing doxygen warnings DEV.OSAL.01.00.00.16A
Mahesh Radhakrishnan [Thu, 3 Oct 2019 16:58:25 +0000 (12:58 -0400)]
PRSDK-6460: Fixing doxygen warnings

18 months agoosal: PRSDK-7114: fix unit test failure for SBL UART boot
Hao Zhang [Thu, 3 Oct 2019 10:11:34 +0000 (06:11 -0400)]
osal: PRSDK-7114: fix unit test failure for SBL UART boot

Remove initialise_monitor_handles() which caused the crash. initialise_monitor_handles()
is only required when using printf()

Signed-off-by: Hao Zhang <hzhang@ti.com>
18 months agoMISRA-C fix
Mahesh Radhakrishnan [Thu, 3 Oct 2019 03:11:26 +0000 (23:11 -0400)]
MISRA-C fix

18 months ago6.1 doc/ver update DEV.OSAL.01.00.00.16 DEV.PROCESSOR-SDK.06.01.00.07 REL.PDK.J7.01.00.00.04
Mahesh Radhakrishnan [Sun, 29 Sep 2019 19:24:52 +0000 (15:24 -0400)]
6.1 doc/ver update

18 months agoMISRAC Fixes
Mahesh Radhakrishnan [Sat, 28 Sep 2019 13:07:00 +0000 (09:07 -0400)]
MISRAC Fixes

18 months agoPRSDK-5851 Add header file to fix A15 macro issue
Sinthu Raja M [Fri, 27 Sep 2019 07:00:37 +0000 (12:30 +0530)]
PRSDK-5851 Add header file to fix A15 macro issue

 Add XDC header file which defines the A15 core specific macro

18 months agoPDK-2666: c++ build fix REL.PDK.J7.01.00.00.01 REL.PDK.J7.01.00.00.02 REL.PDK.J7.01.00.00.03
Prasad Konnur [Tue, 24 Sep 2019 08:57:59 +0000 (14:27 +0530)]
PDK-2666: c++ build fix

Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
18 months agoPRSDK-6302: Klocwork fix for Linux
Mahesh Radhakrishnan [Thu, 19 Sep 2019 19:46:30 +0000 (15:46 -0400)]
PRSDK-6302: Klocwork fix for Linux

18 months agoPRSDK-6302: Fix for am335x
Mahesh Radhakrishnan [Thu, 19 Sep 2019 15:01:10 +0000 (11:01 -0400)]
PRSDK-6302: Fix for am335x

18 months agoPRSDK-6302: MISRA-C fixes
Mahesh Radhakrishnan [Thu, 12 Sep 2019 22:16:13 +0000 (18:16 -0400)]
PRSDK-6302: MISRA-C fixes

18 months agomisra c fixes
Prasad Konnur [Mon, 16 Sep 2019 11:06:33 +0000 (16:36 +0530)]
misra c fixes

Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
18 months agoPDK-4456 : misra c fixes
Prasad Konnur [Thu, 12 Sep 2019 11:06:18 +0000 (16:36 +0530)]
PDK-4456 : misra c fixes

Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
18 months agoPRSDK-5851 Addressing review comments
Sinthu Raja M [Wed, 11 Sep 2019 15:42:50 +0000 (21:12 +0530)]
PRSDK-5851 Addressing review comments

 Updated targetProcMask HwAttrs param specific to A15 core only

19 months agoPRSDK-5851 OSAL update for SMP enabled examples REL.PDK.J7.00.09.01.05
Sinthu Raja M [Mon, 19 Aug 2019 11:30:09 +0000 (17:00 +0530)]
PRSDK-5851 OSAL update for SMP enabled examples

 Issue:
  HwiParams targetProcList should not be updated for SMP enabled RTOS
  applcation, which is taken care by the BIOS.
 Fix:
  Add check to verify the example is not BIOS SMP enabled from the
  application, this will determines the targetProcList params shall be
  updated for the example.

19 months agoPRSDK-5851: Update OSAL_hwAttrs structure params
Sinthu Raja M [Tue, 13 Aug 2019 11:35:20 +0000 (17:05 +0530)]
PRSDK-5851: Update OSAL_hwAttrs structure params

 1. Add a params to Osal_HwAttrs structure.
 2. Add common get_CoreId API to support all cores in future.
 3. Update HwiP_create function to use the get_CoreId API to mask the
 target processor interrupt for the running core.

19 months agoPRSDK-5851: Update code to enable interrupt in all cores of a15
Sinthu Raja M [Wed, 7 Aug 2019 07:15:29 +0000 (12:45 +0530)]
PRSDK-5851: Update code to enable interrupt in all cores of a15

 Issue:
   Interrupt fails to triggered the ISR from non primary A15
   core.
 Fix:
   Mask the target interrupt to the specific core in which the
   application is being loaded.

19 months agoPRSDK-6233: Supporting all cores for j721e 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
Mahesh Radhakrishnan [Wed, 28 Aug 2019 15:00:53 +0000 (11:00 -0400)]
PRSDK-6233: Supporting all cores for j721e

20 months agoPRSDK-6313: addressed C66x RTOS Interrupt Register issue
Aravind Batni [Fri, 9 Aug 2019 19:10:07 +0000 (15:10 -0400)]
PRSDK-6313: addressed C66x RTOS Interrupt Register issue

Signed-off-by: Aravind Batni <aravindbr@ti.com>
20 months ago[PRSDK-5253] Fix for interrupt issue
Ankur [Thu, 8 Aug 2019 06:04:41 +0000 (11:34 +0530)]
[PRSDK-5253] Fix for interrupt issue

Signed-off-by: Ankur <a0132173@ti.com>
20 months agoC7x Host Emulation Build Fix
Ankur [Wed, 7 Aug 2019 09:37:20 +0000 (15:07 +0530)]
C7x Host Emulation Build Fix

Signed-off-by: Ankur <a0132173@ti.com>
20 months agoPRSDK-5253: moving the Intc_SystemEnable part of first time loop
Aravind Batni [Mon, 29 Jul 2019 21:42:37 +0000 (17:42 -0400)]
PRSDK-5253: moving the Intc_SystemEnable part of first time loop

Signed-off-by: Aravind Batni <aravindbr@ti.com>
20 months agoPRSDK-5612: added enable/disable interrupt option during HwiP Create
Aravind Batni [Mon, 29 Jul 2019 22:26:17 +0000 (18:26 -0400)]
PRSDK-5612: added enable/disable interrupt option during HwiP Create

Signed-off-by: Aravind Batni <aravindbr@ti.com>
20 months agoChanges based on J7 SOC Alias changes
Ankur [Tue, 30 Jul 2019 13:19:23 +0000 (18:49 +0530)]
Changes based on J7 SOC Alias changes

Signed-off-by: Ankur <a0132173@ti.com>
21 months agoUpdating with BIOS 6.77.00.04 REL.PDK.J7.00.09.00.07 REL.PDK.J7.00.09.00.08 REL.PDK.J7.00.09.00.09 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
Ankur [Tue, 2 Jul 2019 06:06:07 +0000 (11:36 +0530)]
Updating with BIOS 6.77.00.04

Signed-off-by: Ankur <a0132173@ti.com>
21 months agoadd calling Osal_appC7xPreInit() REL.PDK.J7.00.09.00.06
Ming Wei [Tue, 2 Jul 2019 19:38:23 +0000 (14:38 -0500)]
add calling Osal_appC7xPreInit()

Signed-off-by: Ming Wei <mwei@ti.com>
21 months agomake the changes for J721E and SYS/BIOS only
Ming Wei [Mon, 1 Jul 2019 18:01:30 +0000 (13:01 -0500)]
make the changes for J721E and SYS/BIOS only

Signed-off-by: Ming Wei <mwei@ti.com>
21 months agoUpdate the default settings for DMTimers
Ming Wei [Thu, 27 Jun 2019 15:55:41 +0000 (10:55 -0500)]
Update the default settings for DMTimers

Signed-off-by: Ming Wei <mwei@ti.com>
21 months agofix JIRA PRSDK-5920
Ming Wei [Fri, 21 Jun 2019 20:19:49 +0000 (15:19 -0500)]
fix JIRA PRSDK-5920

Signed-off-by: Ming Wei <mwei@ti.com>
get rid of the dependency to the osal_soc.h and eventId

Signed-off-by: Ming Wei <mwei@ti.com>
21 months ago PRSDK-6039: Fix link issue on M4 DEV.OSAL.01.00.00.15A REL.PDK.J7.00.09.00.05
Sinthu Raja M [Thu, 4 Jul 2019 08:41:12 +0000 (14:11 +0530)]
 PRSDK-6039: Fix link issue on M4

  Fix linking issue for M4, include cache header file specific to M4
  core.

21 months agoDoc/version update for 6.0 DEV.OSAL.01.00.00.15 DEV.PROCESSOR-SDK.06.00.00.05 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 15:05:47 +0000 (11:05 -0400)]
Doc/version update for 6.0

21 months agoPRSDK-6039: Fix link issue on C66
Sinthu Raja M [Mon, 24 Jun 2019 05:49:08 +0000 (11:19 +0530)]
PRSDK-6039: Fix link issue on C66

 Fix linking issue for C66x, include cache header file specific to C66
 core.

21 months agofix the PRSDK-5206
Ming Wei [Wed, 19 Jun 2019 19:03:43 +0000 (14:03 -0500)]
fix the PRSDK-5206

Signed-off-by: Ming Wei <mwei@ti.com>
21 months ago[PDK-3291]Rename c7x to c7x_1
Vivek Dhande [Mon, 6 May 2019 09:00:45 +0000 (14:30 +0530)]
[PDK-3291]Rename c7x to c7x_1

Signed-off-by: Vivek Dhande <a0132295@ti.com>
21 months agoPRSDk-3872 Fix OSAL RTOS Example issue
Sinthu Raja M [Thu, 11 Apr 2019 06:55:47 +0000 (12:25 +0530)]
PRSDk-3872 Fix OSAL RTOS Example issue

 Issue:
 OSAL RTOS example fails when load through SD card or UART mode, because
 the linker loads the mmu table section in the location 0x80000000. This
 address will be get loaded from the SBL which looks for the startupcode
 c_int00 which wioll be missing.

 Fix:
 Use Programs.sectionsExclude option in project configuration to override
 linker to prevent loading any ouput section.

21 months agofix the HWI priority issue for C7X
Ming Wei [Thu, 13 Jun 2019 16:33:21 +0000 (11:33 -0500)]
fix the HWI priority issue for C7X

Signed-off-by: Ming Wei <mwei@ti.com>
21 months agoPRSDK-5246: support SMP mode for application so that appropriate cache includes are...
Aravind Batni [Wed, 9 Jan 2019 23:12:33 +0000 (18:12 -0500)]
PRSDK-5246: support SMP mode for application so that appropriate cache includes are done from Sys Bios

Signed-off-by: Aravind Batni <aravindbr@ti.com>
22 months agoPRSDK-5924: Fix OSAL internal implementation to use correct arguments for Timer Mode...
Aravind Batni [Fri, 7 Jun 2019 14:44:53 +0000 (10:44 -0400)]
PRSDK-5924: Fix OSAL internal implementation to use correct arguments for Timer Mode configuration

Signed-off-by: Aravind Batni <aravindbr@ti.com>
22 months agoBuild fix for C7x
Ankur [Thu, 6 Jun 2019 06:56:26 +0000 (12:26 +0530)]
Build fix for C7x

Signed-off-by: Ankur <a0132173@ti.com>
22 months agoIncreased Semaphore cnt to 150 for J721e
Brijesh Jadav [Tue, 28 May 2019 22:19:36 +0000 (03:49 +0530)]
Increased Semaphore cnt to 150 for J721e

Signed-off-by: Brijesh Jadav <brijesh.jadav@ti.com>
22 months agoIncreased Number of Semaphore
Brijesh Jadav [Sun, 26 May 2019 23:53:39 +0000 (05:23 +0530)]
Increased Number of  Semaphore

Signed-off-by: Brijesh Jadav <brijesh.jadav@ti.com>
22 months agoprovide fixes for C66x DMtimer interrupt issue
Ming Wei [Sat, 25 May 2019 03:18:07 +0000 (22:18 -0500)]
provide fixes for C66x DMtimer interrupt issue

Signed-off-by: Ming Wei <mwei@ti.com>
22 months agoUse common OSAL MMU init fxn
Sivaraj R [Mon, 20 May 2019 07:45:03 +0000 (13:15 +0530)]
Use common OSAL MMU init fxn

Signed-off-by: Sivaraj R <sivaraj@ti.com>
22 months agofix the baremetal DMtimer issue
Ming Wei [Thu, 16 May 2019 17:20:34 +0000 (12:20 -0500)]
fix the baremetal DMtimer issue

Signed-off-by: Ming Wei <mwei@ti.com>
23 months agoFix OSAL build for C7x app
Sivaraj R [Mon, 13 May 2019 10:31:41 +0000 (16:01 +0530)]
Fix OSAL build for C7x app

Signed-off-by: Sivaraj R <sivaraj@ti.com>
23 months agoadd C66x and c7x support for J721E tirtos REL.PDK.J7.00.09.00.01
Ming Wei [Fri, 10 May 2019 20:51:02 +0000 (15:51 -0500)]
add C66x and c7x support for J721E tirtos

Signed-off-by: Ming Wei <mwei@ti.com>
23 months agoosal: PRSDK-4967: support R5 run-time DM timer configuration for J7
Hao Zhang [Mon, 22 Apr 2019 16:23:48 +0000 (12:23 -0400)]
osal: PRSDK-4967: support R5 run-time DM timer configuration for J7

By default, gDmTimerPInfoTbl is configured to use DM timer instances on the
MCU domain for R5 core. If the R5 core is on the Main domain, the driver
will configure gDmTimerPInfoTbl on run-time to use DM timer instances on
the Main domain.

Signed-off-by: Hao Zhang <hzhang@ti.com>
23 months agoosal: PRSDK-4967: support run-time VIM base address configuration for J7
Hao Zhang [Wed, 27 Mar 2019 14:45:22 +0000 (10:45 -0400)]
osal: PRSDK-4967: support run-time VIM base address configuration for J7

Signed-off-by: Hao Zhang <hzhang@ti.com>
23 months agoPDK-4085: Add j721e_evm build support
Sivaraj R [Tue, 16 Apr 2019 12:39:51 +0000 (18:09 +0530)]
PDK-4085: Add j721e_evm build support

Signed-off-by: Sivaraj R <sivaraj@ti.com>
2 years agofix BIOS test failed on J721E/A72 issue REL.PDK.J7.00.08.00.05 REL.PDK.J7.00.08.00.06 REL.PDK.J7.00.08.00.07 REL.PDK.J7.00.08.00.08 REL.PDK.J7.00.08.00.09 REL.PDK.J7.00.08.00.10 REL.PDK.J7.00.08.00.11 REL.PDK.J7.00.08.00.12
Ming Wei [Mon, 25 Mar 2019 16:28:27 +0000 (11:28 -0500)]
fix BIOS test failed on J721E/A72 issue

Signed-off-by: Ming Wei <mwei@ti.com>
2 years agoPRSDK-5274: Update K2G sysbios examples to include xdc Runtime DEV.OSAL.01.00.00.14A DEV.PROCESSOR-SDK.05.03.00.05 REL.PDK.J7.00.08.00.04
Mahesh Radhakrishnan [Thu, 14 Mar 2019 19:25:15 +0000 (15:25 -0400)]
PRSDK-5274: Update K2G sysbios examples to include xdc Runtime

2 years agoosal: PRSDK-5320: fix SWI test failure REL.PDK.J7.00.08.00.01 REL.PDK.J7.00.08.00.02 REL.PDK.J7.00.08.00.03
Hao Zhang [Fri, 15 Mar 2019 12:45:13 +0000 (08:45 -0400)]
osal: PRSDK-5320: fix SWI test failure

Enable the swi in osal test bios config file.

Signed-off-by: Hao Zhang <hzhang@ti.com>
2 years agoUpdated version & documentation DEV.OSAL.01.00.00.14
Mahesh Radhakrishnan [Thu, 14 Mar 2019 20:13:24 +0000 (16:13 -0400)]
Updated version & documentation

2 years agoosal: fix Klocwork issue
Hao Zhang [Mon, 11 Mar 2019 16:21:32 +0000 (12:21 -0400)]
osal: fix Klocwork issue

Signed-off-by: Hao Zhang <hzhang@ti.com>
2 years agoAdded MCU2_1 in J721E core list
Prasad Jondhale [Mon, 11 Mar 2019 08:42:07 +0000 (14:12 +0530)]
Added MCU2_1 in J721E core list

 - MCU2_1 is needed for Switch firmware

Signed-off-by: Prasad Jondhale <prasad.jondhale@ti.com>
2 years agoPRSDK-3403: Added support AM65xx platform
Dasnavis Sabiya [Mon, 4 Mar 2019 03:38:06 +0000 (09:08 +0530)]
PRSDK-3403: Added support AM65xx platform

Updated C++ header file creation script and makefile to enable
build verfication on AM65xx platforms

2 years agoDefine cp15 assembly symbols as functions
Jonah Willis [Thu, 31 Jan 2019 17:54:43 +0000 (11:54 -0600)]
Define cp15 assembly symbols as functions

This change allows for gcc to interwork ARM mode assembly
functions with Thumb mode OSAL code.

PRSDK-5220

Signed-off-by: Jonah Willis <j-willis@ti.com>
2 years agoPDK-3715: Migrate to new CSL SOC alias change
Sivaraj R [Tue, 5 Mar 2019 05:20:36 +0000 (10:50 +0530)]
PDK-3715: Migrate to new CSL SOC alias change

Signed-off-by: Sivaraj R <sivaraj@ti.com>
2 years agoRevert "PRSDK-5246: support SMP mode for application so that appropriate cache includ...
Aravind Batni [Tue, 26 Feb 2019 16:04:45 +0000 (11:04 -0500)]
Revert "PRSDK-5246: support SMP mode for application so that appropriate cache includes are done from Sys Bios"

This reverts commit 9af2a40529e5d4d6c3f5c6915d0640eb9c6477c6.

2 years agoPRSDK-5246: support SMP mode for application so that appropriate cache includes are...
Aravind Batni [Wed, 9 Jan 2019 23:12:33 +0000 (18:12 -0500)]
PRSDK-5246: support SMP mode for application so that appropriate cache includes are done from Sys Bios

Signed-off-by: Aravind Batni <aravindbr@ti.com>
2 years agoosal: PRSDK-5352: fix bug in SwiP_delete() API
Hao Zhang [Tue, 12 Feb 2019 17:37:10 +0000 (12:37 -0500)]
osal: PRSDK-5352: fix bug in SwiP_delete() API

The parameter passed in SwiP_delete() should be a pointer of the
handle, since Swi_delete() use a pointer of the handle

Signed-off-by: Hao Zhang <hzhang@ti.com>
2 years agoPDK-3586: J7 to J721E
Sivaraj R [Wed, 6 Feb 2019 08:11:10 +0000 (13:41 +0530)]
PDK-3586: J7 to J721E

Signed-off-by: Sivaraj R <sivaraj@ti.com>
2 years agoPRSDK-5321: resolve C++ compilation issues
Aravind Batni [Wed, 6 Feb 2019 16:35:18 +0000 (11:35 -0500)]
PRSDK-5321: resolve C++ compilation issues

Signed-off-by: Aravind Batni <aravindbr@ti.com>
2 years agoPRSDK-5322: added a default OS type in the RTSC to get to a correct lib path for...
Aravind Batni [Wed, 6 Feb 2019 15:16:22 +0000 (10:16 -0500)]
PRSDK-5322: added a default OS type in the RTSC to get to a correct lib path for all applications which do not specify osal in RTSC cfg file

Signed-off-by: Aravind Batni <aravindbr@ti.com>
2 years agoPRSDK-297 Fix warnings in BIOS example.
Sinthu Raja M [Fri, 1 Feb 2019 10:44:46 +0000 (16:14 +0530)]
PRSDK-297 Fix warnings in BIOS example.

 OSAL example config file for AM571x platform on ARM core explicitly
 allocated heapsize for both Program and Bios, which throws warning
 during compilation as ignored. So removing Program.heapsize which is
 used only for this platform.

2 years agoPRSDK-5273: RTSC dependencies added
Aravind Batni [Fri, 1 Feb 2019 17:09:21 +0000 (12:09 -0500)]
PRSDK-5273: RTSC dependencies added

Signed-off-by: Aravind Batni <aravindbr@ti.com>
2 years agoPRSDK-5281: Resolved K2G Baremetal Unit Test timer Issue
Aravind Batni [Tue, 29 Jan 2019 19:38:30 +0000 (14:38 -0500)]
PRSDK-5281: Resolved K2G Baremetal Unit Test timer Issue

Signed-off-by: Aravind Batni <aravindbr@ti.com>
2 years agoPRSDK-5238: Proper check for the boolean condition
Mahesh Radhakrishnan [Wed, 23 Jan 2019 17:11:19 +0000 (12:11 -0500)]
PRSDK-5238: Proper check for the boolean condition

2 years agoPRSDK-5238: Fix for using macro in boolean context found by gcc tool update
Mahesh Radhakrishnan [Wed, 23 Jan 2019 15:05:43 +0000 (10:05 -0500)]
PRSDK-5238: Fix for using macro in boolean context found by gcc tool update

2 years agoPRSDK-5279: resolve compilation fail for K2G TI-RTOS projects due to SwiP tests added... REL.PDK.J7.00.05.00.15
Aravind Batni [Mon, 21 Jan 2019 15:58:38 +0000 (10:58 -0500)]
PRSDK-5279: resolve compilation fail for K2G TI-RTOS projects due to SwiP tests added recently

Signed-off-by: Aravind Batni <aravindbr@ti.com>
2 years agoBuild fix patch 3 REL.PDK.J7.00.05.00.13 REL.PDK.J7.00.05.00.14
Sivaraj R [Thu, 17 Jan 2019 08:14:48 +0000 (13:44 +0530)]
Build fix patch 3

Signed-off-by: Sivaraj R <sivaraj@ti.com>
2 years agoBuild fix patch 2 REL.PDK.J7.00.05.00.12
Sivaraj R [Thu, 17 Jan 2019 07:30:07 +0000 (13:00 +0530)]
Build fix patch 2

Signed-off-by: Sivaraj R <sivaraj@ti.com>
2 years agoFixed OSAL build due to recent changes REL.PDK.J7.00.05.00.11
Sivaraj R [Thu, 17 Jan 2019 06:40:45 +0000 (12:10 +0530)]
Fixed OSAL build due to recent changes

- Interface should hnot have direct dependency on XDC header
files as other modules are including OSAL without having XDC
or BIOS path set
- So made error block as void pointer and typecasted inside
the implementation
- Also SWIP was added to osal.h file. This should not be the
case as this is not applicable for baremetal build. This is similar
to why TaskP is not added to osal.h file

Signed-off-by: Sivaraj R <sivaraj@ti.com>
2 years agoPRSDK-5126: add Error Block in TaskP OSAL implementation REL.PDK.J7.00.05.00.10
Aravind Batni [Fri, 4 Jan 2019 21:05:56 +0000 (16:05 -0500)]
PRSDK-5126: add Error Block in TaskP OSAL implementation

Signed-off-by: Aravind Batni <aravindbr@ti.com>
2 years agoosal: PRSDK-4858: update copyright version
Hao Zhang [Fri, 11 Jan 2019 16:30:24 +0000 (11:30 -0500)]
osal: PRSDK-4858: update copyright version

Signed-off-by: Hao Zhang <hzhang@ti.com>
2 years agoosal: PRSDK-4858: add software interrupt support for RTOS
Hao Zhang [Thu, 18 Oct 2018 15:17:46 +0000 (11:17 -0400)]
osal: PRSDK-4858: add software interrupt support for RTOS

Signed-off-by: Hao Zhang <hzhang@ti.com>
2 years agoAdding sciclient dependency for J7 REL.PDK.J7.00.05.00.04 REL.PDK.J7.00.05.00.05 REL.PDK.J7.00.05.00.06 REL.PDK.J7.00.05.00.07 REL.PDK.J7.00.05.00.08 REL.PDK.J7.00.05.00.09
Ankur [Wed, 9 Jan 2019 10:34:37 +0000 (16:04 +0530)]
Adding sciclient dependency for J7

Signed-off-by: Ankur <a0132173@ti.com>
2 years agoFixed package build REL.PDK.J7.00.05.00.01 REL.PDK.J7.00.05.00.02 REL.PDK.J7.00.05.00.03
Sivaraj R [Mon, 7 Jan 2019 12:10:03 +0000 (17:40 +0530)]
Fixed package build

Signed-off-by: Sivaraj R <sivaraj@ti.com>
2 years agoPRSDK-5183: eliminate hhc.exe not found message
Aravind Batni [Mon, 17 Dec 2018 15:23:54 +0000 (10:23 -0500)]
PRSDK-5183: eliminate hhc.exe not found message

Signed-off-by: Aravind Batni <aravindbr@ti.com>
2 years agoCommented #error to allow J7 build
Rishabh Garg [Fri, 21 Dec 2018 12:05:16 +0000 (17:35 +0530)]
Commented #error to allow J7 build

- This should be fixed cleanly for PRSDK-5206

Signed-off-by: Rishabh Garg <rishabh@ti.com>
2 years agoFixed J7 C66/c7x build
Sivaraj R [Fri, 21 Dec 2018 11:39:57 +0000 (17:09 +0530)]
Fixed J7 C66/c7x build

Signed-off-by: Sivaraj R <sivaraj@ti.com>
2 years agoPRSDK-4092: Support for TimerP_getTimeInUsecs for baremetal added
Aravind Batni [Sat, 1 Dec 2018 01:00:53 +0000 (20:00 -0500)]
PRSDK-4092: Support for TimerP_getTimeInUsecs for baremetal added

Signed-off-by: Aravind Batni <aravindbr@ti.com>
2 years ago[PDK-3437] [OSAL] R5 baremetal implementation of HWIP_disable/Restore doesn't work... DEV.OSAL.01.00.00.13A
Dhande [Thu, 13 Dec 2018 16:18:47 +0000 (21:48 +0530)]
[PDK-3437] [OSAL] R5 baremetal implementation of HWIP_disable/Restore doesn't work when nested

- Resolution
    - Modificed APIs to call proper functions from Arch CSL FL

Signed-off-by: Dhande <v-dhande@ti.com>
2 years agoPRSDK-3403: Updated Module.xs to add .pl files to the release package DEV.OSAL.01.00.00.13 DEV.PROCESSOR-SDK.05.02.00.07
Dasnavis Sabiya [Mon, 19 Nov 2018 07:31:48 +0000 (13:01 +0530)]
PRSDK-3403: Updated Module.xs to add .pl files to the release package

2 years agoPRSDK-3403: Added C++ test application to verify C++ Build environment
Dasnavis Sabiya [Mon, 13 Aug 2018 13:07:01 +0000 (18:37 +0530)]
PRSDK-3403: Added C++ test application to verify C++ Build environment

Signed-off-by: Dasnavis Sabiya <x0265826@ti.com>
PRSDK-3403: Updated Perl script to fetch and update the header files
of all components to the cpptest.h file

PRSDK-3403: Updated application based on the latest build error fixes

2 years ago[SEMAPHORE] Added semaphore reset API
Lucas Weaver [Fri, 7 Dec 2018 17:20:19 +0000 (11:20 -0600)]
[SEMAPHORE] Added semaphore reset API

2 years agoDocumentation update for 1.0.0.13 rel
Aravind Batni [Fri, 7 Dec 2018 23:31:06 +0000 (18:31 -0500)]
Documentation update for 1.0.0.13 rel

Signed-off-by: Aravind Batni <aravindbr@ti.com>
2 years agoPRSDK-2892: Added Non-executable flag to device peripheral memory MMU config
M V Pratap Reddy [Fri, 30 Nov 2018 01:11:49 +0000 (06:41 +0530)]
PRSDK-2892: Added Non-executable flag to device peripheral memory MMU config

2 years agoPRSDK-4169: Added sciclient dependency for BIOS unit test
M V Pratap Reddy [Sun, 25 Nov 2018 21:14:32 +0000 (02:44 +0530)]
PRSDK-4169: Added sciclient dependency for BIOS unit test

2 years agoPRSDK-4169: Adding sciclient as a dependency for board
M V Pratap Reddy [Sat, 24 Nov 2018 21:32:33 +0000 (03:02 +0530)]
PRSDK-4169: Adding sciclient as a dependency for board

2 years agoJ7 build fix for new CSL soc files
Sivaraj R [Sat, 17 Nov 2018 06:04:27 +0000 (11:34 +0530)]
J7 build fix for new CSL soc files

Signed-off-by: Sivaraj R <sivaraj@ti.com>
2 years ago [PRSDK-4092] Updated OSAL for missing features TimerP
Kedar Chitnis [Wed, 17 Oct 2018 12:24:13 +0000 (17:54 +0530)]
 [PRSDK-4092] Updated OSAL for missing features TimerP

 - Added API in TimerP to get current time in units of usecs,
this avoids application having to use OS API to
get the same information

Signed-off-by: Sivaraj R <sivaraj@ti.com>
2 years agoMerge pull request #155 in PROCESSOR-SDK/osal from am77x_build to master
Sivaraj R [Fri, 9 Nov 2018 06:47:55 +0000 (00:47 -0600)]
Merge pull request #155 in PROCESSOR-SDK/osal from am77x_build to master

Squashed commit of the following:

commit 6bab6a44cc012401815492ad9a7a267be162c238
Author: Ming Wei <mwei@ti.com>
Date:   Thu Nov 8 15:16:04 2018 -0600

    add workaround for J7

Signed-off-by: Ming Wei <mwei@ti.com>
commit a6c2c1724a8f33ba29896b43af9413ad12f884a3
Author: Ming Wei <mwei@ti.com>
Date:   Thu Nov 8 13:07:53 2018 -0600

    add J7 support for sysbios_unit_test

Signed-off-by: Ming Wei <mwei@ti.com>
commit 471f850532c3c3276715a3569e0b8d40baf76a97
Author: Ming Wei <mwei@ti.com>
Date:   Sat Oct 27 10:15:01 2018 -0500

    use J7 XDC files for J7 build

Signed-off-by: Ming Wei <mwei@ti.com>
commit a990416a6fdac842ea9058299fc349f0c9d6f15d
Author: Ming Wei <mwei@ti.com>
Date:   Fri Oct 26 16:17:11 2018 -0500

    resolve conflicts to master

Signed-off-by: Ming Wei <mwei@ti.com>
commit c82b2d043a451aaf448067d57e2008de23dc4682
Author: Ming Wei <mwei@ti.com>
Date:   Tue Sep 25 01:11:00 2018 -0500

    add J7 support

Signed-off-by: Ming Wei <mwei@ti.com>
commit 02e93c32ed1f063fa25455556e65d04c69cfb962
Author: Ming Wei <mwei@ti.com>
Date:   Tue Sep 25 00:59:17 2018 -0500

    update TimerP_defaul.c for J7

Signed-off-by: Ming Wei <mwei@ti.com>
commit 487a5ceee12b59e2a66fdf7f1112e0b7deb425e3
Author: Ming Wei <mwei@ti.com>
Date:   Tue Sep 25 00:46:54 2018 -0500

    add J7 support to OSAL

Signed-off-by: Ming Wei <mwei@ti.com>
2 years agoMerge pull request #154 in PROCESSOR-SDK/osal from review-PRSDK-3563 to master
Mahesh Radhakrishnan [Mon, 29 Oct 2018 18:06:23 +0000 (13:06 -0500)]
Merge pull request #154 in PROCESSOR-SDK/osal from review-PRSDK-3563 to master

* commit '1ddb6089c7629a011a94dc8f313351e67b8117e1':
  PRSDK-3563: using common timer ID between hs and gp AM437x boards

2 years agoPRSDK-3563: using common timer ID between hs and gp AM437x boards
Aravind Batni [Thu, 25 Oct 2018 20:06:47 +0000 (16:06 -0400)]
PRSDK-3563: using common timer ID between hs and gp AM437x boards

Signed-off-by: Aravind Batni <aravindbr@ti.com>
2 years agoMerge pull request #152 in PROCESSOR-SDK/osal from kedarc_taskp_updates to master
Sivaraj R [Thu, 25 Oct 2018 15:04:37 +0000 (10:04 -0500)]
Merge pull request #152 in PROCESSOR-SDK/osal from kedarc_taskp_updates to master

* commit '5c9a7de9ae3dd8bb8e668b1366096293c1f0e37b':
  [OSAL] Updated OSAL for missing features in TaskP

2 years ago[OSAL] Updated OSAL for missing features in TaskP
Kedar Chitnis [Thu, 25 Oct 2018 09:57:31 +0000 (15:27 +0530)]
[OSAL] Updated OSAL for missing features in TaskP

     - Updated Task create to take stack pointer as input. If NULL, then OS allocates stack memory
       Default is NULL, so API remains backward compatible
     - Added API to sleep a task for 'n' msecs, this avoids user application having to use OS API to convert time in msecs to OS ticks
     - Added API to get task termination state, this avoids user application having to use OS API to get task state before deleting a task
     - All of above updated to TI-RTOS only.
       Note, TaskP is only supported in TI-RTOS

2 years agoMerge pull request #151 in PROCESSOR-SDK/osal from review-PRSDK-4917 to master
Sivaraj R [Wed, 24 Oct 2018 05:03:29 +0000 (00:03 -0500)]
Merge pull request #151 in PROCESSOR-SDK/osal from review-PRSDK-4917 to master

* commit '4175362b3fcc3e98e6126ada3fc24827a7a073b7':
  PRSDK-4917: eliminate infinite wait for SemaphoreP_NO_WAIT