diff options
| author | Miquel Raynal <[email protected]> | 2025-08-04 11:21:37 +0200 |
|---|---|---|
| committer | Michael Trimarchi <[email protected]> | 2025-08-23 16:37:22 +0200 |
| commit | d246e70cf81d0a0d7cc49abd520c93df59d42e16 (patch) | |
| tree | e1c287aa1ab2569f979f46a6a7e280cdada8a6d3 /scripts | |
| parent | bb5d3a7a1c83cca588b5795630bf8fb3db950e5e (diff) | |
cmd: mtd: Enable speed benchmarking
Linux features a flash_speed speed test from the mtd-utils suite, U-Boot
does not. Benchmarks are useful for speed improvement developments as
well as troubleshooting or regression testing sometimes.
Enable a benchmark option to enable this feature.
Example of output on a Nuvoton platform:
MA35D1> mtd read nor0 0x81000000 0 0x10000
Reading 65536 byte(s) at offset 0x00000000
MA35D1> mtd read.benchmark nor0 0x81000000 0 0x10000
Reading 65536 byte(s) at offset 0x00000000
Read speed: 3752kiB/s
Signed-off-by: Miquel Raynal <[email protected]>
Signed-off-by: Michael Trimarchi <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
