Hi,
When I set linux 2.6.26-rc1 as default kernel to boot in
/etc/yaboot.conf, then the device tree in open firmware shows only one
memory node ( the same memory node appears in /proc/device-tree/[EMAIL PROTECTED]
). But when RHEL5.2 kernel is set as default in /etc/yaboot.conf then
the device tree in open firmware shows plenty of memory nodes. Following
is the open firmware output..
linux-2.6.26-rc1:
<snip>
0 > dev / ls
...
000000caf1b8: /PowerPC,[EMAIL PROTECTED]
000000cb0120: /[EMAIL PROTECTED]
000000cb83d8: /ibm,dynamic-reconfiguration-memory
000000cbcd60: /options
...
0 > dev /[EMAIL PROTECTED] ok
0 > .properties
name memory
device_type memory
reg 00000000 00000000 00000000 08000000
available 00000000 00004000 00000000 00bfc000 00000000 02020000
00000000 05fe0000
#address-cells 00000001
#size-cells 00000000
ibm,phandle fffffffa
ibm,associativity 00000004 00000000 00000000 00000000 00000000
<snip-end>
when default=RHEL5.2:
0 > dev / ls
000000c8d200: /ibm,serial
000000c8dff8: /chosen
...
000000cae2c0: /PowerPC,[EMAIL PROTECTED]
000000caf1b8: /PowerPC,[EMAIL PROTECTED]
000000cb0120: /[EMAIL PROTECTED]
000000cb5af0: /[EMAIL PROTECTED]
000000cb5ce0: /[EMAIL PROTECTED]
000000cb5ed0: /[EMAIL PROTECTED]
000000cb60c0: /[EMAIL PROTECTED]
000000cb62b0: /[EMAIL PROTECTED]
000000cb64a0: /[EMAIL PROTECTED]
000000cb6690: /[EMAIL PROTECTED]
...
The open firmware environment variable "ibm,fw-new-mem-def" is false for
rhel5.2 kernel where as it is 'true' for 2.6.26-rc1 as default kernel to
boot. Any inputs if the one memory node in 2.6.26-rc1 should show the
size of available system memory ?, or there should be many memory nodes
for 2.6.26-rc1 ?.
Thanks,
Chandru
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev