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

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 agoudma: PRSDK-5609: add new API support to get statistics from the IP
Hao Zhang [Mon, 21 Oct 2019 14:54:29 +0000 (10:54 -0400)]
udma: PRSDK-5609: add new API support to get statistics from the IP

1. Add Udma_chGetStats() API to get packet/byte counts statistics data
2. Add test code support to get statistics data in memory copy test

Signed-off-by: Hao Zhang <hzhang@ti.com>
18 months agoDisable Ring monitor testcases still SYSFW bug is closed
Sivaraj R [Mon, 14 Oct 2019 04:07:28 +0000 (09:37 +0530)]
Disable Ring monitor testcases still SYSFW bug is closed

Signed-off-by: Sivaraj R <sivaraj@ti.com>
18 months agoDoxygen warning fix
Ankur [Fri, 11 Oct 2019 11:27:24 +0000 (16:57 +0530)]
Doxygen warning fix

Signed-off-by: Ankur <a0132173@ti.com>
18 months agoRight shift rx_size_thresh fields prior to writing
Prasad Jondhale [Wed, 9 Oct 2019 16:14:29 +0000 (21:44 +0530)]
Right shift rx_size_thresh fields prior to writing

The rx_size_thresh flow parameters are left
shifted prior to being compared to the
packet size in the hardware.  To account for
this right shift the values given prior to
writing to the register.

The read operation left shifts the values
after reading from the register.

Signed-off-by: Prasad Jondhale <prasad.jondhale@ti.com>
18 months agoAPI Guide fixes related to Sciclient
Anand Mahadevan SS [Wed, 9 Oct 2019 12:42:01 +0000 (18:12 +0530)]
API Guide fixes related to Sciclient

Signed-off-by: Anand Mahadevan SS <a0230421@ti.com>
18 months agoPDK-4374: Enabled UART prints for J7 C7x core
M V Pratap Reddy [Tue, 8 Oct 2019 08:41:25 +0000 (14:11 +0530)]
PDK-4374: Enabled UART prints for J7 C7x core

18 months agoBug Fix: PDK-4718
Sivaraj R [Mon, 7 Oct 2019 15:43:47 +0000 (21:13 +0530)]
Bug Fix: PDK-4718

- Enabled High capacity channel for MCU1_0
build for J721E
- By default this resource is not allocated

Signed-off-by: Sivaraj R <sivaraj@ti.com>
18 months agoPDK-4596: MISRAC Fixes - Patch 5
Sivaraj R [Mon, 7 Oct 2019 14:33:08 +0000 (20:03 +0530)]
PDK-4596: MISRAC Fixes - Patch 5

Signed-off-by: Sivaraj R <sivaraj@ti.com>
18 months agoPDK-3669: Patch 2 DEV.UDMA_LLD.01.00.00.04
Sivaraj R [Tue, 1 Oct 2019 03:35:11 +0000 (09:05 +0530)]
PDK-3669: Patch 2

- Build fix
- Missed to rebuild after self review change

Signed-off-by: Sivaraj R <sivaraj@ti.com>
18 months agoPDK-3669: Support to submit multiple elements in the ring
Sivaraj R [Sat, 28 Sep 2019 17:11:47 +0000 (22:41 +0530)]
PDK-3669: Support to submit multiple elements in the ring

Signed-off-by: Sivaraj R <sivaraj@ti.com>
18 months agoPDK-4596: MISRAC Fixes - Patch 4
Sivaraj R [Sat, 28 Sep 2019 13:35:57 +0000 (19:05 +0530)]
PDK-4596: MISRAC Fixes - Patch 4

Signed-off-by: Sivaraj R <sivaraj@ti.com>
18 months ago[dmautils] Use int32_t instead of uint32_t
Anshu Jain [Sun, 29 Sep 2019 07:11:25 +0000 (12:41 +0530)]
[dmautils] Use int32_t instead of uint32_t

Use int32_t instead of uint32_t whereever possible without
impacting the functionality. This eventually helps is MISRA C
typecasting warnings

