[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: nandump options
From:       Ralf Friedl <Ralf.Friedl () online ! de>
Date:       2017-12-01 16:17:48
Message-ID: a83dc305-2547-ead5-4b23-17fa56af38a4 () online ! de
[Download RAW message or body]

A.W.C. wrote:
> What is correct syntax of a nanddump command?
As has been already hinted to you, none of your questions are related to 
busybox in any way, and from what you wrote, I'm not sure you know what 
busybox actually is. The nanddump command is not part of your version of 
busybox.

As for invoking nanddump, the usage message seems quite clear:
> nanddump rev. 1.1.1.1
>
> Usage: nanddump [OPTIONS] MTD-device
> Dumps the contents of a nand mtd partition.
>
> --help            display this help and exit
> --version            output version information and exit
> -f file    --file=file          dump to file
> -i        --ignoreerrors      ignore errors
> -l length  --length=length      length
> -n        --noecc              read without error correction
> -o        --omitoob            omit oob data
> -b        --omitbad            omit bad blocks from the dump
> -p        --prettyprint        print nice (hexdump)
> -s addr    --startaddress=addr  start address
>
>
> I tried commands
>
> nanddump -o -b -f  /tmp/hsfw.bin  -s 0x01b60000 -l 0x00080000
Missing mandatory argument MTD-device.
> nanddump  /dev/mtd9 /tmp/hsfw.bin
Unexpected argument after MTD-device.
> Also, are the -o and -b arguments already default?(included in nandump code)
Does the usage message indicate that they are already default? Does the 
usage message indicate there is a way to turn them of in case you don't 
want them? If the answer to both is no, then it is safe to assume that 
they are not on by default.
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic