Re: [PATCH 1/1] doc: describe u-boot-test-release

2025-05-05 Thread Mattijs Korpershoek
Hi Heinrich, Thank you for the patch. On sam., mai 03, 2025 at 12:14, Heinrich Schuchardt wrote: > The scripts u-boot-test-release is called at the end of testing. > Describe it. > > Signed-off-by: Heinrich Schuchardt Reviewed-by: Mattijs Korpershoek > --- > doc/deve

Re: [PATCH 1/1] doc: u-boot-test-reset: mention power cycling

2025-05-05 Thread Mattijs Korpershoek
Hi Heinrich, Thank you for the patch. On sam., mai 03, 2025 at 12:12, Heinrich Schuchardt wrote: > Using power cycling is a valid option to implement u-boot-test-reset. > > Signed-off-by: Heinrich Schuchardt Reviewed-by: Mattijs Korpershoek > --- > doc/develop/py_testing.r

Re: [PATCH 1/1] doc: describe u-boot-test-release

2025-05-03 Thread Simon Glass
On Sat, 3 May 2025 at 04:14, Heinrich Schuchardt wrote: > > The scripts u-boot-test-release is called at the end of testing. > Describe it. > > Signed-off-by: Heinrich Schuchardt > --- > doc/develop/py_testing.rst | 7 +++ > 1 file changed, 7 insertions(+) Reviewed-by: Simon Glass

[PATCH 1/1] doc: describe u-boot-test-release

2025-05-03 Thread Heinrich Schuchardt
The scripts u-boot-test-release is called at the end of testing. Describe it. Signed-off-by: Heinrich Schuchardt --- doc/develop/py_testing.rst | 7 +++ 1 file changed, 7 insertions(+) diff --git a/doc/develop/py_testing.rst b/doc/develop/py_testing.rst index 217ae447035..824e3c0d9a7

[PATCH 1/1] doc: u-boot-test-reset: mention power cycling

2025-05-03 Thread Heinrich Schuchardt
Using power cycling is a valid option to implement u-boot-test-reset. Signed-off-by: Heinrich Schuchardt --- doc/develop/py_testing.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/develop/py_testing.rst b/doc/develop/py_testing.rst index 824e3c0d9a7..33103bbd650

Re: [u-boot-test-hooks PATCH 1/1] travis-ci: qemu-riscv64_na: add a second network interface

2025-04-22 Thread Tom Rini
work interfaces. > > > [...] Applied to u-boot/u-boot-test-hooks.git/master, thanks! [1/1] travis-ci: qemu-riscv64_na: add a second network interface commit: a7bd2dc1f6fa4f9f2adecd983ca283df1bc48792 -- Tom

Re: [u-boot-test-hooks PATCH 1/2] travis-ci: Add qemu_arm/64_spl board

2025-04-21 Thread Tom Rini
On Wed, 16 Apr 2025 17:31:31 -0600, Simon Glass wrote: > These are similar to the existing qemu_arm/64 targets, except that the > 'bios' is image.bin (containing both SPL and U-Boot) rather than in > u-boot.bin > > Applied to u-boot/u-boot-test-hooks.git/master, than

Re: [u-boot-test-hooks][PATCH] Add support for FVP emulator and fiptool

2025-04-21 Thread Tom Rini
_bloblist platform. > > [...] Applied to u-boot/u-boot-test-hooks.git/master, thanks! [1/1] Add support for FVP emulator and fiptool commit: 0d8c51967901ae52c79ebe5180ad36fcac23b705 -- Tom

[u-boot-test-hooks PATCH 2/2] ellemere: Add qemu_arm/64_spl board

2025-04-16 Thread Simon Glass
These are similar to the existing qemu_arm/64 targets, except that the 'bios' is image.bin (containing both SPL and U-Boot) rather than in u-boot.bin They will be used for testing standard passage on QEMU Signed-off-by: Simon Glass --- bin/ellesmere/conf.qemu_arm64_spl_na | 1 + bin/ellesmere/

[u-boot-test-hooks PATCH 1/2] travis-ci: Add qemu_arm/64_spl board

2025-04-16 Thread Simon Glass
These are similar to the existing qemu_arm/64 targets, except that the 'bios' is image.bin (containing both SPL and U-Boot) rather than in u-boot.bin Signed-off-by: Simon Glass --- bin/travis-ci/conf.qemu_arm64_spl_na | 32 bin/travis-ci/conf.qemu_arm_spl_na | 31

Re: [u-boot-test-hooks][PATCH] Add support for FVP emulator and fiptool

2025-04-16 Thread Harrison Mutai
On 15/04/2025 22:50, Tom Rini wrote: This adds support for the vexpress_fvp platforms. In order to do that we need to add support for calling fiptool to update an existing "fip" file with our U-Boot build. We also need to support launching the FVP emulator itself. This is a little tricky in that

[u-boot-test-hooks][PATCH] Add support for FVP emulator and fiptool

2025-04-15 Thread Tom Rini
This adds support for the vexpress_fvp platforms. In order to do that we need to add support for calling fiptool to update an existing "fip" file with our U-Boot build. We also need to support launching the FVP emulator itself. This is a little tricky in that we need to use "telnet" to reach the cr

Re: [u-boot-test-hooks PATCH 1/1] travis-ci: qemu-riscv64_na: add a second network interface

