Hi Michal,

I agree with you about the security side.

In fact my initial idea was using Raspberry Pi to do it using uhubctl see:
https://github.com/mvp/uhubctl (at bottom of page there are many projects
using it) with a 16 port USB HUB.

This way we could turn ON/OFF up to 16 boards and flash it over USB (it
will require a board with usb programming/flash support like
stm32f4discovery or raspberrypi-pico).

But then I think we could "eat our dog food", we can use ESP32 with NuttX
and flash turn ON/OFF and flash other boards.

Something similar what this project does:
https://vcon.io/automated-firmware-tests/

BR,

Alan


On Thu, Jul 18, 2024 at 5:25 PM <michal.lyszc...@bofc.pl> wrote:

> Hi
> On 2024-07-18 16:14:20, Alan C. Assis wrote:
> > We are creating a testing farm for NuttX to be integrated on our CI.
> How is this going to work? Since, this seems like, tests will be conducted
> on real hardware, I assume I would have to install some daemon at my home
> so
> that CI could send commands to it to perform tests?
>
> This poses serious security risks. The only way I see it working is to have
> raspberry pi (or any other mini computer) in isolated network and vlan.
>
> What CI software are you going to use? I remember using Buildbot in the
> past,
> which may be good candidate, since I remember it being build just for
> cases like
> that. That is you host Master, and anyone that wants to participate in
> testing
> their arch/platform would set up a slave, which would connect to master and
> listen for build commands. Might be worth investigating it.
>
> I think it would be beneficial if anyone could just setup slave on his
> own, and
> then just connect to the master without any real authorization to
> participate
> in testing. I think there is a risk of such slave feeding false
> positives/negatives tho and someone who does not like nuttx could sabotage
> tests ;)
>
> --
>
> .-----------------.-------------------.----------------------.-----------------.
> | Michal Lyszczek | Embedded C, Linux |   Company Address    |  .-.
> opensource |
> | +48 727 564 419 | Software Engineer | Akacjowa 10a; 55-330 |  oo|
> supporter |
> | https://bofc.pl `----.--------------: Brzezinka Sredzka PL | /`'\
> &     |
> | GPG FF1EBFE7E3A974B1 | Bits of Code | NIP:   813 349 58 78 |(\_;/)
> programer |
>
> `----------------------^--------------^----------------------^-----------------'
>

Reply via email to