Stefan Reinauer has uploaded this change for review. ( https://review.coreboot.org/c/em100/+/47648 )
Change subject: README: Move usage to the bottom ......................................................................
README: Move usage to the bottom
Right now the usage string is separated from the explanation of options by a list of features. Clean up to make README more coherent.
Signed-off-by: Stefan Reinauer stefan.reinauer@coreboot.org Change-Id: I6f7c4d57fbecdac18e95fc9dc08ed8d857e4bf34 --- M README 1 file changed, 6 insertions(+), 9 deletions(-)
git pull ssh://review.coreboot.org:29418/em100 refs/changes/48/47648/1
diff --git a/README b/README index a76d34e..3509d58 100644 --- a/README +++ b/README @@ -10,9 +10,6 @@ providing a much faster development cycle than is possible by reprogramming the SPI flash each time.
-Example: - ./em100 --stop --set M25P80 -d file.bin --start -t -O 0xfff00000 - Major features provided by the tool include:
- Set the chip being emulated (the tool supports about 600) @@ -22,7 +19,10 @@ - Output a trace of SPI commands issued by the SoC - Reading / writing em100 firmware (dangerous as it can brick your em100)
-For help, use the -h option: +[1] https://www.dediprog.com/product/EM100Pro-G2 + +Example: + ./em100 --stop --set M25P80 -d file.bin -v --start -t -O 0xfff00000
Usage: -c|--set CHIP: select chip emulation @@ -36,20 +36,17 @@ -t|--trace: trace mode -O|--offset HEX_VAL: address offset for trace mode -T|--terminal: terminal mode - -F|--firmware-update FILE: update EM100pro firmware (dangerous) + -F|--firmware-update FILE|auto: update EM100pro firmware (dangerous) -f|--firmware-dump FILE: export raw EM100pro firmware to file -g|--firmware-write FILE: export EM100pro firmware to DPFW file -S|--set-serialno NUM: set serial number to NUM -V|--set-voltage [1.8|3.3] switch FPGA voltage -p|--holdpin [LOW|FLOAT|INPUT]: set the hold pin state -x|--device BUS:DEV use EM100pro on USB bus/device - -x|--device DPxxxxxx use EM100pro with serial no DPxxxxxx + -x|--device EMxxxxxx use EM100pro with serial no EMxxxxxx -l|--list-devices list all connected EM100pro devices -U|--update-files update device (chip) and firmware database -C|--compatible enable compatibility mode (patch image for EM100Pro) -D|--debug: print debug information. -h|--help: this help text
- -[1] https://www.dediprog.com/product/EM100Pro-G2 -
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/em100/+/47648 )
Change subject: README: Move usage to the bottom ......................................................................
Patch Set 1: Code-Review+2
Martin Roth has posted comments on this change. ( https://review.coreboot.org/c/em100/+/47648 )
Change subject: README: Move usage to the bottom ......................................................................
Patch Set 1: Code-Review+2
Stefan Reinauer has submitted this change. ( https://review.coreboot.org/c/em100/+/47648 )
Change subject: README: Move usage to the bottom ......................................................................
README: Move usage to the bottom
Right now the usage string is separated from the explanation of options by a list of features. Clean up to make README more coherent.
Signed-off-by: Stefan Reinauer stefan.reinauer@coreboot.org Change-Id: I6f7c4d57fbecdac18e95fc9dc08ed8d857e4bf34 Reviewed-on: https://review.coreboot.org/c/em100/+/47648 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Angel Pons th3fanbus@gmail.com Reviewed-by: Martin Roth martinroth@google.com --- M README 1 file changed, 6 insertions(+), 9 deletions(-)
Approvals: build bot (Jenkins): Verified Martin Roth: Looks good to me, approved Angel Pons: Looks good to me, approved
diff --git a/README b/README index a76d34e..3509d58 100644 --- a/README +++ b/README @@ -10,9 +10,6 @@ providing a much faster development cycle than is possible by reprogramming the SPI flash each time.
-Example: - ./em100 --stop --set M25P80 -d file.bin --start -t -O 0xfff00000 - Major features provided by the tool include:
- Set the chip being emulated (the tool supports about 600) @@ -22,7 +19,10 @@ - Output a trace of SPI commands issued by the SoC - Reading / writing em100 firmware (dangerous as it can brick your em100)
-For help, use the -h option: +[1] https://www.dediprog.com/product/EM100Pro-G2 + +Example: + ./em100 --stop --set M25P80 -d file.bin -v --start -t -O 0xfff00000
Usage: -c|--set CHIP: select chip emulation @@ -36,20 +36,17 @@ -t|--trace: trace mode -O|--offset HEX_VAL: address offset for trace mode -T|--terminal: terminal mode - -F|--firmware-update FILE: update EM100pro firmware (dangerous) + -F|--firmware-update FILE|auto: update EM100pro firmware (dangerous) -f|--firmware-dump FILE: export raw EM100pro firmware to file -g|--firmware-write FILE: export EM100pro firmware to DPFW file -S|--set-serialno NUM: set serial number to NUM -V|--set-voltage [1.8|3.3] switch FPGA voltage -p|--holdpin [LOW|FLOAT|INPUT]: set the hold pin state -x|--device BUS:DEV use EM100pro on USB bus/device - -x|--device DPxxxxxx use EM100pro with serial no DPxxxxxx + -x|--device EMxxxxxx use EM100pro with serial no EMxxxxxx -l|--list-devices list all connected EM100pro devices -U|--update-files update device (chip) and firmware database -C|--compatible enable compatibility mode (patch image for EM100Pro) -D|--debug: print debug information. -h|--help: this help text
- -[1] https://www.dediprog.com/product/EM100Pro-G2 -