diff mbox series

[U-Boot] arm64: zynqmp: Update scriptaddr value to 512MB

Message ID beb2cd825b4426f8e986da2326b8d9b1dfb8569c.1568189248.git.michal.simek@xilinx.com
State Accepted
Commit 81764f5361dbd95a5468435faedbff0bc06155fe
Delegated to: Michal Simek
Headers show
Series [U-Boot] arm64: zynqmp: Update scriptaddr value to 512MB | expand

Commit Message

Michal Simek Sept. 11, 2019, 8:07 a.m. UTC
From: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>

This patch updates scriptaddr value to 512MB as having it at 32MB has high
chance of script corruption incase of bigger kernel.

Be aware that 512MB is used for SPL malloc area that's why images should be
loaded after SPL (the best after u-boot relocation).

Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

 include/configs/xilinx_zynqmp.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Michal Simek Oct. 8, 2019, 7:37 a.m. UTC | #1
st 11. 9. 2019 v 10:07 odesílatel Michal Simek <michal.simek@xilinx.com> napsal:
>
> From: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
>
> This patch updates scriptaddr value to 512MB as having it at 32MB has high
> chance of script corruption incase of bigger kernel.
>
> Be aware that 512MB is used for SPL malloc area that's why images should be
> loaded after SPL (the best after u-boot relocation).
>
> Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> ---
>
>  include/configs/xilinx_zynqmp.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/configs/xilinx_zynqmp.h b/include/configs/xilinx_zynqmp.h
> index cdcf853fceb3..791719147ce2 100644
> --- a/include/configs/xilinx_zynqmp.h
> +++ b/include/configs/xilinx_zynqmp.h
> @@ -112,7 +112,7 @@
>         "fdt_addr_r=0x40000000\0" \
>         "pxefile_addr_r=0x10000000\0" \
>         "kernel_addr_r=0x18000000\0" \
> -       "scriptaddr=0x02000000\0" \
> +       "scriptaddr=0x20000000\0" \
>         "ramdisk_addr_r=0x02100000\0" \
>         "script_offset_f=0x3e80000\0" \
>         "script_size_f=0x80000\0" \
> --
> 2.17.1
>

Applied.
M
diff mbox series

Patch

diff --git a/include/configs/xilinx_zynqmp.h b/include/configs/xilinx_zynqmp.h
index cdcf853fceb3..791719147ce2 100644
--- a/include/configs/xilinx_zynqmp.h
+++ b/include/configs/xilinx_zynqmp.h
@@ -112,7 +112,7 @@ 
 	"fdt_addr_r=0x40000000\0" \
 	"pxefile_addr_r=0x10000000\0" \
 	"kernel_addr_r=0x18000000\0" \
-	"scriptaddr=0x02000000\0" \
+	"scriptaddr=0x20000000\0" \
 	"ramdisk_addr_r=0x02100000\0" \
 	"script_offset_f=0x3e80000\0" \
 	"script_size_f=0x80000\0" \