[U-Boot-Users] [PATCH v3] Add sub-commands to fdt
Jerry Van Baren
gvb.uboot at gmail.com
Sat Feb 16 23:28:47 CET 2008
Kumar Gala wrote:
>>From e76f97d16c5932d19d698e42c6376d6bbdca2ecf Mon Sep 17 00:00:00 2001
> From: Kumar Gala <galak at kernel.crashing.org>
> Date: Fri, 15 Feb 2008 03:34:36 -0600
> Subject: [PATCH] Add sub-commands to fdt
>
> fdt header - Display header info
> fdt bootcpu <id> - Set boot cpuid
> fdt memory <addr> <size> - Add/Update memory node
> fdt rsvmem print - Show current mem reserves
> fdt rsvmem add <addr> <size> - Add a mem reserve
> fdt rsvmem delete <index> - Delete a mem reserves
>
> Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
Applied to u-boot-fdt. Thanks.
FWIIW, I found that fdt header when the fdt address (blob) is invalid
crashes my board. On the one hand, that's what you get from playing
with sharp knives - I'm reluctant to inhibit the header printout if the
blob is invalid, because that may be what I'm trying to find out. On
the other hand, I hate to crash a board when it can be avoided.
At this point, I'm inclined to validate the magic number (only) before
doing the dump.
gvb
More information about the U-Boot
mailing list