All of lore.kernel.org
 help / color / mirror / Atom feed
* gdb load address and KERNELLOAD
@ 2001-04-04  0:57 Wang Yong
  2001-04-04  2:05 ` Dan Malek
  0 siblings, 1 reply; 11+ messages in thread
From: Wang Yong @ 2001-04-04  0:57 UTC (permalink / raw)
  To: linuxppc-embedded


Hi, all:
  I am debugging embedded Linux( linux-2.2.13 for MPC8XX) using bdm/wiggler. I do this
on windowsNT with cygwin and insight downloaded from www.ocdemon.com. The question is: how
can I download the vmlinux to a different address from KERNELLOAD which is set to 0xc0000000.
I want to do this because the SDRAM is mapped to 0x00000000 and the MMU is of course not enabled
when I download the kernel image via gdb. any comment on this subject is welcome.

  thank you.

W.Y.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 11+ messages in thread
* RE: gdb load address and KERNELLOAD
@ 2001-04-04  3:04 Hua Ji
  0 siblings, 0 replies; 11+ messages in thread
From: Hua Ji @ 2001-04-04  3:04 UTC (permalink / raw)
  To: Wang Yong, linuxppc-embedded


Usually, if

1. you want have soem fun
2. Your physical memory size is bigger than 1G,

You will try to change the PAGE_OFFSET, which is the 0xC00000000.

Anyway, please find the link script as well as the PAGE_OFFSET settings in
your corresponding arch directory and you will get the answer, even though
this is usually discouraged.

Regards,

Mike

-----Original Message-----
From: Wang Yong [mailto:wung_y@263.net]
Sent: Tuesday, April 03, 2001 5:57 PM
To: linuxppc-embedded@lists.linuxppc.org
Subject: gdb load address and KERNELLOAD



Hi, all:
  I am debugging embedded Linux( linux-2.2.13 for MPC8XX) using bdm/wiggler.
I do this
on windowsNT with cygwin and insight downloaded from www.ocdemon.com. The
question is: how
can I download the vmlinux to a different address from KERNELLOAD which is
set to 0xc0000000.
I want to do this because the SDRAM is mapped to 0x00000000 and the MMU is
of course not enabled
when I download the kernel image via gdb. any comment on this subject is
welcome.

  thank you.

W.Y.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2001-04-05  9:16 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-04  0:57 gdb load address and KERNELLOAD Wang Yong
2001-04-04  2:05 ` Dan Malek
2001-04-04  6:42   ` Wolfgang Denk
2001-04-04 15:30     ` Dan Malek
2001-04-04 15:54       ` Wolfgang Denk
2001-04-05  4:13         ` how to get the physival address jerry
2001-04-05  5:58           ` Dan Malek
2001-04-05  6:28             ` jerry
2001-04-05  6:30               ` Dan Malek
2001-04-05  9:16             ` Gabriel Paubert
  -- strict thread matches above, loose matches on Subject: below --
2001-04-04  3:04 gdb load address and KERNELLOAD Hua Ji

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.