Skip to contentSkip to conversation

kirkwood: guruplug: Relocate NAND environment area

PATCH New Gray Remlin 2 participants 3 messages Oct 26, 2010 – Oct 28, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kirkwood: guruplug: Relocate NAND environment area

Current default options increase u-boot size to overlap the location of the environment in NAND, move environment higher up

---
 include/configs/guruplug.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
include/configs/guruplug.h +2 -2
index 2c2682c..30a6050 100644
@@ -72,8 +72,8 @@
  * it has to be rounded to sector size
  */
 #define CONFIG_ENV_SIZE			0x20000 /* 128k */
-#define CONFIG_ENV_ADDR			0x40000
-#define CONFIG_ENV_OFFSET		0x40000 /* env starts here */
+#define CONFIG_ENV_ADDR			0x60000
+#define CONFIG_ENV_OFFSET		0x60000 /* env starts here */
 
 /*
  * Default environment variables

--

#1 lore raw

PATCH 1/1 kirkwood: guruplug: Relocate NAND environment area

Ack, Thanks regards..
Prafulla . .

Quoted 31 lines

-----Original Message-----
From: Gray Remlin [mailto:g_remlin at rocketmail.com]
Sent: Wednesday, October 27, 2010 4:31 AM
To: u-boot at lists.denx.de
Cc: Prafulla Wadaskar
Subject: [PATCH] kirkwood: guruplug: Relocate NAND environment area

Current default options increase u-boot size to overlap the location of the environment in NAND, move environment higher up

---
 include/configs/guruplug.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
include/configs/guruplug.h +2 -3
index 2c2682c..30a6050 100644
@@ -72,8 +72,8 @@
  * it has to be rounded to sector size
  */
 #define CONFIG_ENV_SIZE			0x20000 /* 128k */
-#define CONFIG_ENV_ADDR			0x40000
-#define CONFIG_ENV_OFFSET		0x40000 /* env starts here */
+#define CONFIG_ENV_ADDR			0x60000
+#define CONFIG_ENV_OFFSET		0x60000 /* env starts here */
 
 /*
  * Default environment variables
--
#2 lore raw

PATCH 1/1 kirkwood: guruplug: Relocate NAND environment area

In reply to Gray Remlin
Quoted 23 lines

-----Original Message-----
From: Gray Remlin [mailto:g_remlin at rocketmail.com]
Sent: Wednesday, October 27, 2010 4:31 AM
To: u-boot at lists.denx.de
Cc: Prafulla Wadaskar
Subject: [PATCH] kirkwood: guruplug: Relocate NAND environment area

Current default options increase u-boot size to overlap the location of the environment in NAND, move environment higher up

---
 include/configs/guruplug.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
include/configs/guruplug.h +0 -0
index 2c2682c..30a6050 100644
@@ -72,8 +72,8 @@
  * it has to be rounded to sector size

include/configs/guruplug.h

Quoted 10 lines
include/configs/guruplug.h +2 -3
  */
 #define CONFIG_ENV_SIZE			0x20000 /* 128k */
-#define CONFIG_ENV_ADDR			0x40000
-#define CONFIG_ENV_OFFSET		0x40000 /* env starts here */
+#define CONFIG_ENV_ADDR			0x60000
+#define CONFIG_ENV_OFFSET		0x60000 /* env starts here */
 
 /*
  * Default environment variables
--

Applied to u-boot-marvell.git master branch

Regards..
Prafulla . .