Signed-off-by: Anshu Jain <a0132012@ti.com>
18 months ago[dmautils] Move DRU enable/disable to init/deinit
Anshu Jain [Fri, 27 Sep 2019 03:32:13 +0000 (09:02 +0530)]
[dmautils] Move DRU enable/disable to init/deinit

Signed-off-by: Anshu Jain <a0132012@ti.com>
18 months ago6.1 version update
Mahesh Radhakrishnan [Sun, 29 Sep 2019 18:19:47 +0000 (14:19 -0400)]
6.1 version update

18 months agoPDK-4374: Fix for UART print issue on J7 C7x core
M V Pratap Reddy [Sun, 29 Sep 2019 22:24:11 +0000 (03:54 +0530)]
PDK-4374: Fix for UART print issue on J7 C7x core

18 months agoPDK-2666: c++ build fix
Prasad Konnur [Wed, 25 Sep 2019 15:49:24 +0000 (21:19 +0530)]
PDK-2666: c++ build fix

Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
18 months agoPDK-2666: c++ build fix
Prasad Konnur [Tue, 24 Sep 2019 08:56:28 +0000 (14:26 +0530)]
PDK-2666: c++ build fix

Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
18 months agoRevert "[PDK-4603] Critical error fix"
Sivaraj R [Wed, 25 Sep 2019 10:57:09 +0000 (16:27 +0530)]
Revert "[PDK-4603] Critical error fix"

This reverts commit 58a2f603bec75059d90d804ad730533137af9873.

18 months ago[PDK-4603] Critical error fix
Ankur [Wed, 25 Sep 2019 07:50:28 +0000 (13:20 +0530)]
[PDK-4603] Critical error fix

Signed-off-by: Ankur <a0132173@ti.com>
18 months agoPDK-4654: UDMA deinit doesn't check for allocated resources
Sivaraj R [Wed, 25 Sep 2019 02:30:35 +0000 (08:00 +0530)]
PDK-4654: UDMA deinit doesn't check for allocated resources

- Added negative testcase to test this

Signed-off-by: Sivaraj R <sivaraj@ti.com>
18 months agoKW Critical error fix
Ankur [Tue, 24 Sep 2019 06:27:28 +0000 (11:57 +0530)]
KW Critical error fix

Signed-off-by: Ankur <ankurbaranwal@ti.com>
18 months ago[dmautils] Fix issue with 4D transfer in hostemu
Anshu Jain [Tue, 24 Sep 2019 04:32:16 +0000 (10:02 +0530)]
[dmautils] Fix issue with 4D transfer in hostemu

Signed-off-by: Anshu Jain <a0132012@ti.com>
18 months agoPDK-3652: RINGACC and UDMA ring state interoperability issue after channel teardown...
Sivaraj R [Mon, 23 Sep 2019 07:59:32 +0000 (13:29 +0530)]
PDK-3652: RINGACC and UDMA ring state interoperability issue after channel teardown - Patch 2

- Fixes after testing
- For read access, RM API should be called with dummy config
- Otherwise this ring RT region is firewalled and CPU will crash

Signed-off-by: Sivaraj R <sivaraj@ti.com>
18 months ago[hostemu] Add CLEC base address memory for hostemu
Anshu Jain [Mon, 23 Sep 2019 07:54:35 +0000 (13:24 +0530)]
[hostemu] Add CLEC base address memory for hostemu

Signed-off-by: Anshu Jain <a0132012@ti.com>
18 months agoPDK-3652: RINGACC and UDMA ring state interoperability issue after channel teardown
Sivaraj R [Sat, 21 Sep 2019 06:16:22 +0000 (11:46 +0530)]
PDK-3652: RINGACC and UDMA ring state interoperability issue after channel teardown

Signed-off-by: Sivaraj R <sivaraj@ti.com>
18 months ago PDK-4596: MISRAC Fixes - Patch 3
Sivaraj R [Fri, 20 Sep 2019 17:53:13 +0000 (23:23 +0530)]
 PDK-4596: MISRAC Fixes - Patch 3

Signed-off-by: Sivaraj R <sivaraj@ti.com>
18 months agoPDK-4596: MISRAC Fixes - Patch 2
Sivaraj R [Fri, 20 Sep 2019 12:56:46 +0000 (18:26 +0530)]
PDK-4596: MISRAC Fixes - Patch 2

