All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/2] xes: Increase CONFIG_SYS_BOOTM_LEN to 16MB
@ 2009-07-21 18:51 Peter Tyser
  2009-07-21 18:51 ` [U-Boot] [PATCH 2/2] xpedite5370: Enable NAND command support Peter Tyser
  2009-07-22 15:35 ` [U-Boot] [PATCH 1/2] xes: Increase CONFIG_SYS_BOOTM_LEN to 16MB Kumar Gala
  0 siblings, 2 replies; 4+ messages in thread
From: Peter Tyser @ 2009-07-21 18:51 UTC (permalink / raw)
  To: u-boot

Increasing CONFIG_SYS_BOOTM_LEN from 8 MB to 16 MB is necessary to
support uncompressing images larger than 8 MB when using the bootm
command.

Note that recent Linux kernels for the 85xx and 86xx map greater than
16MB of memory on bootup, but we use 16MB to maintain compatibility with
older Linux kernels for now.

Signed-off-by: Nate Case <ncase@xes-inc.com>
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
---
Hi Kumar,
I just realized I never submitted these 2 patches during the merge window.
They aren't super critical so feel free to skip them for the upcoming
release if you'd prefer and I'll resubmit them later.

Thanks,
Peter

 include/configs/XPEDITE5170.h |    1 +
 include/configs/XPEDITE5200.h |    1 +
 include/configs/XPEDITE5370.h |    1 +
 3 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/include/configs/XPEDITE5170.h b/include/configs/XPEDITE5170.h
index 985b589..8be9fa0 100644
--- a/include/configs/XPEDITE5170.h
+++ b/include/configs/XPEDITE5170.h
@@ -579,6 +579,7 @@ extern unsigned long get_board_sys_clk(unsigned long dummy);
  * the maximum mapped by the Linux kernel during initialization.
  */
 #define CONFIG_SYS_BOOTMAPSZ	(16 << 20)	/* Initial Memory map for Linux*/
+#define CONFIG_SYS_BOOTM_LEN	(16 << 20)	/* Increase max gunzip size */
 
 /*
  * Boot Flags
diff --git a/include/configs/XPEDITE5200.h b/include/configs/XPEDITE5200.h
index 89ab692..2707ac8 100644
--- a/include/configs/XPEDITE5200.h
+++ b/include/configs/XPEDITE5200.h
@@ -369,6 +369,7 @@
  * the maximum mapped by the Linux kernel during initialization.
  */
 #define CONFIG_SYS_BOOTMAPSZ	(16 << 20)	/* Initial Memory map for Linux*/
+#define CONFIG_SYS_BOOTM_LEN	(16 << 20)	/* Increase max gunzip size */
 
 /*
  * Boot Flags
diff --git a/include/configs/XPEDITE5370.h b/include/configs/XPEDITE5370.h
index 536e063..0695904 100644
--- a/include/configs/XPEDITE5370.h
+++ b/include/configs/XPEDITE5370.h
@@ -412,6 +412,7 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
  * the maximum mapped by the Linux kernel during initialization.
  */
 #define CONFIG_SYS_BOOTMAPSZ	(16 << 20)	/* Initial Memory map for Linux*/
+#define CONFIG_SYS_BOOTM_LEN	(16 << 20)	/* Increase max gunzip size */
 
 /*
  * Boot Flags
-- 
1.6.2.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH 2/2] xpedite5370: Enable NAND command support
  2009-07-21 18:51 [U-Boot] [PATCH 1/2] xes: Increase CONFIG_SYS_BOOTM_LEN to 16MB Peter Tyser
@ 2009-07-21 18:51 ` Peter Tyser
  2009-07-22 15:35   ` Kumar Gala
  2009-07-22 15:35 ` [U-Boot] [PATCH 1/2] xes: Increase CONFIG_SYS_BOOTM_LEN to 16MB Kumar Gala
  1 sibling, 1 reply; 4+ messages in thread
From: Peter Tyser @ 2009-07-21 18:51 UTC (permalink / raw)
  To: u-boot

Use the MPC8572's eLBC to access 1 GB (or greater) onboard NAND flash
via the 'nand' command.

Previously, the XPedite5370's NAND chip selects were properly
configured, but NAND support was not enabled.

Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
---
 include/configs/XPEDITE5370.h |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/include/configs/XPEDITE5370.h b/include/configs/XPEDITE5370.h
index 0695904..ace06ea 100644
--- a/include/configs/XPEDITE5370.h
+++ b/include/configs/XPEDITE5370.h
@@ -124,6 +124,12 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
  */
 #define CONFIG_SYS_NAND_BASE		0xef800000
 #define CONFIG_SYS_NAND_BASE2		0xef840000 /* Unused at this time */
+#define CONFIG_SYS_NAND_BASE_LIST	{CONFIG_SYS_NAND_BASE, \
+					 CONFIG_SYS_NAND_BASE2}
+#define CONFIG_SYS_MAX_NAND_DEVICE	2
+#define CONFIG_MTD_NAND_VERIFY_WRITE
+#define CONFIG_SYS_NAND_QUIET_TEST	/* 2nd NAND flash not always populated */
+#define CONFIG_NAND_FSL_ELBC
 
 /*
  * NOR flash configuration
@@ -374,16 +380,17 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
 #define CONFIG_CMD_DTT
 #define CONFIG_CMD_EEPROM
 #define CONFIG_CMD_ELF
-#define CONFIG_CMD_SAVEENV
 #define CONFIG_CMD_FLASH
 #define CONFIG_CMD_I2C
 #define CONFIG_CMD_JFFS2
 #define CONFIG_CMD_MII
+#define CONFIG_CMD_NAND
 #define CONFIG_CMD_NET
 #define CONFIG_CMD_PCA953X
 #define CONFIG_CMD_PCA953X_INFO
 #define CONFIG_CMD_PCI
 #define CONFIG_CMD_PING
+#define CONFIG_CMD_SAVEENV
 #define CONFIG_CMD_SNTP
 
 /*
-- 
1.6.2.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH 1/2] xes: Increase CONFIG_SYS_BOOTM_LEN to 16MB
  2009-07-21 18:51 [U-Boot] [PATCH 1/2] xes: Increase CONFIG_SYS_BOOTM_LEN to 16MB Peter Tyser
  2009-07-21 18:51 ` [U-Boot] [PATCH 2/2] xpedite5370: Enable NAND command support Peter Tyser
@ 2009-07-22 15:35 ` Kumar Gala
  1 sibling, 0 replies; 4+ messages in thread
From: Kumar Gala @ 2009-07-22 15:35 UTC (permalink / raw)
  To: u-boot


On Jul 21, 2009, at 1:51 PM, Peter Tyser wrote:

> Increasing CONFIG_SYS_BOOTM_LEN from 8 MB to 16 MB is necessary to
> support uncompressing images larger than 8 MB when using the bootm
> command.
>
> Note that recent Linux kernels for the 85xx and 86xx map greater than
> 16MB of memory on bootup, but we use 16MB to maintain compatibility  
> with
> older Linux kernels for now.
>
> Signed-off-by: Nate Case <ncase@xes-inc.com>
> Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
> ---
> Hi Kumar,
> I just realized I never submitted these 2 patches during the merge  
> window.
> They aren't super critical so feel free to skip them for the upcoming
> release if you'd prefer and I'll resubmit them later.
>
> Thanks,
> Peter

applied

- k

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH 2/2] xpedite5370: Enable NAND command support
  2009-07-21 18:51 ` [U-Boot] [PATCH 2/2] xpedite5370: Enable NAND command support Peter Tyser
@ 2009-07-22 15:35   ` Kumar Gala
  0 siblings, 0 replies; 4+ messages in thread
From: Kumar Gala @ 2009-07-22 15:35 UTC (permalink / raw)
  To: u-boot


On Jul 21, 2009, at 1:51 PM, Peter Tyser wrote:

> Use the MPC8572's eLBC to access 1 GB (or greater) onboard NAND flash
> via the 'nand' command.
>
> Previously, the XPedite5370's NAND chip selects were properly
> configured, but NAND support was not enabled.
>
> Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
> ---
> include/configs/XPEDITE5370.h |    9 ++++++++-
> 1 files changed, 8 insertions(+), 1 deletions(-)


applied

- k

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-07-22 15:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-21 18:51 [U-Boot] [PATCH 1/2] xes: Increase CONFIG_SYS_BOOTM_LEN to 16MB Peter Tyser
2009-07-21 18:51 ` [U-Boot] [PATCH 2/2] xpedite5370: Enable NAND command support Peter Tyser
2009-07-22 15:35   ` Kumar Gala
2009-07-22 15:35 ` [U-Boot] [PATCH 1/2] xes: Increase CONFIG_SYS_BOOTM_LEN to 16MB Kumar Gala

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.