29

What happens during the boot process after the Raspberry PI is turned on? I know that it differs from the standard Linux boot process ( no complex boot manager like Lilo/Grub ), I also know that the boot process has several steps, the device loads files like loader.bin, bootcode.bin, start.elf, kernel.img... But what is the exact order of these steps?

6
  • There is a boot manager; it is incredibly limited and only loads the files in a predefined order and can only deal with one operating system. Jul 22, 2012 at 14:18
  • No boot manager like Lilo or Grub. I've rephrased the question.
    – asalamon74
    Jul 22, 2012 at 15:32
  • There is a boot loader, called Blob: elinux.org/Blob
    – dash17291
    Oct 25, 2012 at 13:48
  • 1
    possible duplicate of How does Raspberry Pi boot? Apr 9, 2015 at 0:12
  • 1
    This is the older question. Why not mark the other one as duplicate?
    – asalamon74
    Apr 9, 2015 at 9:51

1 Answer 1

18

As said here the boot process:

  1. GPU Core
  2. first stage bootloader, which is stored in ROM on the SoC
  3. bootcode.bin (loader.bin merged)
  4. start.elf
  5. config.txt
  6. cmdline.txt
  7. kernel.img

After this boot scripts will be called by the kernel: systemd or init

4
  • 1
    Additional info: The kernel is then loaded and the rest of the boot process is handled by init or systemd.
    – Jivings
    Jul 22, 2012 at 18:34
  • 1
    As of 0ct 05, 2012, loader.bin is not used anymore. It was integrated into bootcode.bin and removed. Oct 8, 2012 at 6:46
  • @KrzysztofAdamski Could please you provide the source so that I can edit it. Oct 9, 2012 at 4:28
  • @Haskeller: You mean the source of infrormation? If so, here's github commit Oct 9, 2012 at 7:59

Your Answer

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

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