Replace the "must quote special characters" note with a hint on how to dereference /aliases pointers by omitting the leading "/". This feature was introduced by Kumar Gala as a libfdt enhancement in commit ed035708235332c3c117ee3bb1a426063f03cfcb.
Example: => fdt print /aliases aliases { ethernet0 = "/[EMAIL PROTECTED]/[EMAIL PROTECTED]"; ethernet1 = "/[EMAIL PROTECTED]/[EMAIL PROTECTED]"; serial0 = "/[EMAIL PROTECTED]/[EMAIL PROTECTED]"; serial1 = "/[EMAIL PROTECTED]/[EMAIL PROTECTED]"; pci0 = "/[EMAIL PROTECTED]"; }; => fdt print ethernet0 [EMAIL PROTECTED] { device_type = "network"; compatible = "ucc_geth"; cell-index = <0x1>; reg = <0x2000 0x200>; interrupts = <0x20>; interrupt-parent = <0x2>; local-mac-address = [00 00 00 00 00 00]; rx-clock-name = "none"; tx-clock-name = "clk9"; phy-handle = <0x3>; phy-connection-type = "rgmii-id"; pio-handle = <0x4>; }; Signed-off-by: Gerald Van Baren <[EMAIL PROTECTED]> --- I thought it would be useful to add this hint to the "help fdt" printout. I replace the "quoting special characters" note since it is only slightly useful - hopefully quoting special characters is second nature to our target audience. If nobody has any objections to this and the previously posted libfdt update changesets, I plan to issue a u-boot-fdt pull request by Monday. Best regards, gvb common/cmd_fdt.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/cmd_fdt.c b/common/cmd_fdt.c index d3b19dd..05a328f 100644 --- a/common/cmd_fdt.c +++ b/common/cmd_fdt.c @@ -799,6 +799,6 @@ U_BOOT_CMD( "fdt rsvmem add <addr> <size> - Add a mem reserve\n" "fdt rsvmem delete <index> - Delete a mem reserves\n" "fdt chosen - Add/update the /chosen branch in the tree\n" - "NOTE: If the path or property you are setting/printing has a '#' character\n" - " or spaces, you MUST escape it with a \\ character or quote it with \".\n" + "NOTE: Dereference aliases by omiting the leading '/', " + "e.g. fdt print ethernet0.\n" ); -- 1.5.6.3 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users