Signed-off-by: Sivaraj R <sivaraj@ti.com>
18 months agoPDK-4596: MISRAC Fixes
Sivaraj R [Thu, 19 Sep 2019 17:50:53 +0000 (23:20 +0530)]
PDK-4596: MISRAC Fixes

Signed-off-by: Sivaraj R <sivaraj@ti.com>
18 months agoPDK-4600: UDMA: Remove memcpy, memset utils function
Sivaraj R [Tue, 17 Sep 2019 14:04:20 +0000 (19:34 +0530)]
PDK-4600: UDMA: Remove memcpy, memset utils function

Signed-off-by: Sivaraj R <sivaraj@ti.com>
18 months ago[PDK-3584] Added ring monitor support
Sivaraj R [Wed, 11 Sep 2019 06:17:24 +0000 (11:47 +0530)]
[PDK-3584] Added ring monitor support

- Added alloc, free and config API
- Added event generation support
- Added unit test cases

Signed-off-by: Sivaraj R <sivaraj@ti.com>
19 months agoudma: ring: Check orderId is within valid range
Misael Lopez Cruz [Fri, 13 Sep 2019 17:07:28 +0000 (12:07 -0500)]
udma: ring: Check orderId is within valid range

Check that the ring orderId is within valid range allowed by 4-bit ORDERID
field of RINGACC_ORDERID register.

Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
20 months agoChanges based on J7 SOC Alias changes
Ankur [Tue, 30 Jul 2019 13:46:37 +0000 (19:16 +0530)]
Changes based on J7 SOC Alias changes

Signed-off-by: Ankur <a0132173@ti.com>
21 months agoAPI Guide Update
Ankur [Wed, 17 Jul 2019 09:25:10 +0000 (14:55 +0530)]
API Guide Update

Signed-off-by: Ankur <a0132173@ti.com>
21 months agoBug Fix: PDK-4371: UDMA Proxy Testcases fails on C66x
Sivaraj R [Fri, 12 Jul 2019 07:54:01 +0000 (13:24 +0530)]
Bug Fix: PDK-4371: UDMA Proxy Testcases fails on C66x

Resolution:
- There is a delay between a ring push through proxy and the
ring HWOCC getting updated
- Mail sent to design team for clarification
- For now, used a while loop with retries to check for
occupancy match
- Also made all register overlays as volatile variables
so that compiler doesn't optimize register access
- These doesn't have any functional change as register
overlays in structures are meant only for debug purpose

Signed-off-by: Sivaraj R <sivaraj@ti.com>
21 months agoBug Fix: PDK-4347 - patch 2
Sivaraj R [Thu, 11 Jul 2019 15:36:18 +0000 (21:06 +0530)]
Bug Fix: PDK-4347 - patch 2

- C7x preinit missed from all BIOS apps

Signed-off-by: Sivaraj R <sivaraj@ti.com>
21 months agoEnable uart prints for C66x as this is working now
Sivaraj R [Thu, 11 Jul 2019 15:34:49 +0000 (21:04 +0530)]
Enable uart prints for C66x as this is working now

Signed-off-by: Sivaraj R <sivaraj@ti.com>
21 months agoBug Fix: PDK-4360
Sivaraj R [Thu, 11 Jul 2019 10:33:33 +0000 (16:03 +0530)]
Bug Fix: PDK-4360

PDK-4360:
Incorrect data type for element count in Udma_RingPrms

Resolution:
Increase the element count to uint32_t
Also enhanced the tescase to test more than 256 (8-bit) data
to catch this bug

Signed-off-by: Sivaraj R <sivaraj@ti.com>
21 months agoPDK-4347: Bug Fix: UDMA Example Stack No Sufficient for C7x
Sivaraj R [Wed, 10 Jul 2019 10:45:03 +0000 (16:15 +0530)]
PDK-4347: Bug Fix: UDMA Example Stack No Sufficient for C7x

Resolution:
Increase stack to 16KB size as required by C7x

