ubootRaspberryCM4_64bit: init

This commit is contained in:
Bernardo Meurer 2022-04-25 21:33:22 -07:00
parent d1fef1e7c3
commit faf42ffbd0
No known key found for this signature in database
GPG key ID: F4C0D53B8D14C246
3 changed files with 12 additions and 1 deletions

View file

@ -40,7 +40,7 @@
arm_boost=1
[cm4]
kernel=u-boot-rpi4.bin
kernel=u-boot-rpi-cm4.bin
enable_gic=1
armstub=armstub8-gic.bin
disable_overscan=1
@ -78,6 +78,7 @@
cp ${pkgs.raspberrypifw}/share/raspberrypi/boot/bcm2711-rpi-4-b.dtb firmware/
# Add cm4 specific files
cp ${pkgs.ubootRaspberryPiCM4_64bit}/u-boot.bin firmware/u-boot-rpi-cm4.bin
cp ${pkgs.raspberrypifw}/share/raspberrypi/boot/bcm2711-rpi-cm4.dtb firmware/
'';
populateRootCommands = ''

View file

@ -437,6 +437,15 @@ in {
filesToInstall = ["u-boot.bin"];
};
ubootRaspberryPiCM4_64bit = buildUBoot {
defconfig = "rpi_4_defconfig";
extraMeta.platforms = ["aarch64-linux"];
filesToInstall = ["u-boot.bin"];
extraConfig = ''
CONFIG_USB_XHCI_BRCM=y
'';
};
ubootRaspberryPiZero = buildUBoot {
defconfig = "rpi_0_w_defconfig";
extraMeta.platforms = ["armv6l-linux"];

View file

@ -23775,6 +23775,7 @@ with pkgs;
ubootRaspberryPi3_64bit
ubootRaspberryPi4_32bit
ubootRaspberryPi4_64bit
ubootRaspberryPiCM4_64bit
ubootRaspberryPiZero
ubootRock64
ubootRockPi4