board: am64x: use main_uart0 instance for SBL or R5 application
Signed-off-by: Hao Zhang <hzhang@ti.com>
Signed-off-by: Hao Zhang <hzhang@ti.com>
PDK-6856: osal: am64x: Enable RTOS tests
Signed-off-by: Aravind Batni <aravindbr@ti.com>
Signed-off-by: Aravind Batni <aravindbr@ti.com>
mailbox: perf_testapp: fix build warning
Fix build warning for SYS/BIOS version of perf_testapp.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
Fix build warning for SYS/BIOS version of perf_testapp.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
UART: lib/test cleanup for TPR12
- Introduce 2ms delay when loopback is enabled.
- Use common MACRO UART_test_log for debugging log
- UART_test_profile_tx() was designed for TPR12 only
Include it for TPR12 only until other UART implementations are
enhanced to support UART stats
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
- Introduce 2ms delay when loopback is enabled.
- Use common MACRO UART_test_log for debugging log
- UART_test_profile_tx() was designed for TPR12 only
Include it for TPR12 only until other UART implementations are
enhanced to support UART stats
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
[PDK-6836] UDMA : Added support Mapped RX Flows in AM64x
- New API's : <1> Udma_mappedFlowAlloc() and Udma_mappedFlowAttach for mapped flows
* Allows only allocate / attach a single flow to a flowHandle
- Updates in Udma_freeFlow and Udma_detachFlow
Signed-off-by: Don Dominic <a0486429@ti.com>
- New API's : <1> Udma_mappedFlowAlloc() and Udma_mappedFlowAttach for mapped flows
* Allows only allocate / attach a single flow to a flowHandle
- Updates in Udma_freeFlow and Udma_detachFlow
Signed-off-by: Don Dominic <a0486429@ti.com>
PDK-6476: Changed SDR ESM callback to pass Instance and Int.
Changed the SDR_ESM_applicationCallbackFunction() to pass both
SDR_ESM_InstanceType and SDR_ESM_IntType in the callback so that
an application does not need to figure this out itself from the
interrupt number.
This will allow cleaner code in the application for the ESM event
handler that uses SDR API.
Changed the SDR_ESM_applicationCallbackFunction() to pass both
SDR_ESM_InstanceType and SDR_ESM_IntType in the callback so that
an application does not need to figure this out itself from the
interrupt number.
This will allow cleaner code in the application for the ESM event
handler that uses SDR API.
PDK-6476: Updated SDR for multiple instances of ESM.
Updated the SDR library and SDTF framework to allow initialization
of MCU, WKUP, and MAIN ESM instances.
Confirmed proper operation of esm_selftest and esm_inject test on
MCU, WKUP, and MAIN with these updates, and esm_apitest and
esm_negativetest also function correctly on J721E EVM.
Updated the SDR library and SDTF framework to allow initialization
of MCU, WKUP, and MAIN ESM instances.
Confirmed proper operation of esm_selftest and esm_inject test on
MCU, WKUP, and MAIN with these updates, and esm_apitest and
esm_negativetest also function correctly on J721E EVM.
SITSW-225: Make copyvecs as a lib - patch 2 build fix
Signed-off-by: Sivaraj R <sivaraj@ti.com>
Signed-off-by: Sivaraj R <sivaraj@ti.com>
emac: v5: Fix j721e build errors
Fix j721e build errors.
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Fix j721e build errors.
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
UDMA : Instance ID's Update
Signed-off-by: Don Dominic <a0486429@ti.com>
Signed-off-by: Don Dominic <a0486429@ti.com>
cplusplus build fix am64x mailbox
Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
PRSDK-8371: board: LPDDR4: Update from Emif tool
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
PDK-6811: emac:emac_send API updates for switch use case
add driver support to allow user to specify 1 of 8 TX channels
in PktChannel field of emac pkt descriptor for icssg switch use case,
first 4 channels map to slice 0, second 4 channels map to slice 1
of the icssg switch
minor cleanup
Signed-off-by: Tinku Mannan <tmannan@ti.com>
add driver support to allow user to specify 1 of 8 TX channels
in PktChannel field of emac pkt descriptor for icssg switch use case,
first 4 channels map to slice 0, second 4 channels map to slice 1
of the icssg switch
minor cleanup
Signed-off-by: Tinku Mannan <tmannan@ti.com>
PDK-6827: board: ddr_thermal_test_app: Update to build baremetal and sysbios app
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
PDK-6842: emac/nimu: Fix linking of test apps after copyvecs lib update
board: PDK-5476: am64x: add a53 build support for MCSPI0 master example
Signed-off-by: Hao Zhang <hzhang@ti.com>
Signed-off-by: Hao Zhang <hzhang@ti.com>
board: PDK-5476: am64x: add MCSPI0 pinmux configuration
Signed-off-by: Hao Zhang <hzhang@ti.com>
Signed-off-by: Hao Zhang <hzhang@ti.com>
BUILD:OSAL: Cleaning up AM64x linker command file,fix for OSAL test
BOARD: Enabling Board_moduleClock() only for mpu & mcu cores (not m4f)
SBL:BUILD:Enable DDR support for AM64x
pdk_tools_path: Revert back BIOS version
Unintentionally changed with previous commit. Reverting now
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Unintentionally changed with previous commit. Reverting now
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
uart: am64x: PDK-5394: enable the uart module clock configuration
Signed-off-by: Hao Zhang <hzhang@ti.com>
Signed-off-by: Hao Zhang <hzhang@ti.com>
3 years agomcspi: PDK-5476: am64x: add loopback and dma support for mcspi driver REL.CORESDK.06.02.05.01
mcspi: PDK-5476: am64x: add loopback and dma support for mcspi driver
Signed-off-by: Hao Zhang <hzhang@ti.com>
Signed-off-by: Hao Zhang <hzhang@ti.com>
prsdk-8603: move TM configuration to F/W
We don't need to configure TM in the driver. It is doen in the F/W
Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
We don't need to configure TM in the driver. It is doen in the F/W
Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
prsdk-8603: introduce BD initialization and push to queue function
Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
prsdk-8603: emac: introduce static hwqa_reset() function
We do have already such function in the v5/emac_hwq.c but I was told that
f/w config code cannot see/use functions from it.
Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
We do have already such function in the v5/emac_hwq.c but I was told that
f/w config code cannot see/use functions from it.
Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
drv/edma/edma_memcpy_test: ensure cache alignment
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
PDK-6824: emac: fix compilation of cplusplus build
PDK-6826: sdr: Fix c++ build issues
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
PDK-6681: SDR ECC Periodic Test fix
Addressed failure in SDR_ECC_pollErrorEvent() where other bits
in PMOVSR register are incorrectly influencing reading just the
state of Counter 1 overflow flag.
Added back in SDR_ECC_selfTest in periodic tests for J721E, and
confirmed proper functionality.
Also, updated comments in assembly code to correctly say Counter 1
instead of Counter 0.
Addressed failure in SDR_ECC_pollErrorEvent() where other bits
in PMOVSR register are incorrectly influencing reading just the
state of Counter 1 overflow flag.
Added back in SDR_ECC_selfTest in periodic tests for J721E, and
confirmed proper functionality.
Also, updated comments in assembly code to correctly say Counter 1
instead of Counter 0.
am64x_svb: Update to get clock frequency for each core through Sciclient
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
am64x_evm: Update to use Sciclient API to get Clock frequency
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
am64x_svb: Add support for am64x_svb in board
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
board: am64x_svb: Sync up with am64x_evm
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
am64x_evm: Minor cleanup
Handle SOC DDR start address separately
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Handle SOC DDR start address separately
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
am64x_evm: Board update to enable power up of modules
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
board: am64x: Update memory used for simulation
Simulation takes long time with full memory.
Shortening it for quick test of functionality
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Simulation takes long time with full memory.
Shortening it for quick test of functionality
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
UDMA] Build Fix for udma
init ringNum to UDMA_RING_INVALID in Udma_chAllocResource to avoid
it being used uninitialized
Signed-off-by: Tinku Mannan <tmannan@ti.com>
init ringNum to UDMA_RING_INVALID in Udma_chAllocResource to avoid
it being used uninitialized
Signed-off-by: Tinku Mannan <tmannan@ti.com>
board: am64x: set the default uart instance for mpu core
Signed-off-by: Hao Zhang <hzhang@ti.com>
Signed-off-by: Hao Zhang <hzhang@ti.com>
MB LLD: Add missing doxygen comments in osal
Add the missing doxygen comment details in the mailbox_osal.h
file.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
Add the missing doxygen comment details in the mailbox_osal.h
file.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
[PDK-6814] UDMA: Skip rmFree for default mapped rings
Signed-off-by: Don Dominic <a0486429@ti.com>
Signed-off-by: Don Dominic <a0486429@ti.com>
Merge pull request #676 in PROCESSOR-SDK/pdk from mb_lld_am64x_review to master
Squashed commit of the following:
commit 0f9133f56b7943d0ebae2d0548091ef53d78e4e4
Author: Prasad Konnur <prasadkonnur@ti.com>
Date: Tue Jun 9 15:53:46 2020 +0530
fixed driver issues
- tested on tpr12
Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
commit 559213017bb829cb0d644c96243f97fc0bb1b8e6
Author: Angela Stegmaier <angelabaker@ti.com>
Date: Thu May 21 16:48:42 2020 -0500
mailbox: create rtos and baremetal versions of the perf example
Create a separate mailbox_baremetal that can be used when
creating a baremetal application. The mailbox_baremetal lib
can be passed a separate set of flags that the mailbox
driver can use.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
commit 118383fd5c4dc030657ebc3e648c696ca79d9ece
Author: Angela Stegmaier <angelabaker@ti.com>
Date: Wed May 20 14:59:02 2020 -0500
mailbox: add performance test
The performance test exercises the "fast" path and reports
the performance data.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
commit 8fbdd3efca469446b8fe65e48339046bfe7083ac
Author: Angela Stegmaier <angelabaker@ti.com>
Date: Wed May 20 17:10:46 2020 -0500
mailbox: Add AM64x support
Add the support for AM64x for Mailbox LLD
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
commit d05c61767d8427c06ecbfc6c4d1484c1f7c75711
Author: Angela Stegmaier <angelabaker@ti.com>
Date: Tue May 19 16:47:36 2020 -0500
mailbox: Add Osal Params that can be User-provided
Add the ability for the user to provide Osal Params, and
create a default implementation that is used if user
does not provide their own params.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
commit 0ecd5975f010a0098d68ae2275e5c1f9c6a62106
Author: Angela Stegmaier <angelabaker@ti.com>
Date: Mon May 18 16:14:05 2020 -0500
mailbox: move allocation of driver handle to be soc-specific
Driver allocation is currently using MemoryP_ osal module
to allocate, and this is not supported in baremetal. Other
soc may support both baremetal and rtos or have restrictions
on whether the driver can allocate memory. So move
this driver assignment to be soc-specific.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
commit 4839979f879d8c53347cfee76cdf9db3ce46940a
Author: Angela Stegmaier <angelabaker@ti.com>
Date: Mon May 18 12:09:20 2020 -0500
mailbox: Move HwCfg definition to soc-specific files
HwCfg is soc-specific and is only used in the soc-specific
implementation. Therefore, it can be moved to the soc-specific
files. This is needed in order to be able to scale for
other soc.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
commit 1068e019a03cf8bc1704fcc607d83f4f4dcc90d9
Author: Angela Stegmaier <angelabaker@ti.com>
Date: Mon May 18 11:48:12 2020 -0500
mailbox: minor cleanup of typos
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
commit cd4b4f2b3735349ec1cf07ee3986d02aa9f72063
Author: Angela Stegmaier <angelabaker@ti.com>
Date: Mon May 18 11:37:34 2020 -0500
mailbox: Add soc-specific APIs to validate modes and data transfer types
Support for these can vary by soc. Let the validation happen
in the soc-specific implementation.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
commit f07d7a96b9e9fac26bf23bd1831f88d602ad7539
Author: Angela Stegmaier <angelabaker@ti.com>
Date: Mon May 18 11:11:05 2020 -0500
mailbox: Move ISR registration to soc-specific file
ISR registration can be different for different soc which
has different mailbox IP.
Move the registration to the soc-specific file in order
to scale for support of other soc.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
commit 16b3de2581a4d4e7ff8c0a789cd7d8940dd80d7e
Author: Angela Stegmaier <angelabaker@ti.com>
Date: Mon May 18 10:31:49 2020 -0500
mailbox: Move read/write to soc-specific files
Implementations for read/write are soc-specific, specific
to the mailbox hardware. Move these implementations to
the soc-specific files.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
Squashed commit of the following:
commit 0f9133f56b7943d0ebae2d0548091ef53d78e4e4
Author: Prasad Konnur <prasadkonnur@ti.com>
Date: Tue Jun 9 15:53:46 2020 +0530
fixed driver issues
- tested on tpr12
Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
commit 559213017bb829cb0d644c96243f97fc0bb1b8e6
Author: Angela Stegmaier <angelabaker@ti.com>
Date: Thu May 21 16:48:42 2020 -0500
mailbox: create rtos and baremetal versions of the perf example
Create a separate mailbox_baremetal that can be used when
creating a baremetal application. The mailbox_baremetal lib
can be passed a separate set of flags that the mailbox
driver can use.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
commit 118383fd5c4dc030657ebc3e648c696ca79d9ece
Author: Angela Stegmaier <angelabaker@ti.com>
Date: Wed May 20 14:59:02 2020 -0500
mailbox: add performance test
The performance test exercises the "fast" path and reports
the performance data.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
commit 8fbdd3efca469446b8fe65e48339046bfe7083ac
Author: Angela Stegmaier <angelabaker@ti.com>
Date: Wed May 20 17:10:46 2020 -0500
mailbox: Add AM64x support
Add the support for AM64x for Mailbox LLD
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
commit d05c61767d8427c06ecbfc6c4d1484c1f7c75711
Author: Angela Stegmaier <angelabaker@ti.com>
Date: Tue May 19 16:47:36 2020 -0500
mailbox: Add Osal Params that can be User-provided
Add the ability for the user to provide Osal Params, and
create a default implementation that is used if user
does not provide their own params.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
commit 0ecd5975f010a0098d68ae2275e5c1f9c6a62106
Author: Angela Stegmaier <angelabaker@ti.com>
Date: Mon May 18 16:14:05 2020 -0500
mailbox: move allocation of driver handle to be soc-specific
Driver allocation is currently using MemoryP_ osal module
to allocate, and this is not supported in baremetal. Other
soc may support both baremetal and rtos or have restrictions
on whether the driver can allocate memory. So move
this driver assignment to be soc-specific.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
commit 4839979f879d8c53347cfee76cdf9db3ce46940a
Author: Angela Stegmaier <angelabaker@ti.com>
Date: Mon May 18 12:09:20 2020 -0500
mailbox: Move HwCfg definition to soc-specific files
HwCfg is soc-specific and is only used in the soc-specific
implementation. Therefore, it can be moved to the soc-specific
files. This is needed in order to be able to scale for
other soc.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
commit 1068e019a03cf8bc1704fcc607d83f4f4dcc90d9
Author: Angela Stegmaier <angelabaker@ti.com>
Date: Mon May 18 11:48:12 2020 -0500
mailbox: minor cleanup of typos
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
commit cd4b4f2b3735349ec1cf07ee3986d02aa9f72063
Author: Angela Stegmaier <angelabaker@ti.com>
Date: Mon May 18 11:37:34 2020 -0500
mailbox: Add soc-specific APIs to validate modes and data transfer types
Support for these can vary by soc. Let the validation happen
in the soc-specific implementation.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
commit f07d7a96b9e9fac26bf23bd1831f88d602ad7539
Author: Angela Stegmaier <angelabaker@ti.com>
Date: Mon May 18 11:11:05 2020 -0500
mailbox: Move ISR registration to soc-specific file
ISR registration can be different for different soc which
has different mailbox IP.
Move the registration to the soc-specific file in order
to scale for support of other soc.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
commit 16b3de2581a4d4e7ff8c0a789cd7d8940dd80d7e
Author: Angela Stegmaier <angelabaker@ti.com>
Date: Mon May 18 10:31:49 2020 -0500
mailbox: Move read/write to soc-specific files
Implementations for read/write are soc-specific, specific
to the mailbox hardware. Move these implementations to
the soc-specific files.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
[PDK-6814] UDMA: Support default ring allocation for mapped channels in AM64x
- During chOpen if ringMem is provided, the default ring for the channel will be allocated.
- Explicit call of ringAlloc, with UDMA_RING_ANY will allocate from the free rings in the mapped pool for that channel.
Signed-off-by: Don Dominic <a0486429@ti.com>
- During chOpen if ringMem is provided, the default ring for the channel will be allocated.
- Explicit call of ringAlloc, with UDMA_RING_ANY will allocate from the free rings in the mapped pool for that channel.
Signed-off-by: Don Dominic <a0486429@ti.com>
[PDK-6812] Update the default flow start for mapped channel in AM64x
- Assign the allocated default ringNum(without offset) as defaultFlow->flowStart in case of Mapped Channels in AM64x.
- This fixes PDK-6812
Signed-off-by: Don Dominic <a0486429@ti.com>
- Assign the allocated default ringNum(without offset) as defaultFlow->flowStart in case of Mapped Channels in AM64x.
- This fixes PDK-6812
Signed-off-by: Don Dominic <a0486429@ti.com>
[PDK-6813] UDMA: Support for errorHandling, sopOffset in default flow config
-Added params to set errorHandling, sopOffset in Udma_ChRxPrms for default flow config
-Fixed Review Comments in previos commit
Signed-off-by: Don Dominic <a0486429@ti.com>
-Added params to set errorHandling, sopOffset in Udma_ChRxPrms for default flow config
-Fixed Review Comments in previos commit
Signed-off-by: Don Dominic <a0486429@ti.com>
PDK-6813: support for epib, psinfo flow config
Signed-off-by: Aravind Batni <aravindbr@ti.com>
Signed-off-by: Aravind Batni <aravindbr@ti.com>
[hostemu] Add -fPIC option to fix linking error in TIDL
Machine used for building host emulation libraries is an
Ubuntu 16.04 machine, because of this there are linking
errors when we linking with TIDL built on ubuntu 18.04.
To avoid this add -fPIC option
Signed-off-by: Anshu Jain <anshu.jain@ti.com>
Machine used for building host emulation libraries is an
Ubuntu 16.04 machine, because of this there are linking
errors when we linking with TIDL built on ubuntu 18.04.
To avoid this add -fPIC option
Signed-off-by: Anshu Jain <anshu.jain@ti.com>
SITSW-225: Make copyvecs as a library that the application can link to
Signed-off-by: Sivaraj R <sivaraj@ti.com>
Signed-off-by: Sivaraj R <sivaraj@ti.com>
pdk build: update sysbios to 6_82_02_20_eng
This will fix the sysbios application interrupt issue on A53
Signed-off-by: Hao Zhang <hzhang@ti.com>
This will fix the sysbios application interrupt issue on A53
Signed-off-by: Hao Zhang <hzhang@ti.com>
OSAL: address KW issues for TPR12
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
sciclient: am64x: add zebu sysfw binary to the package
Signed-off-by: Hao Zhang <hzhang@ti.com>
Signed-off-by: Hao Zhang <hzhang@ti.com>
[PDK-6802] UDMA : Fix Build Issue introduced by commit abd273d69
Signed-off-by: Don Dominic <a0486429@ti.com>
Signed-off-by: Don Dominic <a0486429@ti.com>
spi: update makefile for qspi flash test app
* EXTERNAL_LNKCMD_FILE is removed as the default linker command file is used
Signed-off-by: Hongmei Gou <hgou@ti.com>
* EXTERNAL_LNKCMD_FILE is removed as the default linker command file is used
Signed-off-by: Hongmei Gou <hgou@ti.com>
[PDK-6802] UDMA : Updates in memcpy and chaining testapp
Signed-off-by: Don Dominic <a0486429@ti.com>
Signed-off-by: Don Dominic <a0486429@ti.com>
[PDK-6802] Updates in chaining test for AM64x
-Minor update in ch Break Chanining src_id
Signed-off-by: Don Dominic <a0486429@ti.com>
-Minor update in ch Break Chanining src_id
Signed-off-by: Don Dominic <a0486429@ti.com>
[PDK-6310] [PDK-6308] Implemented.
Implemented the RPMSG error checking at negative testing.
Implemented the memory error checking for Vring.
Signed-off-by: Amit Makani <amit.makani@ti.com>
Implemented the RPMSG error checking at negative testing.
Implemented the memory error checking for Vring.
Signed-off-by: Amit Makani <amit.makani@ti.com>
Fix for led diag build failure on AM65x
pdk/build: add support of the auxiliary linker command file
This patch adds the make support of optional local auxiliary linker command
file. The current make infrastructure already supports the local linker
command file which will replace the default one. In most of cases, the
applications do not want to replace the entire linker command file, instead
they would like to add some local modifications and/or additions to the
master linker command file.
To replace the default linker command file:
define EXTERNAL_LNKCMD_FILE_LOCAL to point to the local linker command file
To add auxiliary linker command file:
define APPEND_LNKCMD_FILE to point to the local aux. linker command file
Please feel free to recommend better variable names and suggest better
solutions to achieve the same goal.
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
This patch adds the make support of optional local auxiliary linker command
file. The current make infrastructure already supports the local linker
command file which will replace the default one. In most of cases, the
applications do not want to replace the entire linker command file, instead
they would like to add some local modifications and/or additions to the
master linker command file.
To replace the default linker command file:
define EXTERNAL_LNKCMD_FILE_LOCAL to point to the local linker command file
To add auxiliary linker command file:
define APPEND_LNKCMD_FILE to point to the local aux. linker command file
Please feel free to recommend better variable names and suggest better
solutions to achieve the same goal.
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
sciclient: Resolve critical KW errors
Fixes the three current critical KW errors in the
sciclient interrupt routing logic.
Signed-off-by: Justin Sobota <jsobota@ti.com>
Fixes the three current critical KW errors in the
sciclient interrupt routing logic.
Signed-off-by: Justin Sobota <jsobota@ti.com>
PDK-6653: emac: remove reference to un-suported test IOCTL
PDK-6408: Unity: Bypass Unity buffer logic to printout unity results
Signed-off-by: Omkar Bolla <omkar.bolla@pathpartnertech.com>
Signed-off-by: Omkar Bolla <omkar.bolla@pathpartnertech.com>
PDK-6734: emac: am65xx updates to suport wire clk feature in TXCFG
fix internal routine to get icss tx ipg base address
update tx ipg settings for PG2.0 for wire_clk in TX_CFG
move common utilities to emac_utils
cleanup
Signed-off-by: Tinku Mannan <tmannan@ti.com>
fix internal routine to get icss tx ipg base address
update tx ipg settings for PG2.0 for wire_clk in TX_CFG
move common utilities to emac_utils
cleanup
Signed-off-by: Tinku Mannan <tmannan@ti.com>
PDK-5013: Board: Updated TPR12 EVM diagnostic tests
- Enabled build support for TPR12 diag
- Added diag common configurations
- Added LED diagnostic test support for TPR12 EVM
- Enabled build support for TPR12 diag
- Added diag common configurations
- Added LED diagnostic test support for TPR12 EVM
PDK-5038: Board: Updated TPR12 EVM board library
- Updated board configurations
- Added board utils
- Updated board configurations
- Added board utils
[PDK-5619][UART] Update in check for Cache operation related to AM64x
- Added new API UART_dmaIsCacheCoherent
Signed-off-by: Don Dominic <a0486429@ti.com>
- Added new API UART_dmaIsCacheCoherent
Signed-off-by: Don Dominic <a0486429@ti.com>
[PDK-5619][UDMA] Update in isCacheCoherent API for MPU(A53) in AM64x
Signed-off-by: Don Dominic <a0486429@ti.com>
Signed-off-by: Don Dominic <a0486429@ti.com>
[PDK-5619][UDMA] Temporary update in PKTDMA Resource Allocation
-Related to VINT changes in sciclient_boardCfg_rm
-To enable Unmapped channels for MPU
Signed-off-by: Don Dominic <a0486429@ti.com>
-Related to VINT changes in sciclient_boardCfg_rm
-To enable Unmapped channels for MPU
Signed-off-by: Don Dominic <a0486429@ti.com>
Sciclient : Rebuild BoardCfg and ccsinit
-to reflect updates in boardcfg_rm in commit:
https://bitbucket.itg.ti.com/projects/PROCESSOR-SDK/repos/pdk/commits/3379face9d128962b95fc2d8ec65648740d8f0c1 and
https://bitbucket.itg.ti.com/projects/PROCESSOR-SDK/repos/pdk/commits/786914902ad6c2f0f97fbb446a2fd5908ef5de8c
Signed-off-by: Don Dominic <a0486429@ti.com>
-to reflect updates in boardcfg_rm in commit:
https://bitbucket.itg.ti.com/projects/PROCESSOR-SDK/repos/pdk/commits/3379face9d128962b95fc2d8ec65648740d8f0c1 and
https://bitbucket.itg.ti.com/projects/PROCESSOR-SDK/repos/pdk/commits/786914902ad6c2f0f97fbb446a2fd5908ef5de8c
Signed-off-by: Don Dominic <a0486429@ti.com>
3 years agoPDK-6798: ICSS EMAC Firmware build fails in Windows REL.CORESDK.07.00.00.43 REL.CORESDK.07.00.00.44 REL.CORESDK.07.00.00.45 REL.CORESDK.07.00.00.46
PDK-6798: ICSS EMAC Firmware build fails in Windows
- This was introduced in earler commit c939a7e1e
done after 6.2 release to support jacinto pdk folder name
Signed-off-by: Sivaraj R <sivaraj@ti.com>
- This was introduced in earler commit c939a7e1e
done after 6.2 release to support jacinto pdk folder name
Signed-off-by: Sivaraj R <sivaraj@ti.com>
3 years agoPDK-6789: Disable internal L2 ram testcase for C7x REL.CORESDK.07.00.00.38 REL.CORESDK.07.00.00.39 REL.CORESDK.07.00.00.40 REL.CORESDK.07.00.00.41 REL.CORESDK.07.00.00.42
PDK-6789: Disable internal L2 ram testcase for C7x
- We can debug and enable the testcase when there is a need
- With this the C7x unit runs to completion
Signed-off-by: Sivaraj R <sivaraj@ti.com>
- We can debug and enable the testcase when there is a need
- With this the C7x unit runs to completion
Signed-off-by: Sivaraj R <sivaraj@ti.com>
PDK-6669: Use HS KEY for signing - Patch 2
- SCICLIENT apps need SBL CERT KEY variable to be set as
the SBL_IMAGEGEN flag is set to yes
Signed-off-by: Sivaraj R <sivaraj@ti.com>
- SCICLIENT apps need SBL CERT KEY variable to be set as
the SBL_IMAGEGEN flag is set to yes
Signed-off-by: Sivaraj R <sivaraj@ti.com>
PDK-6737:SBL,BUILD: Setting M4F_0 entry point to 0x0 in SBL
PDK-6775: Docs update
3 years agoPDK-6738: IPC: echo_testb: Copy vecs for ipc_echo_testb sysbios example REL.CORESDK.07.00.00.35
PDK-6738: IPC: echo_testb: Copy vecs for ipc_echo_testb sysbios example
The latest sysbios expects the vecs to be present at address 0x0.
When the ipc_echo_testb starts from BTCM from SPL branch-only mode
for mcu1_0, the vecs at 0x0 are not matching the sysbios vecs.
This patch adds a function to the sysbios reset functions to
copy the vecs to 0x0 during bios startup for the btcm image for
mcu1_0. With this, the vecs are as expected for sysbios and the image
is able to run sucessfully and finish the echo test, even when
run in branch-only mode.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
The latest sysbios expects the vecs to be present at address 0x0.
When the ipc_echo_testb starts from BTCM from SPL branch-only mode
for mcu1_0, the vecs at 0x0 are not matching the sysbios vecs.
This patch adds a function to the sysbios reset functions to
copy the vecs to 0x0 during bios startup for the btcm image for
mcu1_0. With this, the vecs are as expected for sysbios and the image
is able to run sucessfully and finish the echo test, even when
run in branch-only mode.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
PDK-6669: Use HS KEY for signing
- HS KEY will work for both GP and HS device
- So instead of creating two app image - one with
GP KEY and HS KEY, we will use one app image for both
- For GP device customer can use the unsigned app image
in case boot time is a requirement
Signed-off-by: Sivaraj R <sivaraj@ti.com>
- HS KEY will work for both GP and HS device
- So instead of creating two app image - one with
GP KEY and HS KEY, we will use one app image for both
- For GP device customer can use the unsigned app image
in case boot time is a requirement
Signed-off-by: Sivaraj R <sivaraj@ti.com>
PDK-6760: SBL: Fix image authentication for small images
Fixes a pointer issue with X.509 certificate checking
that was calculating the wrong image size for signed
appimage files of a small size.
Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
Fixes a pointer issue with X.509 certificate checking
that was calculating the wrong image size for signed
appimage files of a small size.
Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
uart: PDK-6740: fix UART unit test bug
1. fix uart read/write API test bugs
2. enable loopback test for both baremetal and RTOS
Signed-off-by: Hao Zhang <hzhang@ti.com>
1. fix uart read/write API test bugs
2. enable loopback test for both baremetal and RTOS
Signed-off-by: Hao Zhang <hzhang@ti.com>
[DSS TEST][PDK-6702]DSS Colorbar test is failing on J7 EVM
Signed-off-by: Vivek Dhande <a0132295@ti.com>
Signed-off-by: Vivek Dhande <a0132295@ti.com>
ETHFW-1582: timesync: Fix Ethfw stuck in nRT task
- nRT task becomes while(1) when the configured port
is down by the time timesync is enabled.
- Added sleep in nRT task to enable other tasks to
be scheduled and also reduced the nRT task's priority
to 2 from 8
Signed-off-by: Santhana Bharathi N <santa@ti.com>
- nRT task becomes while(1) when the configured port
is down by the time timesync is enabled.
- Added sleep in nRT task to enable other tasks to
be scheduled and also reduced the nRT task's priority
to 2 from 8
Signed-off-by: Santhana Bharathi N <santa@ti.com>
3 years agoi2c: PDK-6672: fix i2c eeprom bios application bug REL.CORESDK.07.00.00.29 REL.CORESDK.07.00.00.30 REL.CORESDK.07.00.00.31 REL.CORESDK.07.00.00.32
i2c: PDK-6672: fix i2c eeprom bios application bug
Signed-off-by: Hao Zhang <hzhang@ti.com>
Signed-off-by: Hao Zhang <hzhang@ti.com>
SBL: Update fix for MCU OCM RAM region for all SoC.
Adds the max possible MCU OCM RAM memory in this R5 MPU
region, to cover all possible KS3 SoCs with MCU RAM.
Doesn't need to be SoC-specific here.
Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
Adds the max possible MCU OCM RAM memory in this R5 MPU
region, to cover all possible KS3 SoCs with MCU RAM.
Doesn't need to be SoC-specific here.
Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
IPC: echo test: Fix stack overflow in c7x echo test
The ipc_echo_test will sometimes throw stack overflow
error from the app task. This patch increases the size
of the task stack to avoid the error.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
The ipc_echo_test will sometimes throw stack overflow
error from the app task. This patch increases the size
of the task stack to avoid the error.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
PDK-6623:MCASP: Fix for device loopback example on c66xdsp_2
3 years agoapiguide:timeSync: Fix API guide build warnings REL.CORESDK.06.02.04.03 REL.CORESDK.06.02.04.04
apiguide:timeSync: Fix API guide build warnings
- Fix TimeSync API guide doxygen build warnings
Signed-off-by: Santhana Bharathi N <santa@ti.com>
- Fix TimeSync API guide doxygen build warnings
Signed-off-by: Santhana Bharathi N <santa@ti.com>
OSAL/test: add DebugP Log test for TPR12
- Enable the test for TPR12 only because BIOS-based trace is not required
for other SoCs.
- Although this test is applicable for all SoCs, the local BIOS config file
is required to enable the XDC/BIOS log operation.
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
- Enable the test for TPR12 only because BIOS-based trace is not required
for other SoCs.
- Although this test is applicable for all SoCs, the local BIOS config file
is required to enable the XDC/BIOS log operation.
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
SBL: Fix J7 MCU OCM RAM region for SBL CUST builds
SBL CUST build on J7 family devices must support MCU-only
mode where only MCU domain resources are used for initial
bringup, even for signed applications. Full MCU OCM RAM
space must be utilized for app image verification in this
case.
Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
SBL CUST build on J7 family devices must support MCU-only
mode where only MCU domain resources are used for initial
bringup, even for signed applications. Full MCU OCM RAM
space must be utilized for app image verification in this
case.
Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
Fix package issue for uniflash due to HS changes
- Uniflash target now gets build for HS and non-HS
from different dir
- So don't use relative patch for SRC and INC DIR
- Also fixed package variables and skip for HS build
Signed-off-by: Sivaraj R <sivaraj@ti.com>
- Uniflash target now gets build for HS and non-HS
from different dir
- So don't use relative patch for SRC and INC DIR
- Also fixed package variables and skip for HS build
Signed-off-by: Sivaraj R <sivaraj@ti.com>
PRSDK-7753: HS build support
- The APPNAME or app -C directory (_PATH variable) should be
unique as the complier creates lto_$APPNAME optimization
file in the directory in which -C is called
- Because of this multiple lto_ files with same name can be
created if app name and app path are same
Signed-off-by: Sivaraj R <sivaraj@ti.com>
- The APPNAME or app -C directory (_PATH variable) should be
unique as the complier creates lto_$APPNAME optimization
file in the directory in which -C is called
- Because of this multiple lto_ files with same name can be
created if app name and app path are same
Signed-off-by: Sivaraj R <sivaraj@ti.com>
PRSDK-7753: HS build support
- Added SCICLIENT API to return the default board cfg
address and size
- This way the caller need not include the private header file
which has the size macros based on BUILD_HS flag
- This way the caller need not be built special way using the
BUILD_HS macro
Signed-off-by: Sivaraj R <sivaraj@ti.com>
- Added SCICLIENT API to return the default board cfg
address and size
- This way the caller need not include the private header file
which has the size macros based on BUILD_HS flag
- This way the caller need not be built special way using the
BUILD_HS macro
Signed-off-by: Sivaraj R <sivaraj@ti.com>
spi: qspi-flash-test: use CSL address translation function for TPR12
Signed-off-by: Hongmei Gou <hgou@ti.com>
Signed-off-by: Hongmei Gou <hgou@ti.com>
sciclient: am64: Fix errors in gSciclientMap
The host mapping array, gSciclientMap had incorrect
entries defined. This patch removes all the incorrect
entries and adds a TBD M4 secure entry to match
sciclient_fmwMsgParams.h
Fixes: PDK-6724
Signed-off-by: Justin Sobota <jsobota@ti.com>
The host mapping array, gSciclientMap had incorrect
entries defined. This patch removes all the incorrect
entries and adds a TBD M4 secure entry to match
sciclient_fmwMsgParams.h
Fixes: PDK-6724
Signed-off-by: Justin Sobota <jsobota@ti.com>
Revert "PDK-6624: WORKAROUND for SBL OSPI Boot instability on J721E-HS"
This reverts commit 2c2cca942ff1c3f29b40dd23797fee80a7f3f83e.
Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
This reverts commit 2c2cca942ff1c3f29b40dd23797fee80a7f3f83e.
Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
PRSDK-7492: Board: Fix for Uniflash host failure on Windows
- Uniflash host utility on Windows fails when executed after using
the COM port with TeraTerm. Serial cable disconnect and reconnect
is needed to avoid this failure.
Failure is caused by COM port timeout settings done by TeraTerm.
Uniflash is not using the timeouts and failures are observed with the
timeout values configures by TeraTerm. This update fixes the issue by
resetting the COM port timeout settings to default.
- Uniflash host utility on Windows fails when executed after using
the COM port with TeraTerm. Serial cable disconnect and reconnect
is needed to avoid this failure.
Failure is caused by COM port timeout settings done by TeraTerm.
Uniflash is not using the timeouts and failures are observed with the
timeout values configures by TeraTerm. This update fixes the issue by
resetting the COM port timeout settings to default.
Fix Host EMU remark
- Remove -v: Disable verbose
- Add -c: do not warn if the library had to be created
Signed-off-by: Sivaraj R <sivaraj@ti.com>
- Remove -v: Disable verbose
- Add -c: do not warn if the library had to be created
Signed-off-by: Sivaraj R <sivaraj@ti.com>
PDK-6685 - bug fix - Timer osal - Uninitialized variable
- gTimerStructs is uninitialized, initialized to zero
Signed-off-by: Prasad Jondhale <prasad.jondhale@ti.com>
- gTimerStructs is uninitialized, initialized to zero
Signed-off-by: Prasad Jondhale <prasad.jondhale@ti.com>
drv/usrt/test: use CSL address translation function for TPR12
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
OSAL/test: reduce TaskP test period for QT build
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
sciclient: Verify last hop IR output against boardcfg
The intermediate interrupt router hops in an
interrupt route have their outputs validating
against the board configuration assignments.
This patch updates the code to also validate
the last hop IR output against the board
configuration resource assignments.
Signed-off-by: Justin Sobota <jsobota@ti.com>
The intermediate interrupt router hops in an
interrupt route have their outputs validating
against the board configuration assignments.
This patch updates the code to also validate
the last hop IR output against the board
configuration resource assignments.
Signed-off-by: Justin Sobota <jsobota@ti.com>
sciclient: j721e: Some of the IR instances are not initialized correctly
Some of the J721e IR instances do not have
their inp0_mapping field initialized properly.
This can cause a failure if attempting to route
to the 0th output for these IRs.
Fixes: PDK-6679
Signed-off-by: Justin Sobota <jsobota@ti.com>
Some of the J721e IR instances do not have
their inp0_mapping field initialized properly.
This can cause a failure if attempting to route
to the 0th output for these IRs.
Fixes: PDK-6679
Signed-off-by: Justin Sobota <jsobota@ti.com>
SBL Build Fix
- Also fixes the J7 SBL build for HS
- All other boot media except OSPI should use DMA mode
Signed-off-by: Sivaraj R <sivaraj@ti.com>
- Also fixes the J7 SBL build for HS
- All other boot media except OSPI should use DMA mode
Signed-off-by: Sivaraj R <sivaraj@ti.com>