Signed-off-by: Sivaraj R <sivaraj@ti.com>
21 months ago[dmautils] Run Sciclient in secure supervisor mode for baremetal
Anshu Jain [Tue, 9 Jul 2019 09:05:53 +0000 (14:35 +0530)]
[dmautils] Run Sciclient in secure supervisor mode for baremetal

Signed-off-by: Anshu Jain <a0132012@ti.com>
21 months agoRemove MCU1_1 examples for J721E
Sivaraj R [Tue, 9 Jul 2019 05:48:51 +0000 (11:18 +0530)]
Remove MCU1_1 examples for J721E

- No blockcpy channels allocated for MCU1_1
- Also SBL boot is not supported for MCU1_1
- Mostly MCU1 is used in lock step; so MUC1_1
verification is not a priority

Signed-off-by: Sivaraj R <sivaraj@ti.com>
21 months agoRM alignment Sync with Linux Patch 3
Sivaraj R [Tue, 9 Jul 2019 03:58:52 +0000 (09:28 +0530)]
RM alignment Sync with Linux Patch 3

Channel allocation for MAIN_0_R5_2 is done such
that Main NAV UDMA Tx and Rx channels start with
different offsets.

This cannot be used for block copy carveout since
the Tx and Rx channels are not overlapping at start
or end of the range.

Fix this by allocating more channels to MAIN_0_R5_0
so that the MAIN_0_R5_2 channel ranges start at
same value.

Autogen table takes care of the corresponding ring
allocations as well.

Signed-off-by: Sivaraj R <sivaraj@ti.com>
21 months agomissed few changes in previous patch
Sivaraj R [Mon, 8 Jul 2019 17:54:03 +0000 (23:24 +0530)]
missed few changes in previous patch

Signed-off-by: Sivaraj R <sivaraj@ti.com>
21 months agoUpdated UT to reflect RM changes
Sivaraj R [Mon, 8 Jul 2019 16:55:08 +0000 (22:25 +0530)]
Updated UT to reflect RM changes

- Made the changes in a generic way as per SOC/CORE
- Also made loop count of pause/resume testcase as 1
so that test completes faster

Signed-off-by: Sivaraj R <sivaraj@ti.com>
21 months agoRemove J7 MPU print as SBL auto is enabled
Sivaraj R [Sat, 6 Jul 2019 14:03:48 +0000 (19:33 +0530)]
Remove J7 MPU print as SBL auto is enabled

Signed-off-by: Sivaraj R <sivaraj@ti.com>
21 months agoChanges due to RM alignment
Sivaraj R [Sat, 6 Jul 2019 11:51:54 +0000 (17:21 +0530)]
Changes due to RM alignment

- No DRU channel is allocated for MCU2_0.
- So use MCU2_1 for DRU tests
- Only one blockcpy channel was allocated for MCU1_0
- Increase to 2 so that chaining app works

Signed-off-by: Sivaraj R <sivaraj@ti.com>
21 months agoADASVISION-2252 - [R5F] Move app reset vector to separate section
Sivaraj R [Sat, 6 Jul 2019 06:25:17 +0000 (11:55 +0530)]
ADASVISION-2252 - [R5F] Move app reset vector to separate section

 - 0x0 is used by SBL
 - Use OCMC instead of 0x0
 - Change BIOS cfg to redirect to RESET_VECTOR section

Signed-off-by: Sivaraj R <sivaraj@ti.com>
21 months agoADASVISION-2308: UDMA RM Change in Driver as per alignment
Sivaraj R [Wed, 3 Jul 2019 09:11:32 +0000 (14:41 +0530)]
ADASVISION-2308: UDMA RM Change in Driver as per alignment

Signed-off-by: Sivaraj R <sivaraj@ti.com>
21 months ago[dmautils] Add testcase for circular buffer
Anshu Jain [Thu, 27 Jun 2019 07:57:06 +0000 (13:27 +0530)]
[dmautils] Add testcase for circular buffer

Signed-off-by: Anshu Jain <a0132012@ti.com>
21 months ago[dmautils] Update License header DEV.UDMA_LLD.01.00.00.03
Anshu Jain [Tue, 25 Jun 2019 15:58:32 +0000 (21:28 +0530)]
[dmautils] Update License header