2025-04-15 Thread Ilias Apalodimas
On Tue, 15 Apr 2025 at 12:12, Heinrich Schuchardt wrote: > > U-Boot allows to have multiple network interfaces and switching between > these. This functionality cannot be tested if QEMU only emulates a single > NIC. > > Provide a QEMU configuration with multiple network interfaces. > > Signed-off-

[u-boot-test-hooks PATCH 1/1] travis-ci: qemu-riscv64_na: add a second network interface

2025-04-15 Thread Heinrich Schuchardt
U-Boot allows to have multiple network interfaces and switching between these. This functionality cannot be tested if QEMU only emulates a single NIC. Provide a QEMU configuration with multiple network interfaces. Signed-off-by: Heinrich Schuchardt --- bin/travis-ci/conf.qemu-riscv64_na | 2 +-

Re: (subset) [u-boot-test-hooks PATCH 1/3] labgrid: Deal with strange Python error

2025-03-05 Thread Tom Rini
s > > > sometimes with Python 3.12.3 > > > > > > Make the file executable while we are here. > > > > > > > > > > Applied to u-boot/u-boot-test-hooks.git/master, thanks! > > I have seen a few responses like this. Is there a way i

Re: (subset) [u-boot-test-hooks PATCH 1/3] labgrid: Deal with strange Python error

2025-03-05 Thread Simon Glass
re here. > > > > > > Applied to u-boot/u-boot-test-hooks.git/master, thanks! I have seen a few responses like this. Is there a way in the tool to indicate which 'part' was applied? It's not a problem to leave things out...I saw your comments and will take a look. Regards, SImon

Re: (subset) [u-boot-test-hooks PATCH 1/3] labgrid: Deal with strange Python error

2025-03-03 Thread Tom Rini
On Fri, 21 Feb 2025 13:32:40 -0700, Simon Glass wrote: > Add a way to work around an unexplained Python message which appears > sometimes with Python 3.12.3 > > Make the file executable while we are here. > > Applied to u-boot/u-boot-test-hooks.git/master, thanks! -- Tom

Re: [u-boot-test-hooks PATCH 1/2] labgrid-sjg: Add kea lab

2025-03-03 Thread Tom Rini
On Fri, 21 Feb 2025 13:43:01 -0700, Simon Glass wrote: > Add the current state of the kea lab as an example to others. > > This includes 48 boards, not all of which work. > > Applied to u-boot/u-boot-test-hooks.git/master, thanks! -- Tom

Re: [u-boot-test-hooks PATCH 2/2] labgrid-sjg: Add systemd scripts

2025-02-21 Thread Tom Rini
On Fri, Feb 21, 2025 at 01:43:02PM -0700, Simon Glass wrote: > Add example scripts to start the coordinator and exporter. > > Signed-off-by: Simon Glass > --- > > labgrid-sjg/labgrid-coordinator.service | 14 ++ > labgrid-sjg/labgrid-exporter.service| 22 ++

Re: [u-boot-test-hooks PATCH 3/3] RFC: Add some network info for ellesmere lab

2025-02-21 Thread Tom Rini
On Fri, Feb 21, 2025 at 01:32:42PM -0700, Simon Glass wrote: > Provide network configuration so that some networking tests can be run > on ellesmere. > > Signed-off-by: Simon Glass > --- > > py/ellesmere/ellesmere_tftp.py| 32 Erm, can't you just use py/travis-c

[u-boot-test-hooks PATCH 2/2] labgrid-sjg: Add systemd scripts

2025-02-21 Thread Simon Glass
Add example scripts to start the coordinator and exporter. Signed-off-by: Simon Glass --- labgrid-sjg/labgrid-coordinator.service | 14 ++ labgrid-sjg/labgrid-exporter.service| 22 ++ 2 files changed, 36 insertions(+) create mode 100644 labgrid-sjg/labgrid-c

[u-boot-test-hooks PATCH 1/2] labgrid-sjg: Add kea lab

2025-02-21 Thread Simon Glass
Add the current state of the kea lab as an example to others. This includes 48 boards, not all of which work. Signed-off-by: Simon Glass --- labgrid-sjg/kea_env.cfg | 1546 +++ labgrid-sjg/kea_export.yaml | 1117 + labgrid-sjg/kea_pla

[u-boot-test-hooks PATCH 2/3] ellesmere: Add QEMU config for riscv, arm, x86

2025-02-21 Thread Simon Glass
Add symlinks so that the (non-labgrid) lab works on ellesmere. Signed-off-by: Simon Glass --- bin/ellesmere/conf.qemu-riscv32_na | 1 + bin/ellesmere/conf.qemu-riscv32_spl_na | 1 + bin/ellesmere/conf.qemu-riscv64_na | 1 + bin/ellesmere/conf.qemu-x86_64_na | 1 + bin/ellesmere/con

[u-boot-test-hooks PATCH 3/3] RFC: Add some network info for ellesmere lab

2025-02-21 Thread Simon Glass
Provide network configuration so that some networking tests can be run on ellesmere. Signed-off-by: Simon Glass --- py/ellesmere/ellesmere_tftp.py| 32 py/ellesmere/u_boot_boardenv_qemu_arm64_na.py | 18 + py/ellesmere/u_boot_boardenv_qemu_arm_na.py |

[u-boot-test-hooks PATCH 1/3] labgrid: Deal with strange Python error

