Lines Matching +full:region +full:- +full:testing
9 - Clobber mode: The entire ROM can be used for testing.
10 - Layout mode: Target a region using a flashrom layout file.
11 - Descriptor mode: Target a region using an Intel flash descriptor (Intel systems)
12 - Flashmap mode: Target a region using a flashmap
14 …KiB block erase operations, however testing on large regions can be impractical for many devices. …
18 - DUT: Device under test
19 - Local host: The machine which is running the script. It might also be the DUT.
20 - Remote machine: DUT controlled via SSH with primary programmer.
22 - Primary programmer: The programmer which will be tested using the new version of flashrom.
23 …- Secondary programmer: An optional programmer which will be used along with the old version of fl…
27 For a full list of options use `-h/--help`.
31 `-n/--new <path>`: New (unstable) flashrom binary to test. Also see Note 1 below.
33 `-t/--type <type>`: Type of test to run:
34 - Single test: A single test of the specified mode will be run. If this type is selected, then a mo…
35 - Endurance test: The ROM will be erased/written with random content until the first failure.
37 `-p/--primary-programmer`: Primary programmer options, e.g. “internal”, “ch341a_spi”, etc.
39 …ions refer to files that are on the remote host, not the local host. See Testing on a Remote Host/…
41 …o using ${PATH}/flashrom if no old (presumably stable) flashrom binary is specified using -o/--old.
45 `-b/--backup-image`: Backup image that will be flashed to the target ROM unconditionally when the s…
47 `-o/--old <path>`: Old (stable) flashrom binary to test.
49 `--custom-hooks`: This allows the user to specify a script containing functions which are run at ce…
51 `--local-flashrom`: If a remote host and a secondary programmer are used, then a local copy of flas…
53 `-m/--mode <mode>`: Mode to operate in (Mandatory if single test type is chosen):
54 - Clobber mode: Any portion of the ROM may be used for testing.
55 - Layout mode: Portions specified using a layout file will be erased/written. A layout file must be…
56 - Descriptor mode (Intel systems only): Flashrom will read the flash descriptor from the DUT’s firm…
57 - Flashmap mode: Flashrom will read the flashmap from the DUT’s firmware ROM to determine which reg…
59 `--no-clean`: Do not remove temporary files if the script succeeds. Temporary files remain in the e…
61 `--skip-consistency-check`: By default, the script will read the ROM twice as a sanity check for co…
63 `--small-region`: Skip parts of the tests that require a large (>16KiB currently ) region to work w…
65 `-v/--voltage`: Supply voltage (in millivolts) for chip.
67 ## Testing on a Remote Host/DUT
69 …testing on a remote host via SSH. A remote host is specified by IP address or hostname using the `…
71 …mote testing modifies the meaning of arguments supplied to some options. In particular, paths spec…
75 `-r/--remote-host <host>`: The remote host by IP address or hostname.
77 `--ssh-port <port>`: Specify SSH port to use (default: 22).
79 ## Testing With a Secondary Programmer
86 `-s/--secondary-programmer <parameters>`: Specify the secondary programmer the same way you do with…
93 - Read the targeted section of the ROM twice to check for consistency.
94 - Test 4KiB block write capabilities:
95 - Write the lower half of a block and ensuring that data in the upper half is restored to its origi…
96 - Write over the boundary of two blocks, ensuring the data outside the targeted region is restored …
97 - Write the upper half of a block, ensuring that data in the lower half restored to its original st…
98 - Write a full block.
99 - Repeat step 2 for 64KiB blocks unless `--small-region` is used.
106 `flashrom$ sh util/ubertest/ubertest.sh -p ext_prog $MY_OPTS`
112 `flashrom$ sh util/ubertest/ubertest.sh -p internal $MY_OPTS`
118 `flashrom$ sh util/ubertest/ubertest.sh -r remote_host -p internal $MY_OPTS`
124 `flashrom$ sh util/ubertest/ubertest.sh -p internal -s ext_prog $MY_OPTS`
129 `flashrom # sh util/ubertest/ubertest.sh -p internal -s ext_prog -r remote_host $MY_OPTS`
131 …ill be used to check the result, a local flashrom binary must be supplied using `--local-flashrom`.
138 For each region layout mode, we will assume a different set of common options in `MY_OPTS`. For det…
142 `MY_OPTS=”-n new_flashrom -o old_flashrom -t single -m clobber”`
148 `MY_OPTS=”-n new_flashrom -o old_flashrom -t single -m layout -l layout.txt -layout-region RW”`
152 `MY_OPTS=”-n new_flashrom -o old_flashrom -t single -m descriptor --descriptor-region bios”`
156 `MY_OPTS=”-n new_flashrom -o old_flashrom -t single -m flashmap --flashmap-region RW_SECTION”`
163 `MY_OPTS=”-n new_flashrom -o old_flashrom -t endurance”`
173 Original document long URL: <https://docs.google.com/document/d/1IoBR7rHXJFiahC6dGnNKqaNFfg-q89_NMH…