Signed-off-by: Anshu Jain <a0132012@ti.com>
21 months ago[dmautils] Fix doxygen warnings
Anshu Jain [Tue, 25 Jun 2019 07:18:51 +0000 (12:48 +0530)]
[dmautils] Fix doxygen warnings

Signed-off-by: Anshu Jain <a0132012@ti.com>
21 months ago[rm] Update dru channel and c7x events
Anshu Jain [Tue, 25 Jun 2019 05:44:08 +0000 (11:14 +0530)]
[rm] Update dru channel and c7x events

Signed-off-by: Anshu Jain <a0132012@ti.com>
21 months ago[dmautils] Add testcase for 1d2d3d autoincrement
Anshu Jain [Tue, 25 Jun 2019 04:32:12 +0000 (10:02 +0530)]
[dmautils] Add testcase for 1d2d3d autoincrement

Signed-off-by: Anshu Jain <a0132012@ti.com>
21 months ago[dmautils] Add testcase for last block handling
Anshu Jain [Tue, 25 Jun 2019 04:28:59 +0000 (09:58 +0530)]
[dmautils] Add testcase for last block handling

Signed-off-by: Anshu Jain <a0132012@ti.com>
21 months ago[dmautils] Migrate to event registeration via udma
Anshu Jain [Tue, 25 Jun 2019 04:25:33 +0000 (09:55 +0530)]
[dmautils] Migrate to event registeration via udma

Signed-off-by: Anshu Jain <a0132012@ti.com>
21 months ago6.0 doc/ver update
Mahesh Radhakrishnan [Mon, 24 Jun 2019 18:51:02 +0000 (14:51 -0400)]
6.0 doc/ver update

21 months ago[PDK-3291]Rename c7x to c7x_1
Vivek Dhande [Mon, 6 May 2019 08:56:16 +0000 (14:26 +0530)]
[PDK-3291]Rename c7x to c7x_1

Signed-off-by: Vivek Dhande <a0132295@ti.com>
22 months agoUT fix for C7x - increase stack size
Sivaraj R [Thu, 13 Jun 2019 07:15:44 +0000 (12:45 +0530)]
UT fix for C7x - increase stack size

- Also app is not loading when using 0xD0000000
DDR location.
- Swapped this with MCU DDR region

Signed-off-by: Sivaraj R <sivaraj@ti.com>
22 months agoAdded non-secure switch for UDMA to owrk on C7x
Sivaraj R [Thu, 13 Jun 2019 05:48:03 +0000 (11:18 +0530)]
Added non-secure switch for UDMA to owrk on C7x

Signed-off-by: Sivaraj R <sivaraj@ti.com>
22 months agoUT: Disable UART fr c6x/c7x
Sivaraj R [Mon, 10 Jun 2019 05:42:18 +0000 (11:12 +0530)]
UT: Disable UART fr c6x/c7x

Signed-off-by: Sivaraj R <sivaraj@ti.com>
22 months agoEnforce rd/wr order for proxy
Sivaraj R [Mon, 10 Jun 2019 05:40:11 +0000 (11:10 +0530)]
Enforce rd/wr order for proxy

- Since compiler doesn't guarantee the order
when 64-bit read/write is performed, it is better
to force the order by using two 32-bit access
- Note this is not a bug earlier. This is just a
precautionary change just in case the current compiler
behaviour changes

Signed-off-by: Sivaraj R <sivaraj@ti.com>
22 months agoPDK-4156: [UDMA] Support for dedicated ring proxy
Sivaraj R [Fri, 7 Jun 2019 08:20:19 +0000 (13:50 +0530)]
PDK-4156: [UDMA] Support for dedicated ring proxy

- Added testcase as well

Signed-off-by: Sivaraj R <sivaraj@ti.com>
22 months agoUT porting changes to C66x
Sivaraj R [Thu, 30 May 2019 13:20:23 +0000 (18:50 +0530)]
UT porting changes to C66x

- Use SCICLIENT for timer interrupt routing
- Make skipped testcase as NA instead of NRY

Signed-off-by: Sivaraj R <sivaraj@ti.com>
22 months agoPackage Build fix
Ankur [Thu, 30 May 2019 11:47:43 +0000 (17:17 +0530)]
Package Build fix

