linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Physical memory size
@ 2002-09-12 12:33 jim
  2002-09-12 18:53 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: jim @ 2002-09-12 12:33 UTC (permalink / raw)
  To: linuxppc-embedded


Is there any way to get the kernel to report the size of physical memory that
was passed to it from PPCBoot?

Thanks,
Jim

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

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

* Re: Physical memory size
  2002-09-12 12:33 Physical memory size jim
@ 2002-09-12 18:53 ` Wolfgang Denk
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2002-09-12 18:53 UTC (permalink / raw)
  To: jim; +Cc: linuxppc-embedded


In message <3D6E4A4A00001297@charlotte.ccc-dcs.com> (added by charlotte.ccc-dcs.com) you wrote:
>
> Is there any way to get the kernel to report the size of physical memory that
> was passed to it from PPCBoot?

I can think of several easy ways, depending on when you want to print
this information:

* in PPCboot: use the "bdinfo" command
* In early kernel startup: add a printk() in arch/ppc/kernel/setup.c
* In the shell, enter "free", or "cat /proc/meminfo", etc.

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
"There are things that are so serious that you can  only  joke  about
them"                                                    - Heisenberg

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

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

end of thread, other threads:[~2002-09-12 18:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-12 12:33 Physical memory size jim
2002-09-12 18:53 ` Wolfgang Denk

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).