From 750c8cd68db8039a14275267ec874dd4da1d25c4 Mon Sep 17 00:00:00 2001 From: Paul Philippov Date: Sun, 28 Aug 2022 10:06:43 -0400 Subject: [PATCH] Update help-uboot.md --- ru/help-uboot.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ru/help-uboot.md b/ru/help-uboot.md index 899b519..f0499d6 100644 --- a/ru/help-uboot.md +++ b/ru/help-uboot.md @@ -71,7 +71,8 @@ md.b 0x82000000 0x1000000 изучения или для восстановления камеры в её оригинальный вид. ``` -xxd -r fulldump.log > fulldump.bin +cat fulldump.log | sed -E "s/^[0-9a-f]{8}\b: //i" | sed -E "s/ {4}.{16}\r?$//" > fulldump.hex +xxd -revert -plain fulldump.hex fulldump.bin ``` Используйте [binwalk](https://github.com/ReFirmLabs/binwalk) для доступа к содержимому