2025-02-21 Thread Simon Glass
Add a way to work around an unexplained Python message which appears sometimes with Python 3.12.3 Make the file executable while we are here. Signed-off-by: Simon Glass --- bin/getrole.labgrid-sjg | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) mode change 100644 => 100755 b

Re: [PATCH u-boot-test-hooks] py/konsulko-labgrid: Add sample rpi_arm64 / rpi_4 boardenv file

2025-02-20 Thread Tom Rini
able network based tests, including OS boot on the > platform. > > > [...] Applied to u-boot/u-boot-test-hooks.git/master, thanks! -- Tom

[PATCH u-boot-test-hooks] py/konsulko-labgrid: Add sample rpi_arm64 / rpi_4 boardenv file

2025-02-17 Thread Tom Rini
To match up with the sample conf file under bin/konsulko-labgrid, add a boardenv file for the rpi_4 and rpi_arm64 variants (cannot be shared with rpi_4_32b as we have aarch64 specific example test files). This shows how to enable network based tests, including OS boot on the platform. Signed-off-b

[PATCH 2/5] test/py: Handle u-boot-test-getrole failure

2024-12-14 Thread Simon Glass
This script can fail if there is no toolchain available for the board. At present this is not handled very nicely, in that only the error output is reported. It is much more useful to see everything, so combine stdout and stderr and report them both. Signed-off-by: Simon Glass --- test/py/conft

Re: [u-boot-test-hooks][PATCH] labgrid: Add wrapper scripts around using labgrid-client for device control

2024-11-04 Thread Tom Rini
s can be found in > the bin/konsulko-labgrid directory. > > Reviewed-by: Simon Glass > Co-developed-by: Tom Rini > Signed-off-by: Edi Feschiyan With a rename to suffix these as "-trini", applied to u-boot-test-hooks/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [u-boot-test-hooks PATCH v5 0/3] Add support for Labgrid

2024-11-04 Thread Tom Rini
d cover letter for Labgrid-sjg > > [...] Applied to u-boot/u-boot-test-hooks.git/master, thanks! -- Tom

[u-boot-test-hooks PATCH v5 1/3] Create a common file for test scripts

2024-11-04 Thread Simon Glass
The top part of each of the u-boot-test-* files is common. Put it in a common script file to avoid duplication and to allow it to be replaced for the Labgrid-sjg integration. Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v5: - Use Labgrid-sjg instead of Labgrid - Use

[u-boot-test-hooks PATCH v5 3/3] Provide some basic scripts for Labgrid integration

2024-11-04 Thread Simon Glass
| 22 ++ bin/u-boot-test-getrole | 38 bin/u-boot-test-release | 26 9 files changed, 296 insertions(+) create mode 100644 bin/console.labgrid-sjg create mode 100755 bin/ellesmere/common-labgrid-sjg create mode 100644 bin/elle

[u-boot-test-hooks PATCH v5 2/3] Add .none scripts for power off/on

2024-11-04 Thread Simon Glass
These methods don't have a 'none' method right now, but it will be needed for Labgrid. Add these scripts. Note that these are not used by the existing integration, which requires that boards can be powered off and on. Signed-off-by: Simon Glass --- (no changes since v4) Changes in v4: - Add ne

[u-boot-test-hooks PATCH v5 0/3] Add support for Labgrid

2024-11-04 Thread Simon Glass
ease.none | 22 ++ bin/u-boot-test-common | 36 ++ 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 +

Re: [u-boot-test-hooks PATCH] qemu_arm64_tpl: Add a new board

2024-09-26 Thread Tom Rini
On Wed, 25 Sep 2024 11:47:40 +0200, Simon Glass wrote: > Add this new board, to support testing the relocating SPL loader. > > Applied to u-boot/u-boot-test-hooks.git/master, thanks! -- Tom

Re: [u-boot-test-hooks PATCH] qemu_arm64_tpl: Add a new board

2024-09-26 Thread Simon Glass
Hi Tom, On Wed, 25 Sept 2024 at 19:26, Tom Rini wrote: > > On Wed, Sep 25, 2024 at 11:47:40AM +0200, Simon Glass wrote: > > > Add this new board, to support testing the relocating SPL loader. > > > > Signed-off-by: Simon Glass > > --- > > > > bin/travis-ci/conf.qemu_arm64_tpl_na | 29 ++

Re: [u-boot-test-hooks PATCH] qemu_arm64_tpl: Add a new board

2024-09-25 Thread Tom Rini
On Wed, Sep 25, 2024 at 11:47:40AM +0200, Simon Glass wrote: > Add this new board, to support testing the relocating SPL loader. > > Signed-off-by: Simon Glass > --- > > bin/travis-ci/conf.qemu_arm64_tpl_na | 29 > 1 file changed, 29 insertions(+) > create mode 10

[u-boot-test-hooks PATCH] qemu_arm64_tpl: Add a new board

2024-09-25 Thread Simon Glass
Add this new board, to support testing the relocating SPL loader. Signed-off-by: Simon Glass --- bin/travis-ci/conf.qemu_arm64_tpl_na | 29 1 file changed, 29 insertions(+) create mode 100644 bin/travis-ci/conf.qemu_arm64_tpl_na diff --git a/bin/travis-ci/conf.qem

Re: [u-boot-test-hooks][PATCH] travis-ci: Add qemu-arm-sbsa-ref

