27

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?

  • 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. – Alex Chamberlain Jul 22 '12 at 14:18
  • No boot manager like Lilo or Grub. I've rephrased the question. – asalamon74 Jul 22 '12 at 15:32
  • There is a boot loader, called Blob: elinux.org/Blob – dash17291 Oct 25 '12 at 13:48
  • 1
    possible duplicate of How does Raspberry Pi boot? – Gilles 'SO- stop being evil' Apr 9 '15 at 0:12
  • 1
    This is the older question. Why not mark the other one as duplicate? – asalamon74 Apr 9 '15 at 9:51
17

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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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