Skip to content

Instantly share code, notes, and snippets.

@robofoundry
Created November 14, 2021 04:23
Show Gist options
  • Save robofoundry/553803f7a1257ea6495b287d88c5fae6 to your computer and use it in GitHub Desktop.
Save robofoundry/553803f7a1257ea6495b287d88c5fae6 to your computer and use it in GitHub Desktop.
Changes to Config.txt for Pi Zero 2W Ubuntu
# The unusual ordering below is deliberate; older firmwares (in particular the
# version initially shipped with bionic) don't understand the conditional
# [sections] below and simply ignore them. The Pi4 doesn't boot at all with
# firmwares this old so it's safe to place at the top. Of the Pi2 and Pi3, the
# Pi3 uboot happens to work happily on the Pi2, so it needs to go at the bottom
# to support old firmwares.
[pi4]
#kernel=uboot_rpi_4.bin
max_framebuffers=2
[pi2]
#kernel=uboot_rpi_2.bin
[pi3]
#kernel=uboot_rpi_3.bin
[all]
arm_64bit=1
#device_tree_address=0x03000000
kernel=vmlinuz
initramfs initrd.img followkernel
# The following settings are "defaults" expected to be overridden by the
# included configuration. The only reason they are included is, again, to
# support old firmwares which don't understand the "include" command.
enable_uart=1
cmdline=cmdline.txt
include syscfg.txt
include usercfg.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment