Skip to contentSkip to conversation

devkit8000: Fix NAND SPL on boards with 256MB NAND

PATCH New Tom Rini 2 participants 3 messages Oct 26, 2011 – Nov 9, 2011

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 devkit8000: Fix NAND SPL on boards with 256MB NAND

The devkit8000 ships with either a 128MB or 256MB NAND chip. In order for SPL to work with 256MB NAND CONFIG_SYS_NAND_5_ADDR_CYCLE needs to be set. After talking with Scott Wood this should be safe to set even for smaller NAND chips.

Cc Scott Wood <[email protected]>
Cc Frederik Kriewitz <[email protected]>
Cc Albert ARIBAUD <[email protected]>
---
 include/configs/devkit8000.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
include/configs/devkit8000.h +1 -0
index ba0d23e..1856aa9 100644
@@ -332,6 +332,7 @@
 #define CONFIG_SPL_BSS_MAX_SIZE		0x80000
 
 /* NAND boot config */
+#define CONFIG_SYS_NAND_5_ADDR_CYCLE
 #define CONFIG_SYS_NAND_PAGE_COUNT	64
 #define CONFIG_SYS_NAND_PAGE_SIZE	2048
 #define CONFIG_SYS_NAND_OOBSIZE		64
Signature · 1 line
1.7.0.4
#1 lore raw

PATCH 1/1 devkit8000: Fix NAND SPL on boards with 256MB NAND

Am 26.10.2011 20:09, schrieb Tom Rini:

Quoted 18 lines

The devkit8000 ships with either a 128MB or 256MB NAND chip. In order for SPL to work with 256MB NAND CONFIG_SYS_NAND_5_ADDR_CYCLE needs to be set. After talking with Scott Wood this should be safe to set even for smaller NAND chips.

Cc Scott Wood <[email protected]>
Cc Frederik Kriewitz <[email protected]>
Cc Albert ARIBAUD <[email protected]>
---
 include/configs/devkit8000.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
include/configs/devkit8000.h +0 -0
index ba0d23e..1856aa9 100644

include/configs/devkit8000.h line 338

Quoted 7 lines
include/configs/devkit8000.h +1 -0
@@ -332,6 +332,7 @@
 #define CONFIG_SPL_BSS_MAX_SIZE		0x80000
 
 /* NAND boot config */
+#define CONFIG_SYS_NAND_5_ADDR_CYCLE
 #define CONFIG_SYS_NAND_PAGE_COUNT	64
 #define CONFIG_SYS_NAND_PAGE_SIZE	2048
 #define CONFIG_SYS_NAND_OOBSIZE		64

on Devkit8000 with 256 MB NAND.

Tomorrow I will test it with a 128 MB NAND devkit8000.

Thomas

#2 lore raw

PATCH 1/1 devkit8000: Fix NAND SPL on boards with 256MB NAND

Hello Tom,

Am 08.11.2011 21:53, schrieb Thomas Weber:

Quoted 29 lines

Am 26.10.2011 20:09, schrieb Tom Rini:

Quoted 18 lines

The devkit8000 ships with either a 128MB or 256MB NAND chip. In order for SPL to work with 256MB NAND CONFIG_SYS_NAND_5_ADDR_CYCLE needs to be set. After talking with Scott Wood this should be safe to set even for smaller NAND chips.

Cc Scott Wood <[email protected]>
Cc Frederik Kriewitz <[email protected]>
Cc Albert ARIBAUD <[email protected]>
---
 include/configs/devkit8000.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
include/configs/devkit8000.h +0 -0
index ba0d23e..1856aa9 100644

include/configs/devkit8000.h line 338

Quoted 7 lines
include/configs/devkit8000.h +1 -0
@@ -332,6 +332,7 @@
 #define CONFIG_SPL_BSS_MAX_SIZE		0x80000
 
 /* NAND boot config */
+#define CONFIG_SYS_NAND_5_ADDR_CYCLE
 #define CONFIG_SYS_NAND_PAGE_COUNT	64
 #define CONFIG_SYS_NAND_PAGE_SIZE	2048
 #define CONFIG_SYS_NAND_OOBSIZE		64
Quoted 5 lines

on Devkit8000 with 256 MB NAND.

Tomorrow I will test it with a 128 MB NAND devkit8000.

Thomas

Also on Devkit8000 with 128 MB NAND successful tested.

Thomas