diff options
author | Pali Rohár <pali.rohar@gmail.com> | 2021-05-01 15:34:22 +0200 |
---|---|---|
committer | Pali Rohár <pali.rohar@gmail.com> | 2021-05-01 15:34:22 +0200 |
commit | 67427daf172ffbec429830ee97410c53095086d5 (patch) | |
tree | e2c1465b2633627a556968722a74dca995e958c4 /doc | |
parent | bf24ca23451a67b2c3c6a82bb245415b1b9aedb0 (diff) | |
download | 0xFFFF-67427daf172ffbec429830ee97410c53095086d5.tar.bz2 |
local: Fix calling nanddump
In last 15 years nanddump changed its command line arguments. Argument -b
(omit bad blocks) was completely removed and argument -o (omit oob data)
changed its meaning to "include" oob data. So for compatibility with all
nanddump versions, do not use argument -b and instead of -o use argument
--omitoob which is present in all nanddump versions and has same meaning
to omit oob data.
This change should fix dumping firmware files on devices with recent
versions of nanddump.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/dumping | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/dumping b/doc/dumping index 4a629cd..b7e9cdf 100644 --- a/doc/dumping +++ b/doc/dumping @@ -30,11 +30,10 @@ Technical details: For dumping mtd partition is used tool nanddump. Here is example how to dump kernel image without padding to file zImage: - $ nanddump -o -b -s 0x00000800 -l 0x001FF800 -f zImage /dev/mtd2 + $ nanddump --omitoob -s 0x00000800 -l 0x001FF800 -f zImage /dev/mtd2 Params means: --o - "Omit oob data" --b - "Omit bad blocks" +--omitoob - "Omit oob data" -s - "Start address" -l - "Length" -f - "Output file" |