Signed-off-by: Ankur <a0132173@ti.com>
22 months agoRevert the InitMMU function as per alignment
Sivaraj R [Wed, 29 May 2019 13:07:50 +0000 (18:37 +0530)]
Revert the InitMMU function as per alignment

Signed-off-by: Sivaraj R <sivaraj@ti.com>
22 months agoPorted UDMA UT for J7 all cores
Sivaraj R [Tue, 28 May 2019 06:23:34 +0000 (11:53 +0530)]
Ported UDMA UT for J7 all cores

- Separated the SOC and CORE specific data to SOC file
- Added run flag for all testcases based on SOC, CORE and
default RM configuration

Signed-off-by: Sivaraj R <sivaraj@ti.com>
22 months agoRemove printf from MPU build
Sivaraj R [Mon, 27 May 2019 12:20:27 +0000 (17:50 +0530)]
Remove printf from MPU build

Printf doesn't work for MPU when run from SBL with no CCS connection
There is no flag to detect SBL or CCS mode. Hence disable the print
for MPU unconditionally

Signed-off-by: Sivaraj R <sivaraj@ti.com>
22 months agoRevert PRSDK-4453: Remove unused common cfg files
Sivaraj R [Mon, 27 May 2019 12:18:45 +0000 (17:48 +0530)]
Revert PRSDK-4453: Remove unused common cfg files

Signed-off-by: Sivaraj R <sivaraj@ti.com>
22 months agoRevert coreIntr to irIntr
Sivaraj R [Mon, 27 May 2019 08:29:29 +0000 (13:59 +0530)]
Revert coreIntr to irIntr

- This broke industrial SDK build
- Since the driver is already released, we can't
change the interface
- Retaining the original name
-- But the meaning is still same - till this represents
the core interrupts
- App need to add the NAVSS IR intr offset

Signed-off-by: Sivaraj R <sivaraj@ti.com>
22 months agoFix C7x CLEC map instead of broadcast
Sivaraj R [Mon, 27 May 2019 05:45:24 +0000 (11:15 +0530)]
Fix C7x CLEC map instead of broadcast

Signed-off-by: Sivaraj R <sivaraj@ti.com>
22 months agoUT porting for J7
Sivaraj R [Sat, 25 May 2019 11:30:52 +0000 (17:00 +0530)]
UT porting for J7

Signed-off-by: Sivaraj R <sivaraj@ti.com>
22 months agoBug Fix: PDK-3910
Sivaraj R [Fri, 24 May 2019 12:44:15 +0000 (18:14 +0530)]
Bug Fix: PDK-3910

C7x interrupt configuration options unspecified and insufficient in PDK

Signed-off-by: Sivaraj R <sivaraj@ti.com>
22 months agoIncrease MCU2_1 ring to support VHWA usecases
Sivaraj R [Fri, 24 May 2019 11:25:30 +0000 (16:55 +0530)]
Increase MCU2_1 ring to support VHWA usecases

- Resduced teh free count for A72
- Now ring is allocated propotional to the
total channels allocated to a core

Signed-off-by: Sivaraj R <sivaraj@ti.com>
22 months agoUDMA memcpy verification on C7x
Sivaraj R [Fri, 24 May 2019 11:24:34 +0000 (16:54 +0530)]
UDMA memcpy verification on C7x

- Disabled UART print
- Tested poll mode. Intr mode disabled till support is added

Signed-off-by: Sivaraj R <sivaraj@ti.com>
22 months agoDisable UDMAP config for direct DRU mode
Sivaraj R [Thu, 23 May 2019 16:00:26 +0000 (21:30 +0530)]
Disable UDMAP config for direct DRU mode

- This will decrease the open/close time
in case of direct TR mode

Signed-off-by: Sivaraj R <sivaraj@ti.com>
22 months agoRevert " Updates to put #ifdef properly for CC QT BUILD to compile without errors"
Sivaraj R [Fri, 24 May 2019 03:57:40 +0000 (09:27 +0530)]
Revert " Updates to put #ifdef properly for CC QT BUILD to compile without errors"

This reverts commit 808440a91e1ea318eac2041408ee7f0335465320.

