hexdump -v -e '"0x%08_ax: " 16/1 "%02x " "\n"' out/target/product/p201_iptv/recovery.img
0x00000000: 41 4e 44 52 4f 49 44 21 f6 10 6e 00 00 00 08 01
0x00000010: 02 40 33 00 00 00 00 01 bb 51 00 00 00 00 f0 00
0x00000020: 00 01 00 00 00 08 00 00 00 00 00 00 00 00 00 00
0x00000030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x00000040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x00000050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x00000060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x00000070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x00000080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x00000090: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x000000a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x000000b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x000000c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x000000d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
hexdump -v -e '"0x%08_ax: " 16/1 "%02x " "\n"' out/target/product/p201_iptv/recovery.img
解释:
-e 格式化输出
%0x08_ax :08是输出按8个字符的长度输出,高位补0;_a是输出offset;x是按16进制;
16/1:第一个16是每行16次输出;第二个1是每次输出1个byte
-v 重复的行不输出 *,就是繁杂、冗余输出的意思