u-boot/doc/board
Manorit Chawdhry 6cfdf8270e Kconfig: j721e: Change K3_MCU_SCRATCHPAD_BASE to non firewalled region
In non-combined boot flow for K3, all the firewalls are locked by default
until sysfw comes up. Rom configures some of the firewall for its usage
along with the SRAM for R5 but the PSRAM region is still locked.

The K3 MCU Scratchpad for j721e was set to a PSRAM region triggering the
firewall exception before sysfw came up. The exception started happening
after adding multi dtb support that accesses the scratchpad for reading
EEPROM contents.

The commit changes R5 MCU scratchpad for j721e to an SRAM region.

Old Map:
┌─────────────────────────────────────┐ 0x41c00000
│                 SPL                 │
├─────────────────────────────────────┤ 0x41c40000 (approx)
│                STACK                │
├─────────────────────────────────────┤ 0x41c85b20
│             Global data             │
│  sizeof(struct global_data) = 0xd8  │
├─────────────────────────────────────┤ gd->malloc_base = 0x41c85bfc
│                HEAP                 │
│  CONFIG_SYS_MALLOC_F_LEN = 0x70000  │
├─────────────────────────────────────┤ CONFIG_SPL_BSS_START_ADDR
│               SPL BSS               │ (0x41cf5bfc)
│  CONFIG_SPL_BSS_MAX_SIZE = 0xA000   │
└─────────────────────────────────────┘ CONFIG_SYS_K3_BOOT_PARAM_TABLE_INDEX
			                (0x41cffbfc)

New Map:
┌─────────────────────────────────────┐ 0x41c00000
│                 SPL                 │
├─────────────────────────────────────┤ 0x41c40000 (approx)
│                EMPTY                │
├─────────────────────────────────────┤ 0x41c81920
│                STACK                │
│ SPL_SIZE_LIMIT_PROVIDE_STACK=0x4000 │
├─────────────────────────────────────┤ 0x41c85920
│             Global data             │
│  sizeof(struct global_data) = 0xd8  │
├─────────────────────────────────────┤ gd->malloc_base = 0x41c859f0
│                HEAP                 │
│  CONFIG_SYS_MALLOC_F_LEN = 0x70000  │
├─────────────────────────────────────┤ CONFIG_SPL_BSS_START_ADDR
│               SPL BSS               │ (0x41cf59f0)
│  CONFIG_SPL_BSS_MAX_SIZE = 0xA000   │
├─────────────────────────────────────┤ 0x41cff9fc
│         NEW MCU SCRATCHPAD          │
│  SYS_K3_MCU_SCRATCHPAD_SIZE = 0x200 │
└─────────────────────────────────────┘ CONFIG_SYS_K3_BOOT_PARAM_TABLE_INDEX
			                (0x41cffbfc)

