superna9999 / meta-meson

Upstream Linux Amlogic Meson Yocto/OpenEmbedded Layer
https://github.com/superna9999/meta-meson/wiki
MIT License
100 stars 67 forks source link

Is there a way to reduce the linux-firmware one fits all package? #137

Open graugans opened 2 years ago

graugans commented 2 years ago

Is your feature request related to a problem? Please describe. The linux-firmware package blows up the initrd image size from 19MB to 235MB. This slows down for example the network transfer when pulling the image through tftp or when loading from a thumb drive.

Describe the solution you'd like Maybe we can find a way to install only the necessary firmware files for each machine

Describe alternatives you've considered I am running out of ideas, removal of the linux-firmware package for the initrd maybe an option....

Additional context I hope there is no additional context needed

superna9999 commented 2 years ago

You may remove the linux-firmware package for the initrd because the proper ones should be selected in the machine conf.

It's not entirely true because I haven't finished adding the right wifi & bt firmware packages names in the boards machine conf