22 months ago Updates to put #ifdef properly for CC QT BUILD to compile without errors
Kedar Chitnis [Thu, 23 May 2019 18:04:46 +0000 (23:34 +0530)]
 Updates to put #ifdef properly for CC QT BUILD to compile without errors

22 months agoFixed RM event and VINTR overlap for MCU NAVSS
Sivaraj R [Wed, 22 May 2019 10:58:48 +0000 (16:28 +0530)]
Fixed RM event and VINTR overlap for MCU NAVSS

- Also RM overlap check was diabled in app
- Hence this issue was missed in driver testing
- Number of entries to check is getting more than 128x32
and hence the check was returning error
- Increased the count to 150 to support upto 4800
resources max (typically for global event)
- Also removed UTC count factor from the array size
as this is not required.

Signed-off-by: Sivaraj R <sivaraj@ti.com>
22 months agoBug Fix: PDK-4174
Sivaraj R [Wed, 22 May 2019 08:10:57 +0000 (13:40 +0530)]
Bug Fix: PDK-4174

[UDMA] Application ring, descriptor and buffers alloc size should be cacheline aligned

Resolution:
Fixed the app to allocate multipel of 128 byte for
these entries

Signed-off-by: Sivaraj R <sivaraj@ti.com>
22 months agoRevert AM65xx A53 xdc changes as this breaks make build
Sivaraj R [Tue, 21 May 2019 12:44:54 +0000 (18:14 +0530)]
Revert AM65xx A53 xdc changes as this breaks make build

Signed-off-by: Sivaraj R <sivaraj@ti.com>
22 months agoMake all sample apps RTOS based
Sivaraj R [Tue, 21 May 2019 11:23:17 +0000 (16:53 +0530)]
Make all sample apps RTOS based

- Only memcpy test app supports both RTOS and baremetal
- This to reduce testing effort for the multiple core combination
- This also fixes the C7x baremetal build issue

Signed-off-by: Sivaraj R <sivaraj@ti.com>
22 months agoRM fix for VHWA
Ankur [Tue, 21 May 2019 11:07:28 +0000 (16:37 +0530)]
RM fix for VHWA

Signed-off-by: Ankur <a0132173@ti.com>
22 months agoPDK-4061: Update resource partition as per alignment
Sivaraj R [Mon, 20 May 2019 12:43:06 +0000 (18:13 +0530)]
PDK-4061: Update resource partition as per alignment

- Addressed for Main NAVSS
- Also addressed bug fix:
   - PDK-4147: UDMA unable to allocate more than 8 UTC1 channels

Signed-off-by: Sivaraj R <sivaraj@ti.com>
22 months agoFix package build for J721e
Sivaraj R [Mon, 20 May 2019 10:44:51 +0000 (16:14 +0530)]
Fix package build for J721e

Signed-off-by: Sivaraj R <sivaraj@ti.com>
22 months agoPRSDK-4453 Update libProfile inline with makefile BUILD_PROFILE macro
Sinthu Raja M [Mon, 20 May 2019 05:59:40 +0000 (11:29 +0530)]
PRSDK-4453 Update libProfile inline with makefile BUILD_PROFILE macro

 Remove hardcoded library profile for the driver components
 Update config file to get library profile from the makefile macros

22 months agoPRSDK-4453 Add support for SMP enabled exmaples for A53
Sinthu Raja M [Fri, 17 May 2019 04:25:16 +0000 (09:55 +0530)]
PRSDK-4453 Add support for SMP enabled exmaples for A53

 Update makefile to add entry for SMp enabled examples for A53.
 Update RTSC config file to add SMP support.

22 months agoPRSDK-4453 Update common config file as a generic header file
Sinthu Raja M [Tue, 14 May 2019 08:29:58 +0000 (13:59 +0530)]
PRSDK-4453 Update common config file as a generic header file

 Update common config file to use SOC from the environment variable,
 which can be used as generic across other platforms.
 Remove Board and SCI client package from config file.

