J7AHP: UDMA: Remove HACK for Bord_init
Fixes:PDK-12017
Signed-off-by: l-kumar <a0492259@ti.com>
Fixes:PDK-12017
Signed-off-by: l-kumar <a0492259@ti.com>
osal: cleanup: Remove source files and makefile refernces related to legacy devices
- Remove all source files and makefile related to legacy devices
- Cleanup osal_component.mk
- Remove all unsupported rules
- Remove all files that are no longer used
Signed-off-by: Don Dominic <a0486429@ti.com>
- Remove all source files and makefile related to legacy devices
- Cleanup osal_component.mk
- Remove all unsupported rules
- Remove all files that are no longer used
Signed-off-by: Don Dominic <a0486429@ti.com>
[PDK-12013] sciserver: safertos: Fix OCMC RAM SCISERVER memory overlap
- OCMC_RAM_SCISERVER in sciserver_testapp linker file
was encroaching into OCMC_RAM used by other linker files
- Fix this by reducing the length of OCMC_RAM_SCISERVER in sciserver_testapp linker file
- Also relocate various sections in sciserver_testapp linker file TCMB and TCMA
to fit all sections in available memories
- update checked-in sciserver binaries
- This fixes UDMA UT failure in R5F non-mcu1_0 cores
Signed-off-by: Don Dominic <a0486429@ti.com>
- OCMC_RAM_SCISERVER in sciserver_testapp linker file
was encroaching into OCMC_RAM used by other linker files
- Fix this by reducing the length of OCMC_RAM_SCISERVER in sciserver_testapp linker file
- Also relocate various sections in sciserver_testapp linker file TCMB and TCMA
to fit all sections in available memories
- update checked-in sciserver binaries
- This fixes UDMA UT failure in R5F non-mcu1_0 cores
Signed-off-by: Don Dominic <a0486429@ti.com>
[PDK-12012] sciclient: safertos: launch.js updates to load sciserver safertos binary
- Add new isSafertos flag
- Load safeRTOS version of sciserver_testapp binary when above flag is set
Signed-off-by: Don Dominic <a0486429@ti.com>
- Add new isSafertos flag
- Load safeRTOS version of sciserver_testapp binary when above flag is set
Signed-off-by: Don Dominic <a0486429@ti.com>
[PDK-12011] build: safertos: Updates to set custom SafeRTOS Package path
- Add new safertos_package_path.mk
- SAFERTOS_<SOC>_<ISA>_INSTALL_PATH variable can be set here
- If not set, it will use the default development location
- i.e, $(SDK_INSTALL_PATH)/safertos_<SOC>_<ISA>_<SAFERTOS_VERSION>
- Add Utility script to setup SDK for SafeRTOS Builds
- This script can be used to custom SafeRTOS WHIS Package Installation path
- Also rebuilds required libraries like safertos, osal_safertos
check-in sciserver_testapp_safertos .xer5f and .rprx to sciclient tools folder
- This is required since the above libs/binaries won't be included in the public SDK
- Only enabled for j721e r5f/c66/c7x
- Can be enhanced in future to support other SOC's
Signed-off-by: Don Dominic <a0486429@ti.com>
- Add new safertos_package_path.mk
- SAFERTOS_<SOC>_<ISA>_INSTALL_PATH variable can be set here
- If not set, it will use the default development location
- i.e, $(SDK_INSTALL_PATH)/safertos_<SOC>_<ISA>_<SAFERTOS_VERSION>
- Add Utility script to setup SDK for SafeRTOS Builds
- This script can be used to custom SafeRTOS WHIS Package Installation path
- Also rebuilds required libraries like safertos, osal_safertos
check-in sciserver_testapp_safertos .xer5f and .rprx to sciclient tools folder
- This is required since the above libs/binaries won't be included in the public SDK
- Only enabled for j721e r5f/c66/c7x
- Can be enhanced in future to support other SOC's
Signed-off-by: Don Dominic <a0486429@ti.com>
[PDK-12010] osal: safertos: Critical Sections Fix
- Use SafeRTOS portable layer APIs to disable/enable Interrupts in critical sections
when scheduler is already started and not in ISR
- This is to avoid breakage of critical sections when CSL/OSAL_Arch APIs are also used
in conjunction
Signed-off-by: Don Dominic <a0486429@ti.com>
- Use SafeRTOS portable layer APIs to disable/enable Interrupts in critical sections
when scheduler is already started and not in ISR
- This is to avoid breakage of critical sections when CSL/OSAL_Arch APIs are also used
in conjunction
Signed-off-by: Don Dominic <a0486429@ti.com>
[PDK-12009] safertos: test: osal: Updates to use osal_safertos lib for task switch example and safertos demo
- Since osal_safertos lib is now available for all ISA's, task switch example and safertos_demo can use the same
- task switch example and safertos_demo makefile updates to use PDK_COMMON_SAFERTOS_COMP
- OSAL updates to make vApplicationErrorHook and vApplicationSetupTickInterruptHook
definition as weak so that application can have overridden definition.
- Remove custom linker files for task switch example and use default one in ti/build
- Also enable SBL appimage generation for task switch example
- Validated SafeRTOS Task SW Example and OSAL UT on all cores (R5F/C66x/C7x)
Signed-off-by: Don Dominic <a0486429@ti.com>
- Since osal_safertos lib is now available for all ISA's, task switch example and safertos_demo can use the same
- task switch example and safertos_demo makefile updates to use PDK_COMMON_SAFERTOS_COMP
- OSAL updates to make vApplicationErrorHook and vApplicationSetupTickInterruptHook
definition as weak so that application can have overridden definition.
- Remove custom linker files for task switch example and use default one in ti/build
- Also enable SBL appimage generation for task switch example
- Validated SafeRTOS Task SW Example and OSAL UT on all cores (R5F/C66x/C7x)
Signed-off-by: Don Dominic <a0486429@ti.com>
[PDK-11091] safertos: c7x: drv: IPC SafeRTOS C7x Driver Integration
- Add Linker file for IPC C7x SafeRTOS examples
- example common makefile updates to include c7x_mmu.c for safertos builds
- Also update Mmu.h header file for C7x in main_rtos.c/c7_mmu.c
Signed-off-by: Don Dominic <a0486429@ti.com>
- Add Linker file for IPC C7x SafeRTOS examples
- example common makefile updates to include c7x_mmu.c for safertos builds
- Also update Mmu.h header file for C7x in main_rtos.c/c7_mmu.c
Signed-off-by: Don Dominic <a0486429@ti.com>
[PDK-11091] safertos: c7x: osal: Enable OSAL lib for SafeRTOS C7x
- General Updates to enable C7x for osal_safertos
- Add HwiP_safertos_c7x.c
- Add osalArch_TimeStampGetFreqKHz and osalArch_TimestampGet64 implementations
in arch/core/c7x to enable TimerP_getTimeInUsecs
- Related makefile updates
- Update OSAL_CPU_FREQ_KHZ_DEFAULT in osal/soc/j721e/osal_soc.h based on ISA flags
- Updates to make SafeROS C7x Integration with Drivers similar to FreeRTOS
so that no custom updates are required in the application
- Define Osal_initMmuDefault and OsalCfgClecAccessCtrl
which will be referred in applications
- Invoke application defined InitMmu in the SafeRTOS C7x startup function vInitMmu
- Enable OSAL SafeRTOS UT for C7x
- OSAL UT Source file updates
- OSAL_board.h cleanup
Signed-off-by: Don Dominic <a0486429@ti.com>
- General Updates to enable C7x for osal_safertos
- Add HwiP_safertos_c7x.c
- Add osalArch_TimeStampGetFreqKHz and osalArch_TimestampGet64 implementations
in arch/core/c7x to enable TimerP_getTimeInUsecs
- Related makefile updates
- Update OSAL_CPU_FREQ_KHZ_DEFAULT in osal/soc/j721e/osal_soc.h based on ISA flags
- Updates to make SafeROS C7x Integration with Drivers similar to FreeRTOS
so that no custom updates are required in the application
- Define Osal_initMmuDefault and OsalCfgClecAccessCtrl
which will be referred in applications
- Invoke application defined InitMmu in the SafeRTOS C7x startup function vInitMmu
- Enable OSAL SafeRTOS UT for C7x
- OSAL UT Source file updates
- OSAL_board.h cleanup
Signed-off-by: Don Dominic <a0486429@ti.com>
[PDK-9547] c7x: build: Update --symdebug compiler option for SafeRTOS C7x Build
- SafeRTOS package uses .asmfunc and .endasmfunc directives
- This will work only with --symdebug:dwarf compiler option
- Hence set --symdebug:dwarf for both release and debug safertos build
Signed-off-by: Don Dominic <a0486429@ti.com>
- SafeRTOS package uses .asmfunc and .endasmfunc directives
- This will work only with --symdebug:dwarf compiler option
- Hence set --symdebug:dwarf for both release and debug safertos build
Signed-off-by: Don Dominic <a0486429@ti.com>
[PDK-9547] safertos: c7x: Check-in SafeRTOS C7x
- Check-in SafeRTOS C7x Release from WHIS
- makefile updates for SafeRTOS C7x package, enables safertos lib for C7x
- makefile updates for safertos_demo app build for C7x
- Enable safertos task switch example for C7x
- Add default linker file for safeRTOS C7x
- Enable C7x SafeRTOS apps build for j721e from ti/build/component.mk
- Remove c7x_1 from SafeRTOS default exclude CORELIST
Signed-off-by: Don Dominic <a0486429@ti.com>
- Check-in SafeRTOS C7x Release from WHIS
- makefile updates for SafeRTOS C7x package, enables safertos lib for C7x
- makefile updates for safertos_demo app build for C7x
- Enable safertos task switch example for C7x
- Add default linker file for safeRTOS C7x
- Enable C7x SafeRTOS apps build for j721e from ti/build/component.mk
- Remove c7x_1 from SafeRTOS default exclude CORELIST
Signed-off-by: Don Dominic <a0486429@ti.com>
[PDK-9535] safertos: c66: IPC/UDMA/UART/McASP/Sciclient SafeRTOS C66x Integration Updates
- Add IPC C66x SafeRTOS Linker files
- Driver Example source file updates to
- restrict R5F FFI limitation - stack to be aligned to stack size only for MCU cores
- bypass IR Configuration for Timer Interrupt
- For SafeRTOS this is already done as part of OS_Init()
Signed-off-by: Don Dominic <a0486429@ti.com>
Signed-off-by: chandru dhavamani <chandru@ti.com>
- Add IPC C66x SafeRTOS Linker files
- Driver Example source file updates to
- restrict R5F FFI limitation - stack to be aligned to stack size only for MCU cores
- bypass IR Configuration for Timer Interrupt
- For SafeRTOS this is already done as part of OS_Init()
Signed-off-by: Don Dominic <a0486429@ti.com>
Signed-off-by: chandru dhavamani <chandru@ti.com>
[PDK-9535] safertos: c66: osal: Enable OSAL lib for SafeRTOS C66x
- General Updates to enable C66x for osal_safertos
- Enable OSAL SafeRTOS UT for C66x
- OSAL UT Source file updates
Signed-off-by: Don Dominic <a0486429@ti.com>
Signed-off-by: chandru dhavamani <chandru@ti.com>
- General Updates to enable C66x for osal_safertos
- Enable OSAL SafeRTOS UT for C66x
- OSAL UT Source file updates
Signed-off-by: Don Dominic <a0486429@ti.com>
Signed-off-by: chandru dhavamani <chandru@ti.com>
[PDK-10707] safertos: c66: Check-in SafeRTOS C66
- Check-in SafeRTOS C66x Release from WHIS
- makefile updates for safertos c66x package, enables safertos lib for C66x
- makefile updates for safertos_demo app build for C66x
- Enable safertos task switch example for C66x
- Add default linker file for SafeRTOS C66x
- Enable C66x SafeRTOS apps build for j721e from ti/build/component.mk
Signed-off-by: Don Dominic <a0486429@ti.com>
Signed-off-by: chandru dhavamani <chandru@ti.com>
- Check-in SafeRTOS C66x Release from WHIS
- makefile updates for safertos c66x package, enables safertos lib for C66x
- makefile updates for safertos_demo app build for C66x
- Enable safertos task switch example for C66x
- Add default linker file for SafeRTOS C66x
- Enable C66x SafeRTOS apps build for j721e from ti/build/component.mk
Signed-off-by: Don Dominic <a0486429@ti.com>
Signed-off-by: chandru dhavamani <chandru@ti.com>
[PDK-9534] safertos: r5f: IPC/SPI/Scicleint SafeRTOS R5F Driver Integration Updates
- SafeRTOS v.7 to v.9 Migration updates in mpu config files
- IPC/Sciserver_testapp Linker file update
- IPC Linker file updates to place .text in DDR instead of MSMC
- Place mpu Config table in .startUpData
- check-in sciserver_testapp binary
- Enable Sciclient FW App
Signed-off-by: chandru dhavamani <chandru@ti.com>
Signed-off-by: Don Dominic <a0486429@ti.com>
- SafeRTOS v.7 to v.9 Migration updates in mpu config files
- IPC/Sciserver_testapp Linker file update
- IPC Linker file updates to place .text in DDR instead of MSMC
- Place mpu Config table in .startUpData
- check-in sciserver_testapp binary
- Enable Sciclient FW App
Signed-off-by: chandru dhavamani <chandru@ti.com>
Signed-off-by: Don Dominic <a0486429@ti.com>
[PDK-12008] safertos: test: Define SAFERTOS_log and update print statements in task switch example
- Update safertos task switch example to use SAFERTOS_log instead of printf
- UART prints are enabled by default with SAFERTOS_log
- Also enable SBL appimage generation for task switch example
- This updates are required for test automation
Signed-off-by: chandru dhavamani <chandru@ti.com>
Signed-off-by: Don Dominic <a0486429@ti.com>
- Update safertos task switch example to use SAFERTOS_log instead of printf
- UART prints are enabled by default with SAFERTOS_log
- Also enable SBL appimage generation for task switch example
- This updates are required for test automation
Signed-off-by: chandru dhavamani <chandru@ti.com>
Signed-off-by: Don Dominic <a0486429@ti.com>
[PDK-12007] osal: safertos: Fix issues due to usage of Build Define SAFERTOS in TaskP header file
- In case of OS independent library builds, SAFERTOS flags won't be defined
and including TaskP header will cause weird run-time issues if #ifdef with
SAFERTOS is used.
- This will result in TaskP_Params different between caller and callee.
- Generally we should never #ifdef in a header file for a define that is defined
by build command line to avoid such issues.Depending on where the header file
is included it will result in number of such weird issues
Signed-off-by: Don Dominic <a0486429@ti.com>
- In case of OS independent library builds, SAFERTOS flags won't be defined
and including TaskP header will cause weird run-time issues if #ifdef with
SAFERTOS is used.
- This will result in TaskP_Params different between caller and callee.
- Generally we should never #ifdef in a header file for a define that is defined
by build command line to avoid such issues.Depending on where the header file
is included it will result in number of such weird issues
Signed-off-by: Don Dominic <a0486429@ti.com>
[PDK-12006] osal: safertos : Fix core dependency for osal_safertos lib
- osal_safertos is a core independent library
- But there was core dependency due to usage of defines
from core-dependent safertos header file
- Usage of macros like configTIMER_INT_NUM/configTIMER_EVENT_ID/configTIMER_ID
which is defined in SafeRTOS_Config.h and value depends on "core"
- Fix this by adding osal defines for all cores and
new function & structure to dynamically return the params for the current core
- Also move common header includes to new SafeRTOS_priv.h
and include the same in source files
Signed-off-by: Don Dominic <a0486429@ti.com>
Signed-off-by: chandru dhavamani <chandru@ti.com>
- osal_safertos is a core independent library
- But there was core dependency due to usage of defines
from core-dependent safertos header file
- Usage of macros like configTIMER_INT_NUM/configTIMER_EVENT_ID/configTIMER_ID
which is defined in SafeRTOS_Config.h and value depends on "core"
- Fix this by adding osal defines for all cores and
new function & structure to dynamically return the params for the current core
- Also move common header includes to new SafeRTOS_priv.h
and include the same in source files
Signed-off-by: Don Dominic <a0486429@ti.com>
Signed-off-by: chandru dhavamani <chandru@ti.com>
[PDK-12005] osal: safertos: Updates for SafeRTOS v.9 Migration and to use latest SafeRTOS package
- Updates for SafeRTOS Kernel v.7 to v.9 migration
- Updates for latest SafeRTOS port
- Define mandatory hook functions
- General Cleanup
- Split into multiple source files to scale for various ISA's like R5F/C66x/C7x
- This same approach will be followed for C66x/C7x
- C66x requires this due to linking limitations related to overridden
definitions of weak functions
- Add new empty prvSetupHardware function
- This will be valid for other ISA
- Updates in SafeRTOS_config.c for new prvSetupHardware function
- Retain MPU programming related code in SafeRTOS_mpu_r5f.c
- Add vFiqHandler function
- Related makefile updates
- Also include some osal_safertos build fixes and soc files cleanup
Signed-off-by: Don Dominic <a0486429@ti.com>
Signed-off-by: chandru dhavamani <chandru@ti.com>
- Updates for SafeRTOS Kernel v.7 to v.9 migration
- Updates for latest SafeRTOS port
- Define mandatory hook functions
- General Cleanup
- Split into multiple source files to scale for various ISA's like R5F/C66x/C7x
- This same approach will be followed for C66x/C7x
- C66x requires this due to linking limitations related to overridden
definitions of weak functions
- Add new empty prvSetupHardware function
- This will be valid for other ISA
- Updates in SafeRTOS_config.c for new prvSetupHardware function
- Retain MPU programming related code in SafeRTOS_mpu_r5f.c
- Add vFiqHandler function
- Related makefile updates
- Also include some osal_safertos build fixes and soc files cleanup
Signed-off-by: Don Dominic <a0486429@ti.com>
Signed-off-by: chandru dhavamani <chandru@ti.com>
[PDK-12005] safertos: test: port task switch example for SafeRTOS v.9 migration
- Updates for SafeRTOS Kernel v.7 to v.9 migration
- Also includes updates for latest SafeRTOS port
- Define mandatory hook functions
- General Cleanup
- Split into multiple source files to scale for various ISA's like R5F/C66x/C7x
Signed-off-by: Don Dominic <a0486429@ti.com>
- Updates for SafeRTOS Kernel v.7 to v.9 migration
- Also includes updates for latest SafeRTOS port
- Define mandatory hook functions
- General Cleanup
- Split into multiple source files to scale for various ISA's like R5F/C66x/C7x
Signed-off-by: Don Dominic <a0486429@ti.com>
[PDK-12004] safertos: demo: Update rule for safertos_demo example build
- safertos_demo is an example included in SafeRTOS WHIS Package
- Update the rule to build the same in safertos_component.mk
- Minor path fixes
- Add makefile for the same in /kernel/test/safertos/safertos_demo
- This example build is disabled by default, since the example is part of WHIS package
- Developers can enable this to validate if required, by uncommenting following line in
safertos_component.mk
```safertos_EXAMPLE_LIST += safertos_demo```
Validated safertos_demo app build
Signed-off-by: Don Dominic <a0486429@ti.com>
- safertos_demo is an example included in SafeRTOS WHIS Package
- Update the rule to build the same in safertos_component.mk
- Minor path fixes
- Add makefile for the same in /kernel/test/safertos/safertos_demo
- This example build is disabled by default, since the example is part of WHIS package
- Developers can enable this to validate if required, by uncommenting following line in
safertos_component.mk
```safertos_EXAMPLE_LIST += safertos_demo```
Validated safertos_demo app build
Signed-off-by: Don Dominic <a0486429@ti.com>
[PDK-9546] safertos: r5f: Check-in SafeRTOS R5F
- Update SafeRTOS R5F Port to latest version
- Make SAFERTOS_KERNEL_INSTALL_PATH generic to <soc>/<isa>
- Define SAFERTOS_VERSION_<isa> for applicable <board>'s
- SafeRTOS makefile updates for new R5F package
- makefile updates for new directory structure
- updates in source files
- SafeRTOS R5F default linker file updates
- Enable OSAL UT for R5F cores
Signed-off-by: Don Dominic <a0486429@ti.com>
- Update SafeRTOS R5F Port to latest version
- Make SAFERTOS_KERNEL_INSTALL_PATH generic to <soc>/<isa>
- Define SAFERTOS_VERSION_<isa> for applicable <board>'s
- SafeRTOS makefile updates for new R5F package
- makefile updates for new directory structure
- updates in source files
- SafeRTOS R5F default linker file updates
- Enable OSAL UT for R5F cores
Signed-off-by: Don Dominic <a0486429@ti.com>
Board: J721E EVM: Build fix for 2.5Gbps SGMII serdes config
Removed an unused variable which caused PDK build failure
Signed-off-by: Nitin Sakhuja <n-sakhuja@ti.com>
Removed an unused variable which caused PDK build failure
Signed-off-by: Nitin Sakhuja <n-sakhuja@ti.com>
[DSS]: Enabling basic build for DSS on J7AHP.
Signed-off-by: Mriganka Chakravarty <m-chakravarty@ti.com>
Signed-off-by: Mriganka Chakravarty <m-chakravarty@ti.com>
J784S4: MMCSD: update the macros acoording to the CSL update
Signed-off-by: Sai Ramakurthi <s-ramakurthi@ti.com>
Signed-off-by: Sai Ramakurthi <s-ramakurthi@ti.com>
[FREERTOS]: FREERTOS J784S4 porting
- freertos lib has been built for j784s4
- freertos examples has been built for j784s4
Signed-off-by: chandru dhavamani <chandru@ti.com>
- freertos lib has been built for j784s4
- freertos examples has been built for j784s4
Signed-off-by: chandru dhavamani <chandru@ti.com>
Board: J7200 EVM: Added Serdes configuration for USXGMII
Added Serdes configuration to support USXGMII (XFI) on J7200 EVM
Signed-off-by: Nitin Sakhuja <n-sakhuja@ti.com>
Added Serdes configuration to support USXGMII (XFI) on J7200 EVM
Signed-off-by: Nitin Sakhuja <n-sakhuja@ti.com>
Board: J721E EVM: Added Serdes configuration for 2.5Gbps SGMII
Added Serdes configuration to support SGMII 2.5Gbps data rate (XAUI) on
J721E EVM
Signed-off-by: Nitin Sakhuja <n-sakhuja@ti.com>
Added Serdes configuration to support SGMII 2.5Gbps data rate (XAUI) on
J721E EVM
Signed-off-by: Nitin Sakhuja <n-sakhuja@ti.com>
timesync: v2: Relocate PTP demo stack to Enet LLD
PTP demo stack is being moved from PDK timeSync v2 to Enet LLD.
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
PTP demo stack is being moved from PDK timeSync v2 to Enet LLD.
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Bug fix: PDK-10314
- Added changes for configuring DSI lane speed.
- Initializing lanespeed application parameter for DSI lanes before passing it to driver.
- Removed hardcode macro for the DPHY REF_CLK. Using the PMLIB call to get the clock at the runtime.
Signed-off-by: Rishabh Garg <rishabh@ti.com>
- Added changes for configuring DSI lane speed.
- Initializing lanespeed application parameter for DSI lanes before passing it to driver.
- Removed hardcode macro for the DPHY REF_CLK. Using the PMLIB call to get the clock at the runtime.
Signed-off-by: Rishabh Garg <rishabh@ti.com>
[I2C] Enabling j721e mcu3_0 and mcu3_1 cores
- mcu3_0 and mcu3_1 cores for j721e_evm has been enabled
Signed-off-by: chandru dhavamani <chandru@ti.com>
- mcu3_0 and mcu3_1 cores for j721e_evm has been enabled
Signed-off-by: chandru dhavamani <chandru@ti.com>
Disabled SBL app image gen for J784S4
Signed-off-by: Rishabh Garg <rishabh@ti.com>
Signed-off-by: Rishabh Garg <rishabh@ti.com>
Build Fix for PDK
- FATFS should be built only for cores supported by MMCSD
- Removed legacy code
Signed-off-by: Rishabh Garg <rishabh@ti.com>
- FATFS should be built only for cores supported by MMCSD
- Removed legacy code
Signed-off-by: Rishabh Garg <rishabh@ti.com>
J7AHP: Jenkins: Fix: Disable FreeRTOS apps
Remove C7x cores from GPIO baremetal led testapp
Signed-off-by: Lohith Kumar <l-kumar@ti.com>
Remove C7x cores from GPIO baremetal led testapp
Signed-off-by: Lohith Kumar <l-kumar@ti.com>
J784S4: MMCSD: Add MMCSD build support for J784S4
Signed-off-by: Sai Ramakurthi <s-ramakurthi@ti.com>
Signed-off-by: Sai Ramakurthi <s-ramakurthi@ti.com>
Board: Enabled diagnostic tests for j721s2 evm
- Board diagnostic test update from j72s2_bringup branch for master merge
- Board diagnostic test update from j72s2_bringup branch for master merge
Board: Enabled Uniflash flash programmer for j721s2
Fixed packaging issue for OSAL
Signed-off-by: Rishabh Garg <rishabh@ti.com>
Signed-off-by: Rishabh Garg <rishabh@ti.com>
Removed stale IPC examples
- These examples are not valid anymore
- Renamed IPC negative test
Signed-off-by: Rishabh Garg <rishabh@ti.com>
- These examples are not valid anymore
- Renamed IPC negative test
Signed-off-by: Rishabh Garg <rishabh@ti.com>
J7AHP: OSAL: Osal bringup
Signed-off-by: Aditya Wadhwa <a-wadhwa@ti.com>
Signed-off-by: Aditya Wadhwa <a-wadhwa@ti.com>
Removed linker command files for legacy SOCs from build
Signed-off-by: Rishabh Garg <rishabh@ti.com>
Signed-off-by: Rishabh Garg <rishabh@ti.com>
Build fix for J721e
- J721e builds a few apps for baremetal for C66x
- Hence need to retain the linker command file which was removed as part of:
- https://bitbucket.itg.ti.com/projects/PROCESSOR-SDK/repos/pdk/pull-requests/2660/overview
Signed-off-by: Rishabh Garg <rishabh@ti.com>
- J721e builds a few apps for baremetal for C66x
- Hence need to retain the linker command file which was removed as part of:
- https://bitbucket.itg.ti.com/projects/PROCESSOR-SDK/repos/pdk/pull-requests/2660/overview
Signed-off-by: Rishabh Garg <rishabh@ti.com>
IPC Cleanup
- Removed AM64, AM65 SOC
- Removed SYSBIOS/XDC files
Signed-off-by: Rishabh Garg <rishabh@ti.com>
- Removed AM64, AM65 SOC
- Removed SYSBIOS/XDC files
Signed-off-by: Rishabh Garg <rishabh@ti.com>
Build Updates
- Removed unused files from build directory
- Added SBL dummy app for mcu4_0 for mcu4_1 apps in common.mk
- Cleaned up older SOCs/XDC/BIOS defines
Signed-off-by: Rishabh Garg <rishabh@ti.com>
- Removed unused files from build directory
- Added SBL dummy app for mcu4_0 for mcu4_1 apps in common.mk
- Cleaned up older SOCs/XDC/BIOS defines
Signed-off-by: Rishabh Garg <rishabh@ti.com>
[UART]: Enabling UART applications on J7AHP.
Signed-off-by: Mriganka Chakravarty <m-chakravarty@ti.com>
Signed-off-by: Mriganka Chakravarty <m-chakravarty@ti.com>
[J7AHP] Added missing C7x linker command file
Signed-off-by: Rishabh Garg <rishabh@ti.com>
Signed-off-by: Rishabh Garg <rishabh@ti.com>
J7AHP: UDMA: Add linker command file for ospi_test_app
Signed-off-by: Lohith Kumar <l-kumar@ti.com>
Signed-off-by: Lohith Kumar <l-kumar@ti.com>
J7AHP: Example: Add soc specific for j7ahp
Signed-off-by: Lohith Kumar <l-kumar@ti.com>
Signed-off-by: Lohith Kumar <l-kumar@ti.com>
J7AHP: OSAL: Increasing number of tasks and queues for J7AHP
-This is required for PSDK system testing
-This is required for PSDK system testing
sciserver: Check AOP flag before sending ACK/NACK
For TISCI messages ACK/NACK is only send for messages with AOP flag set
in the TISCI header. Check the AOP flag in the TISCI header before
sending ACK/NACK back to the host.
Signed-off-by: Sebin Francis <sebin.francis@ti.com>
For TISCI messages ACK/NACK is only send for messages with AOP flag set
in the TISCI header. Check the AOP flag in the TISCI header before
sending ACK/NACK back to the host.
Signed-off-by: Sebin Francis <sebin.francis@ti.com>
Removed XDC related content from platform.mk
Signed-off-by: Rishabh Garg <rishabh@ti.com>
Signed-off-by: Rishabh Garg <rishabh@ti.com>
Board: Enabled board device library for j784s4 evm
- PDK-11781: Enabled audio codec library
- PDK-11780: Enabled FPD device library for UB960, UB953, UB9702 and
associated sensor module.
- PDK-11781: Enabled audio codec library
- PDK-11780: Enabled FPD device library for UB960, UB953, UB9702 and
associated sensor module.
[I2C]: Enabled drv_i2c_utility app for J7AHP.
Signed-off-by: Mriganka Chakravarty <m-chakravarty@ti.com>
Signed-off-by: Mriganka Chakravarty <m-chakravarty@ti.com>
[GPIO]: GPIO_LedBlink_TestApp is ported for j784s4.
Signed-off-by: Mriganka Chakravarty <m-chakravarty@ti.com>
Signed-off-by: Mriganka Chakravarty <m-chakravarty@ti.com>
[BUILD]: Updated PDK common component for J7AHP.
Signed-off-by: Mriganka Chakravarty <m-chakravarty@ti.com>
Signed-off-by: Mriganka Chakravarty <m-chakravarty@ti.com>
J7AHP: SPI: Removing board related hacks
Signed-off-by: Aditya Wadhwa <a-wadhwa@ti.com>
Signed-off-by: Aditya Wadhwa <a-wadhwa@ti.com>
J7AHP: Sciclient: Fix for C7X cores
Signed-off-by: Aditya Wadhwa <a-wadhwa@ti.com>
Signed-off-by: Aditya Wadhwa <a-wadhwa@ti.com>
Board: Enabled board library build support for j784s4
- All the board functions are empty in this update and provides basic
build support for integrating with apps.
- All the board functions are empty in this update and provides basic
build support for integrating with apps.
[GPIO]: GPIO porting for J7AHP.
Signed-off-by: Mriganka Chakravarty <m-chakravarty@ti.com>
Signed-off-by: Mriganka Chakravarty <m-chakravarty@ti.com>
j7ahp: freertos: Fix freertos lib build failures for C7x cores
- Add defines for CLEC BASE and RTMAP
Signed-off-by: Don Dominic <a0486429@ti.com>
- Add defines for CLEC BASE and RTMAP
Signed-off-by: Don Dominic <a0486429@ti.com>
Fix: J7AHP: Add #endif udma_component
Signed-off-by: Lohith Kumar <l-kumar@ti.com>
Signed-off-by: Lohith Kumar <l-kumar@ti.com>
j7AHP: UDMA: Port driver
- Add additional cores
- Add additonal VPAC and CPSW
Signed-off-by: Lohith Kumar <l-kumar@ti.com>
- Add additional cores
- Add additonal VPAC and CPSW
Signed-off-by: Lohith Kumar <l-kumar@ti.com>
HACK: J7AHP: Add dummy `Board_init` definition
- Add dummy `Board_init` definition until board comes up for ahp.
Signed-off-by: Lohith Kumar <l-kumar@ti.com>
- Add dummy `Board_init` definition until board comes up for ahp.
Signed-off-by: Lohith Kumar <l-kumar@ti.com>
J7AHP: Makefile: Add example build support
Signed-off-by: Lohith Kumar <l-kumar@ti.com>
Signed-off-by: Lohith Kumar <l-kumar@ti.com>
J7AHP: Add udma support for VPAC1 instances.
Signed-off-by: Lohith Kumar <l-kumar@ti.com>
Signed-off-by: Lohith Kumar <l-kumar@ti.com>
Fix: J7AHP: GPIO: Change GIC macro
Signed-off-by: Lohith Kumar <l-kumar@ti.com>
Signed-off-by: Lohith Kumar <l-kumar@ti.com>
[UART]: Adding j784s4 in UART common makefile.
Signed-off-by: Mriganka Chakravarty <m-chakravarty@ti.com>
Signed-off-by: Mriganka Chakravarty <m-chakravarty@ti.com>
Disabled sciclient FW app for J7AHP
Signed-off-by: Rishabh Garg <rishabh@ti.com>
Signed-off-by: Rishabh Garg <rishabh@ti.com>
osal_freertos: j7ahp: Enable OSAL FreeRTOS lib for j784s4
- Add j784s4 to libosal_freertos_SOCLIST
Signed-off-by: Don Dominic <a0486429@ti.com>
- Add j784s4 to libosal_freertos_SOCLIST
Signed-off-by: Don Dominic <a0486429@ti.com>
build: j7ahp: Add CFLAGS and LNKFLAGS for c7x_3 and c7x_4 build
- Add required CFLAGS and LNKFLAGS for c7x_3 and c7x_4
Signed-off-by: Don Dominic <a0486429@ti.com>
- Add required CFLAGS and LNKFLAGS for c7x_3 and c7x_4
Signed-off-by: Don Dominic <a0486429@ti.com>
j7ahp: Fix c7x_3 c7_4 build
- Enabled c7x_3 and c7x_4 as well to C7x ISA
Signed-off-by: Don Dominic <a0486429@ti.com>
- Enabled c7x_3 and c7x_4 as well to C7x ISA
Signed-off-by: Don Dominic <a0486429@ti.com>
[HACK] j7ahp: board: Package Build Fixes
- Comment packaging of files and folders not yet added for j7ahp in board/
Signed-off-by: Don Dominic <a0486429@ti.com>
- Comment packaging of files and folders not yet added for j7ahp in board/
Signed-off-by: Don Dominic <a0486429@ti.com>
[FVID2]: Enabling basic build for FVID2 on J7AHP.
Signed-off-by: Mriganka Chakravarty <m-chakravarty@ti.com>
Signed-off-by: Mriganka Chakravarty <m-chakravarty@ti.com>
[I2C] Adding basic build support for I2C on J7AHP
Signed-off-by: Mriganka Chakravarty <m-chakravarty@ti.com>
Signed-off-by: Mriganka Chakravarty <m-chakravarty@ti.com>
J7AHP: SPI: Removing hack for UART printf
Fixes: PDK-12014
Signed-off-by: Aditya Wadhwa <a-wadhwa@ti.com>
Fixes: PDK-12014
Signed-off-by: Aditya Wadhwa <a-wadhwa@ti.com>
[IPC] : Changing the final passed string
- Here the final string is changed so that automation can check for this string for pass condition.
Signed-off-by: chandru dhavamani <chandru@ti.com>
- Here the final string is changed so that automation can check for this string for pass condition.
Signed-off-by: chandru dhavamani <chandru@ti.com>
Fixed OSAL makefile
- Added missing MCU and C7x cores for J7AEP/J7AHP
- Removed xdc files from packaging
Signed-off-by: Rishabh Garg <rishabh@ti.com>
- Added missing MCU and C7x cores for J7AEP/J7AHP
- Removed xdc files from packaging
Signed-off-by: Rishabh Garg <rishabh@ti.com>
J7AHP: Issue building memcopy example
UDMA example support has not been added yet cleaning component.mk
Signed-off-by: Lohith Kumar <l-kumar@ti.com>
UDMA example support has not been added yet cleaning component.mk
Signed-off-by: Lohith Kumar <l-kumar@ti.com>
J784S4: SPI: Add SPI driver support
Added McSPI and OSPI support
Fixes: SYSFW-5205
Signed-off-by: Aditya Wadhwa <a-wadhwa@ti.com>
Added McSPI and OSPI support
Fixes: SYSFW-5205
Signed-off-by: Aditya Wadhwa <a-wadhwa@ti.com>
J784S4: GPIO: Minimal GPIO driver addition
Minimal GPIO driver addition to add SPI driver support
Signed-off-by: Aditya Wadhwa <a-wadhwa@ti.com>
Minimal GPIO driver addition to add SPI driver support
Signed-off-by: Aditya Wadhwa <a-wadhwa@ti.com>
J784S4: Board: Minimal board driver addition
Minimal board driver addition to add SPI driver support
Signed-off-by: Aditya Wadhwa <a-wadhwa@ti.com>
Minimal board driver addition to add SPI driver support
Signed-off-by: Aditya Wadhwa <a-wadhwa@ti.com>
[UART]: Enabling basic build for UART on J7AHP
Signed-off-by: Mriganka Chakravarty <m-chakravarty@ti.com>
Signed-off-by: Mriganka Chakravarty <m-chakravarty@ti.com>
[IPC] : Fix for the sciclient for ipc_echo_test
- ipc_echo_test is used to communicate between the cores in the EVM.
- Global variable has been created to check sciclient_init is completed
- Reason - UART_printf can be used only after sciclient_init
Signed-off-by: chandru dhavamani <chandru@ti.com>
- ipc_echo_test is used to communicate between the cores in the EVM.
- Global variable has been created to check sciclient_init is completed
- Reason - UART_printf can be used only after sciclient_init
Signed-off-by: chandru dhavamani <chandru@ti.com>
J7AHP: Add build support for UDMA
- Add makefile support for basic build
- Update TISCI event macros
Signed-off-by: Lohith Kumar <l-kumar@ti.com>
- Add makefile support for basic build
- Update TISCI event macros
Signed-off-by: Lohith Kumar <l-kumar@ti.com>
J7AHP: UDMA: Creation dummy SOC specific files
Creating SOC specific files by using j721s2 SOC specific data
Signed-off-by: l-kumar <a0492259@ti.com>
Creating SOC specific files by using j721s2 SOC specific data
Signed-off-by: l-kumar <a0492259@ti.com>
PDK-11855:j7200:Board: Removed hard-coded delay loops in j7200 ddr config
[PDK-10132] Board: Added optimized DDR configuration for j7200
- J7200 with new device substrarte can work with optimized DDR
configurations. Updated board library to swicth between the DDR
configurations based on the device revision.
- J7200 with new device substrarte can work with optimized DDR
configurations. Updated board library to swicth between the DDR
configurations based on the device revision.
J721S2_HS: Enable HS boot for J721S2
Signed-off-by: Sai Ramakurthi <s-ramakurthi@ti.com>
Signed-off-by: Sai Ramakurthi <s-ramakurthi@ti.com>
J7AHP: Removing mpu cores where they are not supported
Added mpu11, mpu20 and mpu21 to exclude core list
Removed mpu11, mpu20 amd mpu21 from sciclient core list
Signed-off-by: Aditya Wadhwa <a-wadhwa@ti.com>
Added mpu11, mpu20 and mpu21 to exclude core list
Removed mpu11, mpu20 amd mpu21 from sciclient core list
Signed-off-by: Aditya Wadhwa <a-wadhwa@ti.com>
J7AHP: Build: Add build support for mcu4_0 and mcu4_1 cores
Signed-off-by: Aditya Wadhwa <a-wadhwa@ti.com>
Signed-off-by: Aditya Wadhwa <a-wadhwa@ti.com>
J7AHP: Sciclient: sciclient ccs init and sciserver testapp added
Signed-off-by: Aditya Wadhwa <a-wadhwa@ti.com>
Signed-off-by: Aditya Wadhwa <a-wadhwa@ti.com>
J7AHP: Build: Add build support and scilient/sciserver support
Adds basic build support for J784S4 along with
sciclient/sciserver soc data.
Fixes: PDK-11019
Fixes: PDK-11087
Signed-off-by: Aditya Wadhwa <a-wadhwa@ti.com>
Adds basic build support for J784S4 along with
sciclient/sciserver soc data.
Fixes: PDK-11019
Fixes: PDK-11087
Signed-off-by: Aditya Wadhwa <a-wadhwa@ti.com>
J7AHP: OSAL: Add basic OSAL/TimerP support
Added OSAL/TimerP support for J784S4. Required
for sciclient/sciserver builds.
Signed-off-by: Aditya Wadhwa <a-wadhwa@ti.com>
Added OSAL/TimerP support for J784S4. Required
for sciclient/sciserver builds.
Signed-off-by: Aditya Wadhwa <a-wadhwa@ti.com>
Keywriter changes reverted as we dont need Keywriter changes from j721s2_bringup
Signed-off-by: Mriganka Chakravarty <m-chakravarty@ti.com>
Signed-off-by: Mriganka Chakravarty <m-chakravarty@ti.com>
Fixed packaging for IPC
- Build failures got introduced due to wrong packaging
Signed-off-by: Rishabh Garg <rishabh@ti.com>
- Build failures got introduced due to wrong packaging
Signed-off-by: Rishabh Garg <rishabh@ti.com>
OSPI: J721E: Enable write completion autopolling for j721e
Enables write completion autopolling to match a recent
change in the definition of the CSL function which was
causing failure of the OSPI UT
Fixes: PDK-11994
Signed-off-by: Aditya Wadhwa <a-wadhwa@ti.com>
Enables write completion autopolling to match a recent
change in the definition of the CSL function which was
causing failure of the OSPI UT
Fixes: PDK-11994
Signed-off-by: Aditya Wadhwa <a-wadhwa@ti.com>
[QNX] board: Add build support for j721s2
Signed-off-by: Praveen Rao <prao@ti.com>
Signed-off-by: Praveen Rao <prao@ti.com>
[QNX] ipc: Add build support for j721s2
Signed-off-by: Praveen Rao <prao@ti.com>
Signed-off-by: Praveen Rao <prao@ti.com>
[QNX] sciclient: Add build support for j721s2
Signed-off-by: Praveen Rao <prao@ti.com>
Signed-off-by: Praveen Rao <prao@ti.com>
[QNX] ipc: Fix typo in the qnx ipc osal
Signed-off-by: Praveen Rao <prao@ti.com>
Signed-off-by: Praveen Rao <prao@ti.com>