[PATCH v11 00/11] Add support for dynamic MMU configuration

Tom Rini trini at konsulko.com
Wed Oct 22 22:14:28 CEST 2025


On Fri, 17 Oct 2025 18:45:22 +0530, Anshul Dalal wrote:

> In U-Boot, TI only provides a single memory map for all k3 platforms, this
> does not scale for devices where atf and optee lie outside the range 0x80000000
> - 0x80080000 and 0x9e780000 - 0xa0000000 respectively.
> 
> There are also issues for devices with < 2GiB of memory (eg am62SiP with 512MiB
> of RAM) as the maximum size for the first DRAM bank is hardcoded to 2GiB in the
> current memory map. Furthermore the second DRAM bank is mapped even for devices
> that only have a single bank.
> 
> [...]

Applied to u-boot/master, thanks!

[01/11] mach-k3: use minimal memory map for all K3
        commit: 4673c8dcb48d6b14070a4819ee4a6277a0f2daa6
[02/11] mach-k3: use custom enable_cache
        commit: e55e57d240e0bdef604efca5b386978b1c70d513
[03/11] arm: armv8: mmu: export mmu_setup
        commit: 567a683e8ced54c3ffa53f62a4ed7e535268c6f2
[04/11] arm: armv8: invalidate dcache entries on dcache_enable
        commit: 9ebdbbc43e5fb5841d85ec7ebcb1dbf07f4c87b0
[05/11] arm: armv8: mmu: add mem_map_from_dram_banks
        commit: fe2647f2a0d4e4df5d47fdf068aeb2a1edd3d533
[06/11] mach-k3: map all banks using mem_map_from_dram_banks
        commit: f1c694b8fddece279cdd103ae4009bf25345d8e4
[07/11] arm: armv8: mmu: add mmu_unmap_reserved_mem
        commit: 856480eef0a25dde339cce6d1889efdc836c6be8
[08/11] spl: split spl_board_fixups to arch/board specific
        commit: 16ffcff0283d2f10821bad7cbcf89003a86c0063
[09/11] mach-k3: add reserved memory fixups for next boot stage
        commit: 859f68ed2ee7a0c1f88efaeb769202df01ef7a97
[10/11] mach-k3: add carveouts for TFA and optee
        commit: 4f5285f0e640c3e9b40420ba3b11358446646b11
[11/11] arm: mach-k3: reserve space for page table entries
        commit: 342fd918b1bf2f00f52216297d5fe22272e8c7ca
-- 
Tom




More information about the U-Boot mailing list