[u-boot-test-hooks PATCH v3 0/2] Add support for Labgrid
Simon Glass
sjg at chromium.org
Fri Aug 23 23:31:21 CEST 2024
This adds hooks for use with Labgrid. The only existing hook that really
does anything now is the 'console' one. There is also a new 'getrole'
hook which looks up a role to find various things about it, such as the
U-Boot board name.
Changes in v3:
- Fall back to conf.${board_type}_${board_ident} if conf.all missing
- Update scripts for latest version of Labgrid integration
- Add poweroff.none and poweron.none
- Provide -n flag when querying board info
- Target the grpc version of Labgrid which is now in -master
- Update README to cover the changes
Changes in v2:
- Make use of the common script (only) to set bin_dir
- Make use of the common script (only) to set bin_dir
Simon Glass (2):
Create a common file for test scripts
Provide some basic scripts for Labgrid integration
README.md | 37 +++++++++++++++++++++++++++++++
bin/console.labgrid | 42 ++++++++++++++++++++++++++++++++++++
bin/ellesmere/common-labgrid | 32 +++++++++++++++++++++++++++
bin/ellesmere/conf.all | 24 +++++++++++++++++++++
bin/getrole.labgrid | 25 +++++++++++++++++++++
bin/poweroff.none | 22 +++++++++++++++++++
bin/poweron.none | 22 +++++++++++++++++++
bin/release.labgrid | 22 +++++++++++++++++++
bin/release.none | 22 +++++++++++++++++++
bin/u-boot-test-common | 35 ++++++++++++++++++++++++++++++
bin/u-boot-test-console | 8 +------
bin/u-boot-test-flash | 8 +------
bin/u-boot-test-getrole | 38 ++++++++++++++++++++++++++++++++
bin/u-boot-test-power-off | 8 +------
bin/u-boot-test-power-on | 8 +------
bin/u-boot-test-release | 26 ++++++++++++++++++++++
bin/u-boot-test-reset | 8 +------
17 files changed, 352 insertions(+), 35 deletions(-)
create mode 100644 bin/console.labgrid
create mode 100755 bin/ellesmere/common-labgrid
create mode 100644 bin/ellesmere/conf.all
create mode 100644 bin/getrole.labgrid
create mode 100755 bin/poweroff.none
create mode 100755 bin/poweron.none
create mode 100644 bin/release.labgrid
create mode 100644 bin/release.none
create mode 100755 bin/u-boot-test-common
create mode 100755 bin/u-boot-test-getrole
create mode 100755 bin/u-boot-test-release
--
2.34.1
More information about the U-Boot
mailing list