Board: Fix for am64x evm stress test build errors
AM64x: launch.js update for latest CSP
Updates to launch.js based on latest CSP package made for public consumption.
When R5 is connected, the DDR will not be configured automatically.
After the sciclient_ccs_init runs, the launch.js explicitly calls
AM64_DDR_Initialization_ECC_Disabled() to configure the DDR.
CSP commit:
https://bitbucket.itg.ti.com/projects/CPHWA/repos/k3_ccs/commits/662bc078f8ccee26024a80bd648803872a31b5e6
Signed-off-by: Sheng Zhao <shengzhao@ti.com>
Updates to launch.js based on latest CSP package made for public consumption.
When R5 is connected, the DDR will not be configured automatically.
After the sciclient_ccs_init runs, the launch.js explicitly calls
AM64_DDR_Initialization_ECC_Disabled() to configure the DDR.
CSP commit:
https://bitbucket.itg.ti.com/projects/CPHWA/repos/k3_ccs/commits/662bc078f8ccee26024a80bd648803872a31b5e6
Signed-off-by: Sheng Zhao <shengzhao@ti.com>
AM64x Build Fix: Use CORELISTARM for UART baremetal app
- Use drvuart_am64x_CORELISTARM for UART_Baremetal_TestApp
- All other UART apps for am64x was already using drvuart_am64x_CORELISTARM
Signed-off-by: Don Dominic <a0486429@ti.com>
- Use drvuart_am64x_CORELISTARM for UART_Baremetal_TestApp
- All other UART apps for am64x was already using drvuart_am64x_CORELISTARM
Signed-off-by: Don Dominic <a0486429@ti.com>
BUILD: AM64x: Add missing mpu1_1 in the am64x core list
Update core lists in both BUILD and SBL to match the cores
that are used for building various test cases.
Fixes build issue for the sbl_multicore_amp boot test case
for am64x_evm by including the last "mpu1_1" core that was
previously missing.
Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
Update core lists in both BUILD and SBL to match the cores
that are used for building various test cases.
Fixes build issue for the sbl_multicore_amp boot test case
for am64x_evm by including the last "mpu1_1" core that was
previously missing.
Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
[PDK-9033] UDMA Example : Fix UDMA ADC example on AM64x mpu1_0
- Clear destination buffer and cache writeback
Signed-off-by: Don Dominic <a0486429@ti.com>
- Clear destination buffer and cache writeback
Signed-off-by: Don Dominic <a0486429@ti.com>
am64x: Enable appimage generation for mcspi tests
Enable appimage generation for test cases that apply to am64x.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Enable appimage generation for test cases that apply to am64x.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
PDK-9175: SBL: AM64x: Fix MMCSD boot when using MCU1_0 TCMs
Adds address translation to SoC level addresses of MCU1_0
local TCMs when using MMCSD ADMA to copy appimage sections
to MCU1_0 ATCM / BTCM.
Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
Adds address translation to SoC level addresses of MCU1_0
local TCMs when using MMCSD ADMA to copy appimage sections
to MCU1_0 ATCM / BTCM.
Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
[PDK-9033] UDMA Example : Fix UDMA ADC example on AM64x
- Moved PDMA Config and chEnable to App_create
- Moved chDiable to App_delete
- Added VirtToPhy/PhyToVirt conversion before submitting to/after receiving from DMA Controller
- Basic Porting for LCDMA
- Added RA Type macro for Teardown Completion Queue, Teardown Event and Completion Ring Mem
Signed-off-by: Don Dominic <a0486429@ti.com>
- Moved PDMA Config and chEnable to App_create
- Moved chDiable to App_delete
- Added VirtToPhy/PhyToVirt conversion before submitting to/after receiving from DMA Controller
- Basic Porting for LCDMA
- Added RA Type macro for Teardown Completion Queue, Teardown Event and Completion Ring Mem
Signed-off-by: Don Dominic <a0486429@ti.com>
[PDK-7995] UDMA: Simplify UDMA RM Configuration for AM64x
- Simplify RM Configuration by querying from defaultBoardCfg
- Using #Sciclient_rmGetResourceRange to populate #Udma_RmInitPrms
- Removes all hard-codings in udma_rmcfg.c
- Splits shared resources like GlobalEvents/VINTR across BCDMA/PKTDMA Instances
based on the prms in #Udma_RmSharedResPrms (UDMA RM Shared Resource parameters)
- User can override default UDMA RM Shared Resource parameters, using Udma_rmGetSharedResPrms API
- Moved UdmaRmInitPrms_init to 'udma_rmcfg_common.c' in 'soc' folder.
This API will return error, if it fails to init #Udma_RmInitPrms
- New API to to retun TISCI Core Dev ID 'Udma_getCoreSciDevId'
- To be reused in 'UdmaRmInitPrms_init'
- For devices like AM64x (LCDMA), One to one mapping exists from Virtual Interrupts to Core Interrupts
So translate to corresponding range using 'Sciclient_rmIrqTranslateIaOutput'.
Since there are no Interrupt Routers, startIrIntr/numIrIntr refers to core interrupt itslef.
Signed-off-by: Don Dominic <a0486429@ti.com>
- Simplify RM Configuration by querying from defaultBoardCfg
- Using #Sciclient_rmGetResourceRange to populate #Udma_RmInitPrms
- Removes all hard-codings in udma_rmcfg.c
- Splits shared resources like GlobalEvents/VINTR across BCDMA/PKTDMA Instances
based on the prms in #Udma_RmSharedResPrms (UDMA RM Shared Resource parameters)
- User can override default UDMA RM Shared Resource parameters, using Udma_rmGetSharedResPrms API
- Moved UdmaRmInitPrms_init to 'udma_rmcfg_common.c' in 'soc' folder.
This API will return error, if it fails to init #Udma_RmInitPrms
- New API to to retun TISCI Core Dev ID 'Udma_getCoreSciDevId'
- To be reused in 'UdmaRmInitPrms_init'
- For devices like AM64x (LCDMA), One to one mapping exists from Virtual Interrupts to Core Interrupts
So translate to corresponding range using 'Sciclient_rmIrqTranslateIaOutput'.
Since there are no Interrupt Routers, startIrIntr/numIrIntr refers to core interrupt itslef.
Signed-off-by: Don Dominic <a0486429@ti.com>
PDK-5153: Board: Updated stress tests for am64x evm to fix the failures
PDK-8367: Board: Updated SPI EEPROM diag test for AM64x EVM
PDK-5115: Board: Corrected gpio pin mapping for am64x evm exp header test
[dmautils] Update hostemu to support 8 to 16 bit conversion
Signed-off-by: Anshu Jain <anshu.jain@ti.com>
Signed-off-by: Anshu Jain <anshu.jain@ti.com>
PDK-9013: Fixes for Sciserver logic
Sciserver_UserProcessMsg has 2 flows:
1. Non-secure host --> Sciserver_UserProcessMsg (MCU1_0)
RM Process / PM Process
[RM forward to DMSC]
2. Secure Host --> DMSC --> Sciserver_UserProcessMsg (MCU1_0)
RM Process/ PM Process
Earlier logic was performing the following steps:
1. Check message type - based on that set RM, PM or forward flag.
2. If RM flag and forward flag is set the Process RM is called and the Forward message is called.
3. The effect is the local RM is called 2 times
4. If the local RM fails, we still end up calling the API 2 times.
5. If there is a fail in the Forward response function, the response is not sent back to the non-secure host.
So the logic has to be corrected to have only local RM processing when getting forwarded from a secure host and have non-secure processing call the Sciclient_service function which identifies the forward or non-forward message calls.
The earlier logic also has another issue where the value of return is checked for the setting of the ACK and NACK flag after the override finished for the ret value based on the fact that the ACK and NACK flag is already set in the response. So the net effect is the ACK / NACK flag is falsely set to ACK based on the ret value giving an incorrect response to the user.
The current logic does the following:
1. Checks if the message is from DMSC (forwarded) or not. Based on this it calls the full message processing or only the local to MCU1_0 RM message processing.
2. The Sciserver and the local RM message processing sets the ACK/NACK flag and the API does not overwrite this after the processing is complete.
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Sciserver_UserProcessMsg has 2 flows:
1. Non-secure host --> Sciserver_UserProcessMsg (MCU1_0)
RM Process / PM Process
[RM forward to DMSC]
2. Secure Host --> DMSC --> Sciserver_UserProcessMsg (MCU1_0)
RM Process/ PM Process
Earlier logic was performing the following steps:
1. Check message type - based on that set RM, PM or forward flag.
2. If RM flag and forward flag is set the Process RM is called and the Forward message is called.
3. The effect is the local RM is called 2 times
4. If the local RM fails, we still end up calling the API 2 times.
5. If there is a fail in the Forward response function, the response is not sent back to the non-secure host.
So the logic has to be corrected to have only local RM processing when getting forwarded from a secure host and have non-secure processing call the Sciclient_service function which identifies the forward or non-forward message calls.
The earlier logic also has another issue where the value of return is checked for the setting of the ACK and NACK flag after the override finished for the ret value based on the fact that the ACK and NACK flag is already set in the response. So the net effect is the ACK / NACK flag is falsely set to ACK based on the ret value giving an incorrect response to the user.
The current logic does the following:
1. Checks if the message is from DMSC (forwarded) or not. Based on this it calls the full message processing or only the local to MCU1_0 RM message processing.
2. The Sciserver and the local RM message processing sets the ACK/NACK flag and the API does not overwrite this after the processing is complete.
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
3 years agoBoard: Fix for am64x evm ospi diagnostic test build error REL.CORESDK.07.02.00.10 REL.CORESDK.07.02.01.06
Board: Fix for am64x evm ospi diagnostic test build error
- Disabled sbl cust image build for am64x svb
- Disabled sbl cust image build for am64x svb
PDK-8969: Board: Fix for am64x svb ospi diagnostic test build failure
PDK-8977: Board: Enabled temperature sensor diagnostic test for am64x svb
PDK-8978: Board: Enabled current monitor diagnostic test for am64x svb
PDK-8981: Board: Enabled MCAN diagnostic test for am64x svb
Board: Enabled memory diagnostic tests for am64x svb
- PDK-8985: Enabled I2C Board ID EEPROM test
- PDK-8983: Enabled DDR memory diagnostic test
- PDK-8984: Enabled SD card diagnostic test
- PDK-8982: Enabled eMMC diagnostic test
- PDK-8969: Enabled OSPI diagnostic test
- PDK-8988: Enabled QSPI flash diagnostic test
- PDK-8985: Enabled I2C Board ID EEPROM test
- PDK-8983: Enabled DDR memory diagnostic test
- PDK-8984: Enabled SD card diagnostic test
- PDK-8982: Enabled eMMC diagnostic test
- PDK-8969: Enabled OSPI diagnostic test
- PDK-8988: Enabled QSPI flash diagnostic test
PDK-8968: Board: Added gpmc diagnostic test
PDK-8967: Board: Updated board flash library for am64x svb
PDK-8967: Board: Updated am64x svb board library for SVB HW
am64x main pll 0 HSDIV setting for 200 MHz for ICSS
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Migrating to SYSFW version v2020.12a
Migrating to SYSFW version v2020.12a
Migrating to SYSFW version v2020.12a
Board: Uniflash host tool update for Uniflash release 6.2
- PDK-9019: Enabled flow control to support higher baudrate on AM64 EVM
- PDK-9179: Added support for auto-detecting tifs.bin
- PDK-9180: Added raw mode support to fix Linux failure with TPR12 EVM
- PDK-9019: Enabled flow control to support higher baudrate on AM64 EVM
- PDK-9179: Added support for auto-detecting tifs.bin
- PDK-9180: Added raw mode support to fix Linux failure with TPR12 EVM
[PDK-8573] UDMA: Expose Udma_chGetTriggerEvent API
- Expose Udma_chGetTriggerEvent API
- Added Error Checks
- Removed i/p param 'drvHandle' (Derive from passed 'chHandle')
- API will return the global 0/1 trigger event for the channel
- Trigger is not supported for external channels and the function will return #UDMA_EVENT_INVALID.
Signed-off-by: Don Dominic <a0486429@ti.com>
- Expose Udma_chGetTriggerEvent API
- Added Error Checks
- Removed i/p param 'drvHandle' (Derive from passed 'chHandle')
- API will return the global 0/1 trigger event for the channel
- Trigger is not supported for external channels and the function will return #UDMA_EVENT_INVALID.
Signed-off-by: Don Dominic <a0486429@ti.com>
Mailbox: Test: Update mailbox_perf_test for automation
Update the mailbox_perf_test for baremetal and rtos to
print to UART and to print the correct pass string for
test automation.
Also update the linker files to be compatible with SBL
loading and create the multicore appimage.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
Update the mailbox_perf_test for baremetal and rtos to
print to UART and to print the correct pass string for
test automation.
Also update the linker files to be compatible with SBL
loading and create the multicore appimage.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
Mailbox: Add missing documentation
Add the missing documentation for the read modes and
update documentation for functions that are not supported for
every device to indicate the support.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
Add the missing documentation for the read modes and
update documentation for functions that are not supported for
every device to indicate the support.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
mmcsd: v2: fix build with logs enabled
Fix build errors seen when trying to enable LOG_EN flag. Also add missing
new lines in log statements to make the log easier to read.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Fix build errors seen when trying to enable LOG_EN flag. Also add missing
new lines in log statements to make the log easier to read.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
PDK-9098: Board: am64x_evm add ICSSG0 IEP SYNC/LATCH pins and GPIO outputs for sitara-apps/timesync_example
PDK-9098: Board: am64x_evm add MCU GPIO for sitara-apps/servo_drive_demo
3 years agoSBL: AM64x: Fix example XIP flash boot test REL.CORESDK.07.02.00.06 REL.CORESDK.07.02.00.07
SBL: AM64x: Fix example XIP flash boot test
Fixes SBL XIP boot test for AM64x by using the latest aligned
flash address offset for the XIP test binary (0x1c0000).
Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
Fixes SBL XIP boot test for AM64x by using the latest aligned
flash address offset for the XIP test binary (0x1c0000).
Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
Correct portNum parameter used by emac_poll_pkt and emac_poll_ctrl for ICSSG switch
Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
Fix for issues seen with port call backs
EMAC_FREE_PKT needs to be invoked on Port/Slice used to transmit the packet as packet will be scheduled by ICSSG firmware irrespective of the port in which application is polling for TX completion
Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
EMAC_FREE_PKT needs to be invoked on Port/Slice used to transmit the packet as packet will be scheduled by ICSSG firmware irrespective of the port in which application is polling for TX completion
Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
Add ingress rate limiter support in emac lld
Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
Signed-off-by: Pratheesh Gangadhar <pratheesh@ti.com>
SBL: AM64x: Enable OSPI PHY with DMA for OSPI build
Enables the OSPI PHY (using PHY tuning) and DMA transfers
for faster application booting, when using "sbl_ospi_img".
Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
Enables the OSPI PHY (using PHY tuning) and DMA transfers
for faster application booting, when using "sbl_ospi_img".
Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
SBL: AM64x: Enable CUST build for OSPI boot with custom flags
Enables building "sbl_cust_img" for an alternate OSPI boot method
where special SBL "CUST" build flags can be used (sbl_component.mk)
Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
Enables building "sbl_cust_img" for an alternate OSPI boot method
where special SBL "CUST" build flags can be used (sbl_component.mk)
Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
3 years agoSBL: AM64x: Add OSPI 166 MHz operation and update caching for xSPI REL.CORESDK.07.02.01.05
SBL: AM64x: Add OSPI 166 MHz operation and update caching for xSPI
OSPI parameter updates in the SBL to support using OSPI interface
at 166 MHz for booting images.
Added R5 cache exclusion region for the xSPI flash PHY tuning data
area.
Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
OSPI parameter updates in the SBL to support using OSPI interface
at 166 MHz for booting images.
Added R5 cache exclusion region for the xSPI flash PHY tuning data
area.
Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
3 years ago[PDK-9060] UDMA: Apputils: Add support of AM64x TCMA Address Translations REL.CORESDK.07.02.00.04 REL.CORESDK.07.02.00.05
[PDK-9060] UDMA: Apputils: Add support of AM64x TCMA Address Translations
- Convert local R5 TCMA address to global space in Udma_appVirtToPhyFxn
- Convert global R5 TCMA address to local space in Udma_appPhyToVirtFxn
- Fix typo for macro in udma_ospi_flash example
- This fixes PDK-9060 : UDMA OSPI example not working on AM64x
Signed-off-by: Don Dominic <a0486429@ti.com>
- Convert local R5 TCMA address to global space in Udma_appVirtToPhyFxn
- Convert global R5 TCMA address to local space in Udma_appPhyToVirtFxn
- Fix typo for macro in udma_ospi_flash example
- This fixes PDK-9060 : UDMA OSPI example not working on AM64x
Signed-off-by: Don Dominic <a0486429@ti.com>
KEYWRITER: fixes main.c build issue
[Bug Fix] PDK-8849: UART UT: few unit tests are failing on M4F core
- Interrupts are enabled for mcu uart instances on M4f core
Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
- Interrupts are enabled for mcu uart instances on M4f core
Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
3 years agoAM64x RM: Update defaulBoardCfg_rm to assign CMPEVNT INTR outputs for local events... REL.CORESDK.07.02.00.01 REL.CORESDK.07.02.00.02 REL.CORESDK.07.02.00.03
AM64x RM: Update defaulBoardCfg_rm to assign CMPEVNT INTR outputs for local events to HOST_ID_ALL
- Updates in allignment with https://bitbucket.itg.ti.com/projects/PSDKLA/repos/k3-resource-partitioning/pull-requests/13/overview
- Regenrate scilcient_boardcfg and sciclient_ccs_init
Signed-off-by: Don Dominic <a0486429@ti.com>
- Updates in allignment with https://bitbucket.itg.ti.com/projects/PSDKLA/repos/k3-resource-partitioning/pull-requests/13/overview
- Regenrate scilcient_boardcfg and sciclient_ccs_init
Signed-off-by: Don Dominic <a0486429@ti.com>
[PDK-8918] udma ospi example for j7200/am64x
- perform writes in INDAC mode and reads in DAC DMA mode
- moved the OSPI INDAC Write API to common csl file
Signed-off-by: Aditya Wadhwa <a0485151@ti.com>
- perform writes in INDAC mode and reads in DAC DMA mode
- moved the OSPI INDAC Write API to common csl file
Signed-off-by: Aditya Wadhwa <a0485151@ti.com>
[Bug Fix] PDK-8761: UART UT Dma tests hangs after timeout
- After timeout Flush any pending request from the free queue
Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
- After timeout Flush any pending request from the free queue
Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
SBL: AM64x: Change SCRATCH RAM location to DDR memory
Moves the SCRATCH RAM for the SBL (used for temp location
for appimage loads) back to the same DDR address & size
as used for other similar SoCs.
Enables loading larger appimages via UART boot mode (and
larger signed appimages via any boot mode). Also avoids
conflicts with other possible usage of the OC SRAM.
Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
Moves the SCRATCH RAM for the SBL (used for temp location
for appimage loads) back to the same DDR address & size
as used for other similar SoCs.
Enables loading larger appimages via UART boot mode (and
larger signed appimages via any boot mode). Also avoids
conflicts with other possible usage of the OC SRAM.
Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
[PDK-8724] Fixed PHY causing failure of next test
- Some fields in RD_DATA_CAPTURE_REG are modified by the Nor_spiPhyTune API
- Resting these fields in the Nor_xspiClose API
- Removed the WA of disabling PHY done in PDK-8725
Signed-off-by: Aditya Wadhwa <a0485151@ti.com>
- Some fields in RD_DATA_CAPTURE_REG are modified by the Nor_spiPhyTune API
- Resting these fields in the Nor_xspiClose API
- Removed the WA of disabling PHY done in PDK-8725
Signed-off-by: Aditya Wadhwa <a0485151@ti.com>
I2C Example : Build break fix
Signed-off-by: sujith <sujith.s@ti.com>
Signed-off-by: sujith <sujith.s@ti.com>
Sciclient_firmware_boot: Linker Build fix
Build Fix for J7 with RM/PM in debug mode.
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Build Fix for J7 with RM/PM in debug mode.
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
i2c: fix typo in component makefile
Fixing the typo in I2C_Baremetal_Eeprom_TestApp part of component makefile.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Fixing the typo in I2C_Baremetal_Eeprom_TestApp part of component makefile.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
[PDK-9022] UDMA: Fix Issues with AM64x UDMA
- Explicitly include csl_udmap_cppi5.h in UDMA header file
- This update is in allignment with the updates in CSL to remove including this from top-level csl_pktdma.h
- Related JIRA: PDK-8934
Signed-off-by: Don Dominic <a0486429@ti.com>
- Explicitly include csl_udmap_cppi5.h in UDMA header file
- This update is in allignment with the updates in CSL to remove including this from top-level csl_pktdma.h
- Related JIRA: PDK-8934
Signed-off-by: Don Dominic <a0486429@ti.com>
Trace enable for RM/PM HAL
By default the RM/PM HAL trace is disabled. Right now the trace is enabled only through
compile mode as the MCU SRAM is limited and addition of more functions is hurting customer usecases.
Fixes: PDK-9014
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
By default the RM/PM HAL trace is disabled. Right now the trace is enabled only through
compile mode as the MCU SRAM is limited and addition of more functions is hurting customer usecases.
Fixes: PDK-9014
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Fix for the state capture for both output and input IR output for ROM mapping
The Sciclient RM IRQ has a logic which checks if the input and output of an IR is mapped in the ROM table or not. The way the logic works is that at the Sciclient level the mapping is checked but not cleared. However, a flag which says the actual entries are cleared is set to true indicating it is cleared. This is fine if only one of the input or output is mapped.
if both are mapped the logic in the Sciclient_rm_irq.c file fails to recognise the rom mapping for the output since a single flag which indicates the input is used is already set. This causes a confusion and the RM IRQ eventually fails.
This patch will track the output and input separately.
Fixes: PDK-9005
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
The Sciclient RM IRQ has a logic which checks if the input and output of an IR is mapped in the ROM table or not. The way the logic works is that at the Sciclient level the mapping is checked but not cleared. However, a flag which says the actual entries are cleared is set to true indicating it is cleared. This is fine if only one of the input or output is mapped.
if both are mapped the logic in the Sciclient_rm_irq.c file fails to recognise the rom mapping for the output since a single flag which indicates the input is used is already set. This causes a confusion and the RM IRQ eventually fails.
This patch will track the output and input separately.
Fixes: PDK-9005
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
added app image generation for sciclient ut for am64x
Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
PDK-9019: Uart: Added input parameter check for flow control configuration
PDK-9019: Board: Enabled UART HW flow control for am64x evm Uniflash
- Uniflash is failing on AM64x EVM when UART baud rate is set above
1.5mbps without HW flow control.
- Added UART HW flow control support which allows setting the UART
baud rate till 3mpbs. Flow control enable/disable will be controlled
by Uniflash host application.
- Uniflash is failing on AM64x EVM when UART baud rate is set above
1.5mbps without HW flow control.
- Added UART HW flow control support which allows setting the UART
baud rate till 3mpbs. Flow control enable/disable will be controlled
by Uniflash host application.
PDK-9019: Uart: Enable HW flow control for K3 platforms
Enabled app image generation for OSPI UTs on AM64x
Signed-off-by: Aditya Wadhwa <a0485151@ti.com>
Signed-off-by: Aditya Wadhwa <a0485151@ti.com>
PDK-8974: Fix ipc_echo_testb build
Fix linker error with ipc_echo_testb for j721e and j7200.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
Fix linker error with ipc_echo_testb for j721e and j7200.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
Board: Fix for AM65xx Uniflash build failure
i2c: exclude I2C_Baremetal_Eeprom_TestApp for am64x m4f core
I2C is not supported on M4F core, exclude the test to be built for m4f core.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
I2C is not supported on M4F core, exclude the test to be built for m4f core.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Restrict rs485 test only for R5 cores of AM64x
This test only supports configuring main UARTs, so exclude M4F from
this test.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
This test only supports configuring main UARTs, so exclude M4F from
this test.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Revert "uart: test: use main uart0 for am64x tests"
This reverts commit 04bd53138876e78dd926dec3f18abbe4ab1dfc24.
Hardcoding UART instcances will not work for automation.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
This reverts commit 04bd53138876e78dd926dec3f18abbe4ab1dfc24.
Hardcoding UART instcances will not work for automation.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Migrating to SYSFW version v2020.12
Signed-off-by: Sheng Zhao <shengzhao@ti.com>
Signed-off-by: Sheng Zhao <shengzhao@ti.com>
enabled mmcsd dma app for am64x
Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
KEYWRITER: fixes otpKeyCfgAddr pointer to integer conv.
KEYWRITER: adds missing files, and header doxygen comments
PDK-7046 : I2C Utility : Updated to support instances
In MCU & Main domain, tested on j721e board
Signed-off-by: sujith <sujith.s@ti.com>
In MCU & Main domain, tested on j721e board
Signed-off-by: sujith <sujith.s@ti.com>
Revert "AM64x: Board_PLL: TEMP: enable MCU_PLL"
This reverts commit c884e404a3a09060c5395409991dd4ce28a6b728.
SYSFW now takes care of enabling MCU_PLLCTRL0 in v2020.12 version.
Signed-off-by: Sheng Zhao <shengzhao@ti.com>
This reverts commit c884e404a3a09060c5395409991dd4ce28a6b728.
SYSFW now takes care of enabling MCU_PLLCTRL0 in v2020.12 version.
Signed-off-by: Sheng Zhao <shengzhao@ti.com>
Migrating to SYSFW version v2020.12-rc1
The GP binaries are updated. The HS binaries are currently still from
the previous release 2020.08b. Will update the HS binaries in the
official v2020.12 release.
Signed-off-by: Sheng Zhao <shengzhao@ti.com>
The GP binaries are updated. The HS binaries are currently still from
the previous release 2020.08b. Will update the HS binaries in the
official v2020.12 release.
Signed-off-by: Sheng Zhao <shengzhao@ti.com>
enabled osal tests for mcu2_0 core
Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
sysbios_r5f: Use a valid value for dummyIRQ on AM64x
As per cslr_intr_r5fss0_core*.h 179 is not mapped to any peripheral,Use this
as a dummyIRQ.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
As per cslr_intr_r5fss0_core*.h 179 is not mapped to any peripheral,Use this
as a dummyIRQ.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
PDK-8940: am64x/sbl for MCU domain reset isolation, skip M4F application load if there is an application already running.
KEYWRITER: example app, which loads sysfw-keywr itself
Fixes: SYSFW-4164
Signed-off-by: Anuraag Tummanapally <anuraagt@ti.com>
Fixes: SYSFW-4164
Signed-off-by: Anuraag Tummanapally <anuraagt@ti.com>
KEYWRITER: sciclient fn for keywriter API call, opcode, and msg struct
Fixes: SYSFW-4164
Signed-off-by: Anuraag Tummanapally <anuraagt@ti.com>
Fixes: SYSFW-4164
Signed-off-by: Anuraag Tummanapally <anuraagt@ti.com>
KEYWRITER: x509 certificate generation scripts
Fixes: SYSFW-4163
Signed-off-by: Anuraag Tummanapally <anuraagt@ti.com>
Fixes: SYSFW-4163
Signed-off-by: Anuraag Tummanapally <anuraagt@ti.com>
Merge pull request #1564 in PROCESSOR-SDK/pdk from review_for_07_01_am65xx_brach_merge_to_master_sujith to master
* commit '65329534f95702fd986981151646e8ea546f1425': (21 commits)
emac icssg - Enable firmware build for mcu1_0
am65xx - Add dummy interrupt and fix linker command file
AM65xx: Change SBL Boot Perf Test to smaller version
AM65xx: CUST SBL fix for booting MCU1_0
[PDK-8866] Add PDK_INSTALL_PATH path to pdkAppImageCreate scripts
[PDK-8865] Fix powershell call on windows for image signing step
PDK-8777: Board: Upated board flash package config to add ospi tuning data
PDK-8720 : Addressed review comments : Initialized
PDK-8720 : AM65xx OSPI Boot fails : Fixed
[PDK-3964][Bug Fix][TC Failure Fix]fatfs test read and write to a file
PDK-6815 : Addressing review comments
Build Break : Fixed
PDK-6815: AM65xx: Updated UDMA Adc example
PDK-6815 : Updated all apps to enable TCM and copy the vecs
PDK-6815: AM65xx: Enable TCMs, Init them and copy vecs to ATCM
MMC/SD : AM65xx Fixes
enable appimage gen for pcie tests
PDK-8393 : am65xx : Updated other apps to enable execution from ccs
PDK-8393 : am65xx CCS boot issue when not using ATCM : Resolved
[PDK-8661] UDMA Examples : Disable AM65xx mcu1_1 examples
...
* commit '65329534f95702fd986981151646e8ea546f1425': (21 commits)
emac icssg - Enable firmware build for mcu1_0
am65xx - Add dummy interrupt and fix linker command file
AM65xx: Change SBL Boot Perf Test to smaller version
AM65xx: CUST SBL fix for booting MCU1_0
[PDK-8866] Add PDK_INSTALL_PATH path to pdkAppImageCreate scripts
[PDK-8865] Fix powershell call on windows for image signing step
PDK-8777: Board: Upated board flash package config to add ospi tuning data
PDK-8720 : Addressed review comments : Initialized
PDK-8720 : AM65xx OSPI Boot fails : Fixed
[PDK-3964][Bug Fix][TC Failure Fix]fatfs test read and write to a file
PDK-6815 : Addressing review comments
Build Break : Fixed
PDK-6815: AM65xx: Updated UDMA Adc example
PDK-6815 : Updated all apps to enable TCM and copy the vecs
PDK-6815: AM65xx: Enable TCMs, Init them and copy vecs to ATCM
MMC/SD : AM65xx Fixes
enable appimage gen for pcie tests
PDK-8393 : am65xx : Updated other apps to enable execution from ccs
PDK-8393 : am65xx CCS boot issue when not using ATCM : Resolved
[PDK-8661] UDMA Examples : Disable AM65xx mcu1_1 examples
...
Bumping the build version
Fix for the PRU Tx lock up issue. LCPD-19899
1. During high traffic when links are taken down, Tx PRU locks up
2. Fix is to check Tx FIFO fill level and then issue a reset
1. During high traffic when links are taken down, Tx PRU locks up
2. Fix is to check Tx FIFO fill level and then issue a reset
Merge branch 'release/CORESDK_07.01.00' of ssh://bitbucket.itg.ti.com/processor-sdk/pdk into dev
PDK-8950: Use a correct value for dummyIRQ on AM64x
Added GPMC register dump before transfer operation
- Added a function to dump all timing configuration values
Signed-off-by: Aditya Wadhwa <a0485151@ti.com>
- Added a function to dump all timing configuration values
Signed-off-by: Aditya Wadhwa <a0485151@ti.com>
Updated paramters passed in OSPI API calls
- Adapting to changes made in csl ospi app
- Passed dac mode as TRUE in relevant APIs
- Passed OSPI object in relevant APIs
Signed-off-by: Aditya Wadhwa <a0485151@ti.com>
- Adapting to changes made in csl ospi app
- Passed dac mode as TRUE in relevant APIs
- Passed OSPI object in relevant APIs
Signed-off-by: Aditya Wadhwa <a0485151@ti.com>
[PDK-8725]Enabling DAC tests for xSPI Flash devices
- DAC tests perform writes in INDAC mode and reads in DAC mode
- PHY is disabled for DAC reads due to bug PDK-8724
Signed-off-by: Aditya Wadhwa <a0485151@ti.com>
- DAC tests perform writes in INDAC mode and reads in DAC mode
- PHY is disabled for DAC reads due to bug PDK-8724
Signed-off-by: Aditya Wadhwa <a0485151@ti.com>
3 years agoPDK-7626: IPC: Test: Cleanup ex05 test and Make ready for Automation REL.CORESDK.07.02.01.01
PDK-7626: IPC: Test: Cleanup ex05 test and Make ready for Automation
Cleanup the ex05 test:
- remove Task_sleep between each test
- remove creation of tasks with each test
Also add UART traces so that test can be automated.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
Cleanup the ex05 test:
- remove Task_sleep between each test
- remove creation of tasks with each test
Also add UART traces so that test can be automated.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
Bumping the build version with latest changes
Bumping build and version
Adding offset to control storm control behavior
Host can control whether storm prevention bypass for cut-through should be enabled or not. This is for backward compatibility
Host can control whether storm prevention bypass for cut-through should be enabled or not. This is for backward compatibility
Bumping the firmware version
Fix for issue PINDSW-4265
1. Firmware patch to fix race condition while updating NSP credit value
2. The fix is taken directly from PINDSW-2997 which has already been validated on HSR-PRP
1. Firmware patch to fix race condition while updating NSP credit value
2. The fix is taken directly from PINDSW-2997 which has already been validated on HSR-PRP
Fix for the issue. PINDSW-4577. Storm prevention done for all paths
1. This fix makes sure that storm prevention is not done for cut-through packets
2. Without this fix, the rate of cut-through packets gets throttled
1. This fix makes sure that storm prevention is not done for cut-through packets
2. Without this fix, the rate of cut-through packets gets throttled
3 years agopdkAppImageCreate: fix typo error in script REL.CORESDK.07.01.03.08 REL.CORESDK.07.01.03.09
pdkAppImageCreate: fix typo error in script
Fix a typo / syntax error in the app image script.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Fix a typo / syntax error in the app image script.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
3 years agoBoard: Updated am64x evm pinmux syscfg file to be in sync with pinmux data REL.CORESDK.07.01.03.07
Board: Updated am64x evm pinmux syscfg file to be in sync with pinmux data
PDK-6955: Board: Updated am64x evm uniflash flash programmer
- Increased the UART baudrate to 1.5mbps
- Enabled UART load support
- Increased the UART baudrate to 1.5mbps
- Enabled UART load support
AM64x: Board_PLL: TEMP: enable MCU_PLL
As a temporary workaround enable MCU_PLLCTRL0 in board library for supporting
M4F application load via SBL.
This should be reverted when actual fix is done in combination of SYSFW and SBL.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
As a temporary workaround enable MCU_PLLCTRL0 in board library for supporting
M4F application load via SBL.
This should be reverted when actual fix is done in combination of SYSFW and SBL.
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
AM64x: Build: update 'dummy' app for mcux_0
Apps built for the 2nd core in R5 pairs need a dummy app
on Core 0 (mcux_0) to be paired with it.
Updated the sbl_mcux_0_dummpy_app rprc file for AM64x.
Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
Apps built for the 2nd core in R5 pairs need a dummy app
on Core 0 (mcux_0) to be paired with it.
Updated the sbl_mcux_0_dummpy_app rprc file for AM64x.
Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
PDK-6948: Board: Removed unused macros in am64x evm board config
PDK-6954: Board: Updated gpio pin configurations for am64x evm button test
PDK-6945: Board: am64x evm eeprom test validated for board ID read
- Added board ID info read functions in am64x evm board library
- Added board ID info read functions in am64x evm board library
PDK-6955: Board: Fix for ospi flash programmer failure on am64x evm