| 08ae97c1 | 30-Sep-2025 |
Naman Trivedi <naman.trivedimanojbhai@amd.com> |
fix(versal2): enable graceful system shutdown
Power down the APU cores before sending SYSTEM_SHUTDOWN call to PLM firmware. This ensures graceful system shutdown.
Change-Id: I89a132e72c9a2530620ffb
fix(versal2): enable graceful system shutdown
Power down the APU cores before sending SYSTEM_SHUTDOWN call to PLM firmware. This ensures graceful system shutdown.
Change-Id: I89a132e72c9a2530620ffb58aaec752796d01d3e Signed-off-by: Naman Trivedi <naman.trivedimanojbhai@amd.com>
show more ...
|
| 633cf6b7 | 01-Oct-2025 |
Naman Trivedi <naman.trivedimanojbhai@amd.com> |
fix(versal2): handle debugfs specific APIs before EEMI handler
In Versal Gen 2 SoC, all PM APIs use the extended SMC format including the debugfs-specific APIs. So, call eemi_psci_debugfs_handler be
fix(versal2): handle debugfs specific APIs before EEMI handler
In Versal Gen 2 SoC, all PM APIs use the extended SMC format including the debugfs-specific APIs. So, call eemi_psci_debugfs_handler before eemi_api_handler. This ensures that debugfs-specific PM APIs are handled correctly by TF-A and are not forwarded to the PLM firmware.
Change-Id: Ibab08c851c853a8f4272783b210040ddf7291d76 Signed-off-by: Naman Trivedi <naman.trivedimanojbhai@amd.com>
show more ...
|
| 90294080 | 19-Aug-2025 |
Saivardhan Thatikonda <saivardhan.thatikonda@amd.com> |
feat(versal2): remove handoff entry from tl
In Versal Gen 2, handoff passing mechanism is via transfer list. Transfer list is packaged with handoff addresses of BL32, BL33 along with DT blob as part
feat(versal2): remove handoff entry from tl
In Versal Gen 2, handoff passing mechanism is via transfer list. Transfer list is packaged with handoff addresses of BL32, BL33 along with DT blob as part of it. Once TF-A process the hand off details, rest of the components (primarily U-Boot) should not parse these details at non-secure world.
Post retrieval of handoff information, remove entry point structures catering to OP-TEE and U-Boot.
Change-Id: Ia5ace44de68721dc73f29a07b1e79a9c97e4122a Signed-off-by: Saivardhan Thatikonda <saivardhan.thatikonda@amd.com>
show more ...
|
| b3555f12 | 14-Aug-2025 |
Prasad Kummari <prasad.kummari@amd.com> |
fix(versal2): runtime console in debug mode
Whenever DEBUG is set to 1, the Makefile forces CONSOLE_RUNTIME to pl011, regardless of the user-specified CONSOLE value. This causes a build requested wi
fix(versal2): runtime console in debug mode
Whenever DEBUG is set to 1, the Makefile forces CONSOLE_RUNTIME to pl011, regardless of the user-specified CONSOLE value. This causes a build requested with CONSOLE=pl011_1 to register both pl011_1 and pl011 as boot and runtime consoles. If the hardware is connected only to UART1, this causes TF-A to hang when UART0 is selected as the runtime console, since it waits indefinitely on the transmit FIFO. The fix ensures that, in a DEBUG build, CONSOLE_RUNTIME defaults to the same value as CONSOLE.
Change-Id: I2e29d5b77c43aa65f58224d226683f4a8d94271a Signed-off-by: Prasad Kummari <prasad.kummari@amd.com>
show more ...
|
| 4efae6ab | 04-Jul-2025 |
Prasad Kummari <prasad.kummari@amd.com> |
feat(versal2): add hooks for mmap and early setup
Add early setup hooks through custom_early_setup() and provide a mechanism to support custom memory mapping, including the extension of the memory m
feat(versal2): add hooks for mmap and early setup
Add early setup hooks through custom_early_setup() and provide a mechanism to support custom memory mapping, including the extension of the memory map via custom_mmap_add(). This change may also require alignment of the MAX_XLAT_TABLE and MAX_XLAT_TABLES macros. These can be defined within the custom_pkg.mk makefile as follows:
MAX_MMAP_REGIONS := XY $(eval $(call add_define,MAX_MMAP_REGIONS)) MAX_XLAT_TABLES := XZ $(eval $(call add_define,MAX_XLAT_TABLES))
If PLATFORM_STACK_SIZE is not already defined, a default value should be used. This allows for configurability of the stack size across different interfaces, such as custom packages. The custom_early_setup() function enables early low-level operations to bring the system into a correct state. Support for a custom SiP service is also added. A basic implementation of custom_smc_handler() is provided by the platform, while the actual definition is expected to be supplied by the custom package. This feature is designed for use by external libraries, such as those that require status checking. This code introduces a generic framework for integrating custom logic via the $(CUSTOM_PKG_PATH)/custom_pkg.mk makefile, including optional support for custom SMC functionality, which is determined by the custom package.
Change-Id: I40281acf2dc48be43471b8642e2ab1a93b1cf8f6 Signed-off-by: Prasad Kummari <prasad.kummari@amd.com>
show more ...
|