Message ID | 20200110015718.16262-2-biwen.li@nxp.com |
---|---|
State | New |
Headers | show |
Series | [1/2] include/configs: ls1012ardb: adjust kernel_addr_r from 0x81000000 to 0x96000000 to get rid of error when boot kernel with booti command in uboot | expand |
>-----Original Message----- >From: U-Boot <u-boot-bounces at lists.denx.de> On Behalf Of Biwen Li >Sent: Friday, January 10, 2020 7:27 AM >To: Priyanka Jain <priyanka.jain at nxp.com>; Jagdish Gediya ><jagdish.gediya at nxp.com>; Anji Jagarlmudi <anji.jagarlmudi at nxp.com> >Cc: u-boot at lists.denx.de; Jiafei Pan <jiafei.pan at nxp.com>; Xiaobo Xie ><xiaobo.xie at nxp.com> >Subject: [PATCH 2/2] include/configs: ls1012afrwy: adjust kernel_addr_r from >0x81000000 to 0x96000000 to get rid of error when boot kernel with booti >command in uboot > Shorten the subject >Adjust load address of Image(uncompressed). >It will get rid of error message from uboot when boot kernel with booti >command as follows: >- ERROR: reserving fdt memory region failed (addr=83400000 size=c00000) > >For example: >The Image of linux kernel is growing quite quickly, if Image size is 40 MiB, >kernel_addr_r = 0x81000000, then Image is from 0x81000000 to 0x83800000, >so Image destoryed reserved memory region >(0x81000000 < 0x83400000 < 0x83800000) > >Signed-off-by: Biwen Li <biwen.li at nxp.com> >--- > 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" \ >-- >2.17.1 Priyanka
> > >-----Original Message----- > >From: U-Boot <u-boot-bounces at lists.denx.de> On Behalf Of Biwen Li > >Sent: Friday, January 10, 2020 7:27 AM > >To: Priyanka Jain <priyanka.jain at nxp.com>; Jagdish Gediya > ><jagdish.gediya at nxp.com>; Anji Jagarlmudi <anji.jagarlmudi at nxp.com> > >Cc: u-boot at lists.denx.de; Jiafei Pan <jiafei.pan at nxp.com>; Xiaobo Xie > ><xiaobo.xie at nxp.com> > >Subject: [PATCH 2/2] include/configs: ls1012afrwy: adjust kernel_addr_r > >from > >0x81000000 to 0x96000000 to get rid of error when boot kernel with > >booti command in uboot > > > Shorten the subject Get it, I will resend it. > >Adjust load address of Image(uncompressed). > >It will get rid of error message from uboot when boot kernel with booti > >command as follows: > >- ERROR: reserving fdt memory region failed (addr=83400000 size=c00000) > > > >For example: > >The Image of linux kernel is growing quite quickly, if Image size is 40 > >MiB, kernel_addr_r = 0x81000000, then Image is from 0x81000000 to > >0x83800000, so Image destoryed reserved memory region > >(0x81000000 < 0x83400000 < 0x83800000) > > > >Signed-off-by: Biwen Li <biwen.li at nxp.com> > >--- > > 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" \ > >-- > >2.17.1 > Priyanka
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" \
Adjust load address of Image(uncompressed). It will get rid of error message from uboot when boot kernel with booti command as follows: - ERROR: reserving fdt memory region failed (addr=83400000 size=c00000) For example: The Image of linux kernel is growing quite quickly, if Image size is 40 MiB, kernel_addr_r = 0x81000000, then Image is from 0x81000000 to 0x83800000, so Image destoryed reserved memory region (0x81000000 < 0x83400000 < 0x83800000) Signed-off-by: Biwen Li <biwen.li at nxp.com> --- include/configs/ls1012afrwy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)