вс, 23 авг. 2020 г. в 13:34, Matwey V. Kornilov <matwey.kornilov@gmail.com>:

Thanks, Guillaume!

Do I understand correctly, that SUT-companion and OpenQA worker may be on the same host?

I would like to test BeagleBone Black. In an ideal world, I would like it to be tested on openqa.opensuse.org.
Now I see that I have to learn how to boot the board from USB. The AM335x reference documentation says that it is possible to load U-Boot firmware via UART and USB, but I have never tried it.


JFYI,

I've enabled booting the system from USB device for am335x: https://github.com/u-boot/u-boot/commit/8c444c184c36dfa314a2a500349785f58c8a8d24
It works fine with JeOS written on USB-flash drive.

I've also managed to learn how to supply U-boot via UART, but it works too slow: 10KBps given U-boot size is about 1MB.
 

вс, 23 авг. 2020 г. в 10:25, Guillaume GARDET <guillaume.gardet@free.fr>:

Hi Matwey,

Here are some details about the RPi3 case:
https://github.com/ggardet/blog/blob/master/HowTo-Add_tests_on_real_hardware_with_openQA-RPi3_case.md

It uses an external board with USB OTG to boot the RPi from USB (Firmware is still on uSD due to: https://github.com/raspberrypi/firmware/issues/1322).
You could also use some USB SD mux such as: https://shop.linux-automation.com/usb_sd_mux-D02-R01-V02-C00-en
But it does not work well with RPi4 atm, whereas it works perfectly fine with the HiKey960.

Also, if you want to make it available to openqa.o.o:
https://github.com/ggardet/blog/blob/master/HowTo-Install_a_remote_openQA_worker.md

May I ask for which board you would like to test?

Cheers,
Guillaume



----- Matwey V. Kornilov <matwey.kornilov@gmail.com> a écrit :
> Hello,
>
> I am looking through openQA sources and I am very excited about
> generalhw backend. I see that it is currently in use at
> openqa.opensuse.org to test Raspberry Pi images. Unfortunately, there is
> a little details in the sources, I only see that the backend calls some
> preconfigured external commands to manipulate hardware, but I've failed
> to find more implementation details.
>
> Is there a kind of presentation or documentation on how all this works?
> I am especially interested in how the flash card image is deployed?
>
>
>
>
> --
> With best regards,
> Matwey V. Kornilov



--
With best regards,
Matwey V. Kornilov


--
With best regards,
Matwey V. Kornilov