[PDK-13972]: Added sciserver and rmpmhal version header files -Sciserver amd rmpmhal version header files are autogenerated on pdk build using generator shell scripts. -This is disabled in windows builds[PDK-12986] and results in build errors while building sciserver_tirtos -Now windows will use the default header files included in the package and it will be regenerated/overwritten for linux builds Signed-off-by: S Likhith <likhith@ti.com>
[PDK-13988][SCICLIENT]: Removes PM Domain Reset from sciclient_firmware_boot_testapp PM domain reset fails currently. This causes the sciclient_firmware_boot_testapp to hang. PM domain reset need not be tested as a part of this testapp. Hence removing it. Signed-off-by: S Likhith <likhith@ti.com>
[OSAL]: Added Extended source file for Load Submodule - Removed Osal load test from osal_extended_testapp.c file - Added them to submodule specific test file. - Driver change for LoadP static APIs - Added Negative test for LoadP_calcCounterDiff API Signed-off-by: Asha <x1101668@ti.com>
[OSAL]: Added separate extended testapp for EventP Submodule - Remove OSAL EventP tests from osal_extended_testapp.c. - Added them to submodule specific file. - Added Zero Allocation count test in the negative test Signed-off-by: Asha <x1101668@ti.com>
[OSAL]: Fix OSAL extended testapp. - General tests and negative tests were swapped. - Name the tests correctly - Negative test was not getting called. - Add a call to the negative test. Signed-off-by: Mriganka Chakravarty <m-chakravarty@ti.com>
[OSAL]: Added new testcases for the Sub-modules - Multiple Mutex create test - Null checks on Heap API's - Utils nonos test - CycleProfiler test - Enabled Hwi Null check test Signed-off-by: Asha <x1101668@ti.com>
[OSAL]: Added tescases for Submodule 1. Added Negative testcase for Hwi Submodule - OsalApp_hwiDeleteNegativeTest 2. Added test for zero Allocation Count check for QueueP_delete 3. Added test for zero Allocation count check for Heap_delete Signed-off-by: Asha <x1101668@ti.com>
Enable IPC extended app only for J784S4 - IPC extended app is not validated for all SOCs and all cores - Inadvertently it was enabled for all SOCs and all cores - Limited the app to j784s4 and mcu1_0 where this app is validated and working Signed-off-by: Rishabh Garg <rishabh@ti.com>
Fix OSPI U-boot from SBL - Linux tag 09.02.00.005 has some dma related issues which causes hang in u-boot while booting from OSPI - Updated U-boot binaries with 09.02.00.006 linux tag Signed-off-by: Sai Ramakurthi <s-ramakurthi@ti.com>
[PDK-13952][IPC]: Reset VRing queues after an RTOS firmware is shutting down. - After RTOS firmware is shut down and reloaded, it does a VirtIO init. - This resets all the queue indices at the remote core end. - Self core should also reset its indices to stay in sync with the remote core. - This is done after the remote RTOS core advertises that it is shutting down. Signed-off-by: Mriganka Chakravarty <m-chakravarty@ti.com>
[IPC] Added graceful shutdown feature - Current IPC driver uses mailbox to send kick(interrupt) to remote processor and actual message is written to vring memory - Updated IPC driver to add callback in case remote processor sends actual message via mailbox. This will be used for sending shutdown message - Modified mailbox ISR to identify the mailbox message: do normal processing if it is not a shutdown message. For shutdown message ensure all previous messages are processed and then call the callback API, rpMboxMsgFxn - Added the list of RP mailbox messages currently available in Linux - In application callback ensured that all IPC tasks are unblocked so that core can go to WFI - Updated IPC example to invoke below sequence on receiving shutdown message: * Close open drivers: Sciclient in this case * Disable all interrupts * Send shutdown ack to remote core (MPU in this case) * Put the core to WFI
[PDK-13980] Fix Boot App OSPI - Boot App OSPI uses sbl libraries - Upon enabling DMA in the SBL, the SBL starts linking to the spi_dma library instead of spi library. However, the boot app continues to link to the standard spi library, resulting in a data mismatch when reading from OSPI flash memory. - Modified the code to link the spi_dma library instead of spi library - Updated the fp_readData() function pointer to use Board_flashRead() instead of memcpy because DMA is now enabled Signed-off-by: Sai Ramakurthi <s-ramakurthi@ti.com>
PDK-13770: Board: Added return value check for Board MMR ctrl function - Board_pinmuxKickCtrl function used to lock/unlock the PADCONFIG MMR registers during pinmux configuration returns the lock/unlock status which is not checked by pinmux config functions. In case of failure to unlock the MMR registers, pinmux configuration will fail but proper error status wont be sent to the calling function as the Board_pinmuxKickCtrl function return is not checked. - Updated pinmux config code to check the return value of Board_pinmuxKickCtrl function and return proper status to the caller functions.
PDK-12063: Board: Removed unused board init macros - Each bit of Board config parameter selects the functionality of Board init API allowing maximum 32 different configurations. Board init macros are used to select the config parameter. All the 32 bins of the config parameter are currently in use and it is not possible to add new functionality to Board init API to due to limitation of 32 board init flags/macros. - There are multiple board config functionalities applicable to legacy Jacinto platforms which are not currently supported in PDK. Removing the board init macros related to legacy platforms to allow more board init flags on J7 platforms.