platform_external_dtc/Documentation
Rafał Miłecki 17739b7ef5 Support 'r' format for printing raw bytes with fdtget
FT is sometimes used for storing raw data. That is quite common for
U-Boot FIT images.

Extracting such data is not trivial currently. Using type 's' (string)
will replace every 0x00 (NUL) with 0x20 (space). Using type 'x' will
print bytes but in xxd incompatible format.

This commit adds support for 'r' (raw) format. Example usage:
fdtget -t r firmware.itb /images/foo data > image.raw

Support for encoding isn't added as there isn't any clean way of passing
binary data as command line argument.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Message-Id: <20211209061420.29466-1-zajec5@gmail.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2021-12-09 17:48:58 +11:00
..
dt-object-internal.txt dtc: Document the dynamic plugin internals 2016-12-09 13:26:39 +11:00
dtc-paper.bib Add paper on the flattened tree and dtc presented at linux.conf.au 2006 by 2006-01-31 16:17:59 +11:00
dtc-paper.tex dtc: Whitespace cleanup 2007-09-18 09:43:26 -05:00
dts-format.txt dtc: Add support for variable sized elements 2011-10-11 12:58:30 -05:00
manual.txt Support 'r' format for printing raw bytes with fdtget 2021-12-09 17:48:58 +11:00