Physical memory size

Wolfgang Denk wd at denx.de
Fri Sep 13 04:53:09 EST 2002


In message <3D6E4A4A00001297 at 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 at 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/





More information about the Linuxppc-embedded mailing list