Update help-uboot.md

pull/45/head
Paul Philippov 2022-08-01 00:52:42 -04:00 committed by GitHub
parent fdd761a6cb
commit 88a38d41f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -68,8 +68,8 @@ Convert the hex dump into a binary firmware file and use it for further research
or restoring camera to its pristine state.
```
cat fulldump.log | sed -E "s/^[0-9a-f]{8}\b: //i" | sed "s/ .*$//" > fulldump.hex
xxd -r -p fulldump.hex 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
```
Use [binwalk](https://github.com/ReFirmLabs/binwalk) to unpack the binary file.