It is possible to use QEMU and kvm to measure the time taken by U-Boot to hand off to Linux. Add a script to support this and print the resulting time. This requires a fair bit of setup; see the script for details. Signed-off-by: Simon Glass <sjg@chromium.org>
19 lines
614 B
ReStructuredText
19 lines
614 B
ReStructuredText
.. SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
Contributions
|
|
=============
|
|
|
|
The `contrib` directory contains software / files which have been contributed
|
|
to the U-Boot project but are not maintained by the core developers.
|
|
|
|
Note to contributors: Each item must have at least an entry in this file. Be
|
|
sure to add the appropriate GPL-2.0-or-later SPDX tag to files.
|
|
|
|
QEMU boot-timer script
|
|
----------------------
|
|
|
|
Runs qboot (or builds and starts U-Boot) and measures how long it takes to
|
|
start Lunux. Must be run in the U-Boot source directory.
|
|
|
|
File: `qemu-boot-timer.sh <../../../../contrib/qemu-boot-timer.sh>`_
|