From: Anatolij Gustschin <agust@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] About mtest on boot
Date: Fri, 20 Jan 2012 11:38:41 +0100 [thread overview]
Message-ID: <20120120113841.4a01e4de@wker> (raw)
In-Reply-To: <CAG1KTJdsUEQkdAwXOVd_jV2OnYQP=D9fvNX1iVEzEqYy3sX1DQ@mail.gmail.com>
Hi,
On Fri, 20 Jan 2012 08:07:41 -0200
?rico Porto <ericoporto2008@gmail.com> wrote:
> Hello,
>
> I want to stop autoboot and use mtest to check if my ram is alright, but
> 0x07FD2C00 forward freezes, and 0x00000902 also freezes, mtest, when using
> it. My ramsize is 0x08000000.
>
> Does u-boot uses any parts of ram by itself, I mean, is there any known
> spots where I can't test because it would crash my system?
U-Boot relocates itself into RAM. You can check the address using
'bdinfo' command (look at 'relocaddr' in the output). There are
also some data structures in RAM (global data, board info, stack,
malloc area) and also exception vectors. Where it is located in
RAM depends on your architecture and board configuration options.
You can try to define DEBUG in the arch board.c file to get more
info. Board config file should define CONFIG_SYS_MEMTEST_START and
CONFIG_SYS_MEMTEST_END to prevent crashing when mtest is invoked.
HTH,
Anatolij
next prev parent reply other threads:[~2012-01-20 10:38 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-20 10:07 [U-Boot] About mtest on boot Érico Porto
2012-01-20 10:38 ` Anatolij Gustschin [this message]
2012-01-20 10:56 ` Érico Porto
2012-01-20 18:22 ` Érico Porto
2012-01-20 20:31 ` Érico Porto
[not found] ` <CAL5DGCR2QH0f1bgm8x6wGsxdbqkcCdiYFMo6ST49CYwyHVnxXQ@mail.gmail.com>
2012-01-23 10:37 ` Érico Porto
2012-01-23 14:23 ` Wolfgang Denk
2012-01-23 14:35 ` Érico Porto
2012-01-23 14:45 ` Wolfgang Denk
2012-01-23 15:04 ` Érico Porto
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=20120120113841.4a01e4de@wker \
--to=agust@denx.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 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.