From 99c5a5d7d51a515592c94c94e0e0f6de14b0d125 Mon Sep 17 00:00:00 2001 From: Joe Mou Date: Wed, 27 Sep 2023 14:53:18 -0400 Subject: Add /boot/config.txt (platform firmware configuration) --- hostnix/weebnix/boot/config.txt | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 hostnix/weebnix/boot/config.txt diff --git a/hostnix/weebnix/boot/config.txt b/hostnix/weebnix/boot/config.txt new file mode 100644 index 0000000..b407ad7 --- /dev/null +++ b/hostnix/weebnix/boot/config.txt @@ -0,0 +1,36 @@ +[pi3] +kernel=u-boot-rpi3.bin + +[pi02] +kernel=u-boot-rpi3.bin + +[pi4] +kernel=u-boot-rpi4.bin +enable_gic=1 +armstub=armstub8-gic.bin + +# Otherwise the resolution will be weird in most cases, compared to +# what the pi3 firmware does by default. +disable_overscan=1 + +# Supported in newer board revisions +arm_boost=1 + +[cm4] +# Enable host mode on the 2711 built-in XHCI USB controller. +# This line should be removed if the legacy DWC2 controller is required +# (e.g. for USB device mode) or if USB support is not required. +otg_mode=1 + +[all] +# Boot in 64-bit mode. +arm_64bit=1 + +# 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 +# a requirement in the future. +enable_uart=1 + +# Prevent the firmware from smashing the framebuffer setup done by the mainline kernel +# when attempting to show low-voltage or overtemperature warnings. +avoid_warnings=1 -- cgit v1.3.1