2024-09-24 Thread Tom Rini
On Tue, 24 Sep 2024 10:49:35 +0200, Patrick Rudolph wrote: > Add support for testing sbsa-ref via QEMU. sbsa-ref has two SPI > NOR flash, one for Arm-TF and one for unsecure firmware, providing > ACPI tables to the OS. > > Applied to u-boot/u-boot-test-hooks.git/master, thanks! -- Tom

Re: [u-boot-test-hooks][PATCH] travis-ci: Add qemu-arm-sbsa-ref

2024-09-24 Thread Tom Rini
On Tue, Sep 24, 2024 at 10:49:35AM +0200, Patrick Rudolph wrote: > Add support for testing sbsa-ref via QEMU. sbsa-ref has two SPI > NOR flash, one for Arm-TF and one for unsecure firmware, providing > ACPI tables to the OS. > > Signed-off-by: Patrick Rudolph Reviewed-by: Tom Rini -- Tom s

[u-boot-test-hooks][PATCH] travis-ci: Add qemu-arm-sbsa-ref

2024-09-24 Thread Patrick Rudolph
Add support for testing sbsa-ref via QEMU. sbsa-ref has two SPI NOR flash, one for Arm-TF and one for unsecure firmware, providing ACPI tables to the OS. Signed-off-by: Patrick Rudolph --- bin/travis-ci/conf.qemu-arm-sbsa_na | 27 +++ 1 file changed, 27 insertions(+) cre

Re: [u-boot-test-hooks PATCH v4 3/3] Provide some basic scripts for Labgrid integration

2024-09-19 Thread Simon Glass
Hi Tom, On Tue, 3 Sept 2024 at 20:54, Tom Rini wrote: > > On Sun, Sep 01, 2024 at 02:09:47PM -0600, Simon Glass wrote: > > [snip] > > > As an aside, please review the ti,am625 stuff with some TI folks, that's > > > both far too specific (you're going to need to add different am62 and > > > am64 a

Re: [u-boot-test-hooks][PATCH 1/2] bin/writer.rpi_mount: Use kernel= and simplify logic

2024-09-04 Thread Tom Rini
uld not grow) also pass in arm_64bit=1. > > Applied to u-boot/u-boot-test-hooks.git/master, thanks! -- Tom

Re: [u-boot-test-hooks PATCH v4 3/3] Provide some basic scripts for Labgrid integration

2024-09-03 Thread Tom Rini
On Sun, Sep 01, 2024 at 02:09:47PM -0600, Simon Glass wrote: [snip] > > As an aside, please review the ti,am625 stuff with some TI folks, that's > > both far too specific (you're going to need to add different am62 and > > am64 and am69 and j7... and on and on cases) and I forget if there's > > so

Re: [u-boot-test-hooks][PATCH] travis-ci: Skip the saveenv and reset test cases on xilinx zynq qemu

2024-09-02 Thread Tom Rini
On Mon, Sep 02, 2024 at 12:11:22PM +0200, Michal Simek wrote: > Hi Tom, > > On 9/2/24 11:53, Venkatesh Yadav Abbarapu wrote: > > There is an issue with the xilinx zynq qemu qspi driver during the erase > > operation in dual parallel configuration, so skip these > > tests for now. > > > > Signed-o

Re: [u-boot-test-hooks][PATCH] travis-ci: Skip the saveenv and reset test cases on xilinx zynq qemu

2024-09-02 Thread Tom Rini
On Mon, 02 Sep 2024 15:23:57 +0530, Venkatesh Yadav Abbarapu wrote: > There is an issue with the xilinx zynq qemu qspi driver during the erase > operation in dual parallel configuration, so skip these > tests for now. > > Applied to u-boot/u-boot-test-hooks.git/master, thanks! -- Tom

Re: [u-boot-test-hooks][PATCH] travis-ci: Skip the saveenv and reset test cases on xilinx zynq qemu

2024-09-02 Thread Michal Simek
Hi Tom, On 9/2/24 11:53, Venkatesh Yadav Abbarapu wrote: There is an issue with the xilinx zynq qemu qspi driver during the erase operation in dual parallel configuration, so skip these tests for now. Signed-off-by: Venkatesh Yadav Abbarapu --- py/travis-ci/u_boot_boardenv_xilinx_zynq_virt_q

[u-boot-test-hooks][PATCH] travis-ci: Skip the saveenv and reset test cases on xilinx zynq qemu

2024-09-02 Thread Venkatesh Yadav Abbarapu
There is an issue with the xilinx zynq qemu qspi driver during the erase operation in dual parallel configuration, so skip these tests for now. Signed-off-by: Venkatesh Yadav Abbarapu --- py/travis-ci/u_boot_boardenv_xilinx_zynq_virt_qemu.py | 2 ++ py/travis-ci/u_boot_boardenv_zynq_zc702_qemu.p

Re: [u-boot-test-hooks PATCH v4 3/3] Provide some basic scripts for Labgrid integration

2024-09-01 Thread Simon Glass
tforms using this as a basis? I > > > > > >> ask > > > > > >> mostly because putting a bunch of my devices into some sort of > > > > > >> platform can auto test things and of course everyone has an > >

Re: [u-boot-test-hooks][PATCH 1/2] bin/writer.rpi_mount: Use kernel= and simplify logic

