PDK-6948: Board: Updated mmr config for am64x evm
- MMR config is failing during the pinmux configuration in release
mode. Order of execution for setting kick0 and kick1 is done in reverse
which is causing unlock/lock failure.
Added volatile specifier for kick address variables to avoid the
optimization.
- MMR config is failing during the pinmux configuration in release
mode. Order of execution for setting kick0 and kick1 is done in reverse
which is causing unlock/lock failure.
Added volatile specifier for kick address variables to avoid the
optimization.
PDK-8827: IPC: examples: Fix Build Issue with Idle Task for J721e
Fix build issue introduced with recent change to swap order
of Idle task functions in commit 4e192c640bfb098806deda6ab9e9558504b6a76c
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
Fix build issue introduced with recent change to swap order
of Idle task functions in commit 4e192c640bfb098806deda6ab9e9558504b6a76c
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
PDK-8537: Update to the Sciclient_rm logic to handle AM64x MPU1_0 IA to GIC handling without IRs
AM64x is the first device with IA to GIC mapping without an IR in between. This patch handles this case
Fixes: PDK-8537
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
AM64x is the first device with IA to GIC mapping without an IR in between. This patch handles this case
Fixes: PDK-8537
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
SBL: AM64x: Add library targets for mmcsd and ospi hlos
Libraries needed for mmcsd and ospi hlos were missed when adding
the examples. Fix the jenkins build issue by adding them.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Libraries needed for mmcsd and ospi hlos were missed when adding
the examples. Fix the jenkins build issue by adding them.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
[PDK-7909][PDK-6279] UDMA UT: Added new testcase for PKTDMA Channel API tets
- Tests various channel API's for various compinantions of TX/RX/Mapped/Unmapped PKTDMA Channels
- Udma_chOpen
- Udma_chConfigTx / Udma_chConfigRx
- Udma_chEnable
- Udma_chDisable
- Udma_chClose
- For BCDMA/UDMAP this gets tested with block copy tests.
Signed-off-by: Don Dominic <a0486429@ti.com>
- Tests various channel API's for various compinantions of TX/RX/Mapped/Unmapped PKTDMA Channels
- Udma_chOpen
- Udma_chConfigTx / Udma_chConfigRx
- Udma_chEnable
- Udma_chDisable
- Udma_chClose
- For BCDMA/UDMAP this gets tested with block copy tests.
Signed-off-by: Don Dominic <a0486429@ti.com>
PDK-8843: Mailbox LLD: AM64X: Use writeTimeout for Mailbox_write calls
The Mailbox_write API for AM64X was incorrectly using the readTimeout
instead of the writeTimeout when sending mailbox messages. Fix
the implementation to use the correct timeout value.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
The Mailbox_write API for AM64X was incorrectly using the readTimeout
instead of the writeTimeout when sending mailbox messages. Fix
the implementation to use the correct timeout value.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
PDK-8843: IPC: AM64X: Use timeout from Virtio Config when sending messages
For AM64X IPC, the timeout passed at Virtio initialization was not being
propagated to the Mailbox LLD, so the Mailbox_read/write calls
would not timeout as expected.
This patch fixes the issue by propagating the user-configured
value to the Mailbox LLD.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
For AM64X IPC, the timeout passed at Virtio initialization was not being
propagated to the Mailbox LLD, so the Mailbox_read/write calls
would not timeout as expected.
This patch fixes the issue by propagating the user-configured
value to the Mailbox LLD.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
[PDK-7909][PDK-6282] UDMA UT: Added new testcase for PKTDMA Mapped Channel Parameters check
- PKTDMA Channel Open with no ring memory test
- PKTDMA Mapped Channel Open with invalid mapped channel group negative test
TODO:
- Add new TC for PKTDMA Channel open test for all combinations (TX/RX/Mapped/Unmapped)
Signed-off-by: Don Dominic <a0486429@ti.com>
- PKTDMA Channel Open with no ring memory test
- PKTDMA Mapped Channel Open with invalid mapped channel group negative test
TODO:
- Add new TC for PKTDMA Channel open test for all combinations (TX/RX/Mapped/Unmapped)
Signed-off-by: Don Dominic <a0486429@ti.com>
PDK-6948: Board: Added gpmc pinmux support for am64x evm
PDK-6958: Board: Updated tpr12 evm uart test to address review comments
PDK-5002: Board: Enabled IWR1443 FE support for tpr12 evm csirx test
- CSI-Rx diagnostic test supports both AWR2243 and IWR1443 FE modules
with AWR2243 enabled by default.
- Done code clean-up to align with diag coding guidelines
- Added binaries for IWR1443 FE
- CSI-Rx diagnostic test supports both AWR2243 and IWR1443 FE modules
with AWR2243 enabled by default.
- Done code clean-up to align with diag coding guidelines
- Added binaries for IWR1443 FE
PDK-6958:Board: Enabled MSS UARTB test for tpr12 evm
PDK-6956: Board: Enabled quad mode for tpr12 evm qspi flash test
[PDK-7909] UDMA UT: Added test for PKTDMA Mapped Rings
- Updated the TC "PDK-3726 - Ring attach and detach testcase"
- Tests various PKTDMA mapped ring groups too
- Along with minor updates in:
- Mapped Flow Attach Test case:
- Added more prints
- Renamed/Updated API to get mappedChNum
- udma_rm.c for Mapped Ring allocate
- Added check for numFreRings for the mapped channel
- added assert
Signed-off-by: Don Dominic <a0486429@ti.com>
- Updated the TC "PDK-3726 - Ring attach and detach testcase"
- Tests various PKTDMA mapped ring groups too
- Along with minor updates in:
- Mapped Flow Attach Test case:
- Added more prints
- Renamed/Updated API to get mappedChNum
- udma_rm.c for Mapped Ring allocate
- Added check for numFreRings for the mapped channel
- added assert
Signed-off-by: Don Dominic <a0486429@ti.com>
AM64x_evm: add pull up for mmc1 lines
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
mmcsd: test: cleanup simulation related flags for am64x_evm
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
[PDK-7909][PDK-8837] UDMA UT: Added new testcase for LCDMA Ring Prime Test
- For LCDMA with Dual ring,
- Ring Prime Read checks for Reverse occupancy.
- In this case, actual transfer should happen to populate
- reverse occupancy count and successfully do a ring prime read.
- This testcase, implements block copy using ring prime API's
- This tests only Ring Prime API's.
- Data check and TR Responce checks are NOT carried out.
Signed-off-by: Don Dominic <a0486429@ti.com>
- For LCDMA with Dual ring,
- Ring Prime Read checks for Reverse occupancy.
- In this case, actual transfer should happen to populate
- reverse occupancy count and successfully do a ring prime read.
- This testcase, implements block copy using ring prime API's
- This tests only Ring Prime API's.
- Data check and TR Responce checks are NOT carried out.
Signed-off-by: Don Dominic <a0486429@ti.com>
PDK-8403: Board: Workaround for CSI-Rx DSP baremetal interrupt issue on TPR12 EVM
- Interrupt is not functional in CSI-Rx diagnostic test while running
on DSP in batemetal mode. Need to make changes in osal configuration
functions to fix the issue.
Added interrupt enable in the CSI-Rx diag as a temporary workaround.
- Interrupt is not functional in CSI-Rx diagnostic test while running
on DSP in batemetal mode. Need to make changes in osal configuration
functions to fix the issue.
Added interrupt enable in the CSI-Rx diag as a temporary workaround.
tpr12/canfd: build packaging fixes
build and packaging fixes for tpr12
Signed-off-by: Badri S <badri@ti.com>
build and packaging fixes for tpr12
Signed-off-by: Badri S <badri@ti.com>
tpr12: add reference to cslInit for baremetal in lnkflags
for baremetal apps in tpr12 add unresolved reference to
cslInit so that compiler links in the csl_init lib .
Signed-off-by: Badri S <badri@ti.com>
for baremetal apps in tpr12 add unresolved reference to
cslInit so that compiler links in the csl_init lib .
Signed-off-by: Badri S <badri@ti.com>
board/tpr12: remove board/src/tpr12_qt as they are not used
tpr12_qt files for board lib are not used and removed
Signed-off-by: Badri S <badri@ti.com>
tpr12_qt files for board lib are not used and removed
Signed-off-by: Badri S <badri@ti.com>
CANFD driver for TPR12
Added CANFD driver for TPR12
Signed-off-by: Badri S <badri@ti.com>
Added CANFD driver for TPR12
Signed-off-by: Badri S <badri@ti.com>
PDK-8417: Board: Enabled UART load support for trp12 evm flash programmer
tpr12/qt: changes to enable tpr12 on QT again
QT support is required for AR29xx bringup so
restored TPR12 QT platform support
Signed-off-by: Badri S <badri@ti.com>
QT support is required for AR29xx bringup so
restored TPR12 QT platform support
Signed-off-by: Badri S <badri@ti.com>
tpr12/boardflash: SBL/Uniflash writer update for GD25B64CW2G
Board flash library update to work with GD25B64CW2G which
is populated in the next batch of TPR12 EVM builds
Signed-off-by: Badri S <badri@ti.com>
Board flash library update to work with GD25B64CW2G which
is populated in the next batch of TPR12 EVM builds
Signed-off-by: Badri S <badri@ti.com>
AM64x Bringup: MMCSD : Fix linker issue with Baremetal EMMC Regression Testapp
- Update LNKFLAGS_LOCAL for mpu1_0
- This fix the issue "Unable to find 'main'" when loading on mpu1_0
- Remove SIMULATOR flag
Signed-off-by: Don Dominic <a0486429@ti.com>
- Update LNKFLAGS_LOCAL for mpu1_0
- This fix the issue "Unable to find 'main'" when loading on mpu1_0
- Remove SIMULATOR flag
Signed-off-by: Don Dominic <a0486429@ti.com>
PDK-5000: Board: Enabled CAN diagnostic test for tpr12 evm
PDK-5005: Board: Enabled Ethernet diagnostic test for trp12 evm
- enet lld based diagnostic test is not suppored on other platforms.
cpsw diag build is enabled for only tpr12 evm.
- enet lld based diagnostic test is not suppored on other platforms.
cpsw diag build is enabled for only tpr12 evm.
SBL: AM64x: Adding makefile support for mmcsd and ospi hlos
Added the makefile options for both mmcsd and ospi, in order
to build their hlos images for AM64x
Signed-off-by: Dillon Frank <uda0233816local@UDA0233816>
Added the makefile options for both mmcsd and ospi, in order
to build their hlos images for AM64x
Signed-off-by: Dillon Frank <uda0233816local@UDA0233816>
PDK-8827: IPC: test: Make traceBuffer flush before sysIdleLoop
Place the traceBuffer flush Idle function before the sysIdleLoop
Idle function in order to reduce potential delay for trace
buffer flush.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
Place the traceBuffer flush Idle function before the sysIdleLoop
Idle function in order to reduce potential delay for trace
buffer flush.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
PDK-8826: IPC: AM64X: Flush trace buffer in ipc_echo_test
Add the idle function in the sysbios ipc_echo_test images
to flush the remoteproc trace buffer in idle.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
Add the idle function in the sysbios ipc_echo_test images
to flush the remoteproc trace buffer in idle.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
AM64x Bringup: GPIO LED Updates
- Updated Port Num of MCU_GPIO_TEST_LED_2
- Updated LED macros for AM64x in gpio drv - GPIO_board,h
- Toggle USER_LED1
- In AM64x GP EVM, USER_LED0 (TEST_LED1) is connected to IO EXPANDER.
- So, toggling USER_LED1 (TEST_LED2) - connected to MCU_GPIO0_5(EVM-LD26)
Signed-off-by: Don Dominic <a0486429@ti.com>
- Updated Port Num of MCU_GPIO_TEST_LED_2
- Updated LED macros for AM64x in gpio drv - GPIO_board,h
- Toggle USER_LED1
- In AM64x GP EVM, USER_LED0 (TEST_LED1) is connected to IO EXPANDER.
- So, toggling USER_LED1 (TEST_LED2) - connected to MCU_GPIO0_5(EVM-LD26)
Signed-off-by: Don Dominic <a0486429@ti.com>
PDK-8815: IPC: AM64X: ipc_perf_test memory map update
The ipc_perf_test memory map for mpu1_0 and mcu1_0
need to be updated to work with SBL boot. The memory
map needed to be updated to not conflict with SBL
usage.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
The ipc_perf_test memory map for mpu1_0 and mcu1_0
need to be updated to work with SBL boot. The memory
map needed to be updated to not conflict with SBL
usage.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
SBL: AM64x: Updates for OSPI boot
OSPI parameter updates in the SBL to support OSPI boot at 133MHz.
Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
OSPI parameter updates in the SBL to support OSPI boot at 133MHz.
Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
AM64x Bringup: UDMA UT: Update Linker Files
- Update linker files of UDMA UT for all cores AM64x
- Remove Presilicon macro UDMA_TEST_SOC_PRESILICON
Signed-off-by: Don Dominic <a0486429@ti.com>
- Update linker files of UDMA UT for all cores AM64x
- Remove Presilicon macro UDMA_TEST_SOC_PRESILICON
Signed-off-by: Don Dominic <a0486429@ti.com>
2 years agopdk/osal: fixed the AM64x OSAL timer issue REL.CORESDK.07.01.03.04 REL.CORESDK.07.01.03.05
pdk/osal: fixed the AM64x OSAL timer issue
In pdk\packages\ti\osal\src\nonos\timer\v1\TimerP_nonos.c line 572,
the “|| defined(SOC_AM64X)” is missing, so for AM64x the
triggerSensitivity is always set to OSAL_ARM_GIC_TRIG_TYPE_EDGE.
This incorrect setting then causes the OsalArch_HwiPCreateDirect()
(line 409 in pdk\packages\ti\osal\arch\core\r5\Arch_util.c) to set the
“intrSrcType = CSL_VIM_INTR_TYPE_PULSE”.
Signed-off-by: Ming Wei <mwei@ti.com>
In pdk\packages\ti\osal\src\nonos\timer\v1\TimerP_nonos.c line 572,
the “|| defined(SOC_AM64X)” is missing, so for AM64x the
triggerSensitivity is always set to OSAL_ARM_GIC_TRIG_TYPE_EDGE.
This incorrect setting then causes the OsalArch_HwiPCreateDirect()
(line 409 in pdk\packages\ti\osal\arch\core\r5\Arch_util.c) to set the
“intrSrcType = CSL_VIM_INTR_TYPE_PULSE”.
Signed-off-by: Ming Wei <mwei@ti.com>
2 years agoPDK-6947: Board: mcan diagnostic test update validated on am64x evm REL.CORESDK.07.01.03.03
PDK-6947: Board: mcan diagnostic test update validated on am64x evm
PDK-6943: Board: Updated ospi diagnostic test for am64x evm
- Test is not working in dma mode. Disabled DMA mode for now.
- Test is not working in dma mode. Disabled DMA mode for now.
PDK-8777: Board: Upated board flash package config to add ospi tuning data
Board: Fix for QSPI flash hang issue in flash open
PDK-6948: Board: Integrated DDR configurations with am64x evm board lib
- DDR is working fine at 1600MTs
- DDR is working fine at 1600MTs
2 years agoPDK-6948: Board: Removed unused Ethernet PHY macros from am64x board lib REL.CORESDK.07.01.03.02
PDK-6948: Board: Removed unused Ethernet PHY macros from am64x board lib
PDK-6948: Board: Updated am64x icss core clock to 250MHz
PDK-6948: Board: Enabled icss mdio init for am64x evm
- Moved Board_STATUS variable definition from board.h to board_cfg.h.
This will allow including board header files in board_cfg.h to avoid
including the header files in every application.
Change applies to all the platforms and should not break any
functionality.
- Moved Board_STATUS variable definition from board.h to board_cfg.h.
This will allow including board header files in board_cfg.h to avoid
including the header files in every application.
Change applies to all the platforms and should not break any
functionality.
PDK-6948: Board: Added ICSS MII pinmux support for am64x evm
PDK-6948: Board: Updated am64x evm pinmux project file to be compatible to
latest tool version
latest tool version
PDK-6948: Board: Enabled PLL configurations in am64x board library
- Enabling only limited PLL configurations as most of the PLL clocks
are fixed and should be configured by default.
- Enabling only limited PLL configurations as most of the PLL clocks
are fixed and should be configured by default.
PDK-6815 : Addressing review comments
Retained the untils vector copy function name to ensure it's
common for all platforms
Signed-off-by: sujith <sujith.s@ti.com>
Retained the untils vector copy function name to ensure it's
common for all platforms
Signed-off-by: sujith <sujith.s@ti.com>
Build Break : Fixed
Signed-off-by: sujith <sujith.s@ti.com>
Signed-off-by: sujith <sujith.s@ti.com>
PDK-6815: AM65xx: Updated UDMA Adc example
To load .txt and .data into MSMC and copy the same to
ATCM at runtime and use ATCM for runtime
Tested UDMA on MCU 10, MPU 10 in SBL and CCS mode
Signed-off-by: sujith <sujith.s@ti.com>
To load .txt and .data into MSMC and copy the same to
ATCM at runtime and use ATCM for runtime
Tested UDMA on MCU 10, MPU 10 in SBL and CCS mode
Signed-off-by: sujith <sujith.s@ti.com>
PDK-6815 : Updated all apps to enable TCM and copy the vecs
Applicable for AM65xx only
Signed-off-by: sujith <sujith.s@ti.com>
Applicable for AM65xx only
Signed-off-by: sujith <sujith.s@ti.com>
PDK-6815: AM65xx: Enable TCMs, Init them and copy vecs to ATCM
Limiting the TCMs init to 100 bytes, will add time to boot
Expect customer to increase/decrease based on need
Tested with udma crc & adc example on AM65xx PG 1.1
Signed-off-by: sujith <sujith.s@ti.com>
Limiting the TCMs init to 100 bytes, will add time to boot
Expect customer to increase/decrease based on need
Tested with udma crc & adc example on AM65xx PG 1.1
Signed-off-by: sujith <sujith.s@ti.com>
MMC/SD : AM65xx Fixes
1. Enabled to used dummy interrupt
2. Corrected MPU config
3. Tested MMC/SD eMMC on MCU 10 & MPU 10
Signed-off-by: sujith <sujith.s@ti.com>
1. Enabled to used dummy interrupt
2. Corrected MPU config
3. Tested MMC/SD eMMC on MCU 10 & MPU 10
Signed-off-by: sujith <sujith.s@ti.com>
PDK-8393 : am65xx : Updated other apps to enable execution from ccs
Signed-off-by: sujith <sujith.s@ti.com>
Signed-off-by: sujith <sujith.s@ti.com>
PDK-8393 : am65xx CCS boot issue when not using ATCM : Resolved
Root cause : The SBL with 07.01, do not enable ATCM/BTCM
which mandated entry point to be placed in mcu
mc ram.
However, when starting via CCS, the GEL's files
enables ATCM. When ATCM is enabled and with sysbios
6.83 and later, the entry point should be in ATCM
Fix : Included utils to copy the reset vector to ATCM, if
ATCM is enabled
Test : Tested with OSAL test app with sysbios, via ccs and
uart boot mode
Signed-off-by: sujith <sujith.s@ti.com>
Root cause : The SBL with 07.01, do not enable ATCM/BTCM
which mandated entry point to be placed in mcu
mc ram.
However, when starting via CCS, the GEL's files
enables ATCM. When ATCM is enabled and with sysbios
6.83 and later, the entry point should be in ATCM
Fix : Included utils to copy the reset vector to ATCM, if
ATCM is enabled
Test : Tested with OSAL test app with sysbios, via ccs and
uart boot mode
Signed-off-by: sujith <sujith.s@ti.com>
[PDK-8661] UDMA Examples : Disable AM65xx mcu1_1 examples
Signed-off-by: Don Dominic <a0486429@ti.com>
Signed-off-by: Don Dominic <a0486429@ti.com>
[PDK-8661] UDMA : Update UDMA rmcfg for AM65xx
- udma_rmcfg.c for AM65xx was outdated
- Update the default rm params to match with the latest from SysConfig tool
Signed-off-by: Don Dominic <a0486429@ti.com>
- udma_rmcfg.c for AM65xx was outdated
- Update the default rm params to match with the latest from SysConfig tool
Signed-off-by: Don Dominic <a0486429@ti.com>
PDK-6955:Board: Updated ospi flash programmer for am64x evm
- OSPI flash programmer validated with CCS/JTAG.
- Currently set to JTAG support by default. Need to enable dynamic
switching between UART and JTAG based on boot settings
- UART Baudrate is reduced to 115200 due to issues at higher baud rate.
- OSPI flash programmer validated with CCS/JTAG.
- Currently set to JTAG support by default. Need to enable dynamic
switching between UART and JTAG based on boot settings
- UART Baudrate is reduced to 115200 due to issues at higher baud rate.
PDK-6951: Board: Enabled current monitor diag test build for am64x evm
PDK-5115: Board: Updated gpio mapping for am64x expansion header test
PDK-6940: Board: Updated gpio mapping for am64x evm boot switch test
PDK-6953: Board: Updated automation header boot values for am64x evm
PDK-6951: Board: Updated current monitor calibration values for am64x evm
PDK-5151: Board: Updated the oled display test for am64x evm
- OLED display test validated on EVM HW
- Updated the file names to be platform independent
- OLED display test validated on EVM HW
- Updated the file names to be platform independent
PDK-6952: Board: Updated led diagnostic test for am64x evm
- User LED and industrial LED diag tests are validated on EVM HW
- User LED and industrial LED diag tests are validated on EVM HW
mcspi: am64x: add RAT offset for M4F
Add RAT offset to baseaddress of MCSPI registers.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Add RAT offset to baseaddress of MCSPI registers.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
SPI : Add check for return value of MCSPI_dmaConfig in MCSPI_open_v1
- Check for return value of MCSPI_dmaConfig was missing
- Any error in UDMA config was missed
Signed-off-by: Don Dominic <a0486429@ti.com>
- Check for return value of MCSPI_dmaConfig was missing
- Any error in UDMA config was missed
Signed-off-by: Don Dominic <a0486429@ti.com>
uart: test: use main uart0 for am64x tests
Uart test does not have support for MCU UART0, this is a problem
when running on M4 core as MCU UART0 gets assigned as the default instance.
For now use the main uart0 for all cores of am64x tests.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Uart test does not have support for MCU UART0, this is a problem
when running on M4 core as MCU UART0 gets assigned as the default instance.
For now use the main uart0 for all cores of am64x tests.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
PDK-6948: Board: Updated am64x evm pinmux
- Enabled Rx active for FSI-Rx lines
- Corrected Board_pinmuxSetReg for proper register offset access
- Enabled Rx active for FSI-Rx lines
- Corrected Board_pinmuxSetReg for proper register offset access
Sciclient: AM64x: support M4F in launch.js
Initialize M4F in the launch.js script.
Signed-off-by: Sheng Zhao <shengzhao@ti.com>
Initialize M4F in the launch.js script.
Signed-off-by: Sheng Zhao <shengzhao@ti.com>
SPI : AM64x Bringup : Fix Issues with MCSPI multi-channel test on mpu1_0
- On mpu1_0, Multi-channel tests was faling during opening the second channel
- In mcspi inti only the default channel (ch0) object was reset
- Updated 'MCSPI_init_v1' to reset all 4 mcspi channels
- Non-DMA multichannel test are working fine on AM64x mpu1_0 with this fix
Signed-off-by: Don Dominic <a0486429@ti.com>
- On mpu1_0, Multi-channel tests was faling during opening the second channel
- In mcspi inti only the default channel (ch0) object was reset
- Updated 'MCSPI_init_v1' to reset all 4 mcspi channels
- Non-DMA multichannel test are working fine on AM64x mpu1_0 with this fix
Signed-off-by: Don Dominic <a0486429@ti.com>
AM64x OSPI Bringup
Removed SIM_BUILD.
Semantic corrections.
WAs added for PDK-8724 and PDK-8607.
Order of tests changed to 166MHz then 133MHz.
Signed-off-by: Aditya Wadhwa <a0485151@ti.com>
Removed SIM_BUILD.
Semantic corrections.
WAs added for PDK-8724 and PDK-8607.
Order of tests changed to 166MHz then 133MHz.
Signed-off-by: Aditya Wadhwa <a0485151@ti.com>
osal: return correct test result from hwi test
OSAL_hwi_test unconditionally returns true, fix it by returning
actual result.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
OSAL_hwi_test unconditionally returns true, fix it by returning
actual result.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
[PDK-8761] AM64x UART UT : Workaround for issues with DMA mode tests on R5F
- Reordered the testcases such that the following tests runs before UART timeout test(UT4/5)
- UART simultaneous read write test (BIOS only test)
- UART TX/RX FIFO trigger level test
- Else the above testcases (UT10/12) was hanging
- Also intermittent hang was seen in the following testcases
- UART DMA RX error test, enter a break (UT6)
- UART DMA read write cancel test, enter less than 16 chars (UT8)
- This commit is a workaround for the above issues.
- PDK-8761 to track, root-cause and fix this issue
Signed-off-by: Don Dominic <a0486429@ti.com>
- Reordered the testcases such that the following tests runs before UART timeout test(UT4/5)
- UART simultaneous read write test (BIOS only test)
- UART TX/RX FIFO trigger level test
- Else the above testcases (UT10/12) was hanging
- Also intermittent hang was seen in the following testcases
- UART DMA RX error test, enter a break (UT6)
- UART DMA read write cancel test, enter less than 16 chars (UT8)
- This commit is a workaround for the above issues.
- PDK-8761 to track, root-cause and fix this issue
Signed-off-by: Don Dominic <a0486429@ti.com>
board: am64x_evm: add pinmux support for M4F
Add RAT configuration offset for doing pinmux from M4F.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Add RAT configuration offset for doing pinmux from M4F.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
PDK-8760: IPC: Examples: AM64X: Use default RAT config for M4F
The default RAT config for M4F (located in csl/arch/m4/startup/startup.c)
already contains the mapping for the mailbox registers, as well
as other needed mappings. Update the IPC M4F test apps to
use the default RAT config instead of a custom RAT config.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
The default RAT config for M4F (located in csl/arch/m4/startup/startup.c)
already contains the mapping for the mailbox registers, as well
as other needed mappings. Update the IPC M4F test apps to
use the default RAT config instead of a custom RAT config.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
enable appimage gen for pcie tests
Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
AM64x: UDMA UT: Build Fix
- Add utilsCopyVecsToAtcm SECTION to linker file
- This fixes the linking error with udma_unit_testapp om AM64x nmcu1_0/mcu1_1/mcu2_0/mcu2_1
Signed-off-by: Don Dominic <a0486429@ti.com>
- Add utilsCopyVecsToAtcm SECTION to linker file
- This fixes the linking error with udma_unit_testapp om AM64x nmcu1_0/mcu1_1/mcu2_0/mcu2_1
Signed-off-by: Don Dominic <a0486429@ti.com>
SBL: Handle different size R5 ATCM/BTCM on different SoCs
Updates SBL to check for reported ATCM/BTCM memory sizes
for the R5 for each device, instead of using hard-coded
sizes with compile tokens.
Initialization of ATCM/BTCM memories can then take place
with the proper size, for each situation.
Tested-by: Jonathan Bergsagel <jbergsagel@ti.com>
Updates SBL to check for reported ATCM/BTCM memory sizes
for the R5 for each device, instead of using hard-coded
sizes with compile tokens.
Initialization of ATCM/BTCM memories can then take place
with the proper size, for each situation.
Tested-by: Jonathan Bergsagel <jbergsagel@ti.com>
fixed am64x linker cmd file for sysbios
Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
PDK-6948: Board: Fix for OSPI PHY tuning failure on AM64x EVM
AM64x: Sciclient: Update non-Secure host for A53
- BoardCfg is using TISCI_HOST_ID_A53_2 (12U)
- Hence, to allign using SCICLIENT_CONTEXT_A53_NONSEC_1
Signed-off-by: Don Dominic <a0486429@ti.com>
- BoardCfg is using TISCI_HOST_ID_A53_2 (12U)
- Hence, to allign using SCICLIENT_CONTEXT_A53_NONSEC_1
Signed-off-by: Don Dominic <a0486429@ti.com>
sciclient: update AM64x launch.js
Mask the boot mode check with 0x78. No-boot mode needs bit[6-3]=1. Bit7 is
don't care.
Signed-off-by: Sheng Zhao <shengzhao@ti.com>
Mask the boot mode check with 0x78. No-boot mode needs bit[6-3]=1. Bit7 is
don't care.
Signed-off-by: Sheng Zhao <shengzhao@ti.com>
Revert "Board: Disabled sciclient init in am64x evm board library"
This reverts commit 1db8ad0569960c7370bbe8c96af6f52f40201152.
launch.js is functional now for AM64x.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
This reverts commit 1db8ad0569960c7370bbe8c96af6f52f40201152.
launch.js is functional now for AM64x.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Enabling launch.js and DDR init
Enabling AM64x luanch.js and DDR init
Should be used with GEL updates
Signed-off-by: Goswami <piyali_g@ti.com>
Enabling AM64x luanch.js and DDR init
Should be used with GEL updates
Signed-off-by: Goswami <piyali_g@ti.com>
PDK-6948: Board: Added mmc1 loopback clock config for am64x evm pinmux
- Communication with SD card is failing without enabling the pinmux for
MMC1_CLKLB pin
- Communication with SD card is failing without enabling the pinmux for
MMC1_CLKLB pin
AM64x launch.js updates
Updates to run SYSFW on AM64 silicon
Signed-off-by: Goswami <piyali_g@ti.com>
Updates to run SYSFW on AM64 silicon
Signed-off-by: Goswami <piyali_g@ti.com>
SBL: AM64x: UART clock updates for silicon
Update UART input clock values for actual silicon.
Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
Update UART input clock values for actual silicon.
Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
[PDK-8728] UDMA: Update UDMA Resource Allocation for c7x-host-emu
- For c7x-host-emu:
- Reserve 16 DRU channels &
- 32 Free Rings(in allignment with current BoardCfg for C7x) - Since there is Indirect TR usecase with dmautils
- DMSC/SCICLIENT is NA for host emu
- Hence querying from the BoardCfg is not supported.
- Therefore updating the sciclient_dummy.c file to return these ranges for c7x-host-emu
Signed-off-by: Don Dominic <a0486429@ti.com>
- For c7x-host-emu:
- Reserve 16 DRU channels &
- 32 Free Rings(in allignment with current BoardCfg for C7x) - Since there is Indirect TR usecase with dmautils
- DMSC/SCICLIENT is NA for host emu
- Hence querying from the BoardCfg is not supported.
- Therefore updating the sciclient_dummy.c file to return these ranges for c7x-host-emu
Signed-off-by: Don Dominic <a0486429@ti.com>
PDK-6948: Board: Added mmr unlock after pinmux config in am64x evm board
lib
lib
PDK-6948: Board: Updated am64x evm board uart init
- Updaed board UART init to control the UART instance
through board init params.
- Updaed board UART init to control the UART instance
through board init params.
PDK-6948: Board: Added mmr unlock for am64x evm pinmux
Sciclient: AM64x silicon updates
AM64x Silicon bringup updates
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
AM64x Silicon bringup updates
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Board: Disabled sciclient init in am64x evm board library
- sciclient init is disabled in am64x board init function to make the
board init execution independent of sciclient.
This will be enabled after sciclient is validated and stable
with SoC.
- sciclient init is disabled in am64x board init function to make the
board init execution independent of sciclient.
This will be enabled after sciclient is validated and stable
with SoC.
Board: Remoaved SIM_BUILD configurations in am64x board
- Conifgurations enabled using SIM_BUILD macro are used for QT/Zebu
testing. Need to disable these configs for testing on EVM.
- Conifgurations enabled using SIM_BUILD macro are used for QT/Zebu
testing. Need to disable these configs for testing on EVM.
PDK-8458: sciclient: update AM64x RAT macro name
Since the secure proxy config is used by all cores in AM64x, the RAT
macro name should not be limited to M4F. The RAT offset should be
applied only for M4F applications.
Just renaming macros. No functional change.
Signed-off-by: Sheng Zhao <shengzhao@ti.com>
Since the secure proxy config is used by all cores in AM64x, the RAT
macro name should not be limited to M4F. The RAT offset should be
applied only for M4F applications.
Just renaming macros. No functional change.
Signed-off-by: Sheng Zhao <shengzhao@ti.com>
Revert "BOARD: Enabling Board_moduleClock() only for mpu & mcu cores (not m4f)"
This reverts commit 5d48db09b6a9c6b2280c3da95fab924228a2906f.
Board_moduleClockEnable was previously disabled for M4F since it was crashing.
The crash is fixed after RAT configuration was enabled for sec proxy register
regions.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
This reverts commit 5d48db09b6a9c6b2280c3da95fab924228a2906f.
Board_moduleClockEnable was previously disabled for M4F since it was crashing.
The crash is fixed after RAT configuration was enabled for sec proxy register
regions.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
PDK-8458: sciclient: update secure proxy config for AM64x
The M4F core on AM64x needs RAT to access the secure proxy registers.
The offset of 0x60000000 is used to convert from MAIN domain memory
map to M4FSS memory map.
Signed-off-by: Sheng Zhao <shengzhao@ti.com>
The M4F core on AM64x needs RAT to access the secure proxy registers.
The offset of 0x60000000 is used to convert from MAIN domain memory
map to M4FSS memory map.
Signed-off-by: Sheng Zhao <shengzhao@ti.com>
am64x: align BIOS and XDC version with other devices
Changing to below versions
BIOS_VERSION=6_83_00_18
XDC_VERSION=3_61_03_29_core
Important fix related to A53 interrupts is included in 6_83 version.
More info in SYSBIOS-1409.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Changing to below versions
BIOS_VERSION=6_83_00_18
XDC_VERSION=3_61_03_29_core
Important fix related to A53 interrupts is included in 6_83 version.
More info in SYSBIOS-1409.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Static Analysis fixes for Sciclient
Static Analysis fixes for Sciclient
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Static Analysis fixes for Sciclient
Signed-off-by: Piyali Goswami <piyali_g@ti.com>