enable krnbt by default

use generic arm64 uboot for rpi4
This commit is contained in:
Travis Staton 2023-02-13 08:33:47 -05:00
parent eee4a9ccca
commit db480cf0e1

View file

@ -22,7 +22,7 @@
kernel=u-boot-rpi_arm64.bin kernel=u-boot-rpi_arm64.bin
[pi4] [pi4]
kernel=u-boot-rpi4.bin kernel=u-boot-rpi_arm64.bin
enable_gic=1 enable_gic=1
armstub=armstub8-gic.bin armstub=armstub8-gic.bin
arm_boost=1 arm_boost=1
@ -34,6 +34,7 @@
[all] [all]
# Boot in 64-bit mode. # Boot in 64-bit mode.
arm_64bit=1 arm_64bit=1
dtparam=krnbt=on
# U-Boot needs this to work, regardless of whether UART is actually used or not. # U-Boot needs this to work, regardless of whether UART is actually used or not.
# Look in arch/arm/mach-bcm283x/Kconfig in the U-Boot tree to see if this is still # Look in arch/arm/mach-bcm283x/Kconfig in the U-Boot tree to see if this is still
@ -57,7 +58,6 @@
cp ${raspberrypifw}/share/raspberrypi/boot/bcm2710-rpi-3-b-plus.dtb firmware/ cp ${raspberrypifw}/share/raspberrypi/boot/bcm2710-rpi-3-b-plus.dtb firmware/
# Add pi4 specific files # Add pi4 specific files
cp ${pkgs.ubootRaspberryPi4_64bit}/u-boot.bin firmware/u-boot-rpi4.bin
cp ${pkgs.raspberrypi-armstubs}/armstub8-gic.bin firmware/armstub8-gic.bin cp ${pkgs.raspberrypi-armstubs}/armstub8-gic.bin firmware/armstub8-gic.bin
cp ${raspberrypifw}/share/raspberrypi/boot/bcm2711-rpi-4-b.dtb firmware/ cp ${raspberrypifw}/share/raspberrypi/boot/bcm2711-rpi-4-b.dtb firmware/