OSAL/DebugP: fix doxygen build warning
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
[PDK-6902] UDMA : Set SWTRIG of Split TX Channel in BCDMA
Signed-off-by: Don Dominic <a0486429@ti.com>
Signed-off-by: Don Dominic <a0486429@ti.com>
PDK-5044: Board: Enabled push button diagnostic test for TPR12 EVM
PDK-5007: Board: Enabled temperature sensor diagnostic test for TPR12 EVM
PDK-4998: Board: Enabled current monitor diagnostic test for TPR12 EVM
PDK-5011: Board: Enabled Board ID EEPROM test for TPR12 EVM
esm: replace CSL_mss_esmRegs with CSL_esmRegs as defined in TPR12 CSL
Signed-off-by: Hongmei Gou <hgou@ti.com>
Signed-off-by: Hongmei Gou <hgou@ti.com>
[PDK-6902] UDMA : Set SWTRIG of BlkCopy Channel in case of BCDMA
Signed-off-by: Don Dominic <a0486429@ti.com>
Signed-off-by: Don Dominic <a0486429@ti.com>
esm: fix jenkins build errors
Signed-off-by: Hongmei Gou <hgou@ti.com>
Signed-off-by: Hongmei Gou <hgou@ti.com>
esm: replace Hwi functions with OSAL functions for registering/deleting interrupts
Signed-off-by: Hongmei Gou <hgou@ti.com>
Signed-off-by: Hongmei Gou <hgou@ti.com>
esm: replace hw_types functions with CSL macros
Signed-off-by: Hongmei Gou <hgou@ti.com>
Signed-off-by: Hongmei Gou <hgou@ti.com>
esm: address review comments
Signed-off-by: Hongmei Gou <hgou@ti.com>
Signed-off-by: Hongmei Gou <hgou@ti.com>
esm: add esm driver for tpr12
Signed-off-by: Hongmei Gou <hgou@ti.com>
Signed-off-by: Hongmei Gou <hgou@ti.com>
[PDK-5622] AM64x UDMA: Default Resource Allocation for BCDMA and PKTDMA
-Default resource allocation details captured at :
https://confluence.itg.ti.com/display/ProcSW/AM64x+UDMA+Default+Resource+Allocation#AM64xUDMADefaultResourceAllocation-AM64x:udma_rmcg.cReferenceTable
- This fixes PDK-6890
Signed-off-by: Don Dominic <a0486429@ti.com>
-Default resource allocation details captured at :
https://confluence.itg.ti.com/display/ProcSW/AM64x+UDMA+Default+Resource+Allocation#AM64xUDMADefaultResourceAllocation-AM64x:udma_rmcg.cReferenceTable
- This fixes PDK-6890
Signed-off-by: Don Dominic <a0486429@ti.com>
watchdog: address review comments
* Use static allocation for Watchdog driver object
* Cleanup with the static allocation above
* Fix Klockwork issues
Signed-off-by: Hongmei Gou <hgou@ti.com>
* Use static allocation for Watchdog driver object
* Cleanup with the static allocation above
* Fix Klockwork issues
Signed-off-by: Hongmei Gou <hgou@ti.com>
watchdog: remove the commented out "SOC_configureDSSESMMask"
* SOC_configureDSSESMMask is for unmasking the ESM errors to enalbe
the generation of NMI. It shall be implemented in the ESM driver.
Signed-off-by: Hongmei Gou <hgou@ti.com>
* SOC_configureDSSESMMask is for unmasking the ESM errors to enalbe
the generation of NMI. It shall be implemented in the ESM driver.
Signed-off-by: Hongmei Gou <hgou@ti.com>
watchdog: add SOC functions for resetting/triggering warm reset for watchdog
Signed-off-by: Hongmei Gou <hgou@ti.com>
Signed-off-by: Hongmei Gou <hgou@ti.com>
watchdog: add watchdog driver for tpr12
Signed-off-by: Hongmei Gou <hgou@ti.com>
Signed-off-by: Hongmei Gou <hgou@ti.com>
am65xx: emac: test app fix
PDK-6844: SDR ESM small cleanup.
Renamed SDR_ESM_interpInstType to SDR_ESM_getBaseAddr() in
SDR ESM code to be more clear.
Renamed SDR_ESM_interpInstType to SDR_ESM_getBaseAddr() in
SDR ESM code to be more clear.
pdk6451: add test result printout for test automation
PDK-6451:fix klockwork build critical issues
PDK-6451: add doxygen review comments
PDK6451: fix for doxygen
PDK-6451: move fft4k test vector to L3, Jenkins DSS build L2 memory not enough
PDK-6451:add missing file for package
PDK-6451: address review comments
PDK-5767, add complex data type defin PDK
PDK6451: add hwa2.0 driver
PDK-6874: emac: test apps update for am65xx
have a common master control block for switch and dual mac use case
maintain 1 free pool of emac packet descriptors to be used across
all ports
Signed-off-by: Tinku Mannan <tmannan@ti.com>
have a common master control block for switch and dual mac use case
maintain 1 free pool of emac packet descriptors to be used across
all ports
Signed-off-by: Tinku Mannan <tmannan@ti.com>
PDK-6680:PDK-6866:Board: Enabling unlockMMR before pinmux
PRSDK-8241: icss_dualemac/icss_switch: Add git version information to elf files
It is very useful to trace the git commit/release tag
the firmware blob was built from.
Add the Version string into the .data section. The Version
string will contain either the git tag (if it exists) or the
git commit id.
Signed-off-by: Roger Quadros <rogerq@ti.com>
It is very useful to trace the git commit/release tag
the firmware blob was built from.
Add the Version string into the .data section. The Version
string will contain either the git tag (if it exists) or the
git commit id.
Signed-off-by: Roger Quadros <rogerq@ti.com>
[PDK-6849] Fix baremetal test params issues.
Baremetal test is not allowing default value of
parameter stacksize and stackBuffer.
Signed-off-by: Amit Makani <amit.makani@ti.com>
Baremetal test is not allowing default value of
parameter stacksize and stackBuffer.
Signed-off-by: Amit Makani <amit.makani@ti.com>
PDK-5012: Board: Enabled LED diagnostic test for J7200 EVM
PDK-5094: Board: Enabled RTC diagnostic test for J7200 EVM
PDK-5010: Board: Enabled Board ID EEPROM diagnostic test for J7200 EVM
PDK-4999: Board: Enabled Current monitor diagnostic test for J7200 EVM
PDK-5089: Board: Enabled Clock generator diagnostic test for J7200 EVM
PDK-5098: Board: Enabled Boot EEPROM diagnostic test for J7200 EVM
PDK-5103: Enabled DDR memory diagnostic test for J7200 EVM
PDK-5104: Board: Enabled diagnostic test build for J7200 EVM
PDK-5006: Enabled temperature sensor diagnostic test for J7200 EVM
PDK-5006: Enabled temperature sensor diagnostic test for J7200 EVM
PDK-6855: emac: sync up tsn mac baseline branch updates to master
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>