mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
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:
parent
51c1e32509
commit
eceb047690
@ -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; {
|
||||
|
Loading…
Reference in New Issue
Block a user