WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: RPi new multiple initrd support  (Read 1082 times)

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1063
RPi new multiple initrd support
« on: January 29, 2020, 07:38:21 PM »
RPi recently made a change to the firmware that allows multiple initrd images to be loaded in config.txt

The format is as follows. You can load as many as you want, as long as you stay under the limit of 80 characters in the line.
Code: [Select]
initramfs initrd_number1.img,initrd_number2.img,3.img followkernel

Reference: https://github.com/raspberrypi/firmware/issues/1318


This will allow us to shrink the images, as there is no need to replicate all of the standard code and libraries in all of the initrd's.  The image would contain 1 base initrd loaded by every board type, then 3 different kernel packages board dependant.

If the kernel modules were separated from the rest of the initrd, it might be easier to handle kernel upgrades....
« Last Edit: January 29, 2020, 07:53:44 PM by Paul_123 »

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: RPi new multiple initrd support
« Reply #1 on: January 30, 2020, 08:54:46 PM »
Hi Paul,

thanks for the update. Definitely I will check how to is it with the new version.


Regards,

Béla
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."