diff options
| author | Joe Mou <dev@mou.fo> | 2023-09-27 14:53:18 -0400 |
|---|---|---|
| committer | Joe Mou <dev@mou.fo> | 2023-09-27 15:06:29 -0400 |
| commit | 99c5a5d7d51a515592c94c94e0e0f6de14b0d125 (patch) | |
| tree | 31affaf8b144ee9373c82260ac6350bfc5e39153 /hostnix/weebnix/boot | |
| parent | da4adc5135743e78cefc2ca94889617885c99f31 (diff) | |
Add /boot/config.txt (platform firmware configuration)
Diffstat (limited to 'hostnix/weebnix/boot')
| -rw-r--r-- | hostnix/weebnix/boot/config.txt | 36 |
1 files changed, 36 insertions, 0 deletions
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 |