Fixes: ab977c8b91 ("configs: j721s2_evm_r5: Enable support for building multiple dtbs into FIT")

Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
[n-francis@ti.com: SRAM allocation addressing diagram]
Signed-off-by: Neha Francis <n-francis@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Kamlesh Gurudasani <kamlesh@ti.com>
2023-05-30 15:13:43 -04:00
..
actions cubieboard7: Remove ARCH= references from documentation 2020-06-02 17:27:04 -04:00
advantech imx: support i.MX8QM DMSSE20 a1 board 2023-05-02 10:57:32 +02:00
allwinner sunxi: add board documentation 2021-12-31 06:44:51 +01:00
amlogic doc: boards: amlogic: add documentation for Beelink GT1 Ultimate 2023-04-17 11:06:08 +02:00
anbernic board: rockchip: add Anbernic RGXX3 Series Devices 2023-05-06 17:45:05 +08:00
AndesTech riscv: Rename Andes cpu and board names 2023-02-17 19:07:48 +08:00
apple doc: board: apple: Mention M1 Ultra support 2022-04-23 22:05:33 +02:00
armltd vexpress64: Add ARMv8R-64 board variant 2022-04-01 15:03:03 -04:00
atmel doc: board: Add missing board index.rst files 2019-07-29 09:32:08 -04:00
beacon arm64: imx: Add support for imx8mp-beacon-kit 2023-04-04 09:40:25 +02:00
broadcom board: Add new Broadcom Northstar board 2023-05-02 14:23:58 -04:00
bsh bsh: imx8mn-smm-s2/pro: Add iMX8MN BSH SMM S2 boards 2022-04-12 19:10:44 +02:00
cloos imx8mm-phg: Add board support 2023-01-30 23:23:02 +01:00
congatec imx: Suggest the NXP ATF github repo 2023-01-31 16:02:05 +01:00
coreboot x86: coreboot: Document how to enable the debug UART 2023-05-11 10:25:29 +08:00
emulation doc: fix references to distro documentation 2023-01-20 16:38:52 +01:00
gateworks board: gateworks: venice: move README to RST 2023-02-19 21:15:15 +01:00
google x86: Fix saying arch_cpu_init_dm in debug/docs 2023-01-18 12:46:13 -05:00
highbank doc: board: Add Calxeda Highbank/Midway documentation 2021-12-18 12:05:19 +01:00
intel x86: minnowmax: Fix up adjustment of CONFIG_TEXT_BASE 2023-03-27 09:38:44 +08:00
kontron doc: sl-mx8mm: Fix mistake in merge conflict resolution 2023-03-30 08:40:27 +02:00
mediatek doc: mediatek: add documentation for mt7621 reference boards 2022-07-13 23:03:37 +02:00
microchip doc: board: typo GIUD Microchip MPFS Icicle Kit doc 2022-12-02 19:17:24 +01:00
nokia Nokia RX-51: Document debugging options and compile command 2022-11-21 09:23:00 -05:00
nxp imx: Suggest the NXP ATF github repo 2023-01-31 16:02:05 +01:00
openpiton doc: fix board/openpiton/riscv64.rst 2021-07-24 10:49:51 +02:00
purism board: purism: add the Purism Librem5 phone 2022-09-18 22:56:10 +02:00
qualcomm board: Fix documentation for Snapdragon based Samsung and Qualcomm boards 2023-05-03 09:05:22 -04:00
renesas doc: renesas: add Renesas board docs 2023-05-13 04:24:05 +02:00
rockchip doc: rockchip: update list of Radxa ROCK (Pi) 4 boards 2023-05-09 22:50:01 +08:00
samsung board: axy17lte: get board usable - add bootcmd and docs 2022-04-04 19:02:03 -04:00
siemens iot2050: Add support for configuring M.2 connector 2023-03-29 11:58:26 -04:00
sifive doc: correct HiFive Unmatched boot description 2023-05-04 09:57:43 +02:00
sipeed Rename CONFIG_SYS_TEXT_BASE to CONFIG_TEXT_BASE 2022-10-31 11:01:31 -04:00
socionext board: synquacer: Add DeveloperBox 96boards EE support 2021-07-06 14:11:50 -04:00
st doc: add rst references to distro documentation in stm32mp1 board 2023-01-27 18:31:59 +01:00
starfive doc: fix StarFive VisionFive v2 documentation 2023-05-04 09:57:43 +02:00
ste board: stemmy: Update documentation 2021-09-01 19:25:37 -04:00
tbs doc: fix references to distro documentation 2023-01-20 16:38:52 +01:00
ti Kconfig: j721e: Change K3_MCU_SCRATCHPAD_BASE to non firewalled region 2023-05-30 15:13:43 -04:00
toradex imx: Suggest the NXP ATF github repo 2023-01-31 16:02:05 +01:00
variscite imx8mn_var_som: Add support for Variscite VAR-SOM-MX8M-NANO board 2022-02-05 13:38:39 +01:00
xen doc: xen: Add Xen guest ARM64 board documentation 2020-08-14 15:18:30 -04:00
xilinx doc: board: xilinx: Add documentation for ZynqMP R5 2020-10-27 08:01:36 +01:00
index.rst doc: renesas: add Renesas board docs 2023-05-13 04:24:05 +02:00