22 months agoPRSDK-4453 Add common config file to load PDK components
Sinthu Raja M [Mon, 13 May 2019 04:47:27 +0000 (10:17 +0530)]
PRSDK-4453 Add common config file to load PDK components

 Add common config file to load PDK components that can be used for
 all platforms to avoid redundancy.

22 months agoPRSDK-4453 Update RTSC config file to load PDK components
Sinthu Raja M [Sat, 11 May 2019 05:30:51 +0000 (11:00 +0530)]
PRSDK-4453 Update RTSC config file to load PDK components

 Update UDMA example/test RTSC config file ti load PDK driver components
 and OSAL package during compilation.

22 months agoUse common OSAL MMU init fxn
Sivaraj R [Mon, 20 May 2019 07:42:12 +0000 (13:12 +0530)]
Use common OSAL MMU init fxn

Signed-off-by: Sivaraj R <sivaraj@ti.com>
23 months agoSet burstsize to 64 bytes
Sivaraj R [Sat, 18 May 2019 08:04:59 +0000 (13:34 +0530)]
Set burstsize to 64 bytes

- Blockcpy is also considered like packet mode
- So require fifo size (128) > burstsize + 32 bytes
- So we can't set burstsize to 128 when fifo size is also 128

Signed-off-by: Sivaraj R <sivaraj@ti.com>
23 months agoFix A72 BIOS by updating MMU setting
Sivaraj R [Fri, 17 May 2019 05:49:53 +0000 (11:19 +0530)]
Fix A72 BIOS by updating MMU setting

Signed-off-by: Sivaraj R <sivaraj@ti.com>
23 months agoEnable I2C dependency due to board module change
Sivaraj R [Fri, 17 May 2019 04:35:51 +0000 (10:05 +0530)]
Enable I2C dependency due to board module change

Signed-off-by: Sivaraj R <sivaraj@ti.com>
23 months agoDirect DRU fix
Sivaraj R [Thu, 16 May 2019 16:25:36 +0000 (21:55 +0530)]
Direct DRU fix

- Only three core submit registers are present
in J7ES and Maxwell
- Limiting the set to inly 3 across cores

Signed-off-by: Sivaraj R <sivaraj@ti.com>
23 months agoLimit app builds to only required cores
Sivaraj R [Thu, 16 May 2019 10:32:32 +0000 (16:02 +0530)]
Limit app builds to only required cores

Signed-off-by: Sivaraj R <sivaraj@ti.com>
23 months agoRemoved QT build changes
Sivaraj R [Thu, 16 May 2019 10:32:07 +0000 (16:02 +0530)]
Removed QT build changes

Signed-off-by: Sivaraj R <sivaraj@ti.com>
23 months agoPDK-4161: [UDMA] Core interrupts should be resource managed instead of NAVSS IR
Sivaraj R [Tue, 14 May 2019 18:43:18 +0000 (00:13 +0530)]
PDK-4161: [UDMA] Core interrupts should be resource managed instead of NAVSS IR

Resolution:
Fixed the driver to use core intr as resource
This has interface and integration changes

Signed-off-by: Sivaraj R <sivaraj@ti.com>
23 months agoBring-up changes
Sivaraj R [Tue, 14 May 2019 08:26:53 +0000 (13:56 +0530)]
Bring-up changes

- Fixed print flag
- Disable UART still it is brought up

Signed-off-by: Sivaraj R <sivaraj@ti.com>
23 months agoBug Fix: PDK-4142
Sivaraj R [Thu, 9 May 2019 12:44:46 +0000 (18:14 +0530)]
Bug Fix: PDK-4142

- [udma] Udma_flowAlloc doesn't return error if enough flows not present

Resolution:
The check to return error when the flow is not alloctaed was
missing
Added the check in the driver and added corresponding testcase
PDK-4154 to check the fix is proper

Signed-off-by: Sivaraj R <sivaraj@ti.com>
23 months agoUDMA UT improvements
Sivaraj R [Fri, 26 Apr 2019 07:02:54 +0000 (12:32 +0530)]
UDMA UT improvements

- Added separate apps for full automation and manual entry
- Added queue/dequeue count per channel for debug purpose
- Fixed first testcase option in automated testing as testcase ID
are not sorted

Signed-off-by: Sivaraj R <sivaraj@ti.com>