diff mbox series

[RESEND,v1,1/2] include/configs: ls1012ardb: adjust kernel_addr_r

Message ID 20200110091605.31252-1-biwen.li@nxp.com
State Accepted
Commit 63d3464d2e72158e2d6f20c187be0a066b5d8577
Headers show
Series [RESEND,v1,1/2] include/configs: ls1012ardb: adjust kernel_addr_r | expand

Commit Message

Biwen Li Jan. 10, 2020, 9:16 a.m. UTC
The linux kernel Image is growing quite quickly,
if kernel Image size grow beyond 36 MB then
kernel Image at load address 0x81000000
overlaps with the reserved memory region
at 0x83400000.

Adjust kernel load address(kernel_addr_r) from
0x81000000 to 0x96000000 to avoid kernel Image
overlapping with reserved memory region.

This change fixes the below U-Boot error while
booting uncompressed kernel Image through booti command,
ERROR: reserving fdt memory region failed (addr=83400000 size=c00000)

Signed-off-by: Biwen Li <biwen.li at nxp.com>
---
 include/configs/ls1012ardb.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Priyanka Jain Jan. 27, 2020, 6:11 a.m. UTC | #1
>-----Original Message-----
>From: Biwen Li <biwen.li at nxp.com>
>Sent: Friday, January 10, 2020 2:46 PM
>To: Priyanka Jain <priyanka.jain at nxp.com>; Jagdish Gediya
><jagdish.gediya at nxp.com>; Anji Jagarlmudi <anji.jagarlmudi at nxp.com>
>Cc: Jiafei Pan <jiafei.pan at nxp.com>; Xiaobo Xie <xiaobo.xie at nxp.com>; u-
>boot at lists.denx.de; Biwen Li <biwen.li at nxp.com>
>Subject: [RESEND v1 1/2] include/configs: ls1012ardb: adjust kernel_addr_r
>
>The linux kernel Image is growing quite quickly, if kernel Image size grow
>beyond 36 MB then kernel Image at load address 0x81000000 overlaps with
>the reserved memory region at 0x83400000.
>
>Adjust kernel load address(kernel_addr_r) from
>0x81000000 to 0x96000000 to avoid kernel Image overlapping with reserved
>memory region.
>
>This change fixes the below U-Boot error while booting uncompressed kernel
>Image through booti command,
>ERROR: reserving fdt memory region failed (addr=83400000 size=c00000)
>
>Signed-off-by: Biwen Li <biwen.li at nxp.com>
>---
Series applied in u-boot-fsl-qoriq
-priyankajain
diff mbox series

Patch

diff --git a/include/configs/ls1012ardb.h b/include/configs/ls1012ardb.h
index 39166fea7d..41e1bff15b 100644
--- a/include/configs/ls1012ardb.h
+++ b/include/configs/ls1012ardb.h
@@ -71,7 +71,7 @@ 
 	"scripthdraddr=0x80080000\0"		\
 	"fdtheader_addr_r=0x80100000\0"		\
 	"kernelheader_addr_r=0x80200000\0"	\
-	"kernel_addr_r=0x81000000\0"		\
+	"kernel_addr_r=0x96000000\0"		\
 	"fdt_addr_r=0x90000000\0"		\
 	"load_addr=0xa0000000\0"		\
 	"kernel_size=0x2800000\0"		\