Commit eceb0476 authored by Steffen Vogel's avatar Steffen Vogel
Browse files

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.
parent 51c1e325
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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; {