Skip to contentSkip to conversation

socrates: change default mtest address range

PATCH New Anatolij Gustschin 2 participants 2 messages Sep 17, 2008 – Sep 22, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 socrates: change default mtest address range

Running mtest command on socrates without specifying an address range crashes the board. This patch changes default mtest address range to prevent this behavior.

---
 include/configs/socrates.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
include/configs/socrates.h +2 -2
index 28e8fd2..bbb9d18 100644
@@ -87,8 +87,8 @@
 #define CFG_INIT_DBCR DBCR_IDM		/* Enable Debug Exceptions	*/
 
 #undef	CFG_DRAM_TEST			/* memory test, takes time	*/
-#define CFG_MEMTEST_START	0x00000000
-#define CFG_MEMTEST_END		0x10000000
+#define CFG_MEMTEST_START	0x00400000
+#define CFG_MEMTEST_END		0x00C00000
 
 /*
  * Base addresses -- Note these are effective addresses where the
Signature · 1 line
1.5.3.3
#1 lore raw

PATCH 1/1 socrates: change default mtest address range

Dear Anatolij Gustschin,

Quoted 8 lines · In message <[email protected]> you wrote:

Running mtest command on socrates without specifying an address range crashes the board. This patch changes default mtest address range to prevent this behavior.

---
 include/configs/socrates.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Applied, thanks.

Andy, I hope this is OK with you - the patch affects only this single board.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Totally illogical, there was no chance.
	-- Spock, "The Galileo Seven", stardate 2822.3