From patchwork Fri Jan 10 09:16:04 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Biwen Li X-Patchwork-Id: 239376 List-Id: U-Boot discussion From: biwen.li at nxp.com (Biwen Li) Date: Fri, 10 Jan 2020 17:16:04 +0800 Subject: [RESEND v1 1/2] include/configs: ls1012ardb: adjust kernel_addr_r Message-ID: <20200110091605.31252-1-biwen.li@nxp.com> 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 --- include/configs/ls1012ardb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" \ From patchwork Fri Jan 10 09:16:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Biwen Li X-Patchwork-Id: 239377 List-Id: U-Boot discussion From: biwen.li at nxp.com (Biwen Li) Date: Fri, 10 Jan 2020 17:16:05 +0800 Subject: [RESEND v1 2/2] include/configs: ls1012afrwy: adjust kernel_addr_r In-Reply-To: <20200110091605.31252-1-biwen.li@nxp.com> References: <20200110091605.31252-1-biwen.li@nxp.com> Message-ID: <20200110091605.31252-2-biwen.li@nxp.com> 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 --- include/configs/ls1012afrwy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/ls1012afrwy.h b/include/configs/ls1012afrwy.h index a2ca326cfc..b5a4bd5412 100644 --- a/include/configs/ls1012afrwy.h +++ b/include/configs/ls1012afrwy.h @@ -71,7 +71,7 @@ "fdtheader_addr_r=0x80100000\0" \ "kernelheader_addr_r=0x80200000\0" \ "kernelheader_size=0x40000\0" \ - "kernel_addr_r=0x81000000\0" \ + "kernel_addr_r=0x96000000\0" \ "fdt_addr_r=0x90000000\0" \ "load_addr=0x96000000\0" \ "kernel_size=0x2800000\0" \