The boot folder
In a basic Raspbian install, the boot files are stored on the first partition of the SD card, which is formatted with the FAT file system. This means that it can be read on Windows, macOS, and Linux devices.
When the Raspberry Pi is powered on, it loads various files from the boot partition/folder in order to start up the various processors, then it boots the Linux kernel.
Once Linux has booted, the boot partition is mounted as
Boot folder contents
The bootloader. Loaded by the SoC on boot, does some very basic setup, and subsequently loads one of the
start.elf, start_x.elf, start_db.elf, start_cd.elf
These are binary blobs (firmware) that are loaded on to the VideoCore in the SoC, which then take over the boot process.
start.elf is the basic firmware,
start_x.elf includes camera drivers and codec,
start_db.elf is a debug version of the firmware, and
start_cd.elf is a cut-down version with no support hardware blocks like codecs and 3D, and for use when
gpu_mem=16 is specified in
config.txt. More information on how to use these can be found in the
fixup.dat, fixup_x.dat, fixup_db.dat, fixup_cd.dat
These are linker files and are matched pairs with the
The kernel command line passed in to the kernel when it boots.
Contains many configuration parameters for setting up the Pi. See the
Some text-based housekeeping information containing the date and git commit ID of the distribution.
Device Tree files
There are various Device Tree blob files, which have the extension
.dtb. These contain the hardware definitions of the various models of Raspberry Pi, and are used on boot to set up the kernel according to which Pi model is detected. More details here.
Device Tree overlays
overlays sub-folder contains Device Tree overlays. These are used to configure various hardware devices that may be attached to the system, for example the Raspberry Pi Touch Display or third-party sound boards. These overlays are selected using entries in
config.txt — see 'Device Trees, overlays and parameters, part 2' for more info.