Reading this answer I get the impression both the Raspberry Pi BIOS and firmware are located on the SD card.

Is that correct? What is exactly located on the SD card? There's nothing stored on the Pi itself? Is that the reason for it not being able to boot without an SD card?


1 Answer 1


Short answer: firmware is programmed into the chips on the Raspberry Pi, and there really is no BIOS.

Expanded answer from here:

The firmware is closed-source proprietary code programmed into the SoC (System on a Chip) processor, which cannot be modified. Upon power-up the firmware will initiate a bootloader on the SD card. I do not believe that any other services are provided through the SoC firmware, so it is not really a "BIOS" (Basic Input/Output System) per se. After this point everything else comes from the SD card.

According to the software section of the wiki, the boot order is as follows:

  1. First stage bootloader - This is used to mount the FAT32 boot partition on the SD card so that the second stage bootloader can be accessed. It is programmed into the SoC itself during manufacture of the RPi and cannot be reprogrammed by a user.
  2. Second stage bootloader (bootcode.bin) - This is used to retrieve the GPU firmware from the SD card, program the firmware, then start the GPU.
  3. GPU firmware (start.elf) - Once loaded, this allows the GPU to start up the CPU. An additional file, fixup.dat, is used to configure the SDRAM partition between the GPU and the CPU. At this point, the CPU is release from reset and execution is transferred over.
  4. User code - This can be one of any number of binaries. By default, it is the Linux kernel (usually named kernel.img), but it can also be another bootloader (e.g. U-Boot), or a bare-bones application.
  • 3
    This answer is correct. The original IBM-PC "BIOS" had two main functions, (a) configure the hardware, (b) start the bootloader from the filesystem. After many years of using it, even today, many people say "BIOS" when they mean any sort of firmware which perform this sort of functionality: configure the hardware and start the bootloader. This "BIOS" does not exist in Raspberry Pi. It has been separated into different components, some of which live in the ROM inside the SoC chip itself. If the SD card is missing then step #2 (2nd stage bootloader) can not be found and the boot process halts. Aug 30, 2013 at 15:50
  • OK, the CPU is started at the end of step 3, so anything up to that point cannot be run by the CPU. The GPU is started at the end of step 2, so anything before that cannot be run by the GPU. But what does, then, run steps 1 and 2?
    – celtschk
    Jun 12, 2016 at 6:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.