Fix PDK location to use proper variable
- For some of the SOC, PDK_SOC and PDK_VERSION string is not defined
- Fixed this to not use these variables and rely on PDK_INSTALL_PATH
variable directly
- The top level rules.make file sets this properly
Signed-off-by: Sivaraj R <sivaraj@ti.com>
- For some of the SOC, PDK_SOC and PDK_VERSION string is not defined
- Fixed this to not use these variables and rely on PDK_INSTALL_PATH
variable directly
- The top level rules.make file sets this properly
Signed-off-by: Sivaraj R <sivaraj@ti.com>
PDK-6391: Fix package issues
Signed-off-by: Sivaraj R <sivaraj@ti.com>
Signed-off-by: Sivaraj R <sivaraj@ti.com>
PDK-6391: Board: Updated build infra make setup for AM65xx diag
Supprt AM65xx board diag via build infra
Signed-off-by: Sivaraj R <sivaraj@ti.com>
Signed-off-by: Sivaraj R <sivaraj@ti.com>
Bug Fix: PRSDK-8528: XDC files are not packaged in core sdk - patch 2
Signed-off-by: Sivaraj R <sivaraj@ti.com>
Signed-off-by: Sivaraj R <sivaraj@ti.com>
PDK-6384: SBL: K3: Updates allowed MAX size of SYSFW
The SBL loads the system firmware in the memory section
OCMRAM_SBL_SYSFW that is defined in the SBL's linker command file at
ti/boot/sbl/soc/k3/linker.cmd
This section starts from 0x41C3E000 and extends to the end of OCM RAM
and this determines the max size of the SYSFW that can be loaded by the
SBL.
This patch updates sbl_sci_client.h to set SBL_SYSFW_MAX_SIZE to this
value for both GP and HS devices.
Signed-off-by: Madan Srinivas <madans@ti.com>
The SBL loads the system firmware in the memory section
OCMRAM_SBL_SYSFW that is defined in the SBL's linker command file at
ti/boot/sbl/soc/k3/linker.cmd
This section starts from 0x41C3E000 and extends to the end of OCM RAM
and this determines the max size of the SYSFW that can be loaded by the
SBL.
This patch updates sbl_sci_client.h to set SBL_SYSFW_MAX_SIZE to this
value for both GP and HS devices.
Signed-off-by: Madan Srinivas <madans@ti.com>
Addressed review commments - use different folder instead of image name
Signed-off-by: Sivaraj R <sivaraj@ti.com>
Signed-off-by: Sivaraj R <sivaraj@ti.com>
Fix Board package issue
Signed-off-by: Sivaraj R <sivaraj@ti.com>
Signed-off-by: Sivaraj R <sivaraj@ti.com>
PRSDK-7753: Added HS build support to coexist with nonhs library
Signed-off-by: Sivaraj R <sivaraj@ti.com>
Signed-off-by: Sivaraj R <sivaraj@ti.com>
Osal/MuxIntcP: add stub functions
Implement stub functions for the SOCs which do not have the Crossbar Mux.
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
Implement stub functions for the SOCs which do not have the Crossbar Mux.
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
am65xx: remove switch test apps and references
[PDK-6364] UDMA : Handle TR Events in AM64x
- new TR event specific IRQ offset and devId params added to drvHandle
- intialized in soc.c file
Signed-off-by: Don Dominic <a0486429@ti.com>
- new TR event specific IRQ offset and devId params added to drvHandle
- intialized in soc.c file
Signed-off-by: Don Dominic <a0486429@ti.com>
Sciclient: update sciclient firmware header for J721e GP
Regenerated the firmware header file (with proper sysfw
size) for J71e GP, along with matching sysfw.bin file.
Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
Regenerated the firmware header file (with proper sysfw
size) for J71e GP, along with matching sysfw.bin file.
Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
ETHFW-1293: timesync: Add build support for v2
- Added build support for newly added timsync version 2.
- When PDK fires build, both V1 & V2 will be built for all
supported cores and libraries will be generated.
Signed-off-by: Santhana Bharathi N <santa@ti.com>
- Added build support for newly added timsync version 2.
- When PDK fires build, both V1 & V2 will be built for all
supported cores and libraries will be generated.
Signed-off-by: Santhana Bharathi N <santa@ti.com>
ETHFW-1293: timeSync v2: Add version 2 of timesync
- Version 1 of timesync supports only ICSS on
AM3xxx, AM4xxx, AM5xxx platforms. But to run PTP stack
on CPSW or other IPs an IP-agnostic timesync design is required.
- Newly added timesync Version 2 addresses this by abstracting
IP-specific functions in a HAL and adding PTP stack which is agnostic
to any SoC/IP.
- Version 2 adds following new features:
- Multiple ports support(max: 8 ports)
- Boundary clock support
- VLAN tagged PTP packets
- PPS configuration
- Version 2 build is verified for following SoCs:
am572x am571x am574x am335x am437x j721e
and functionally tested on j721e with cpsw9G Ethfw.
- Legacy examples are not included in v2 as they are not
functionally tested on all legacy platforms.
Signed-off-by: Santhana Bharathi N <santa@ti.com>
- Version 1 of timesync supports only ICSS on
AM3xxx, AM4xxx, AM5xxx platforms. But to run PTP stack
on CPSW or other IPs an IP-agnostic timesync design is required.
- Newly added timesync Version 2 addresses this by abstracting
IP-specific functions in a HAL and adding PTP stack which is agnostic
to any SoC/IP.
- Version 2 adds following new features:
- Multiple ports support(max: 8 ports)
- Boundary clock support
- VLAN tagged PTP packets
- PPS configuration
- Version 2 build is verified for following SoCs:
am572x am571x am574x am335x am437x j721e
and functionally tested on j721e with cpsw9G Ethfw.
- Legacy examples are not included in v2 as they are not
functionally tested on all legacy platforms.
Signed-off-by: Santhana Bharathi N <santa@ti.com>
replacing double quotes with <> for include
adding include path for CSLR MSS_IOMUX header file
addressing review feedback
removing PADs EA-EP as they are NC on package 1
initial version of tpr12 evm pinmux files
[PDK-6364] UDMA : Handle RING events in AM64x
Signed-off-by: Don Dominic <a0486429@ti.com>
Signed-off-by: Don Dominic <a0486429@ti.com>
PDK-5149: Board: Changed J7ES display/csi diag tests core support to mcu2_0
PDK-5149: Board: Changed J7ES display diag test core support to mcu2_0
Bug Fix: PRSDK-8528: XDC files are not packaged in core sdk
Signed-off-by: Sivaraj R <sivaraj@ti.com>
Signed-off-by: Sivaraj R <sivaraj@ti.com>
Build Fix
Signed-off-by: Sivaraj R <sivaraj@ti.com>
Signed-off-by: Sivaraj R <sivaraj@ti.com>
Add diag folder to git ignore
Signed-off-by: Sivaraj R <sivaraj@ti.com>
Signed-off-by: Sivaraj R <sivaraj@ti.com>
Revert "osal: PRSDK-8153: AM65xx: OSAL sets R5F VIM interrupt priority incorrectly"
This reverts commit e53a74594cda04eea88f1ef5b391c7c01e584e1b.
This reverts commit e53a74594cda04eea88f1ef5b391c7c01e584e1b.
am65xx_pg2.0 Build fix
Build fix for guard macros
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Build fix for guard macros
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
[UDMA] AM64x Build Fix
Signed-off-by: Don Dominic <a0486429@ti.com>
Signed-off-by: Don Dominic <a0486429@ti.com>
[PDK-5983] Fix review comments of IPC module
Signed-off-by: Amit Makani <amit.makani@ti.com>
Signed-off-by: Amit Makani <amit.makani@ti.com>
nimu: PRSDK-8038: K2G to support 1514 bytes packet
PRSDK-8299: nimu-icss transport lib support for am64x
Signed-off-by: Tinku Mannan <tmannan@ti.com>
Signed-off-by: Tinku Mannan <tmannan@ti.com>
PRSDK-8299: icss-emac lld support for am64x
Signed-off-by: Tinku Mannan <tmannan@ti.com>
Signed-off-by: Tinku Mannan <tmannan@ti.com>
[FPD LIB][PDK-5262][BOARD LIB]UB960 pattern generation API programs UB960 in case of error
- bug fix
- Removed multiple returns from the function
Signed-off-by: Vivek Dhande <a0132295@ti.com>
- bug fix
- Removed multiple returns from the function
Signed-off-by: Vivek Dhande <a0132295@ti.com>
am65xx: emac: driver fixes
IOCTL fix for handling switch and host port numbers for switch use case
Remove redundant port state check in internal ioctl implementation
Update in r30 over dmem response handling
Fix ICSSG bugger pool starting number
Signed-off-by: Tinku Mannan <tmannan@ti.com>
IOCTL fix for handling switch and host port numbers for switch use case
Remove redundant port state check in internal ioctl implementation
Update in r30 over dmem response handling
Fix ICSSG bugger pool starting number
Signed-off-by: Tinku Mannan <tmannan@ti.com>
ospi: PDK-5427: fix am64x uart print issue on Zebu
Signed-off-by: Hao Zhang <hzhang@ti.com>
Signed-off-by: Hao Zhang <hzhang@ti.com>
drv/uart: porting SCI driver as UART v3
Porting the UART(SCI) driver from mmWave SDK to PDK UART/v3 with minimum
changes as described below:
- Move the IP-specific configuration parameters from UART_Params to
SoC-specific UART_HwAttrs
- Add EDMA Rx support
- Add Callback, polling timeout support
- Add interrupt control
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
Porting the UART(SCI) driver from mmWave SDK to PDK UART/v3 with minimum
changes as described below:
- Move the IP-specific configuration parameters from UART_Params to
SoC-specific UART_HwAttrs
- Add EDMA Rx support
- Add Callback, polling timeout support
- Add interrupt control
Signed-off-by: Eric Ruei <e-ruei1@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-5147: Board: Updated J721E Board I2C to support multiple instances
- Board I2C get handle function supports only one active instance of I2C which is inconvenient
for the applications which access multiple I2C ports.
Updated board I2C module to support multiple I2C instances as supported by the I2C driver.
It is not allowed to open same instance of multiple domains simultaneously. For example if MAIN I2C
instance 0 is opened, it is not possible to open the instance 0 of MCU or Wakeup
- Board I2C get handle function supports only one active instance of I2C which is inconvenient
for the applications which access multiple I2C ports.
Updated board I2C module to support multiple I2C instances as supported by the I2C driver.
It is not allowed to open same instance of multiple domains simultaneously. For example if MAIN I2C
instance 0 is opened, it is not possible to open the instance 0 of MCU or Wakeup
spi: address review comments for adding TPR12 support
Signed-off-by: Hongmei Gou <hgou@ti.com>
Signed-off-by: Hongmei Gou <hgou@ti.com>
spi: add QSPI flash test application for TPR12 QT
* Baremetal and RTOS with makefile
* Use prints on the IO console for TPR12 QT
* Support flash model w25q16fw for TPR12 QT
Signed-off-by: Hongmei Gou <hgou@ti.com>
* Baremetal and RTOS with makefile
* Use prints on the IO console for TPR12 QT
* Support flash model w25q16fw for TPR12 QT
Signed-off-by: Hongmei Gou <hgou@ti.com>
spi: build qspi(v1) lib for tpr12
Signed-off-by: Hongmei Gou <hgou@ti.com>
Signed-off-by: Hongmei Gou <hgou@ti.com>
IPC: Update c7x echo_test linker file and mmu map call
Latest tools need secure_vecs to be included.
Also need to set the ns attr for the mapping call.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
Latest tools need secure_vecs to be included.
Also need to set the ns attr for the mapping call.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
board: Revert offset translation and use direct define
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
sciclient: rm_irq: Fix critical Klocwork errors
Resolve critical Klocwork errors reported in
the Sciclient interrupt managements logic.
Signed-off-by: Justin Sobota <jsobota@ti.com>
Resolve critical Klocwork errors reported in
the Sciclient interrupt managements logic.
Signed-off-by: Justin Sobota <jsobota@ti.com>
drv: sciclient: Using the latest binaries and checked load firmware on ZeBu
The Load firmware is passing on ZeBu with this.
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
The Load firmware is passing on ZeBu with this.
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
drv: sciclient: Updates to firmwaregen.sh to handle AM64x new ROM address
Validated VLAB based load firmware is working
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Validated VLAB based load firmware is working
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
drv: sciclient: Updated the sysfw binaries for 1.4.0 snapshot5 VLAB
Fixes: PDK-6184
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Fixes: PDK-6184
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
[PDK-5988] UDMA : Fix Bug introduced by SA issue resolution
-Fix for a minor bug introduced by Static Analysis issue resolution in commit:97fecfcd
-In case of LCDMA, since Teardown event is not supported, the eventRegister & eventUnregister will be bypassed.
As a result eventInitDone wont be set to UDMA_INIT_DONE.
While bypassing eventUnregister, as part of SA fix, the check for eventInitDone was moved alongwith Handle NULL_PTR check.
It was on top of the if condition to bypass the Teardown event. Due to this, Teardown event returned EFAIL in AM64x.
-The check for eventInitDone is moved under, bypass check.
Signed-off-by: Don Dominic <a0486429@ti.com>
-Fix for a minor bug introduced by Static Analysis issue resolution in commit:97fecfcd
-In case of LCDMA, since Teardown event is not supported, the eventRegister & eventUnregister will be bypassed.
As a result eventInitDone wont be set to UDMA_INIT_DONE.
While bypassing eventUnregister, as part of SA fix, the check for eventInitDone was moved alongwith Handle NULL_PTR check.
It was on top of the if condition to bypass the Teardown event. Due to this, Teardown event returned EFAIL in AM64x.
-The check for eventInitDone is moved under, bypass check.
Signed-off-by: Don Dominic <a0486429@ti.com>
[PDK-5988] UDMA : Fix Static Analysis Issues
Signed-off-by: Don Dominic <a0486429@ti.com>
Signed-off-by: Don Dominic <a0486429@ti.com>
Addressed review comments
Signed-off-by: Sivaraj R <sivaraj@ti.com>
Signed-off-by: Sivaraj R <sivaraj@ti.com>
PDK-5149: Below changes are done
- Moved DSS to MCU2_0
- Interchanged channel allocation for MCU2_0 and MCU2_1
Signed-off-by: Brijesh Jadav <brijesh.jadav@ti.com>
- Moved DSS to MCU2_0
- Interchanged channel allocation for MCU2_0 and MCU2_1
Signed-off-by: Brijesh Jadav <brijesh.jadav@ti.com>
[PDK-5983] Fix warning issue of IPC module
Signed-off-by: Amit Makani <amit.makani@ti.com>
Signed-off-by: Amit Makani <amit.makani@ti.com>
[PDK-4957] Additional error checks for mappedGrp and mappedChNum
Signed-off-by: Don Dominic <a0486429@ti.com>
Signed-off-by: Don Dominic <a0486429@ti.com>
am65xx: emac and nimu: Maxwell PG2 updates
am65xx: emac: Maxwell PG2 updates
[hostemu] Fix host emulation and loki link issue
Signed-off-by: Anshu Jain <anshu.jain@ti.com>
Signed-off-by: Anshu Jain <anshu.jain@ti.com>
PDK-6291: UDMA unit test app is failing for all the cores
Resolution:
- With 2020.04 the RM API returns error if the flow count is 0x4000
- The default should be zero which is the logical value to have
Signed-off-by: Sivaraj R <sivaraj@ti.com>
Resolution:
- With 2020.04 the RM API returns error if the flow count is 0x4000
- The default should be zero which is the logical value to have
Signed-off-by: Sivaraj R <sivaraj@ti.com>
[PDK-6289] Update in max doorbell count for lcdma
-Updates in max doorbell count for lcdma related to changes in csl_lcdma file bug fix
Signed-off-by: Don Dominic <a0486429@ti.com>
-Updates in max doorbell count for lcdma related to changes in csl_lcdma file bug fix
Signed-off-by: Don Dominic <a0486429@ti.com>
PDK-5118: Board: Enabled pinmux setup for AM64x EVM
PDK-6273: Host emulation (GCC) library in PDK release package
- Enable only the libraries that are needed for HOSTEMU
Signed-off-by: Sivaraj R <sivaraj@ti.com>
- Enable only the libraries that are needed for HOSTEMU
Signed-off-by: Sivaraj R <sivaraj@ti.com>
Build Fix
- FATFS is build for all cores and it needs MMCSD
to be enabled for all cores as well
- Added SA LLD folder to git ignore
Signed-off-by: Sivaraj R <sivaraj@ti.com>
- FATFS is build for all cores and it needs MMCSD
to be enabled for all cores as well
- Added SA LLD folder to git ignore
Signed-off-by: Sivaraj R <sivaraj@ti.com>
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>