rpiboot: install more gadgets

The usboot repo comes with a bunch of different gadgets
which can be used to boot Raspberry Pis via a USB boot cable.
Until now, we have only included the `msd` (Mass-storage device).
However, this gadget is deprecated and has since been replaced by
the `mass-storage-gadget`. Furthermore, there are now more gadgets
like the one for configuring secure boot or update/recover RPi4/5
boot eeprom.

This change installs the new gadgets under $out/usr/share/rpiboot.
This commit is contained in:
Steffen Vogel 2024-10-24 20:09:15 +02:00
parent 51c1e32509
commit eceb047690

View File

@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
mkdir -p $out/bin
mkdir -p $out/share/rpiboot
cp rpiboot $out/bin
cp -r msd $out/share/rpiboot
cp -r msd firmware eeprom-erase mass-storage-gadget* recovery* secure-boot* rpi-imager-embedded $out/share/rpiboot
'';
meta = with lib; {