From: Scott Anderson <scott_anderson@mvista.com>
To: Leiying Du <ldu@solectek.com>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: Debug kernel ELF using SDS single-step debugger
Date: Wed, 13 Mar 2002 14:22:51 -0800 [thread overview]
Message-ID: <3C8FD13B.12D70F97@mvista.com> (raw)
In-Reply-To: 005701c1cad8$d397eb60$6649a8c0@LEIYINGDU
Leiying Du wrote:
>
> When I run the kernel ELF, I always get this error message "Couldn't find
> 4096 bytes at 4096 alignment". It's printed out in __initfunc(void *
> find_mem_piece(unsigned size, unsigned align)). ( The kernel runs Ok from
> the flash memory.) Does anyone know the reason? Should I initialize the MMU
> with the debugger? Thanks.
My guess is that you haven't setup a board info struct so the
bi_memsize is uninitialized. This can cause the system to think that
no memory is available so anything that tries to get memory fails.
Scott Anderson
scott_anderson@mvista.com MontaVista Software Inc.
(408)328-9214 1237 East Arques Ave.
http://www.mvista.com Sunnyvale, CA 94085
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2002-03-13 22:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-13 21:48 Debug kernel ELF using SDS single-step debugger Leiying Du
2002-03-13 22:22 ` Scott Anderson [this message]
2002-03-13 22:23 ` Dan Malek
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=3C8FD13B.12D70F97@mvista.com \
--to=scott_anderson@mvista.com \
--cc=ldu@solectek.com \
--cc=linuxppc-embedded@lists.linuxppc.org \
/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.