######################################################################### # File...: /boot/platform/hwm_bw/config.txt # Purpose: Configuration file for the RPi first stage Boot Loader. # * Handles Flattened Device Tree (and Overlays) and various # hardware settings. # * Chain loads the 2nd-stage U-Boot loader, which boots the # Linux Kernel and Slackware OS. # Date...: 22-Dec-2021 ######################################################################### # Notes # [1] This file is not actively managed by the Slackware OS. # It's statically created by the 'inst_dskimg.build' script: # http://ftp.arm.slackware.com/slackwarearm/platform/aarch64/bootware/src/inst_dskimg.build # [2] The Linux Kernel and Slackware OS configuration is found within # the Slackware OS here: # /boot/extlinux/extlinux.conf # [3] For detailed information about this configuration file and the possible # configuration directives, see:- # https://www.raspberrypi.com/documentation/computers/config_txt.html ######################################################################### # Raspberry Pi5 settings: [pi5] # Enable DRM VC4 V3D driver: dtoverlay=vc4-kms-v3d-pi5 max_framebuffers=2 # Serial port provided by RP1 chip in Rpi5 enable_rp1_uart=1 uart_2ndstage=1 # Raspberry Pi4/400 settings: [pi4] arm_64bit=1 # For the RPi Kernel fork, uncomment these two directives: # Assign 128MB of RAM to the GPU: #gpu_mem=128 #dtoverlay=vc4-kms-v3d # For the mainline Kernel (Slackware AArch64 standard): dtoverlay=vc4-kms-v3d-pi4 max_framebuffers=2 hdmi_enable_4kp60=1 # Interested in overclocking options? # See: https://www.raspberrypi.com/news/introducing-turbo-mode-up-to-50-more-performance-for-free/ # # Experimental for RPi4 model B: #device_tree=bcm2711-rpi-4-b.dtb # Raspberry Pi400 settings. These would override those configured # for all RPi4 models. #[pi400] # Increase clock speed from 1.5GHz to 1.8GHz: #arm_boost=1 # Raspberry Pi3 settings: [pi3] arm_64bit=1 device_tree=bcm2837-rpi-3-b.dtb # Raspberry Pi3+ settings: [pi3+] device_tree=bcm2837-rpi-3-b-plus.dtb arm_64bit=1 # General settings for Raspberry Pi Hardware Models: [all] # Serial settings: #init_uart_baud=115200 enable_uart=1 # Note: If you need to use BlueTooth, you should disable the UART: #enable_uart=0 # For the VC4 driver (according to the help text within the # Kernel configuration!) avoid_warnings=2 # To debug the RPi native Boot Loader: #uart_2ndstage=1 # Help with using KVM's: #hdmi_force_hotplug=1 ##BL_NATIVE:SLKInstaller # Boot the Slackware Installer using the Raspberry Pi's native Boot Loader. # Whilst the OS is booted using U-Boot, using the native Boot Loader enables # the Installer to be booted on machines that have an old version of the boot # loader in the EEPROM, which doesn't work with U-Boot. kernel=slk_image-armv8 initramfs slk_initrd-armv8 followkernel ##BL_NATIVE:SLKInstaller ##BL_UBOOT:SLKInstaller # Boot the Slackware Installer using U-Boot. This is no longer the standard # since it fails with older bootware on the Raspberry Pi5. # The OS will be booted using U-Boot after the user has performed a bootware update # to the EEPROM from the post installation phase of the Installer. #kernel=slk_u-boot.bin ##BL_UBOOT:SLKInstaller # Chain load the 2nd stage U-Boot Boot Loader: # This is the Slackware standard. ##BL_UBOOT:SLKOS #kernel=slk_u-boot.bin ##BL_UBOOT:SLKOS # Boot the Slackware OS using the Raspberry Pi native Boot Loader. # This is not the standard but is here for completeness and for troubleshooting/development. # If you use this, you'll need to setup the 'cmdline.txt' file appropriately. # # The Slackware Linux Kernel and OS Initrd (Operating System Initial RAM Disk) # are maintained by the post install helper script within the 'a/kernel' package. ##BL_NATIVE:SLKOS #kernel=slk_image-armv8 #initramfs slk_initrd-armv8 followkernel ##BL_NATIVE:SLKOS ######################################################################### # Device Tree Overlays # See the README /boot/platform/hwm_bw/overlays/README # (Note: this 'README' is from the RPi Bootware repository) ######################################################################### # Real Time Clocks on the I2C bus (connected to the GPIO pins): #dtparam=i2c_arm=on #dtparam=i2s=on #dtparam=spi=on #dtoverlay=i2c-rtc,ds1307 #dtoverlay=i2c-rtc,pcf85063 # Uncomment this to enable infrared communication. #dtoverlay=gpio-ir,gpio_pin=17 #dtoverlay=gpio-ir-tx,gpio_pin=18