github.com/canonical/ubuntu-image@v0.0.0-20240430122802-2202fe98b290/internal/statemachine/testdata/gadget_tree_piboot/config.txt (about)

     1  [pi4]
     2  kernel=kernel.img
     3  arm_boost=1
     4  max_framebuffers=2
     5  
     6  [cm4]
     7  # Enable the USB2 outputs on the IO board (assuming your CM4 is plugged into
     8  # such a board)
     9  dtoverlay=dwc2,dr_mode=host
    10  
    11  [pi2]
    12  kernel=kernel.img
    13  
    14  [pi3]
    15  kernel=kernel.img
    16  
    17  [pi0]
    18  kernel=kernel.img
    19  
    20  [all]
    21  arm_64bit=1
    22  device_tree_address=0x02000000
    23  
    24  # Enable the serial pins
    25  enable_uart=1
    26  
    27  # Enable the FKMS ("Fake" KMS) graphics overlay, and allocate 128Mb to the
    28  # GPU memory
    29  dtoverlay=vc4-fkms-v3d,cma-128
    30  
    31  # Enable audio output, I2C and SPI interfaces on the GPIO header
    32  dtparam=audio=on
    33  dtparam=i2c_arm=on
    34  dtparam=spi=on
    35  
    36  # Prior versions of Ubuntu Core customized the on-board LEDs so that the green
    37  # ACT LED was a heartbeat, and the red PWR LED represented SD card activity.
    38  # Uncomment the following lines if you wish to restore these customizations
    39  #dtparam=act_led_trigger=heartbeat
    40  #dtparam=pwr_led_trigger=mmc0
    41  
    42  initramfs initrd.img followkernel
    43  os_prefix=