PDK-4966: Added SA2UL Package Support - Use DDR for SAUL Buffers
Signed-off-by: Sivaraj R <sivaraj@ti.com>
Signed-off-by: Sivaraj R <sivaraj@ti.com>
Merge pull request #536 in PROCESSOR-SDK/pdk from don/am64x_pktdma_dev to master
Squashed commit of the following:
commit 896b1c90dc7e87ada1dc9ddf61150815b4cff74a
Author: Don Dominic <a0486429@ti.com>
Date: Tue May 12 18:46:02 2020 +0530
[PDK-4957] VLAB Debug Updates
Signed-off-by: Don Dominic <a0486429@ti.com>
commit 819bc062c630df794af30a845425d09550c7ecd8
Author: Don Dominic <a0486429@ti.com>
Date: Tue May 12 14:39:28 2020 +0530
[PDK-4957] Addressed Review Comments
Signed-off-by: Don Dominic <a0486429@ti.com>
commit 9f18587f0d18fa805e5193fa3ea619586200fd36
Author: Don Dominic <a0486429@ti.com>
Date: Tue May 12 10:26:51 2020 +0530
[PDK-4957] Updates for PSIL Channles (ICSSG) in soc.h file
Signed-off-by: Don Dominic <a0486429@ti.com>
commit 8a642ce53062bbcde4349a959c46b32e2b157abb
Author: Don Dominic <a0486429@ti.com>
Date: Mon May 11 22:35:31 2020 +0530
[PDK-5621][PDK-5362][PDK-4957] PKTMDA : Added support for TX/RX flows - Mapped Rings in AM64x
- updates to support mapped rings
- new local API's for rmAllocMappedRing and rmFreeMappedRing
- new params in ringPrms : mappedRingGroup and mappedChNum :- used to allocate appropriate ring
- new param in ringHandle : mappedRingFroup :- to free an allocated mapped ring
- renamed channel tx/rx group to tx/rx groups - to use for both channels and rings
- rx group index followed by tx
*)NO UDMA Driver exposed changes ( new ring params passed from chPrms)
- if Udma_ringAlloc called explicitly to allocate mapped rings :- make sure to intialize mappedRingGroup and mappedChNum (by default allocated to invalid)
Signed-off-by: Don Dominic <a0486429@ti.com>
commit e93f521c9a6be2e1183babb8c9b7fd48eaf76cba
Author: Don Dominic <a0486429@ti.com>
Date: Fri May 8 01:13:32 2020 +0530
[PDK-4957][UDMA] PKTMDA : Added support for mapped channels in AM64x PKTDMA
- added new Channel Type : Mapped (similar to UTC)
- rmcfg udaptes for Mapped TX/RX Channels (default alloc only for mcu1_0)
- new local API's for rmAllocMappedTxCh , rmAllocMappedRxCh, rmFreeMappedTxCh and rmFreeMappedRxCh
Signed-off-by: Don Dominic <a0486429@ti.com>
Squashed commit of the following:
commit 896b1c90dc7e87ada1dc9ddf61150815b4cff74a
Author: Don Dominic <a0486429@ti.com>
Date: Tue May 12 18:46:02 2020 +0530
[PDK-4957] VLAB Debug Updates
Signed-off-by: Don Dominic <a0486429@ti.com>
commit 819bc062c630df794af30a845425d09550c7ecd8
Author: Don Dominic <a0486429@ti.com>
Date: Tue May 12 14:39:28 2020 +0530
[PDK-4957] Addressed Review Comments
Signed-off-by: Don Dominic <a0486429@ti.com>
commit 9f18587f0d18fa805e5193fa3ea619586200fd36
Author: Don Dominic <a0486429@ti.com>
Date: Tue May 12 10:26:51 2020 +0530
[PDK-4957] Updates for PSIL Channles (ICSSG) in soc.h file
Signed-off-by: Don Dominic <a0486429@ti.com>
commit 8a642ce53062bbcde4349a959c46b32e2b157abb
Author: Don Dominic <a0486429@ti.com>
Date: Mon May 11 22:35:31 2020 +0530
[PDK-5621][PDK-5362][PDK-4957] PKTMDA : Added support for TX/RX flows - Mapped Rings in AM64x
- updates to support mapped rings
- new local API's for rmAllocMappedRing and rmFreeMappedRing
- new params in ringPrms : mappedRingGroup and mappedChNum :- used to allocate appropriate ring
- new param in ringHandle : mappedRingFroup :- to free an allocated mapped ring
- renamed channel tx/rx group to tx/rx groups - to use for both channels and rings
- rx group index followed by tx
*)NO UDMA Driver exposed changes ( new ring params passed from chPrms)
- if Udma_ringAlloc called explicitly to allocate mapped rings :- make sure to intialize mappedRingGroup and mappedChNum (by default allocated to invalid)
Signed-off-by: Don Dominic <a0486429@ti.com>
commit e93f521c9a6be2e1183babb8c9b7fd48eaf76cba
Author: Don Dominic <a0486429@ti.com>
Date: Fri May 8 01:13:32 2020 +0530
[PDK-4957][UDMA] PKTMDA : Added support for mapped channels in AM64x PKTDMA
- added new Channel Type : Mapped (similar to UTC)
- rmcfg udaptes for Mapped TX/RX Channels (default alloc only for mcu1_0)
- new local API's for rmAllocMappedTxCh , rmAllocMappedRxCh, rmFreeMappedTxCh and rmFreeMappedRxCh
Signed-off-by: Don Dominic <a0486429@ti.com>
PDK-5764: Fix MPU configuration for TCMs on J721E, J7200 and AM65xx SoCs
- As per R5F TRM, TCM always behave as Non-cacheable, Non-shared, Normal memory
hence change the attributes in the MPU.
Signed-off-by: Karan Saxena <karan@ti.com>
- As per R5F TRM, TCM always behave as Non-cacheable, Non-shared, Normal memory
hence change the attributes in the MPU.
Signed-off-by: Karan Saxena <karan@ti.com>
sciclient: Fix IR output validation against board config
Fix the interrupt routing validation so that
only routes with IR outputs that validate
against the RM board configuration are used.
The logic was in place for this before but
an error in the code allowed routes to still be
programmed even if the validation against the
board configuration failed.
Fixes: PDK-5768
Signed-off-by: Justin Sobota <jsobota@ti.com>
Fix the interrupt routing validation so that
only routes with IR outputs that validate
against the RM board configuration are used.
The logic was in place for this before but
an error in the code allowed routes to still be
programmed even if the validation against the
board configuration failed.
Fixes: PDK-5768
Signed-off-by: Justin Sobota <jsobota@ti.com>
[PDK-5983] Fix critical issue of IPC module
Signed-off-by: Amit Makani <amit.makani@ti.com>
Signed-off-by: Amit Makani <amit.makani@ti.com>
drv/uart: add double close check
This problem was exposed by tentative changes of UART unit test application.
Add a simple state check to avoid double free of UART resources.
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
This problem was exposed by tentative changes of UART unit test application.
Add a simple state check to avoid double free of UART resources.
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
PDK-5733: SBL: Removes roundabout way to determine device type
Earlier, the secmgr registers that store the device type was accessible
only to DMSC M3. So the SBL determined the device type by reading teh
sysfw and checking if it was countersigned and encrypted.
From SYSFW 2019.11 the secmgr registers are made avaiable to the
non-secure software and SBL_IsSysfwEnc has been updated to return the
device type from the secmgr registers.
Hence this workaround of parsing the sysfw certs to determine the device
type must be removed.
Signed-off-by: Madan Srinivas madans@ti.com
Earlier, the secmgr registers that store the device type was accessible
only to DMSC M3. So the SBL determined the device type by reading teh
sysfw and checking if it was countersigned and encrypted.
From SYSFW 2019.11 the secmgr registers are made avaiable to the
non-secure software and SBL_IsSysfwEnc has been updated to return the
device type from the secmgr registers.
Hence this workaround of parsing the sysfw certs to determine the device
type must be removed.
Signed-off-by: Madan Srinivas madans@ti.com
PDK-5986: pruss drv static analysis fixes
MCAL-4148: SBL: Optimized CUST build for MCU-only boot
Make use of special compile tokens to allow for faster
MCU-only boot when only minimal items in the MCU domain
are needed.
Useful especially for testing Early CAN response time.
Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
Make use of special compile tokens to allow for faster
MCU-only boot when only minimal items in the MCU domain
are needed.
Useful especially for testing Early CAN response time.
Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
MCAL-4148: sbl_boot_perf_test: Small test app option
Added new build option for SBL_USE_MCU_DOMAIN_ONLY and
a corresponding sbl_boot_perf_test build that will fit
completely in MCU SRAM. A smaller boot perf test was
needed for checking SBL boot time breakdown when only
the MCU domain is initialized.
Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
Added new build option for SBL_USE_MCU_DOMAIN_ONLY and
a corresponding sbl_boot_perf_test build that will fit
completely in MCU SRAM. A smaller boot perf test was
needed for checking SBL boot time breakdown when only
the MCU domain is initialized.
Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
PDK-5733: SBL: Updates SBL_IsSysfwEnc to use devicetype
In older sysfw releases, there was no way to tell whether the SYSFW was
encrypted or not, without parsing the sysfw to check if it was dual
signed.
After SYSFW Rel 2019.11, it is possible to read the device type from SoC
registers - this enables a faster way to determine if the sysfw is
encrypted or clear text.
This patch updates the SBL_IsSysfwEnc to return that the sysfw is clear
text, only if the device type is GP.
Signed-off-by: Madan Srinivas <madans@ti.com>
In older sysfw releases, there was no way to tell whether the SYSFW was
encrypted or not, without parsing the sysfw to check if it was dual
signed.
After SYSFW Rel 2019.11, it is possible to read the device type from SoC
registers - this enables a faster way to determine if the sysfw is
encrypted or clear text.
This patch updates the SBL_IsSysfwEnc to return that the sysfw is clear
text, only if the device type is GP.
Signed-off-by: Madan Srinivas <madans@ti.com>
PDK-5543 : C7x with CGT 1.3.0.LTS
Configured to set sysbios in nonsecure mode
Updated sciclient board config for nonsecure
Configured CLEC to be configureable in nonsecure mode
Tested with udma mem copy app on C7x in mmc/sd boot
and with ccs
Signed-off-by: sujith <sujith.s@ti.com>
Configured to set sysbios in nonsecure mode
Updated sciclient board config for nonsecure
Configured CLEC to be configureable in nonsecure mode
Tested with udma mem copy app on C7x in mmc/sd boot
and with ccs
Signed-off-by: sujith <sujith.s@ti.com>
sciclient : updated the path to gcc bin directory
Signed-off-by: sujith <sujith.s@ti.com>
Signed-off-by: sujith <sujith.s@ti.com>
PDK-4874: Implement CRC driver
- Added test code for CRC
- verifies both instances of CRC
- MSS CRC instance from R5 and DSS CRC instace from c66x cores
Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
- Added test code for CRC
- verifies both instances of CRC
- MSS CRC instance from R5 and DSS CRC instace from c66x cores
Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
osal: PRSDK-8153: AM65xx: OSAL sets R5F VIM interrupt priority incorrectly
Signed-off-by: Aravind Batni <aravindbr@ti.com>
Signed-off-by: Aravind Batni <aravindbr@ti.com>
PDK-5765: Fix MSMC size for j7200
- MSMC size for J7200 wrongly mentioned as 8MB instead of 1MB
Signed-off-by: Karan Saxena <karan@ti.com>
- MSMC size for J7200 wrongly mentioned as 8MB instead of 1MB
Signed-off-by: Karan Saxena <karan@ti.com>
PRSDK-7754: board: update temperature monitor to reconfigure tras max
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Top level makefile enhancements
- Added J721e. Yocto uses j7 but normal build uses j721e
- We can remove j7 once PRSDK yocto build is descoped
- Added default path for PDK when export variable is not set
- This allows to work with makefile without an need to run env.sh file
Signed-off-by: Sivaraj R <sivaraj@ti.com>
- Added J721e. Yocto uses j7 but normal build uses j721e
- We can remove j7 once PRSDK yocto build is descoped
- Added default path for PDK when export variable is not set
- This allows to work with makefile without an need to run env.sh file
Signed-off-by: Sivaraj R <sivaraj@ti.com>
Build Issue Resolutions : Minor updates
Signed-off-by: sujith <sujith.s@ti.com>
Signed-off-by: sujith <sujith.s@ti.com>
PDK-5038: Board: Added build support for TPR12 QT
Fix AM64x build - Revert GCC properly
Signed-off-by: Sivaraj R <sivaraj@ti.com>
Signed-off-by: Sivaraj R <sivaraj@ti.com>
PRSDK-8426: OSAL: SemaphoreP_postfromISR() API does not work for baremetal
Signed-off-by: Aravind Batni <aravindbr@ti.com>
Signed-off-by: Aravind Batni <aravindbr@ti.com>
PRSDK-8481: OSAL: Timer API wrongly uses HWIP clear and disable interrupts, instead of OSAL clear and disable APIs
Signed-off-by: Aravind Batni <aravindbr@ti.com>
Signed-off-by: Aravind Batni <aravindbr@ti.com>
AM64x & TP12 : ARM CGT : Reverting to back to 18.12.5.LTS
Signed-off-by: sujith <sujith.s@ti.com>
Signed-off-by: sujith <sujith.s@ti.com>
OSAL: add double-free check
- Add double-free check for the OSAL module with local control blocks
- hwi
- semaphore
- timer
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
- Add double-free check for the OSAL module with local control blocks
- hwi
- semaphore
- timer
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
pdk: fix package build issues
Signed-off-by: Hao Zhang <hzhang@ti.com>
Signed-off-by: Hao Zhang <hzhang@ti.com>
Tools Update : Minor correction on the NDK version
Signed-off-by: sujith <sujith.s@ti.com>
Signed-off-by: sujith <sujith.s@ti.com>
PDK-5543 : Addressed review comments.
Signed-off-by: sujith <sujith.s@ti.com>
Signed-off-by: sujith <sujith.s@ti.com>
PDK-5543 : Updated NDK & NS versions
Signed-off-by: sujith <sujith.s@ti.com>
Signed-off-by: sujith <sujith.s@ti.com>
PDK-5543 : TOOLS : Resolving new gcc/c7x associated issues
Signed-off-by: sujith <sujith.s@ti.com>
Signed-off-by: sujith <sujith.s@ti.com>
PDK-5543 : TOOLS : Updating following tools for Jacinto
BIOS_VERSION=6_82_00_16
XDC_VERSION=3_61_00_16_core
GCC_ARCH64_VERSION=9.2-2019.12
CGT_C7X_VERSION=1.3.0.STS
CGT_ARM_VERSION=20.2.0.LTS
Signed-off-by: sujith <sujith.s@ti.com>
BIOS_VERSION=6_82_00_16
XDC_VERSION=3_61_00_16_core
GCC_ARCH64_VERSION=9.2-2019.12
CGT_C7X_VERSION=1.3.0.STS
CGT_ARM_VERSION=20.2.0.LTS
Signed-off-by: sujith <sujith.s@ti.com>
PDK-5543 : Addressed review comments.
Signed-off-by: sujith <sujith.s@ti.com>
Signed-off-by: sujith <sujith.s@ti.com>
[TOOLS] Fixes to make C7x host-emu work with updated CGT
PDK-5543 : Updated NDK & NS versions
Signed-off-by: sujith <sujith.s@ti.com>
Signed-off-by: sujith <sujith.s@ti.com>
PDK-5543 : TOOLS : Resolving new gcc/c7x associated issues
Signed-off-by: sujith <sujith.s@ti.com>
Signed-off-by: sujith <sujith.s@ti.com>
PDK-5543 : TOOLS : Updating following tools for Jacinto
BIOS_VERSION=6_82_00_16
XDC_VERSION=3_61_00_16_core
GCC_ARCH64_VERSION=9.2-2019.12
CGT_C7X_VERSION=1.3.0.STS
CGT_ARM_VERSION=20.2.0.LTS
Signed-off-by: sujith <sujith.s@ti.com>
BIOS_VERSION=6_82_00_16
XDC_VERSION=3_61_00_16_core
GCC_ARCH64_VERSION=9.2-2019.12
CGT_C7X_VERSION=1.3.0.STS
CGT_ARM_VERSION=20.2.0.LTS
Signed-off-by: sujith <sujith.s@ti.com>
AM64x binary Update with Proc Control
Binary with Proc Control
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Binary with Proc Control
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
[PDK-5125][UDMA] Ring : Fix Review comments
Signed-off-by: Don Dominic <a0486429@ti.com>
Signed-off-by: Don Dominic <a0486429@ti.com>
[PDK-5125][UDMA] Ring : Use function pointers for local ring API's
- Use function pointers to call Normal/LCDMA ring API's ,
instead of using if conditions with raType(affects performance due to additional if check)
- Function Pointers intialized in soc source file.
Signed-off-by: Don Dominic <a0486429@ti.com>
- Use function pointers to call Normal/LCDMA ring API's ,
instead of using if conditions with raType(affects performance due to additional if check)
- Function Pointers intialized in soc source file.
Signed-off-by: Don Dominic <a0486429@ti.com>
PDK-4940: SBL: Program SoC thermal limits for J721E
Enable temp sensors on the SoC and program the thermal
shutdown temp to 125 deg C to put the device into reset
when this high temp is reached.
A safe temp is also programmed, such that the SoC will
be released from reset again when the safe temp is
reached.
Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
Enable temp sensors on the SoC and program the thermal
shutdown temp to 125 deg C to put the device into reset
when this high temp is reached.
A safe temp is also programmed, such that the SoC will
be released from reset again when the safe temp is
reached.
Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
[UDMA] makefile updates for build issues fix
Signed-off-by: Don Dominic <a0486429@ti.com>
Signed-off-by: Don Dominic <a0486429@ti.com>
[UDMA] Build Fix for udma
- Temporarily disabling build for a53 and m4f in AM64x due to sysbios issue
- RingMode intialized by defining soc specific macro for invalid ring mopde
Signed-off-by: Don Dominic <a0486429@ti.com>
- Temporarily disabling build for a53 and m4f in AM64x due to sysbios issue
- RingMode intialized by defining soc specific macro for invalid ring mopde
Signed-off-by: Don Dominic <a0486429@ti.com>
Fix AM64x Build issues
Signed-off-by: Sivaraj R <sivaraj@ti.com>
Signed-off-by: Sivaraj R <sivaraj@ti.com>
2020.04 migration sysfw.bin fixes for non overlapping HS and GP bins
Fixed the firmwareHeaderGen script to not overwrite GP binaries with HS binaries
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Fixed the firmwareHeaderGen script to not overwrite GP binaries with HS binaries
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
[UDMA][PDK-3669][PDK-5665][PDK-5663] Ring: Add APIs for using exposed ring mode
- Added UDMA ring APIs to read ring in exposed ring mode without setting doorbell.
- Updated SetDoorbell API to also set the doorbell after prime read
- Added APIs to get ring mode, occupancy, element count, read index and write index.
- Unit test updates for New API's
Signed-off-by: Don Dominic <a0486429@ti.com>
- Added UDMA ring APIs to read ring in exposed ring mode without setting doorbell.
- Updated SetDoorbell API to also set the doorbell after prime read
- Added APIs to get ring mode, occupancy, element count, read index and write index.
- Unit test updates for New API's
Signed-off-by: Don Dominic <a0486429@ti.com>
diag: MAC_ADDR_LEN macro define name change in cpsw lld
Changes to cpsw_board_diag app due to change in cpsw lld
macro name change
Signed-off-by: Badri S <badri@ti.com>
Changes to cpsw_board_diag app due to change in cpsw lld
macro name change
Signed-off-by: Badri S <badri@ti.com>
ospi: PDK-5427: fix OSPI clock configuration issue.
Signed-off-by: Hao Zhang <hzhang@ti.com>
Signed-off-by: Hao Zhang <hzhang@ti.com>
[UDMA][AM64x] Fix Package Build Issues
- Port udma_examples for AM64x
- csl_dru file include protected with macro
- Alongwith minor bug fix in API Guide
- cppi.h not required
Signed-off-by: Don Dominic <a0486429@ti.com>
- Port udma_examples for AM64x
- csl_dru file include protected with macro
- Alongwith minor bug fix in API Guide
- cppi.h not required
Signed-off-by: Don Dominic <a0486429@ti.com>
Added PMIC build support
Signed-off-by: Sivaraj R <sivaraj@ti.com>
Signed-off-by: Sivaraj R <sivaraj@ti.com>
PRSDK-7753: Pick up SYSFW 2020.04 binary for J7HS
J7HS support was originally build upon SYSFW 2020.01, but was merged on top of
2020.04 without sysfw-hs-enc.bin getting updated. This commit fixes that.
J7HS support was originally build upon SYSFW 2020.01, but was merged on top of
2020.04 without sysfw-hs-enc.bin getting updated. This commit fixes that.
PRSDK-7753: J7 Boot time Security support on RTOS
Support J721e-hs boot in RTOS
Support J721e-hs boot in RTOS
Sciclient: Firewall: Example updates to use default linker
Updated the example to use the standard linker files and now can be loaded by SBL
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Updated the example to use the standard linker files and now can be loaded by SBL
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Firewall Example update for J721e
J721e support for the Firewall example
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
J721e support for the Firewall example
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Firewall Example enhance for DDR based firewalls
Enhanced the Example for DDR based firewall.
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Enhanced the Example for DDR based firewall.
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Example update for Firewalls for MSMC RAM
The example will showcase the ability to set firewalls for MSMC RAM.
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
The example will showcase the ability to set firewalls for MSMC RAM.
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Firewall example
Example for Firewall for differen memories from R5F
Fixes: PDK-4928
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Example for Firewall for differen memories from R5F
Fixes: PDK-4928
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Build fix for Boot Perf Application
Build fix for Boot Perf Application
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Build fix for Boot Perf Application
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Am64x: Proc Control Ids
Proc control IDs for AM64x
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Proc control IDs for AM64x
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
sciclient: Cleanup IRQ trees
Some cleanups were needed in the IRQ trees for
all SoCs in order to align their structure. Also,
the AM65x tree was not the latest version and did
not include the main2mcu IR in_bit offset.
Signed-off-by: Justin Sobota <jsobota@ti.com>
Some cleanups were needed in the IRQ trees for
all SoCs in order to align their structure. Also,
the AM65x tree was not the latest version and did
not include the main2mcu IR in_bit offset.
Signed-off-by: Justin Sobota <jsobota@ti.com>
Build Fix for applications.
Build fix for UT
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Build fix for UT
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
sciclient: makefile Removed packaging build fix
Build Fix to not have to package am65xx_sr2 R5F binaries
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Build Fix to not have to package am65xx_sr2 R5F binaries
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
sbl: sbl_sci_client.c Avoid reading inner certificate for GP devices
Inner certificate is not populated for GP devices. This is a work around for PDK-5733.
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Inner certificate is not populated for GP devices. This is a work around for PDK-5733.
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
AM64x: Firmware Gen Updates for AM64x
Firmware Updates for AM64x VLAB and ZeBu
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Firmware Updates for AM64x VLAB and ZeBu
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
AM64x: Friendly drop for AM64x
Legacy boot flow images for AM64x VLAB and ZeBu with Proc Control enabled.
ARMv8 and R5F validated on ZeBu and found to pass
ARMv8 passed on VLAB, R5F failed on VLAB
Fixes: PDK-5719, SYSFW-3714
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Legacy boot flow images for AM64x VLAB and ZeBu with Proc Control enabled.
ARMv8 and R5F validated on ZeBu and found to pass
ARMv8 passed on VLAB, R5F failed on VLAB
Fixes: PDK-5719, SYSFW-3714
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
sciclient: Track leftover ROM mapped interrupt resources
Track the IR and IA resource left as configured by
ROM so that the routing algorithm can know to program
these IA and IR resources when they're detected as in
use. SYSFW will delete the ROM mapping prior to
configuring the resource as requested by the host.
Signed-off-by: Justin Sobota <jsobota@ti.com>
Track the IR and IA resource left as configured by
ROM so that the routing algorithm can know to program
these IA and IR resources when they're detected as in
use. SYSFW will delete the ROM mapping prior to
configuring the resource as requested by the host.
Signed-off-by: Justin Sobota <jsobota@ti.com>
AM64x: Friendly drop for AM64x
Fixes: PDK-5719
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Fixes: PDK-5719
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Removing am65x_sr2 R5F binary and duplicate MISRA C
Removing the am65x_sr2 folder and duplicate MISRA C
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Removing the am65x_sr2 folder and duplicate MISRA C
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Migrating to SYSFW version v2020.04
Migrating to 2020.04 system firmware
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Migrating to 2020.04 system firmware
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Security Board config update for 2020.04
Board config update for 2020.04
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Board config update for 2020.04
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
sciclient: tools: sysfw_migrate.sh Added support for HS
Added support for HS board config and binary generation
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Added support for HS board config and binary generation
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Updates to migrate to 2020.04 release
Updates to the sciclient header and sysfw_migrate.sh to migrate to 2020.04
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Updates to the sciclient header and sysfw_migrate.sh to migrate to 2020.04
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
sciclient: Verify intermediate IR outputs are in an assigned range
When performing an interrupt route search make
sure the intermediate IR nodes being validated
are using an output within a valid RM
board configuration assignment range.
Signed-off-by: Justin Sobota <jsobota@ti.com>
When performing an interrupt route search make
sure the intermediate IR nodes being validated
are using an output within a valid RM
board configuration assignment range.
Signed-off-by: Justin Sobota <jsobota@ti.com>
sciclient: J721e: split main nav IR output assignments to C66
SYSFW uses a set of four main nav IR to C66x
connections in the middle of the block of 32
outputs from the main nav IR. Update the
J721e RM boardcfg assignments to assign the
two leftover ranges to the c66x hosts.
Signed-off-by: Justin Sobota <jsobota@ti.com>
SYSFW uses a set of four main nav IR to C66x
connections in the middle of the block of 32
outputs from the main nav IR. Update the
J721e RM boardcfg assignments to assign the
two leftover ranges to the c66x hosts.
Signed-off-by: Justin Sobota <jsobota@ti.com>
sciclient: AM65x RM boardcfg fixes for IPC
Split main Nav IR and main2mcu lvl IR to
proper processor hosts.
Signed-off-by: Justin Sobota <jsobota@ti.com>
Split main Nav IR and main2mcu lvl IR to
proper processor hosts.
Signed-off-by: Justin Sobota <jsobota@ti.com>
sciclient: Fix for IPC on C7x
Added a Main Nav IR output resource range for
the C7x processor to allow IPC to setup interrupts
to the C7x.
Added a Main Nav IR output resource range for
the C7x processor to allow IPC to setup interrupts
to the C7x.
sciclient: Arrange j721e RM boardcfg entries in ascending order
The j721e boardcfg entries must be in a specific
order according to the SYSFW user guide.
Signed-off-by: Justin Sobota <jsobota@ti.com>
The j721e boardcfg entries must be in a specific
order according to the SYSFW user guide.
Signed-off-by: Justin Sobota <jsobota@ti.com>
sciclient: Add am64x interrupt routing support
Add the am64x interrupt subsystem and tree data
required to perform interrupt routing.
Signed-off-by: Justin Sobota <jsobota@ti.com>
Add the am64x interrupt subsystem and tree data
required to perform interrupt routing.
Signed-off-by: Justin Sobota <jsobota@ti.com>
sciclient: Add j7200 interrupt routing support
Add the j7200 interrupt subsystem and tree data
required to perform interrupt routing.
Signed-off-by: Justin Sobota <jsobota@ti.com>
Add the j7200 interrupt subsystem and tree data
required to perform interrupt routing.
Signed-off-by: Justin Sobota <jsobota@ti.com>
sciclient: Add interrupt route destination translation
Translate the interrupt route destination to a
destination processor input IRQ if the destination
is an IR output.
Signed-off-by: Justin Sobota <jsobota@ti.com>
Translate the interrupt route destination to a
destination processor input IRQ if the destination
is an IR output.
Signed-off-by: Justin Sobota <jsobota@ti.com>
AM65xx Fixes for MCU1_1
Fixes to run the UDMA example on R5F 1_1
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Fixes to run the UDMA example on R5F 1_1
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Build Fixes
Build fixes for J7200 and SBL
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Build fixes for J7200 and SBL
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
IPC Build Failure Fixes
Fixing IPC Build failures
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Fixing IPC Build failures
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Interrupt router RAT programming for C66x
Added logic to program the RAT for C66x for IR address space
The Address space is accessed now with 0x2000_0000 + Address of IR
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Added logic to program the RAT for C66x for IR address space
The Address space is accessed now with 0x2000_0000 + Address of IR
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Board Config updates for C66x Nav resource types
Updates to the IR output of the C66x cores
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Updates to the IR output of the C66x cores
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Board config changes for IRQ
Board config changes for IRQ modifications on 2020.02 release
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Board config changes for IRQ modifications on 2020.02 release
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
sciclient: Add interrupt routing
The interrupt routing logic is added to
Sciclient for RTOS backwards compatibility
with the SYSFW RM TISCI_RM_IRQ_SET and
TISCI_RM_IRQ_RELEASE message APIs.
Signed-off-by: Justin Sobota <jsobota@ti.com>
The interrupt routing logic is added to
Sciclient for RTOS backwards compatibility
with the SYSFW RM TISCI_RM_IRQ_SET and
TISCI_RM_IRQ_RELEASE message APIs.
Signed-off-by: Justin Sobota <jsobota@ti.com>
sciclient: Increase scope of Sciclient_getCurrentContext
Increase the scope of Sciclient_getCurrentContext so
it's visible privately within all sciclient source
files. This function is needed by the RM interrupt
logic to determine the proper destination host.
Signed-off-by: Justin Sobota <jsobota@ti.com>
Increase the scope of Sciclient_getCurrentContext so
it's visible privately within all sciclient source
files. This function is needed by the RM interrupt
logic to determine the proper destination host.
Signed-off-by: Justin Sobota <jsobota@ti.com>
sciclient: .gitignore: Ignore development artifacts
Ignore some common artifact files generated
using standard software development tools.
Signed-off-by: Justin Sobota <jsobota@ti.com>
Ignore some common artifact files generated
using standard software development tools.
Signed-off-by: Justin Sobota <jsobota@ti.com>
Updates for the AM65x PG2.0 and PG1.0 now having the same resource types
Updates for AM65xx PG2.0 and PG1.0 having the same resource types
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Updates for AM65xx PG2.0 and PG1.0 having the same resource types
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Migrating to SYSFW version v2020.02
IPC: Updates to work with new Sciclient Changes for IR
The Scicient is now returning the IR output resource
when getting the resource from the Sciclient_rmGetResourceRange
API. The IPC LLD then needs to translate the selected
IR output to the destination input before calling
Sciclient_rmIrqSet. This can be done using the new
Sciclient_rmIrqTranslateIrOutput API.
This patch adds use of the new Sciclient_rmIrqTranslateIrOutput
API to translate the IR output resource that is returned
from the Sciclent_rmGetResourceRange API.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
The Scicient is now returning the IR output resource
when getting the resource from the Sciclient_rmGetResourceRange
API. The IPC LLD then needs to translate the selected
IR output to the destination input before calling
Sciclient_rmIrqSet. This can be done using the new
Sciclient_rmIrqTranslateIrOutput API.
This patch adds use of the new Sciclient_rmIrqTranslateIrOutput
API to translate the IR output resource that is returned
from the Sciclent_rmGetResourceRange API.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
uart: PDK_5423: add DMA support for am64x
Signed-off-by: Hao Zhang <hzhang@ti.com>
Signed-off-by: Hao Zhang <hzhang@ti.com>
PDK-5759: Change status for memory attributes in MPU config for j721e and j7200
Following changes/additions in the top level table:
- DDR attributes
- Access levels
- Cache policy for MSMC, DDR
Signed-off-by: Karan Saxena <karan@ti.com>
Following changes/additions in the top level table:
- DDR attributes
- Access levels
- Cache policy for MSMC, DDR
Signed-off-by: Karan Saxena <karan@ti.com>
PRSDK-7237: added VTM Si Workaround define to build support for j721e
Signed-off-by: Aravind Batni <aravindbr@ti.com>
Signed-off-by: Aravind Batni <aravindbr@ti.com>
c6x linker: prevent potential linker error
We use the default data memory model of far aggregates which means all
non-aggregate data [like single globals] will be near. Sometimes linker
may allocate .neardata too far from .bss and gives errors.
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
We use the default data memory model of far aggregates which means all
non-aggregate data [like single globals] will be near. Sometimes linker
may allocate .neardata too far from .bss and gives errors.
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
2 years ago[AM64x-Zebu][DMSC] Use zebu sysfw bin in DMSC Launch Script for AM64x-Zebu REL.CORESDK.06.02.02.07
[AM64x-Zebu][DMSC] Use zebu sysfw bin in DMSC Launch Script for AM64x-Zebu
Signed-off-by: Don Dominic <a0486429@ti.com>
Signed-off-by: Don Dominic <a0486429@ti.com>
[PDK-4974] MIBSPI: API guide documentation updates
Updates to header file for API guide documentation
Signed-off-by: Badri S <badri@ti.com>
Updates to header file for API guide documentation
Signed-off-by: Badri S <badri@ti.com>
2 years ago[PDK-5748] Bug fix for loopback mode data mismatch REL.CORESDK.06.02.02.05 REL.CORESDK.06.02.02.06
[PDK-5748] Bug fix for loopback mode data mismatch
Added support for memory initialization on MIBSPI
init to ensure stale MIBSPI ram state does not
affect next run
Signed-off-by: Badri S <badri@ti.com>
Added support for memory initialization on MIBSPI
init to ensure stale MIBSPI ram state does not
affect next run
Signed-off-by: Badri S <badri@ti.com>
PRSDK-8483: osal update to match the csl fix for m4f on am64x
Signed-off-by: Aravind Batni <aravindbr@ti.com>
Signed-off-by: Aravind Batni <aravindbr@ti.com>
i2c: ADASVISION-2476: add timeout support in polling mode
Signed-off-by: Hao Zhang <hzhang@ti.com>
Signed-off-by: Hao Zhang <hzhang@ti.com>