Skip to contentSkip to conversation

ls2-2085a: Increase default hugepage count

PATCH New Ashish Kumar 4 participants 11 messages Jan 14, 2016 – Feb 24, 2016 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ls2-2085a: Increase default hugepage count

* Increase default hugepage count to 256 from 16
* Note: default env variables are stored at 0x580200000/0x584200000

    of size 0x2000
---
 include/configs/ls2080a_common.h |    2 +-
 include/configs/ls2080ardb.h     |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
include/configs/ls2080a_common.h +1 -1
index 4ae7d11..a503934 100644
@@ -272,7 +272,7 @@ unsigned long long get_qixis_addr(void);
 #define CONFIG_BOOTARGS		"console=ttyS0,115200 root=/dev/ram0 " \
 				"earlycon=uart8250,mmio,0x21c0500" \
 				"ramdisk_size=0x2000000 default_hugepagesz=2m" \
-				" hugepagesz=2m hugepages=16"
+				" hugepagesz=2m hugepages=256"
 #define CONFIG_BOOTCOMMAND		"cp.b $kernel_start $kernel_load "     \
 					"$kernel_size && bootm $kernel_load"
 #define CONFIG_BOOTDELAY		10
include/configs/ls2080ardb.h +1 -1
index 116dbcd..356d254 100644
@@ -333,7 +333,7 @@ unsigned long get_board_sys_clk(void);
 #define CONFIG_BOOTARGS		"console=ttyS1,115200 root=/dev/ram0 " \
 				"earlycon=uart8250,mmio,0x21c0600" \
 				"ramdisk_size=0x2000000 default_hugepagesz=2m" \
-				" hugepagesz=2m hugepages=16"
+				" hugepagesz=2m hugepages=256"
 
 /* MAC/PHY configuration */
 #ifdef CONFIG_FSL_MC_ENET
Signature · 1 line
1.7.6.GIT
#1 lore raw

PATCH 1/1 ls2-2085ardb: Correct the model name of ls2085ardb

---
 arch/arm/dts/fsl-ls2080a-rdb.dts |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/dts/fsl-ls2080a-rdb.dts +1 -1
