Skip to contentSkip to conversation

85xx: Fix memory test range on MPC8536DS

PATCH New Felix Radensky 2 participants 2 messages Aug 15, 2009 – Aug 20, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 85xx: Fix memory test range on MPC8536DS

With current values of CONFIG_SYS_MEMTEST_START and CONFIG_SYS_MEMTEST_END memory test hangs if run without arguments. Set them to sane values, so that all available 512MB of RAM excluding exception vectors at the bottom and u-boot code and stack at the top can be tested.

---
 include/configs/MPC8536DS.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
include/configs/MPC8536DS.h +2 -2
index 9d2b860..93dd61e 100644
@@ -77,8 +77,8 @@ extern unsigned long get_board_ddr_clk(unsigned long dummy);
 
 #define CONFIG_ENABLE_36BIT_PHYS	1
 
-#define CONFIG_SYS_MEMTEST_START	0x00000000	/* memtest works on */
-#define CONFIG_SYS_MEMTEST_END		0x7fffffff
+#define CONFIG_SYS_MEMTEST_START	0x00010000	/* skip exception vectors */
+#define CONFIG_SYS_MEMTEST_END		0x1f000000      /* skip u-boot at top of RAM  */
 #define CONFIG_PANIC_HANG	/* do not reset board on panic */
 
 /*
Signature · 1 line
1.5.4.3
Applied
#1 lore raw

PATCH 1/1 85xx: Fix memory test range on MPC8536DS

Quoted 11 lines · Felix Radensky

With current values of CONFIG_SYS_MEMTEST_START and CONFIG_SYS_MEMTEST_END memory test hangs if run without arguments. Set them to sane values, so that all available 512MB of RAM excluding exception vectors at the bottom and u-boot code and stack at the top can be tested.

---
include/configs/MPC8536DS.h | 4 ++--

1 files changed, 2 insertions(+), 2 deletions(-)

applied to next

- k