Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: Paul_123 on January 29, 2020, 10:38:21 PM

Title: RPi new multiple initrd support
Post by: Paul_123 on January 29, 2020, 10: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....
Title: Re: RPi new multiple initrd support
Post by: bmarkus on January 30, 2020, 11:54:46 PM
Hi Paul,

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


Regards,

Béla