3 years agoBoard: Removed compile error based on core check in am64x evm board cfg REL.CORESDK.07.01.00.40
Board: Removed compile error based on core check in am64x evm board cfg
3 years agoPDK-8305: Updated am64x evm board uart config to map to proper SoC instance REL.CORESDK.07.01.00.39
PDK-8305: Updated am64x evm board uart config to map to proper SoC instance
- Removed the additional configurations done for UART and I2C for
SoC domain switch which are not needed on AM64x
- Removed the additional configurations done for UART and I2C for
SoC domain switch which are not needed on AM64x
Sciclient: Fixes for the firmware boot applications
Fixes to add support firmware boot for J721e
Fixes: PDK-8579
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Fixes to add support firmware boot for J721e
Fixes: PDK-8579
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Sciclient_firmware_boot: Update for the test case for the firmware boot
Update for the Firmware boot test app to run on AM65x and J7200
Fixes: PDK-8602
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Update for the Firmware boot test app to run on AM65x and J7200
Fixes: PDK-8602
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
PDK-8578: Fix for sciclient_fw_test example
Fix for the example to run on J721e, J7200 and AM65xx
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Fix for the example to run on J721e, J7200 and AM65xx
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
3 years agoPDK-8155: IPC examples: Call Sciclient_init before Sciserver_tirtosInit REL.CORESDK.07.01.00.36 REL.CORESDK.07.01.00.37 REL.CORESDK.07.01.00.38
PDK-8155: IPC examples: Call Sciclient_init before Sciserver_tirtosInit
Sciclient_init should be called before Sciserver_tirtosInit in
the init sequence.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
Sciclient_init should be called before Sciserver_tirtosInit in
the init sequence.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
mcspi example fix for release mode
- after adding sync between the master and slave delay required in
master app for the release binary to make sure the slave is ready before
master initiates the transfer.
Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
- after adding sync between the master and slave delay required in
master app for the release binary to make sure the slave is ready before
master initiates the transfer.
Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
[BugFix] PDK-7945: OSPI Flash Application failing on J721E
fixed ospi rtos example for j721e
Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
fixed ospi rtos example for j721e
Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
build fixed for baremetal build
Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
Sciclient: documentation and header update
Update for the documentation and header
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Update for the documentation and header
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
sdr_test: Update j721e linker file to not load to ATCM
This fixes issue observed when performing sbl mmcsd booting
of the sdr_test appimage.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
This fixes issue observed when performing sbl mmcsd booting
of the sdr_test appimage.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
fixed mcspi example for j721e and j7200
Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
PDK-8495: QoS settings disabled for SBL boot
- Enabled the QoS settings for Non-HS
- For HS issue, we can track this seperately
- Also used CSLR register write macro instead of
writel which was not using the volatile keyward for
reg access - but not sure if this caused any issues
- The R5F QOS is still disabled as this is causing the
DRU testcases to hang
Signed-off-by: Sivaraj R <sivaraj@ti.com>
- Enabled the QoS settings for Non-HS
- For HS issue, we can track this seperately
- Also used CSLR register write macro instead of
writel which was not using the volatile keyward for
reg access - but not sure if this caused any issues
- The R5F QOS is still disabled as this is causing the
DRU testcases to hang
Signed-off-by: Sivaraj R <sivaraj@ti.com>
PDK-8569: Board: Updated Uniflash host tool to avoid platform dependency for sysfw load
- Uniflash host tool depends on the platform name in the Uniflash flash programmer
binary file name to decide whether system firmware autoload is needed.
This is causing the Uniflash host tool update for every new platform with system firmware dependency.
Updated the host tool to load system firmware if the file exists in flash programmer folder
instead of depending on the platform name.
- Uniflash host tool depends on the platform name in the Uniflash flash programmer
binary file name to decide whether system firmware autoload is needed.
This is causing the Uniflash host tool update for every new platform with system firmware dependency.
Updated the host tool to load system firmware if the file exists in flash programmer folder
instead of depending on the platform name.
Board: Added ospi phy tuning data binary file
PDK-8567: Board: Fix for board flash open performance issue on j7200
- Board flash open function is taking more CPU cycles which is caused
by flash register write to configure hybrid sector configuration.
Updated the code to check for the default setting and write only
if hybrid sector config needs a change.
- Board flash open function is taking more CPU cycles which is caused
by flash register write to configure hybrid sector configuration.
Updated the code to check for the default setting and write only
if hybrid sector config needs a change.
Sysfw Public doc updates
Public docs update based on review feedback
Fixes: SYSFW-4215
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Public docs update based on review feedback
Fixes: SYSFW-4215
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
3 years agoPDK-8305: Board: Updated am64x diag tests to map with proper driver instances REL.CORESDK.07.01.02.03 REL.CORESDK.07.01.02.04
PDK-8305: Board: Updated am64x diag tests to map with proper driver instances
PDK-5118: Board: Enabled I2C init functions in am64x board library
Added wwdt multicore back to build with lastcore change
PDK-8511: sciserver: set GTC to 200MHz
This is a temporary hack. The SPL expects the GTC to be configured at
200MHz. Since the default GTC frequency is 250MHz, it needs to be
reconfigured to 200MHz to align with SPL.
Signed-off-by: Sheng Zhao <shengzhao@ti.com>
This is a temporary hack. The SPL expects the GTC to be configured at
200MHz. Since the default GTC frequency is 250MHz, it needs to be
reconfigured to 200MHz to align with SPL.
Signed-off-by: Sheng Zhao <shengzhao@ti.com>
[PDK-8391] UDMA UT : Fix issues with unit_testapp on J7200 mcu2_1 and mcu2_0
- Update Linker File
- Else Test was stuck in Sciclient_Service in Sciclient_init
Signed-off-by: Don Dominic <a0486429@ti.com>
- Update Linker File
- Else Test was stuck in Sciclient_Service in Sciclient_init
Signed-off-by: Don Dominic <a0486429@ti.com>
PDK-8502: Board: Fix for Uniflash flash programmer failure in UART load mode
- Uniflash flash programmer is hanging in board init with latest sciclient
driver due to dependency on system firmware.
Updated the flash programmer init sequence to call board init after
loading system firmware.
DMA mode is not functional which is disabled in this update.
- Uniflash flash programmer is hanging in board init with latest sciclient
driver due to dependency on system firmware.
Updated the flash programmer init sequence to call board init after
loading system firmware.
DMA mode is not functional which is disabled in this update.
[PDK-8515] UDMA UT : Enable MCU NAVSS HC Block Copy Testcases on J7200 mcu1_0
- This change somehow got missed from 9b50f64b1208c54c7de3105f7027815bf77d120a
Signed-off-by: Don Dominic <a0486429@ti.com>
- This change somehow got missed from 9b50f64b1208c54c7de3105f7027815bf77d120a
Signed-off-by: Don Dominic <a0486429@ti.com>
fixed mmcsd tests
- removed the mcu1_1 build for the mmcsd
- fixed the mmcsd tests for mcu2_1 and mcu3_1 cores
Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
- removed the mcu1_1 build for the mmcsd
- fixed the mmcsd tests for mcu2_1 and mcu3_1 cores
Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
[PDK-8515] UDMA UT : Enable HC Block Copy Testcases
- As per BoardCfg, there no HC Block Copy Channel assigned for any core.
- In this case, use the resource assigned for HC RX/TX channels
- to test various HC Block Copy testcases.
- This is with the assumption that, the range of this resources are same
- for both RX and TX High Capacity channels
- Also remove macors for START of resource, since its no longer used to override rm prms.
Signed-off-by: Don Dominic <a0486429@ti.com>
- As per BoardCfg, there no HC Block Copy Channel assigned for any core.
- In this case, use the resource assigned for HC RX/TX channels
- to test various HC Block Copy testcases.
- This is with the assumption that, the range of this resources are same
- for both RX and TX High Capacity channels
- Also remove macors for START of resource, since its no longer used to override rm prms.
Signed-off-by: Don Dominic <a0486429@ti.com>
[PDK-8492] RM : Regenerate boardCfg and Sciclient_ccs_init
- Was not on tip of rm_pal_hal while generated the binaries last time in commit 47856c4a40c531039165d8da2c292a725d579ba1
- Hence regenerating after rebasing to tip of rm_pm_hal
Signed-off-by: Don Dominic <a0486429@ti.com>
- Was not on tip of rm_pal_hal while generated the binaries last time in commit 47856c4a40c531039165d8da2c292a725d579ba1
- Hence regenerating after rebasing to tip of rm_pm_hal
Signed-off-by: Don Dominic <a0486429@ti.com>
Sciclient debug build enabling
Sciclient debug linker file changes to enable build
Fixes: PDK-8440
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Sciclient debug linker file changes to enable build
Fixes: PDK-8440
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
[Bug Fix]Fixed issue with I2C tests failing on Main Domain R5 Cores
- Issue:
- Tests fails on Main Domain MCU2_1 and MCU3_1 cores
- Root-cause:
- Due to recent RM changes, interrupts reserved from Interrupt Routers for these core are changed
- This was making TC time-out as no interrupts were triggered
- Resolution:
- Assign interrupts as per new RM i.e. +128 for MCUx_1 cores from Main Domain
Signed-off-by: Vivek Dhande <a0132295@ti.com>
- Issue:
- Tests fails on Main Domain MCU2_1 and MCU3_1 cores
- Root-cause:
- Due to recent RM changes, interrupts reserved from Interrupt Routers for these core are changed
- This was making TC time-out as no interrupts were triggered
- Resolution:
- Assign interrupts as per new RM i.e. +128 for MCUx_1 cores from Main Domain
Signed-off-by: Vivek Dhande <a0132295@ti.com>
UDMA UT: Enable Ring Monitor Testcases
Signed-off-by: Don Dominic <a0486429@ti.com>
Signed-off-by: Don Dominic <a0486429@ti.com>
[PDK-8492] RM : Fix UDMA Ring Monitor Issues with mcu1_0
- Removed MCU NAVSS Ring monitor resource entry for mcu1_0 Non Secure context
- Updated for both J721E and J7200
- The fixes the issues with Ring Monitor Config on mcu1_0
- SYSFW do not support multiple overlapping ranges in the RA monitor
due to the limitation to support both the DM and DMSC to need to have access to the registers.
So only one host can have exclusive access to the range of ring monitors.
- sysfw force the MCU1_0 to secure in the re-arch, so removing the non-secure and keep the secure.
Signed-off-by: Don Dominic <a0486429@ti.com>
- Removed MCU NAVSS Ring monitor resource entry for mcu1_0 Non Secure context
- Updated for both J721E and J7200
- The fixes the issues with Ring Monitor Config on mcu1_0
- SYSFW do not support multiple overlapping ranges in the RA monitor
due to the limitation to support both the DM and DMSC to need to have access to the registers.
So only one host can have exclusive access to the range of ring monitors.
- sysfw force the MCU1_0 to secure in the re-arch, so removing the non-secure and keep the secure.
Signed-off-by: Don Dominic <a0486429@ti.com>
Board: Diagnostic stress test update to resolve build issues
Board: Disabled the macro PDK_RAW_BOOT for tpr12 evm diag release profile
- PDK_RAW_BOOT is enabled for tpr12 during inital testing. Reverting it
to default and release mode diag binaries should be tested with sbl boot flow.
- PDK_RAW_BOOT is enabled for tpr12 during inital testing. Reverting it
to default and release mode diag binaries should be tested with sbl boot flow.
Sciclient: CCS_Init application added cache options
Sciclient ccs init application updated with cache operations for writing the board config data
Fixes: PDK-8496
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Sciclient ccs init application updated with cache operations for writing the board config data
Fixes: PDK-8496
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
edma: use CSL cache line size definitions and macros
Replace local cache line size definitions and macros with the CSL ones
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
Replace local cache line size definitions and macros with the CSL ones
Signed-off-by: Eric Ruei <e-ruei1@ti.com>
PDK-5002: Board: Updated the name for csirx diagnostic test
[Bug Fix] PDK-8469: mcspi master test crashes in interrupt mode
Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
Migrating to SYSFW version v2020.08b
Migrating to v2020.08b
Migrating to v2020.08b
sciserver: add sync semaphore to user message tasks
A semaphore is added inside the high and low priority user message task.
It prevents the low priority task processing stale message response from
high priority task during message forwarding.
Both the high and low priority tasks can forward message to TIFS. But
DM2DMSC response path is shared. The reading of the RX thread in
Sciclient_serviceSecureProxy() is not protected by the critical section.
The DM's high priority task could forward a message to TIFS before low
priority reads the response. Then the high priority task processes the
response in the DM2DMSC rxThread. The issue occurs when the low priority
thread would process the same stale response message from high priority
task.
The sync semaphore serializes incoming messages to DM and prevents the
above scenario from occurring.
Fixes: PDK-8312 #integrate-and-build
Signed-off-by: Sheng Zhao <shengzhao@ti.com>
A semaphore is added inside the high and low priority user message task.
It prevents the low priority task processing stale message response from
high priority task during message forwarding.
Both the high and low priority tasks can forward message to TIFS. But
DM2DMSC response path is shared. The reading of the RX thread in
Sciclient_serviceSecureProxy() is not protected by the critical section.
The DM's high priority task could forward a message to TIFS before low
priority reads the response. Then the high priority task processes the
response in the DM2DMSC rxThread. The issue occurs when the low priority
thread would process the same stale response message from high priority
task.
The sync semaphore serializes incoming messages to DM and prevents the
above scenario from occurring.
Fixes: PDK-8312 #integrate-and-build
Signed-off-by: Sheng Zhao <shengzhao@ti.com>
PDK-7718: Board: Fix for hyperflash stability issue at higher clock
- Hyperflash operations are not stable at higher frequency on j7200 evm.
Hyperbus datasheet recommends to enable the controller after clocks are stable.
But hyperbus controller will be active while PLLs are being configured which is
causing wrong MDLL code some times resulting data write failure.
Resetting the hyperbus controller in board flash open to resync with PLL
clocks configured.
- Hyperflash operations are not stable at higher frequency on j7200 evm.
Hyperbus datasheet recommends to enable the controller after clocks are stable.
But hyperbus controller will be active while PLLs are being configured which is
causing wrong MDLL code some times resulting data write failure.
Resetting the hyperbus controller in board flash open to resync with PLL
clocks configured.
Revert "PDK-8311: Revert "[PDK-8145] Board: J721E DDR: Check-in Latest DDR Configuration Revision: 0.5.0""
This reverts commit c7b7ae53965394168e68cf0e1726ff3326d93074.
- 4266 configuration is the tested and recommended settings for production sample
- RTOS and Linux DDR configuration should be in sync, and both will be using the 4266 settings
- The failures in some boards could be due to earlier engineering sample issues.
Signed-off-by: Don Dominic <a0486429@ti.com>
This reverts commit c7b7ae53965394168e68cf0e1726ff3326d93074.
- 4266 configuration is the tested and recommended settings for production sample
- RTOS and Linux DDR configuration should be in sync, and both will be using the 4266 settings
- The failures in some boards could be due to earlier engineering sample issues.
Signed-off-by: Don Dominic <a0486429@ti.com>
Fix for print for automation
Fix for print for automation test to pass.
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Fix for print for automation test to pass.
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
PDK-8480: Sciserver: Fix linker cmd file for testapp
Solves problem of Sciserver starting properly on MCU1_0
by putting all key boot code & vectors into BTCM memory.
This allows test cases on remote cores to be paired with
the included sciserver_testapp RPRC images and provide a
working sciserver on MCU1_0 when booting apps from OSPI.
NOTE: solves multiple test case issues on J7200 & J721E.
Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
Solves problem of Sciserver starting properly on MCU1_0
by putting all key boot code & vectors into BTCM memory.
This allows test cases on remote cores to be paired with
the included sciserver_testapp RPRC images and provide a
working sciserver on MCU1_0 when booting apps from OSPI.
NOTE: solves multiple test case issues on J7200 & J721E.
Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
fixed mmcsd test for am65xx mcu core
Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
Fixing OSPI issues on J7200
Added necessary task params to fix BIOS start failure.
Disabled DAC DMA write and verify for J7200 since this is not supported.
Disabled interrupt mode in cases that are facing hangs.
Signed-off-by: Aditya Wadhwa <a0485151@ti.com>
Added necessary task params to fix BIOS start failure.
Disabled DAC DMA write and verify for J7200 since this is not supported.
Disabled interrupt mode in cases that are facing hangs.
Signed-off-by: Aditya Wadhwa <a0485151@ti.com>
Updates to TIFS binaries with fix from IA MAP in TIFS
Fix for IA MAP in TIFS during secure proxy setup
Fixes: SYSFW-4212
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Fix for IA MAP in TIFS during secure proxy setup
Fixes: SYSFW-4212
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
diag: fix memory map to work with SBL
fixed memory map of MIBSPI/HWA/Diag to
work with SBL as they were using custom
linker cmd file.Also SBL updated for
case where app image only loaded on DSP
and not R5
Signed-off-by: Badri S <badri@ti.com>
fixed memory map of MIBSPI/HWA/Diag to
work with SBL as they were using custom
linker cmd file.Also SBL updated for
case where app image only loaded on DSP
and not R5
Signed-off-by: Badri S <badri@ti.com>
PDK-8453: SBL: Boot performance app fix
Fixes "sbl_boot_perf_test" for both J721E & J7200.
Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
Fixes "sbl_boot_perf_test" for both J721E & J7200.
Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
Revert "Fix SBL build fix for J721E"
This reverts commit 8334df9f4cc5fa826da3677e26572859e869602a.
Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
This reverts commit 8334df9f4cc5fa826da3677e26572859e869602a.
Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
gpio/tpr12: Update GPIO example to work on TPR12 EVM
Updated the GPIO example to work on TPR12 EVM
Signed-off-by: Badri S <badri@ti.com>
Updated the GPIO example to work on TPR12 EVM
Signed-off-by: Badri S <badri@ti.com>
diag_csirx/tpr12: added frontend cfg binaries to packaging list
Added frontend cfg binaries to PKG_SRCS so that it packaged
Signed-off-by: Badri S <badri@ti.com>
Added frontend cfg binaries to PKG_SRCS so that it packaged
Signed-off-by: Badri S <badri@ti.com>
sbl/tpr12: ROM certificate generation script ignore tmpfile not present
Modified the ROM certificate signing script to ignore rm of temp file
if not present
Signed-off-by: Badri S <badri@ti.com>
Modified the ROM certificate signing script to ignore rm of temp file
if not present
Signed-off-by: Badri S <badri@ti.com>
board/tpr12: pinmux data for AWR2243 front end control from DSP
Modified pnmux data so that default support is for AWR2243 front
end cfg from DSP instead of R5 which is the common usecase
This allows mmWaveSDK to run out of box with PDK without any
changes
Signed-off-by: Badri S <badri@ti.com>
Modified pnmux data so that default support is for AWR2243 front
end cfg from DSP instead of R5 which is the common usecase
This allows mmWaveSDK to run out of box with PDK without any
changes
Signed-off-by: Badri S <badri@ti.com>
[PDK-8394] Bug fix for wrong delay value in edma ut
Osal_delay takes delay in ms in ti_rtos configuration
but in CPU cycles in baremetal configuration.The test
case was invoking Osal_delay with large values assuming
CPU cycles but results in huge delay in execution as it
is interpreted as ms delay.Setting delay value to min 1
which is sufficient. Osal_delay API has to be fixed so that
API behaviour is same for both baremetal and ti_rtos
Signed-off-by: Badri S <badri@ti.com>
Osal_delay takes delay in ms in ti_rtos configuration
but in CPU cycles in baremetal configuration.The test
case was invoking Osal_delay with large values assuming
CPU cycles but results in huge delay in execution as it
is interpreted as ms delay.Setting delay value to min 1
which is sufficient. Osal_delay API has to be fixed so that
API behaviour is same for both baremetal and ti_rtos
Signed-off-by: Badri S <badri@ti.com>
diag_csirx/tpr12: support for csirx diag on c66x and ti_rtos config
added frontend cfg for AWR2243 and added support for c66x build
and sysbios config. CSIRX on c66x works only in sysbios config
and not in baremetal config presently due to PDK-8403
Signed-off-by: Badri S <badri@ti.com>
added frontend cfg for AWR2243 and added support for c66x build
and sysbios config. CSIRX on c66x works only in sysbios config
and not in baremetal config presently due to PDK-8403
Signed-off-by: Badri S <badri@ti.com>
3 years agoPDK-8437: Create Board init with limited module initializations for tpr12 REL.CORESDK.07.01.00.30
PDK-8437: Create Board init with limited module initializations for tpr12
- This is for usage in the Radar applications which cannot integrate
drivers like uart due to memory constraints.
- This is for usage in the Radar applications which cannot integrate
drivers like uart due to memory constraints.
Migrating to SYSFW version v2020.08b
Migrating to SYSFW 2020.08b
Migrating to SYSFW 2020.08b
Fixes for IRQ_RELEASE failing on the 2020.08a release
Fixed IRQ_RELEASE to use the forwarding of messages for VINT clearning.
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Fixed IRQ_RELEASE to use the forwarding of messages for VINT clearning.
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
sbl: swap order of boardcfg
Send security boardcfg prior to RM boardcfg. This is required for the
specified devgrp to ensure firewalls are in proper state for rm_pm_hal
to access the resources.
Signed-off-by: Stephen Molfetta <sjmolfetta@ti.com>
Send security boardcfg prior to RM boardcfg. This is required for the
specified devgrp to ensure firewalls are in proper state for rm_pm_hal
to access the resources.
Signed-off-by: Stephen Molfetta <sjmolfetta@ti.com>
Migrating to SYSFW version v2020.08a
sciclient: Update RM boardcfg after TIFS processing
In HS builds using unoptimized/development boot flows, RM boardcfg will
have a certificate prefix. TIFS will strip the certificate after
authentication and copy the boardcfg back in-place.
When returning for rm_pm_hal processing, adjustments to the RM boardcfg
request must be made:
- Invalidate the cache
- Adjust the length of the boardcfg request to compensate for the
missing certificate
- If the certificate is not stripped (which would be the case if the
signed RM boardcfg is sent a second time from an application), adjust
the boardcfg pointer to pick up from the offset of the certificate
Signed-off-by: Stephen Molfetta <sjmolfetta@ti.com>
In HS builds using unoptimized/development boot flows, RM boardcfg will
have a certificate prefix. TIFS will strip the certificate after
authentication and copy the boardcfg back in-place.
When returning for rm_pm_hal processing, adjustments to the RM boardcfg
request must be made:
- Invalidate the cache
- Adjust the length of the boardcfg request to compensate for the
missing certificate
- If the certificate is not stripped (which would be the case if the
signed RM boardcfg is sent a second time from an application), adjust
the boardcfg pointer to pick up from the offset of the certificate
Signed-off-by: Stephen Molfetta <sjmolfetta@ti.com>
build: Update sciclient_direct_hs target
Enable sciclient_direct_hs target build. Include this in hs sbl builds
Signed-off-by: Stephen Molfetta <sjmolfetta@ti.com>
Enable sciclient_direct_hs target build. Include this in hs sbl builds
Signed-off-by: Stephen Molfetta <sjmolfetta@ti.com>
sciclient: Fix for using board config type instead of index
Fix for board config type instead of index for the header left behind by SBL/SPL.
Fixes: PDK-8377
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Fix for board config type instead of index for the header left behind by SBL/SPL.
Fixes: PDK-8377
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
sciclient: sysfw migrate: update for correct j721e name
Update j721e to remove no-pm-rm temporary binary name
Signed-off-by: Stephen Molfetta <sjmolfetta@ti.com>
Update j721e to remove no-pm-rm temporary binary name
Signed-off-by: Stephen Molfetta <sjmolfetta@ti.com>
Board: Updated tpr12 evm diagnostic test build configurations
- Enabled app image creation
- Enabled PDK_RAW_BOOT flag to allow running the release mode binaries
from CCS/JTAG
- Enabled app image creation
- Enabled PDK_RAW_BOOT flag to allow running the release mode binaries
from CCS/JTAG
PDK-6959: Board: Updated board ID EEPROM diagnostic test for tpr12 evm
- Board ID EEPROM changes verified on evm with valid board ID programmed
- Board ID EEPROM changes verified on evm with valid board ID programmed
[PDK-8402] OSAL UT: J721E: Fix OSAL_TestApp issue in OSAL_timer_test on mcu1_0 with SBL
- Use MCU_TIMER_2 when running on mcu1_0 with Sys BIOS
- TimerP_ANY in Sys BIOS will allocate MCU Timer 0 which was used by SBL and remains at Smart-idle wake-up-capable mod with Emulation mode set 1( The timer runs free, regardless of PINSUSPENDN value.)
- Hene TimerP_Create with default timer 0 in UT was crashing
- MCU Timer 1 is used by sysbios on mcu1_0
- UT works fine with MCU Timer 2; Added in board_clock.c to enable the timer.
Signed-off-by: Don Dominic <a0486429@ti.com>
- Use MCU_TIMER_2 when running on mcu1_0 with Sys BIOS
- TimerP_ANY in Sys BIOS will allocate MCU Timer 0 which was used by SBL and remains at Smart-idle wake-up-capable mod with Emulation mode set 1( The timer runs free, regardless of PINSUSPENDN value.)
- Hene TimerP_Create with default timer 0 in UT was crashing
- MCU Timer 1 is used by sysbios on mcu1_0
- UT works fine with MCU Timer 2; Added in board_clock.c to enable the timer.
Signed-off-by: Don Dominic <a0486429@ti.com>
PDK-5002: Board: Diabled board PLL config in csirx diag
PDK-6963: Board: Updated tpr12 pinmux config file
PDK-6956: Updated logs for tpr12 evm qspi stress test
PDK-5015: Board: Updated gpio configuration for tpr12 expansion header test
PDK-6963: Board: Fix for tpr12 board pll crash issue
3 years agotpr12: undo changes that affect other SOC and made changes TPR12 specific REL.CORESDK.07.01.01.01
tpr12: undo changes that affect other SOC and made changes TPR12 specific
Common code affecting multiple SoC was modified during TPR12 bringup
The changes are reverted to not affect other SoCs and changes required
for TPR12 are added under SoC specific defines
Signed-off-by: Badri S <badri@ti.com>
Common code affecting multiple SoC was modified during TPR12 bringup
The changes are reverted to not affect other SoCs and changes required
for TPR12 are added under SoC specific defines
Signed-off-by: Badri S <badri@ti.com>
qspi/tpr12: Undo changes to qspi_flash_test for file flash write
Undo TPR12 specific changes to QSPI flash test to allow
file write to flash from CCS. This is moved to a separate app
now
Signed-off-by: Badri S <badri@ti.com>
Undo TPR12 specific changes to QSPI flash test to allow
file write to flash from CCS. This is moved to a separate app
now
Signed-off-by: Badri S <badri@ti.com>
qspi/tpr12: add ccs based flash writer from file app
qspi example to write to qspi flash from file , read
back contents in DMA mode and verify.Used temporarily
till uniflash support is available on TPR12 for
flashing binaries to sflash
Signed-off-by: Badri S <badri@ti.com>
qspi example to write to qspi flash from file , read
back contents in DMA mode and verify.Used temporarily
till uniflash support is available on TPR12 for
flashing binaries to sflash
Signed-off-by: Badri S <badri@ti.com>
sbl/tpr12: added GP device degenerate key for SBL certificate to PDK
To enable SBL certificate generation without ROM mmWaveBootTest
repo which had the gpKey.pem added the GP device degenrate key to
PDK repo
Signed-off-by: Badri S <badri@ti.com>
To enable SBL certificate generation without ROM mmWaveBootTest
repo which had the gpKey.pem added the GP device degenrate key to
PDK repo
Signed-off-by: Badri S <badri@ti.com>
uniflash/tpr12: Add support for ROM flow
Uniflash target binary support for load by
TPR12 ROM
Signed-off-by: Badri S <badri@ti.com>
Uniflash target binary support for load by
TPR12 ROM
Signed-off-by: Badri S <badri@ti.com>
qspi/tpr12: bug fixes for DMA mode support
Bug fix for DMA mode support for QSPI and
resolve the SoC reset when SBL runs in
release mode
Signed-off-by: Badri S <badri@ti.com>
Bug fix for DMA mode support for QSPI and
resolve the SoC reset when SBL runs in
release mode
Signed-off-by: Badri S <badri@ti.com>
tpr12: mmwaveLink integration fixes
Signed-off-by: Kamath <r-kamath@ti.com>
Signed-off-by: Kamath <r-kamath@ti.com>
sbl: tpr12 fixes for Soc reset in release mode
Fixes for TPR12 SoC reset when SBL executed with
ROM flow in release mode for UART boot
Changes for modified giga device flash
part for TPR12 EVM compatible with ROM
Signed-off-by: Badri S <badri@ti.com>
Fixes for TPR12 SoC reset when SBL executed with
ROM flow in release mode for UART boot
Changes for modified giga device flash
part for TPR12 EVM compatible with ROM
Signed-off-by: Badri S <badri@ti.com>
tpr12: fixes when testing SBL QSPI mode on TPR12 EVM
misc fixes for issues found when enabling SBL QSPI mode
on TPR12 EVM
Signed-off-by: Badri S <badri@ti.com>
misc fixes for issues found when enabling SBL QSPI mode
on TPR12 EVM
Signed-off-by: Badri S <badri@ti.com>
sbl/tpr12: added qspi test to write from file to flash
to test SBL QSPI in absense of uniflash tool temp added
qspi test option to read file via CCS and write to
serial flash
Signed-off-by: Badri S <badri@ti.com>
to test SBL QSPI in absense of uniflash tool temp added
qspi test option to read file via CCS and write to
serial flash
Signed-off-by: Badri S <badri@ti.com>
added sync using the hw spare register
Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
Signed-off-by: Prasad Konnur <prasadkonnur@ti.com>
Board: Updated tpr12 evm board flash library
sbl/tpr12: Support timeout for UART SBL mode
Support timeout for UART SBL mode for TPR12.
Also move the module clock init out of SBL lib
to SBL image and moved it board folder
Signed-off-by: Badri S <badri@ti.com>
Support timeout for UART SBL mode for TPR12.
Also move the module clock init out of SBL lib
to SBL image and moved it board folder
Signed-off-by: Badri S <badri@ti.com>
mailbox/tpr12: fix for mailmox msg app to work with SBL
Fix sequencing issue in mailbox app where remote core
mailbox clears mailbox interrupt and msg ram on open
resulting in msg lost. So modified application to
rewrite msg if write timeout
Signed-off-by: Badri S <badri@ti.com>
Fix sequencing issue in mailbox app where remote core
mailbox clears mailbox interrupt and msg ram on open
resulting in msg lost. So modified application to
rewrite msg if write timeout
Signed-off-by: Badri S <badri@ti.com>
osal/tpr12: fixes for OSAL examples to run with SBL
Fix issues with Board init on multiple cores causing
RTI interrutps to stop on remote core.Also changed
log to SysMin to allow CCS connection after test
execution and confirm test pass without losing
log prints.Sysmin logs output to buffer which
can be viewed using ROV
Signed-off-by: Badri S <badri@ti.com>
Fix issues with Board init on multiple cores causing
RTI interrutps to stop on remote core.Also changed
log to SysMin to allow CCS connection after test
execution and confirm test pass without losing
log prints.Sysmin logs output to buffer which
can be viewed using ROV
Signed-off-by: Badri S <badri@ti.com>
qspi/tpr12: qspi read/write example fixes for tpr12 evm
Fixes for validating QSPI example on TPR12 EVM
Signed-off-by: Badri S <badri@ti.com>
Fixes for validating QSPI example on TPR12 EVM
Signed-off-by: Badri S <badri@ti.com>
SBL: J721E-HS: Workaround for HS boot
Workaround to remove the NavSS QoS setup that
was blocking TIFS loading for boot on HS devices.
Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
Workaround to remove the NavSS QoS setup that
was blocking TIFS loading for boot on HS devices.
Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
PDK-7618: SBL: remove duplicate boot media clock releases
No longer need these Boot Media clock releases when
booting HLOS, since it is being done in Board lib now.
Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
No longer need these Boot Media clock releases when
booting HLOS, since it is being done in Board lib now.
Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
[PDK-8391] UDMA UT : Fix issues with unit_testapp on J7200 mcu2_1
- Update Linker File
- Else Test was stuck in Sciclient_Service in Sciclient_init
Signed-off-by: Don Dominic <a0486429@ti.com>
- Update Linker File
- Else Test was stuck in Sciclient_Service in Sciclient_init
Signed-off-by: Don Dominic <a0486429@ti.com>
PDK-5002: Board: Added csirx diagnostic test for tpr12 evm
pdk: PDK-8118: add QSPI flash support for am64x
Signed-off-by: Hao Zhang <hzhang@ti.com>
Signed-off-by: Hao Zhang <hzhang@ti.com>
PDK-6963: Updated tpr12 evm flash library for GigaDevice qspi flash
Use SCICLIENT Direct for unifalsh build
Signed-off-by: Sivaraj R <sivaraj@ti.com>
Signed-off-by: Sivaraj R <sivaraj@ti.com>
SBL: Build fix for combined.appimage file creation
Most builds won't specify GCC_ARCH64_BIN_PREFIX variable,
so added a default for it.
Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
Most builds won't specify GCC_ARCH64_BIN_PREFIX variable,
so added a default for it.
Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
PDK-8155: IPC: Update test to board config sharing for mcu1_0
Update the IPC examples to use the new logic for board config.
Also update the linker files to specify OCMC used for sciclient
for board config.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
Update the IPC examples to use the new logic for board config.
Also update the linker files to specify OCMC used for sciclient
for board config.
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
Fix board diag build
Signed-off-by: Sivaraj R <sivaraj@ti.com>
Signed-off-by: Sivaraj R <sivaraj@ti.com>
SBL: J7200/J721E: Move to TIFS firmware
Transition to loading tifs.bin and reporting TIFS version,
instead of SYSFW.
Keep sysfw.bin for all other K3 SoCs.
Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
Transition to loading tifs.bin and reporting TIFS version,
instead of SYSFW.
Keep sysfw.bin for all other K3 SoCs.
Signed-off-by: Jonathan Bergsagel <jbergsagel@ti.com>
sciserver apps
Sciserver Apps build updates
Signed-off-by: Piyali Goswami <piyali_g@ti.com>
Sciserver Apps build updates
Signed-off-by: Piyali Goswami <piyali_g@ti.com>