
On Feb 15, 2008, at 3:44 PM, Jerry Van Baren wrote:
Kumar Gala wrote:
fdt header - Display header info fdt bootcpu <id> - Set boot cpuid fdt memory <addr> <size> - Add/Update memory node fdt memrsv print - Show current mem reserves fdt memrsv add <addr> <size> - Add a mem reserve fdt memrsv delete <index> - Delete a mem reserves Signed-off-by: Kumar Gala galak@kernel.crashing.org
Hi Kumar,
I was thinking about this a bit more. How about if we change the "memrsv" subcommand to "rsvmem" then we can abbreviate the commands more: fdt mo[ve] fdt me[mory] fdt rm <- would no longer be distinctive on 'r', NBD fdt rs[vmem] and save ourselves some typing.
works for me. I'll make these changes.
I don't plan on dealing with the header info you asked about (beyond reporting the number of memrsv). I've given you the framework, I'll leave it to you to figure out how to compute the values you want :)
I also have some questions about how we can "dynamically" grow the device tree so we don't have to pad the .dtb's
- k