From: Anders Larsen <alarsen@rea.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] troubles
Date: Tue, 06 Dec 2005 10:14:52 +0100 [thread overview]
Message-ID: <fc.004c4e48003b9de43b9aca00a17aa3ba.3b9ec6@rea.de> (raw)
In-Reply-To: <954227671.20051206114637@alpha.tula.net>
Alexandr Kuleschov <kuleschov@alpha.tula.net> schrieb am Dienstag, 6. Dezember 2005 um 09:46 +0100:
>I work with based on AT91RM9200 board. (SDRAM 16Mbitx16)
>When i use "mtest" then U-BOOT does not work
>But if to change a line
>#define CFG_MEMTEST_END CFG_MEMTEST_START + PHYS_SDRAM_SIZE - 262144
>
>to a line
>
>#define CFG_MEMTEST_END CFG_MEMTEST_START + PHYS_SDRAM_SIZE - 2000000
>works correctly
>
>How to solve a problem?
Hi,
it seems the mtest is overwriting heap and stack.
AFAICT it would suffice to use
#define CFG_MEMTEST_END CFG_MEMTEST_START+PHYS_SDRAM_SIZE-1220608
(PHYS_SDRAM + PHYS_SDRAM_SIZE - TEXT_BASE + CFG_MALLOC_LEN +
CONFIG_STACKSIZE - 4)
Cheers
Anders
next prev parent reply other threads:[~2005-12-06 9:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-06 8:46 [U-Boot-Users] troubles Alexandr Kuleschov
2005-12-06 9:14 ` Anders Larsen [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-12-07 9:38 Alexandr Kuleschov
2005-11-30 14:23 Alexandr Kuleschov
2005-11-30 15:09 ` Daniel Stenberg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=fc.004c4e48003b9de43b9aca00a17aa3ba.3b9ec6@rea.de \
--to=alarsen@rea.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox