[u-boot-test-hooks][PATCH] labgrid: Add wrapper scripts around using labgrid-client for device control
Simon Glass
sjg at chromium.org
Fri Aug 30 03:06:10 CEST 2024
On Thu, 29 Aug 2024 at 12:56, Tom Rini <trini at konsulko.com> wrote:
>
> From: Edi Feschiyan <edi.feschiyan at konsulko.com>
>
> General usage for these hooks is documented in the README.md file. In
> terms of implementation, To start with, we add a common file to ensure
> that all required environment variables are set. Next, we add a console
> script which calls labgrid-console. We also add a reset script that
> behaves similarly. For writing files a wrapper around using
> labgrid-client sd-mux is provided and then both Raspberry Pi an TI K3
> platforms have writers provided. Sample board conf files can be found in
> the bin/konsulko-labgrid directory.
>
> Co-developed-by: Tom Rini <trini at konsulko.com>
> Signed-off-by: Edi Feschiyan <edi.feschiyan at konsulko.com>
> ---
> README.md | 13 ++++++
> bin/common.labgrid | 35 ++++++++++++++
> bin/console.labgrid | 24 ++++++++++
> bin/flash.labgrid.sd-mux | 31 +++++++++++++
> .../conf.am62x_beagleplay_a53_na | 30 ++++++++++++
> bin/konsulko-labgrid/conf.am64x_evm_a53_na | 30 ++++++++++++
> bin/konsulko-labgrid/conf.rpi_4_32b_na | 1 +
> bin/konsulko-labgrid/conf.rpi_4_na | 1 +
> bin/konsulko-labgrid/conf.rpi_arm64_na | 25 ++++++++++
> bin/reset.labgrid | 24 ++++++++++
> bin/writer.labgrid.rpi | 46 +++++++++++++++++++
> bin/writer.labgrid.ti-k3 | 35 ++++++++++++++
> 12 files changed, 295 insertions(+)
> create mode 100644 bin/common.labgrid
> create mode 100755 bin/console.labgrid
> create mode 100644 bin/flash.labgrid.sd-mux
> create mode 100644 bin/konsulko-labgrid/conf.am62x_beagleplay_a53_na
> create mode 100644 bin/konsulko-labgrid/conf.am64x_evm_a53_na
> create mode 120000 bin/konsulko-labgrid/conf.rpi_4_32b_na
> create mode 120000 bin/konsulko-labgrid/conf.rpi_4_na
> create mode 100644 bin/konsulko-labgrid/conf.rpi_arm64_na
> create mode 100755 bin/reset.labgrid
> create mode 100644 bin/writer.labgrid.rpi
> create mode 100644 bin/writer.labgrid.ti-k3
>
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list