index 1a1813b..71d1969 100644
@@ -11,7 +11,7 @@
 #include "fsl-ls2080a.dtsi"
 
 / {
-	model = "Freescale Layerscape 2080a RDB Board";
+	model = "Freescale Layerscape 2085a RDB Board";
 	compatible = "fsl,ls2080a-rdb", "fsl,ls2080a";
 
 	aliases {
Signature · 1 line
1.7.6.GIT
#2 lore raw

PATCH 1/1 ls2-2085ardb: Correct the model name of ls2085ardb

Quoted 11 lines · Ashish Kumar
---
 arch/arm/dts/fsl-ls2080a-rdb.dts |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/dts/fsl-ls2080a-rdb.dts +0 -0
index 1a1813b..71d1969 100644

arch/arm/dts/fsl-ls2080a-rdb.dts line 17

Quoted 8 lines
arch/arm/dts/fsl-ls2080a-rdb.dts +1 -1
@@ -11,7 +11,7 @@
 #include "fsl-ls2080a.dtsi"
 
 / {
-	model = "Freescale Layerscape 2080a RDB Board";
+	model = "Freescale Layerscape 2085a RDB Board";
 	compatible = "fsl,ls2080a-rdb", "fsl,ls2080a";
 
 	aliases {

Ashish,

Why change this? This product has been renamed to LS2080A.

York

#3 lore raw

PATCH 1/1 ls2-2085ardb: Correct the model name of ls2085ardb

Quoted 27 lines

-----Original Message-----
From: york sun [mailto:york.sun at nxp.com]
Sent: Thursday, January 14, 2016 10:36 PM
To: Ashish Kumar <[email protected]>; u-boot at lists.denx.de
Cc: Prabhakar Kushwaha <[email protected]>
Subject: Re: [PATCH] ls2-2085ardb: Correct the model name of ls2085ardb

arch/arm/dts/fsl-ls2080a-

Quoted 6 lines · Ashish Kumar
---
 arch/arm/dts/fsl-ls2080a-rdb.dts |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/dts/fsl-ls2080a- renamed from arch/arm/dts/fsl-ls2080a-rdb.dts +0 -0

rdb.dts

Quoted 11 lines

index 1a1813b..71d1969 100644

arch/arm/dts/fsl-ls2080a-rdb.dts +1 -1
@@ -11,7 +11,7 @@
 #include "fsl-ls2080a.dtsi"
 
 / {
-	model = "Freescale Layerscape 2080a RDB Board";
+	model = "Freescale Layerscape 2085a RDB Board";
 	compatible = "fsl,ls2080a-rdb", "fsl,ls2080a";
 
Quoted 7 lines

arch/arm/dts/fsl-ls2080a-rdb.dts line 17

Quoted 2 lines
arch/arm/dts/fsl-ls2080a-rdb.dts +0 -0
 	aliases {

Ashish,

Why change this? This product has been renamed to LS2080A.

LS2085ARDB is a platform/board hosting LS2080A, LS2085A and LS2088A.

This is the reason board name is being updated.

--prabhakar

#4 lore raw

PATCH 1/1 ls2-2085ardb: Correct the model name of ls2085ardb

Quoted 32 lines · Prabhakar Kushwaha
Quoted 32 lines

-----Original Message-----
From: york sun [mailto:york.sun at nxp.com]
Sent: Thursday, January 14, 2016 10:36 PM
To: Ashish Kumar <[email protected]>; u-boot at lists.denx.de
Cc: Prabhakar Kushwaha <[email protected]>
Subject: Re: [PATCH] ls2-2085ardb: Correct the model name of ls2085ardb

arch/arm/dts/fsl-ls2080a-

Quoted 6 lines · Ashish Kumar
---
 arch/arm/dts/fsl-ls2080a-rdb.dts |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/dts/fsl-ls2080a- renamed from arch/arm/dts/fsl-ls2080a-rdb.dts +0 -0

rdb.dts

arch/arm/dts/fsl-ls2080a-rdb.dts line 17

Quoted 13 lines

index 1a1813b..71d1969 100644

arch/arm/dts/fsl-ls2080a-rdb.dts +1 -1
@@ -11,7 +11,7 @@
 #include "fsl-ls2080a.dtsi"
 
 / {
-	model = "Freescale Layerscape 2080a RDB Board";
+	model = "Freescale Layerscape 2085a RDB Board";
 	compatible = "fsl,ls2080a-rdb", "fsl,ls2080a";
 
 	aliases {

Ashish,

Quoted 7 lines
Quoted 2 lines

Why change this? This product has been renamed to LS2080A.

LS2085ARDB is a platform/board hosting LS2080A, LS2085A and LS2088A.

This is the reason board name is being updated.

Prabhakar,

You changed the name from LS2085A to LS2080A not long ago, including the board LS2085ARDB, stating LS2080A is the prime personality. Now you want to change it back? You have to give a good reason.

York

#5 lore raw

PATCH 1/1 ls2-2085ardb: Correct the model name of ls2085ardb

Quoted 48 lines

-----Original Message-----
From: york sun
Sent: Wednesday, January 20, 2016 12:02 AM
To: Prabhakar Kushwaha <[email protected]>; Ashish Kumar <[email protected]>; u-boot at lists.denx.de
Subject: Re: [PATCH] ls2-2085ardb: Correct the model name of ls2085ardb

Quoted 39 lines · Prabhakar Kushwaha
Quoted 29 lines

-----Original Message-----
From: york sun [mailto:york.sun at nxp.com]
Sent: Thursday, January 14, 2016 10:36 PM
To: Ashish Kumar <[email protected]>; u-boot at lists.denx.de
Cc: Prabhakar Kushwaha <[email protected]>
Subject: Re: [PATCH] ls2-2085ardb: Correct the model name of ls2085ardb

arch/arm/dts/fsl-ls2080a-

Quoted 7 lines · Ashish Kumar
---
 arch/arm/dts/fsl-ls2080a-rdb.dts |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/dts/fsl-ls2080a- renamed from arch/arm/dts/fsl-ls2080a-rdb.dts +0 -0

rdb.dts

Quoted 11 lines

index 1a1813b..71d1969 100644

arch/arm/dts/fsl-ls2080a-rdb.dts +1 -1
@@ -11,7 +11,7 @@
 #include "fsl-ls2080a.dtsi"
 
 / {
-	model = "Freescale Layerscape 2080a RDB Board";
+	model = "Freescale Layerscape 2085a RDB Board";
 	compatible = "fsl,ls2080a-rdb", "fsl,ls2080a";
 
Quoted 7 lines

arch/arm/dts/fsl-ls2080a-rdb.dts line 17

Quoted 2 lines
arch/arm/dts/fsl-ls2080a-rdb.dts +0 -0
 	aliases {

Ashish,

Why change this? This product has been renamed to LS2080A.

LS2085ARDB is a platform/board hosting LS2080A, LS2085A and LS2088A.

Quoted 9 lines
Quoted 2 lines

This is the reason board name is being updated.

Prabhakar,

You changed the name from LS2085A to LS2080A not long ago, including the board LS2085ARDB, stating LS2080A is the prime personality. Now you want to change it back? You have to give a good reason.

LS2080A and LS2085A name is correct.

Things nail down to platform/board which will host the SoC. LS2085ARDB "board" will host both LS2080A, LS2085A and in future LS2088A. Same name is printed on the board. So to avoid confusion board name has been updated.

looks like v2 of this patch is required, as in board/Freescale/ls2080rdb.c board name is printed as per SoC name with suffix of QDS or RDB.

--prabhakar

#6 lore raw

PATCH 1/1 ls2-2085a: Increase default hugepage count

In reply to Ashish Kumar
Quoted 4 lines · Ashish Kumar

* Increase default hugepage count to 256 from 16
* Note: default env variables are stored at 0x580200000/0x584200000

    of size 0x2000

Ashish,

What does the default env location have anything to do with this patch?

York

Quoted 33 lines
---
 include/configs/ls2080a_common.h |    2 +-
 include/configs/ls2080ardb.h     |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
include/configs/ls2080a_common.h +1 -1
index 4ae7d11..a503934 100644
@@ -272,7 +272,7 @@ unsigned long long get_qixis_addr(void);
 #define CONFIG_BOOTARGS		"console=ttyS0,115200 root=/dev/ram0 " \
 				"earlycon=uart8250,mmio,0x21c0500" \
 				"ramdisk_size=0x2000000 default_hugepagesz=2m" \
-				" hugepagesz=2m hugepages=16"
+				" hugepagesz=2m hugepages=256"
 #define CONFIG_BOOTCOMMAND		"cp.b $kernel_start $kernel_load "     \
 					"$kernel_size && bootm $kernel_load"
 #define CONFIG_BOOTDELAY		10
include/configs/ls2080ardb.h +1 -1
index 116dbcd..356d254 100644
@@ -333,7 +333,7 @@ unsigned long get_board_sys_clk(void);
 #define CONFIG_BOOTARGS		"console=ttyS1,115200 root=/dev/ram0 " \
 				"earlycon=uart8250,mmio,0x21c0600" \
 				"ramdisk_size=0x2000000 default_hugepagesz=2m" \
-				" hugepagesz=2m hugepages=16"
+				" hugepagesz=2m hugepages=256"
 
 /* MAC/PHY configuration */
 #ifdef CONFIG_FSL_MC_ENET
#7 lore raw

PATCH 1/1 ls2-2085a: Increase default hugepage count

Hello York,

It is like a heads-up, that user needs to erase the environment variable location before flashing a new uboot for the changes to reflect.

Regards
Ashish

-----Original Message-----
From: york sun [mailto:york.sun at nxp.com]
Sent: Monday, February 01, 2016 10:17 PM
To: Ashish Kumar <[email protected]>; u-boot at lists.denx.de
Subject: Re: [PATCH] ls2-2085a: Increase default hugepage count

Quoted 4 lines · Ashish Kumar

* Increase default hugepage count to 256 from 16
* Note: default env variables are stored at 0x580200000/0x584200000

    of size 0x2000

Ashish,

What does the default env location have anything to do with this patch?

York

Quoted 34 lines
---
 include/configs/ls2080a_common.h |    2 +-
 include/configs/ls2080ardb.h     |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
include/configs/ls2080a_common.h +1 -1
index 4ae7d11..a503934 100644
@@ -272,7 +272,7 @@ unsigned long long get_qixis_addr(void);
 #define CONFIG_BOOTARGS		"console=ttyS0,115200 root=/dev/ram0 " \
 				"earlycon=uart8250,mmio,0x21c0500" \
 				"ramdisk_size=0x2000000 default_hugepagesz=2m" \
-				" hugepagesz=2m hugepages=16"
+				" hugepagesz=2m hugepages=256"
 #define CONFIG_BOOTCOMMAND		"cp.b $kernel_start $kernel_load "     \
 					"$kernel_size && bootm $kernel_load"
 #define CONFIG_BOOTDELAY		10
(quoted diff) +0 -0

b/include/configs/ls2080ardb.h index 116dbcd..356d254 100644

include/configs/ls2080ardb.h +1 -1
@@ -333,7 +333,7 @@ unsigned long get_board_sys_clk(void);
 #define CONFIG_BOOTARGS		"console=ttyS1,115200 root=/dev/ram0 " \
 				"earlycon=uart8250,mmio,0x21c0600" \
 				"ramdisk_size=0x2000000 default_hugepagesz=2m" \
-				" hugepagesz=2m hugepages=16"
+				" hugepagesz=2m hugepages=256"
 
 /* MAC/PHY configuration */
 #ifdef CONFIG_FSL_MC_ENET
#8 lore raw

PATCH 1/1 ls2-2085a: Increase default hugepage count

Quoted 3 lines · Ashish Kumar

Hello York,

It is like a heads-up, that user needs to erase the environment variable location before flashing a new uboot for the changes to reflect.

You are changing default environmental variables. It is up to the users to set correct variables. I don't believe the note clarifies anything in the context of this patch. You don't need to send an update if you agree. I can drop the note when merging the patch.

York

Quoted 22 lines

Regards
Ashish

-----Original Message-----
From: york sun [mailto:york.sun at nxp.com]
Sent: Monday, February 01, 2016 10:17 PM
To: Ashish Kumar <[email protected]>; u-boot at lists.denx.de
Subject: Re: [PATCH] ls2-2085a: Increase default hugepage count

Quoted 4 lines · Ashish Kumar

* Increase default hugepage count to 256 from 16
* Note: default env variables are stored at 0x580200000/0x584200000

    of size 0x2000

Ashish,

What does the default env location have anything to do with this patch?

York

#9 lore raw

PATCH 1/1 ls2-2085a: Increase default hugepage count

Agree, Please drop this while merging.

Regards
Ashish

-----Original Message-----
From: york sun
Sent: Tuesday, February 02, 2016 11:50 AM
To: Ashish Kumar <[email protected]>; u-boot at lists.denx.de
Subject: Re: [PATCH] ls2-2085a: Increase default hugepage count

Quoted 3 lines · Ashish Kumar

Hello York,

It is like a heads-up, that user needs to erase the environment variable location before flashing a new uboot for the changes to reflect.

You are changing default environmental variables. It is up to the users to set correct variables. I don't believe the note clarifies anything in the context of this patch. You don't need to send an update if you agree. I can drop the note when merging the patch.

York

Quoted 22 lines

Regards
Ashish

-----Original Message-----
From: york sun [mailto:york.sun at nxp.com]
Sent: Monday, February 01, 2016 10:17 PM
To: Ashish Kumar <[email protected]>; u-boot at lists.denx.de
Subject: Re: [PATCH] ls2-2085a: Increase default hugepage count

Quoted 4 lines · Ashish Kumar

* Increase default hugepage count to 256 from 16
* Note: default env variables are stored at 0x580200000/0x584200000

    of size 0x2000

Ashish,

What does the default env location have anything to do with this patch?

York

#10 lore raw

PATCH 1/1 ls2-2085a: Increase default hugepage count

In reply to Ashish Kumar
Quoted 6 lines · Ashish Kumar

* Increase default hugepage count to 256 from 16
* Note: default env variables are stored at 0x580200000/0x584200000

    of size 0x2000

---

Dropped the note of default env.
Applied to fsl-qoriq master. Awaiting upstream.

York