Skip to contentSkip to conversation

Physical memory size

DISCUSSION jim 2 participants 2 messages Sep 12, 2002

lore
Share & tools
lore

jim

author
#0 lore raw

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/

#1 lore raw
Quoted 3 lines · In message <[email protected]> (added by…

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: [email protected] "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/