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".
This commit is contained in:
parent
3998d52508
commit
7c745e170a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user