From: "Mark Chambers" <markc@mail.com>
To: "Venkatesh Savithri Mahesh" <vsmahesh@cdotb.ernet.in>,
<linuxppc-embedded@lists.linuxppc.org>
Subject: Re: Query about KERNELLOAD.
Date: Mon, 24 May 2004 08:09:54 -0400 [thread overview]
Message-ID: <001401c44188$07d6c590$0301a8c0@chuck2> (raw)
In-Reply-To: Pine.OSF.4.21.0405241202110.19979-100000@ws9.cdotb.ernet.in
Hi Venkatesh,
I think your problem is with the emulator setup. You don't ever want to
change KERNELLOAD unless you are a very advanced user. 0xc0000000 is a
virtual address - when the processor puts out an address in this range it is
translated by the MMU to an actual memory address. So when you change to
0x0600000 you are running without the MMU translation. So some things work,
but the kernel will never work properly this way.
Your emulator has to be smart enough to know how to translate
virtual-to-physical addresses in the linux kernel. Not all emulators can do
this, I don't think TRACE32 does (but check with manufacturer!). The
emulator that has the most support from linux is Abatron: www.abatron.ch
Also, once you get your kernel to boot, don't forget that you can use gdb
and gdbserver. You may be able to do some debugging by just realizing that
the physical address is usually the virtual address minus 0xc0000000. So if
the debugger shows 0xc0012345 the physical address is 0x12345.
Good luck,
Mark Chambers
> I am a novice, please forgive me if this is very trivial.
>
> I am trying to run 2.4.16 kernel on a custom 8260 board with 128MB
> sdram. I am using the TRACE32 JTAG emulator from Lauterbach.
>
> I am unable to load with KERNELLOAD=0xc0000000.
>
> When the KERNELLOAD is changed to some other value, say 0x06000000
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2004-05-24 12:09 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-22 0:57 Framebuffer problems Christopher E Cordahi
2004-05-22 7:25 ` Module Compiling Problem Song Sam
2004-05-23 2:00 ` Song Sam
2004-05-23 18:34 ` Sam Ravnborg
2004-05-24 1:49 ` Song Sam
2004-05-24 5:06 ` Sam Ravnborg
2004-05-24 7:22 ` Query about KERNELLOAD Venkatesh Savithri Mahesh
2004-05-24 12:09 ` Mark Chambers [this message]
2004-05-24 15:17 ` Module Compiling Problem Song Sam
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='001401c44188$07d6c590$0301a8c0@chuck2' \
--to=markc@mail.com \
--cc=linuxppc-embedded@lists.linuxppc.org \
--cc=vsmahesh@cdotb.ernet.in \
/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;
as well as URLs for NNTP newsgroup(s).