diff options
author | Florian Klink <flokli@flokli.de> | 2023-01-18 15:49:38 +0100 |
---|---|---|
committer | Florian Klink <flokli@flokli.de> | 2023-01-18 15:53:35 +0100 |
commit | 7c745e170acfcf918e04ae895cc2040c0c69939b (patch) | |
tree | c446893b27157b1e9cc1f74ae5390da7c587d49c | |
parent | 3998d52508f357451c4e1b40fbd8b1ecc4b2097f (diff) | |
download | nixpkgs-7c745e170acfcf918e04ae895cc2040c0c69939b.tar nixpkgs-7c745e170acfcf918e04ae895cc2040c0c69939b.tar.gz nixpkgs-7c745e170acfcf918e04ae895cc2040c0c69939b.tar.bz2 nixpkgs-7c745e170acfcf918e04ae895cc2040c0c69939b.tar.lz nixpkgs-7c745e170acfcf918e04ae895cc2040c0c69939b.tar.xz nixpkgs-7c745e170acfcf918e04ae895cc2040c0c69939b.tar.zst nixpkgs-7c745e170acfcf918e04ae895cc2040c0c69939b.zip |
rpiboot: 2021.07.01 -> 20221215-105525
Bump to the latest relase. The current version is outdated and doesn't seem to be able to boot my CM4 to mass storage device mode. This version does, and according to https://github.com/raspberrypi/usbboot/releases/tag/20221215-105525, it "works on all current Raspberry Pi models and uses the default bootloader that is signed with the secure-boot ROM key".
-rw-r--r-- | pkgs/development/misc/rpiboot/default.nix | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/pkgs/development/misc/rpiboot/default.nix b/pkgs/development/misc/rpiboot/default.nix index 35fb41d0a8d..acdc29352f9 100644 --- a/pkgs/development/misc/rpiboot/default.nix +++ b/pkgs/development/misc/rpiboot/default.nix @@ -1,17 +1,18 @@ -{ lib, stdenv, fetchFromGitHub, libusb1 }: +{ lib, stdenv, fetchFromGitHub, libusb1, pkg-config }: stdenv.mkDerivation rec { pname = "rpiboot"; - version = "2021.07.01"; + version = "20221215-105525"; src = fetchFromGitHub { owner = "raspberrypi"; repo = "usbboot"; - rev = "v${version}"; - sha256 = "sha256-BkNyYCrasfiRs7CbJa7tCo2k70TLGcXkOX+zGPyZGGE="; + rev = version; + hash = "sha256-Y77IrDblXmnpZleJ3zTyiGDYLZ7gNxASXpqUzwS1NCU="; }; - nativeBuildInputs = [ libusb1 ]; + buildInputs = [ libusb1 ]; + nativeBuildInputs = [ pkg-config ]; patchPhase = '' sed -i "s@/usr/@$out/@g" main.c |