2024-08-30 Thread Tom Rini
On Fri, Aug 30, 2024 at 08:19:04AM -0600, Simon Glass wrote: > Hi Tom, > > On Thu, Aug 29, 2024, 19:49 Tom Rini wrote: > > > > On Thu, Aug 29, 2024 at 07:06:06PM -0600, Simon Glass wrote: > > > On Thu, 29 Aug 2024 at 12:56, Tom Rini wrote: > > > > > > > > Rather than guess what we need to name o

Re: [u-boot-test-hooks PATCH v4 3/3] Provide some basic scripts for Labgrid integration

2024-08-30 Thread Tom Rini
t; to > > > > >> which is the best one :-P > > > > > > > > > > Yes. I had heard from Tom that Labgrid is the new hotness for now. > > > > > Having dug into it I believe it is a good solution, although it can > > > > > cer

Re: [u-boot-test-hooks][PATCH 1/2] bin/writer.rpi_mount: Use kernel= and simplify logic

2024-08-30 Thread Simon Glass
Hi Tom, On Thu, Aug 29, 2024, 19:49 Tom Rini wrote: > > On Thu, Aug 29, 2024 at 07:06:06PM -0600, Simon Glass wrote: > > On Thu, 29 Aug 2024 at 12:56, Tom Rini wrote: > > > > > > Rather than guess what we need to name our u-boot.bin file as for it to > > > boot make use of the kernel= option to

Re: [u-boot-test-hooks PATCH v4 3/3] Provide some basic scripts for Labgrid integration

2024-08-30 Thread neil . armstrong
s. For that I have been using tbot (with integrated build and software-loading features). WIth Labgrid I have been able to replace most of the pytest scripts, tbot and Labman with Labgrid + 60 patches and some configuration files. Let's look through the scripts: u-boot-test-common - new script u-

Re: [u-boot-test-hooks PATCH v4 3/3] Provide some basic scripts for Labgrid integration

2024-08-30 Thread Michal Simek
+Kevin, On 8/29/24 00:27, Simon Glass wrote: Hi Tom, On Wed, 28 Aug 2024 at 15:33, Tom Rini wrote: On Wed, Aug 28, 2024 at 03:25:00PM -0600, Simon Glass wrote: Hi Tom, On Wed, 28 Aug 2024 at 14:19, Tom Rini wrote: On Wed, Aug 28, 2024 at 10:45:23AM -0600, Simon Glass wrote: With Labgr

Re: [u-boot-test-hooks][PATCH 1/2] bin/writer.rpi_mount: Use kernel= and simplify logic

