Skip to contentSkip to conversation

include/configs: ls1012ardb: adjust kernel_addr_r from 0x81000000 to 0x96000000 to get rid of error when boot kernel with booti command in uboot

PATCH New Biwen Li 2 participants 6 messages Jan 10, 2020

lore
Share & tools
lore

Biwen Li

author
#0 lore raw

PATCH 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

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)

---
 include/configs/ls1012ardb.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/configs/ls1012ardb.h +1 -1
index 39166fea7d..41e1bff15b 100644
@@ -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"		\
Signature · 1 line
2.17.1
author
#1 lore raw

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

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)

---
 include/configs/ls1012afrwy.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/configs/ls1012afrwy.h +1 -1
index a2ca326cfc..b5a4bd5412 100644
@@ -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"		\
Signature · 1 line
2.17.1
#2 lore raw

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

Quoted 13 lines

-----Original Message-----
From: U-Boot <[email protected]> On Behalf Of Biwen Li
Sent: Friday, January 10, 2020 7:27 AM
To: Priyanka Jain <[email protected]>; Jagdish Gediya <[email protected]>; Anji Jagarlmudi <[email protected]>
Cc: u-boot at lists.denx.de; Jiafei Pan <[email protected]>; Xiaobo Xie <[email protected]>
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

Quoted 30 lines

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)

---
include/configs/ls1012afrwy.h | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
include/configs/ls1012afrwy.h +1 -2
index a2ca326cfc..b5a4bd5412 100644
@@ -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"		\
--
Quoted 1 line

2.17.1

Priyanka

author
#3 lore raw

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

Quoted 13 lines
Quoted 13 lines

-----Original Message-----
From: U-Boot <[email protected]> On Behalf Of Biwen Li
Sent: Friday, January 10, 2020 7:27 AM
To: Priyanka Jain <[email protected]>; Jagdish Gediya <[email protected]>; Anji Jagarlmudi <[email protected]>
Cc: u-boot at lists.denx.de; Jiafei Pan <[email protected]>; Xiaobo Xie <[email protected]>
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

Quoted 1 line

Shorten the subject

Get it, I will resend it.

Quoted 32 lines
Quoted 30 lines

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)

---
include/configs/ls1012afrwy.h | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
(quoted diff) +0 -0

b/include/configs/ls1012afrwy.h index a2ca326cfc..b5a4bd5412 100644

include/configs/ls1012afrwy.h +1 -2
@@ -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"		\
--
Quoted 1 line

2.17.1

Priyanka

#4 lore raw

PATCH 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

In reply to Biwen Li
Quoted 12 lines

-----Original Message-----
From: U-Boot <[email protected]> On Behalf Of Biwen Li
Sent: Friday, January 10, 2020 7:27 AM
To: Priyanka Jain <[email protected]>; Jagdish Gediya <[email protected]>; Anji Jagarlmudi <[email protected]>
Cc: u-boot at lists.denx.de; Jiafei Pan <[email protected]>; Xiaobo Xie <[email protected]>
Subject: [PATCH 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

Shorten the subject

Quoted 31 lines

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)

---
include/configs/ls1012ardb.h | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
include/configs/ls1012ardb.h index renamed from include/configs/ls1012ardb.h +0 -0

39166fea7d..41e1bff15b 100644

include/configs/ls1012ardb.h +1 -2
@@ -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"		\
--
Quoted 1 line

2.17.1

Priyanka

author
#5 lore raw

PATCH 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

Quoted 13 lines
Quoted 13 lines

-----Original Message-----
From: U-Boot <[email protected]> On Behalf Of Biwen Li
Sent: Friday, January 10, 2020 7:27 AM
To: Priyanka Jain <[email protected]>; Jagdish Gediya <[email protected]>; Anji Jagarlmudi <[email protected]>
Cc: u-boot at lists.denx.de; Jiafei Pan <[email protected]>; Xiaobo Xie <[email protected]>
Subject: [PATCH 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

Quoted 1 line

Shorten the subject

Get it, I will resend it.

Quoted 34 lines
Quoted 32 lines

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)

---
include/configs/ls1012ardb.h | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
(quoted diff) +0 -0

b/include/configs/ls1012ardb.h index 39166fea7d..41e1bff15b 100644

include/configs/ls1012ardb.h +1 -2
@@ -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"		\
--
Quoted 1 line

2.17.1

Priyanka