2024-08-29 Thread Tom Rini
On Thu, Aug 29, 2024 at 07:06:06PM -0600, Simon Glass wrote: > On Thu, 29 Aug 2024 at 12:56, Tom Rini wrote: > > > > Rather than guess what we need to name our u-boot.bin file as for it to > > boot make use of the kernel= option to always call it u-boot.bin and > > then on 64bit platforms (and sin

Re: [u-boot-test-hooks PATCH v4 3/3] Provide some basic scripts for Labgrid integration

2024-08-29 Thread Simon Glass
can auto test things and of course everyone has an opinion to > > > >> which is the best one :-P > > > > > > > > Yes. I had heard from Tom that Labgrid is the new hotness for now. > > > > Having dug into it I believe it is a good solution, although it

Re: [u-boot-test-hooks][PATCH] labgrid: Add wrapper scripts around using labgrid-client for device control

2024-08-29 Thread Simon Glass
On Thu, 29 Aug 2024 at 12:56, Tom Rini wrote: > > From: Edi Feschiyan > > 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 > scri

Re: [u-boot-test-hooks][PATCH 2/2] bin/flashair.rpi: Use kernel= and simplify logic

2024-08-29 Thread Simon Glass
On Thu, 29 Aug 2024 at 12:56, Tom Rini wrote: > > Rather than guess what we need to name our u-boot.bin file as for it to > boot make use of the kernel= option to always call it u-boot.bin and > then on 64bit platforms (and since future platforms use rpi_arm64 this > list should not grow) also pas

Re: [u-boot-test-hooks][PATCH 1/2] bin/writer.rpi_mount: Use kernel= and simplify logic

2024-08-29 Thread Simon Glass
On Thu, 29 Aug 2024 at 12:56, Tom Rini wrote: > > Rather than guess what we need to name our u-boot.bin file as for it to > boot make use of the kernel= option to always call it u-boot.bin and > then on 64bit platforms (and since future platforms use rpi_arm64 this > list should not grow) also pas

[u-boot-test-hooks][PATCH] labgrid: Add wrapper scripts around using labgrid-client for device control

2024-08-29 Thread Tom Rini
From: Edi Feschiyan 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 t

[u-boot-test-hooks][PATCH 2/2] bin/flashair.rpi: Use kernel= and simplify logic

2024-08-29 Thread Tom Rini
Rather than guess what we need to name our u-boot.bin file as for it to boot make use of the kernel= option to always call it u-boot.bin and then on 64bit platforms (and since future platforms use rpi_arm64 this list should not grow) also pass in arm_64bit=1. Signed-off-by: Tom Rini --- bin/flas

[u-boot-test-hooks][PATCH 1/2] bin/writer.rpi_mount: Use kernel= and simplify logic

2024-08-29 Thread Tom Rini
Rather than guess what we need to name our u-boot.bin file as for it to boot make use of the kernel= option to always call it u-boot.bin and then on 64bit platforms (and since future platforms use rpi_arm64 this list should not grow) also pass in arm_64bit=1. Signed-off-by: Tom Rini --- bin/writ

Re: [u-boot-test-hooks PATCH v4 3/3] Provide some basic scripts for Labgrid integration

2024-08-29 Thread Tom Rini
On Thu, Aug 29, 2024 at 09:02:38AM -0600, Simon Glass wrote: > Hi Neil, > > On Thu, 29 Aug 2024 at 08:44, wrote: > > > > On 29/08/2024 14:17, Simon Glass wrote: > > > Hi Peter, > > > > > > On Thu, 29 Aug 2024 at 04:43, Peter Robinson wrote: > > >> > > >> On Wed, 28 Aug 2024 at 22:25, Simon Glass

Re: [u-boot-test-hooks PATCH v4 3/3] Provide some basic scripts for Labgrid integration

2024-08-29 Thread Simon Glass
t Labgrid might be worth a look. I had never even heard of it before that. I don't mind about choosing golden CI systems. The more the merrier. I want to have my boards connected to gitlab so things like bloblist changes don't break my boards. At this point I have convinced myself that Labgrid

Re: [u-boot-test-hooks PATCH v4 3/3] Provide some basic scripts for Labgrid integration

2024-08-29 Thread neil . armstrong
bin/ellesmere/common-labgrid | 46 + bin/ellesmere/conf.all | 24 + bin/getrole.labgrid | 25 ++ bin/release.labgrid | 22 bin/release.none | 22 bin/u-boot-test-getrole | 38 ++

Re: [u-boot-test-hooks PATCH v4 3/3] Provide some basic scripts for Labgrid integration

2024-08-29 Thread Tom Rini
On Thu, Aug 29, 2024 at 11:43:12AM +0100, Peter Robinson wrote: > On Wed, 28 Aug 2024 at 22:25, Simon Glass wrote: > > > > Hi Peter, > > > > On Wed, 28 Aug 2024 at 12:14, Peter Robinson wrote: > > > > > > Hi Simon, > > > > > > > With Labgrid we don't need to specify the various methods, except fo

Re: [u-boot-test-hooks PATCH v4 3/3] Provide some basic scripts for Labgrid integration

2024-08-29 Thread Simon Glass
/validation.linaro.org/ > > > so having it in the main place (and perhaps eventually removing the > > old way) is my goal. > > > > > > > > > bin/console.labgrid | 42 ++ > > > > bin/ellesmere/common-labgrid | 4

Re: [u-boot-test-hooks PATCH v4 3/3] Provide some basic scripts for Labgrid integration

2024-08-29 Thread Peter Robinson
and of course everyone has an opinion to which is the best one :-P [1] https://validation.linaro.org/ > so having it in the main place (and perhaps eventually removing the > old way) is my goal. > > > > > > bin/console.labgrid | 42 ++++++ > >

Re: [u-boot-test-hooks PATCH v4 3/3] Provide some basic scripts for Labgrid integration

2024-08-28 Thread Simon Glass
Hi Tom, On Wed, 28 Aug 2024 at 15:33, Tom Rini wrote: > > On Wed, Aug 28, 2024 at 03:25:00PM -0600, Simon Glass wrote: > > Hi Tom, > > > > On Wed, 28 Aug 2024 at 14:19, Tom Rini wrote: > > > > > > On Wed, Aug 28, 2024 at 10:45:23AM -0600, Simon Glass wrote: > > > > > > > With Labgrid we don't ne

Re: [u-boot-test-hooks PATCH v4 3/3] Provide some basic scripts for Labgrid integration

2024-08-28 Thread Tom Rini
On Wed, Aug 28, 2024 at 03:25:00PM -0600, Simon Glass wrote: > Hi Tom, > > On Wed, 28 Aug 2024 at 14:19, Tom Rini wrote: > > > > On Wed, Aug 28, 2024 at 10:45:23AM -0600, Simon Glass wrote: > > > > > With Labgrid we don't need to specify the various methods, except for > > > the console, which si

Re: [u-boot-test-hooks PATCH v4 3/3] Provide some basic scripts for Labgrid integration

2024-08-28 Thread Simon Glass
Hi Tom, On Wed, 28 Aug 2024 at 14:19, Tom Rini wrote: > > On Wed, Aug 28, 2024 at 10:45:23AM -0600, Simon Glass wrote: > > > With Labgrid we don't need to specify the various methods, except for > > the console, which simply calls labgrid-client. > > > > This allows supporting any boards in your

Re: [u-boot-test-hooks PATCH v4 3/3] Provide some basic scripts for Labgrid integration

2024-08-28 Thread Simon Glass
bin/ellesmere/common-labgrid | 46 + > > bin/ellesmere/conf.all | 24 + > > bin/getrole.labgrid | 25 ++++++ > > bin/release.labgrid | 22 > > bin/release.none

Re: [u-boot-test-hooks PATCH v4 3/3] Provide some basic scripts for Labgrid integration

2024-08-28 Thread Tom Rini
On Wed, Aug 28, 2024 at 10:45:23AM -0600, Simon Glass wrote: > With Labgrid we don't need to specify the various methods, except for > the console, which simply calls labgrid-client. > > This allows supporting any boards in your lab, without adding per-board > configuration to these hooks. > > P

Re: [u-boot-test-hooks PATCH v4 3/3] Provide some basic scripts for Labgrid integration

2024-08-28 Thread Tom Rini
On Wed, Aug 28, 2024 at 07:14:01PM +0100, Peter Robinson wrote: > Hi Simon, > > > With Labgrid we don't need to specify the various methods, except for > > the console, which simply calls labgrid-client. > > > > This allows supporting any boards in your lab, without adding per-board > > configurat

Re: [u-boot-test-hooks PATCH v4 3/3] Provide some basic scripts for Labgrid integration

2024-08-28 Thread Peter Robinson
gt; bin/getrole.labgrid | 25 ++ > bin/release.labgrid | 22 > bin/release.none | 22 > bin/u-boot-test-getrole | 38 +++ > bin/u-boot-test-release | 26 +++ > 9 files ch

Re: [u-boot-test-hooks PATCH v4 1/3] Create a common file for test scripts

2024-08-28 Thread Tom Rini
On Wed, Aug 28, 2024 at 10:45:21AM -0600, Simon Glass wrote: > The top part of each of the u-boot-test-* files is common. Put it in > a common script file to avoid duplication and to allow it to be > replaced for the Labgrid integration. > > Signed-off-by: Simon Glass Review

[u-boot-test-hooks PATCH v4 3/3] Provide some basic scripts for Labgrid integration

2024-08-28 Thread Simon Glass
| 46 + bin/ellesmere/conf.all | 24 + bin/getrole.labgrid | 25 ++ bin/release.labgrid | 22 bin/release.none | 22 bin/u-boot-test-getrole | 38 +++ bin/u-boot

[u-boot-test-hooks PATCH v4 2/3] Add .none scripts for power off/on

2024-08-28 Thread Simon Glass
These methods don't have a 'none' method right now, but it will be needed for Labgrid. Add these scripts. Note that these are not used by the existing integration, which requires that boards can be powered off and on. Signed-off-by: Simon Glass --- Changes in v4: - Add new patch to add .none sc

[u-boot-test-hooks PATCH v4 1/3] Create a common file for test scripts

2024-08-28 Thread Simon Glass
The top part of each of the u-boot-test-* files is common. Put it in a common script file to avoid duplication and to allow it to be replaced for the Labgrid integration. Signed-off-by: Simon Glass --- Changes in v4: - Use an environment variable to select the Labgrid hooks Changes in v3

[u-boot-test-hooks PATCH v4 0/3] Add support for Labgrid

2024-08-28 Thread Simon Glass
+++ bin/release.none | 22 ++++++++ bin/u-boot-test-common | 36 ++++++ bin/u-boot-test-console | 8 +----- bin/u-boot-test-flash | 8 +----- bin/u-boot-test-getrole | 38 +++++++ bin/u-boot-test-power-off

Re: [u-boot-test-hooks PATCH v3 1/2] Create a common file for test scripts

2024-08-23 Thread Tom Rini
On Fri, Aug 23, 2024 at 03:31:22PM -0600, Simon Glass wrote: > The top part of each of the u-boot-test-* files is common. Put it in > a common script file to avoid duplication and to allow it to be > replaced for the Labgrid integration. > > Signed-off-by: Simon Glass Review

[u-boot-test-hooks PATCH v3 2/2] Provide some basic scripts for Labgrid integration

2024-08-23 Thread Simon Glass
bgrid | 25 + bin/poweroff.none| 22 +++ bin/poweron.none | 22 +++ bin/release.labgrid | 22 +++ bin/release.none | 22 +++ bin/u-boot-test-getrole

[u-boot-test-hooks PATCH v3 1/2] Create a common file for test scripts

2024-08-23 Thread Simon Glass
The top part of each of the u-boot-test-* files is common. Put it in a common script file to avoid duplication and to allow it to be replaced for the Labgrid integration. Signed-off-by: Simon Glass --- Changes in v3: - Fall back to conf.${board_type}_${board_ident} if conf.all missing Changes

[u-boot-test-hooks PATCH v3 0/2] Add support for Labgrid

2024-08-23 Thread Simon Glass
one | 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 +---

Re: [U-BOOT-TEST][PATCH 1/1] travis-ci: SiFive Unleashed: avoid format warning

2024-06-24 Thread Tom Rini
On Sun, 23 Jun 2024 12:58:15 +0200, Heinrich Schuchardt wrote: > QEMU expects the file format to be specified even for raw files. > Currently this change only suppresses a warning. > > Applied to u-boot/u-boot-test-hooks.git/master, thanks! -- Tom

[U-BOOT-TEST][PATCH 1/1] travis-ci: SiFive Unleashed: avoid format warning

2024-06-23 Thread Heinrich Schuchardt
QEMU expects the file format to be specified even for raw files. Currently this change only suppresses a warning. Signed-off-by: Heinrich Schuchardt --- bin/travis-ci/conf.sifive_unleashed_sdcard_qemu | 2 +- bin/travis-ci/conf.sifive_unleashed_spi-nor_qemu | 2 +- 2 files changed, 2 insertions

Re: [u-boot-test-hooks PATCH 0/4] QEMU Updates

2024-06-18 Thread Tom Rini
On Tue, 11 Jun 2024 22:00:21 +0100, Jiaxun Yang wrote: > This series updated u-boot-test-hooks to adopt QEMU 9.0. > > It also introduced 3 new boards: qemu-arm64be, qemu-xtensa-dc233c and > qemu-loongarch64. > > This is required for CI changes. > > [...] Applied, than

Re: [u-boot-test-hooks PATCH v2 1/2] Create a common file for test scripts

2024-06-13 Thread Tom Rini
On Wed, Jun 12, 2024 at 07:15:11PM -0600, Simon Glass wrote: > The top part of each of the u-boot-test-* files is common. Put it in > a common script file to avoid duplication and to allow it to be > replaced for the Labgrid integration. > > Signed-off-by: Simon Glass Review

[u-boot-test-hooks PATCH v2 2/2] Provide some basic scripts for Labgrid integration

2024-06-12 Thread Simon Glass
| 24 + bin/getrole.labgrid | 25 + bin/release.labgrid | 22 +++ bin/release.none | 22 +++ bin/u-boot-test-common | 6 +- bin/u-boot-test-getrole

[u-boot-test-hooks PATCH v2 1/2] Create a common file for test scripts

2024-06-12 Thread Simon Glass
The top part of each of the u-boot-test-* files is common. Put it in a common script file to avoid duplication and to allow it to be replaced for the Labgrid integration. Signed-off-by: Simon Glass --- Changes in v2: - Make use of the common script (only) to set bin_dir bin/u-boot-test-common

[u-boot-test-hooks PATCH v2 0/2] Add support for Labgrid

2024-06-12 Thread Simon Glass
+++++ 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-te

Re: [u-boot-test-hooks PATCH 3/4] qemu-xtensa-dc233c: New board

2024-06-12 Thread Tom Rini
On Tue, Jun 11, 2024 at 10:00:24PM +0100, Jiaxun Yang wrote: > Signed-off-by: Jiaxun Yang Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: [u-boot-test-hooks PATCH 4/4] qemu-loongarch64: New board

2024-06-12 Thread Tom Rini
On Tue, Jun 11, 2024 at 10:00:25PM +0100, Jiaxun Yang wrote: > Signed-off-by: Jiaxun Yang Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: [u-boot-test-hooks PATCH 2/4] qemu-arm64be: New board

2024-06-12 Thread Tom Rini
On Tue, Jun 11, 2024 at 10:00:23PM +0100, Jiaxun Yang wrote: > Signed-off-by: Jiaxun Yang Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: [u-boot-test-hooks PATCH 1/4] qemu-vexpress*: Pass -audio none

2024-06-12 Thread Tom Rini
On Tue, Jun 11, 2024 at 10:00:22PM +0100, Jiaxun Yang wrote: > Those boards have build in sound card which cause > problems on CI runner. > > Pass -audio none to disable sound card backends. > > Signed-off-by: Jiaxun Yang Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signatu

Re: [u-boot-test-hooks PATCH 1/2] Create a common file for test scripts

2024-06-12 Thread Tom Rini
On Tue, Jun 11, 2024 at 02:07:26PM -0600, Simon Glass wrote: > Hi Tom, > > On Tue, 11 Jun 2024 at 10:07, Tom Rini wrote: > > > > On Mon, Jun 10, 2024 at 04:27:42PM -0600, Simon Glass wrote: > > > > > The top part of each of the u-boot-test-* files is common.

Re: [u-boot-test-hooks PATCH 4/4] qemu-loongarch64: New board

2024-06-11 Thread Simon Glass
On Tue, 11 Jun 2024 at 15:01, Jiaxun Yang wrote: > > Signed-off-by: Jiaxun Yang > --- > bin/travis-ci/conf.qemu-loongarch64_na | 12 > py/travis-ci/u_boot_boardenv_qemu_loongarch64_na.py | 11 +++ > 2 files changed, 23 insertions(+) > create mode 100644 bin/tra

Re: [u-boot-test-hooks PATCH 3/4] qemu-xtensa-dc233c: New board

2024-06-11 Thread Simon Glass
On Tue, 11 Jun 2024 at 15:01, Jiaxun Yang wrote: > > Signed-off-by: Jiaxun Yang > --- > bin/travis-ci/conf.qemu-xtensa-dc233c_na | 12 > .../u_boot_boardenv_qemu_xtensa_dc233c_na.py | 6 ++ > 2 files changed, 18 insertions(+) > create mode 100644 bin/travis

Re: [u-boot-test-hooks PATCH 2/4] qemu-arm64be: New board

2024-06-11 Thread Simon Glass
On Tue, 11 Jun 2024 at 15:01, Jiaxun Yang wrote: > > Signed-off-by: Jiaxun Yang > --- > bin/travis-ci/conf.qemu_arm64be_na | 13 + > py/travis-ci/u_boot_boardenv_qemu_arm64be_na.py | 10 ++ > 2 files changed, 23 insertions(+) > create mode 100644 bin/travis-ci/c

Re: [u-boot-test-hooks PATCH 1/4] qemu-vexpress*: Pass -audio none

2024-06-11 Thread Simon Glass
On Tue, 11 Jun 2024 at 15:01, Jiaxun Yang wrote: > > Those boards have build in sound card which cause > problems on CI runner. > > Pass -audio none to disable sound card backends. > > Signed-off-by: Jiaxun Yang > --- > bin/travis-ci/conf.vexpress_ca15_tc2_qemu | 2 +- > bin/travis-ci/conf.vexpr

  1   2   3   4   >