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

Add all missing WiFi and BT firmware for boards #121

Open superna9999 opened 2 years ago

superna9999 commented 2 years ago

Add all missing WiFi and BT firmware for boards and cleanup/update board config with needed firmwares

kvberge commented 1 year ago

@superna9999 - Was wondering if you had a list of the WiFi/BT firmware you are missing and which hardware variants require which firmwares. I am working on a project that required me to pull in a new firmware for the radxa-zero as we have a situation where we have two variants of the radxa-zero hardware that have different WiFi modules on them. I have some changes to a local repo that may be useful to help this cause.

To me it seems like one place for improvement is cleaning up the MACHINE_ESSENTIAL_EXTRA_RDEPENDS. That just blindly installs all firmare for every amlogic SoC, which is probably not ideal. If you have a list started somewhere that shows the firmwares required for the different hardware, I'd be happy to help clean this up a little bit - if you don't have a list, I can try to compiile a list and see how far it gets.

I also believe the syntax for the linux-firmware_%.bbappend is incorrect for all the FILES specified in that file. Again, I have this mostlly cleaned up and working on a local project (I say mostly because there is something odd with the linux-firmware-bcm43430a0 and linux-firmware-bcm43430 packages that I can't quite figure out yet).

I had pulled the necessary firmware that I needed for a project from LibreELEC, namely to install the firmware for the AP6256 WiFi module. I wasn't sure if there was another 'source of truth' for the 'latest' firmwares - if you know of another on, please let me know.

I'd be happy to show you a diff on a fork of this repo if you're interested to show you the direction I needed to go to address an issue on the radxa-zero that we came across.

superna9999 commented 1 year ago

@kvberge Hi Thanks for your current work, I have no list of missing WiFi/BT firmware... but perhaps this could be found in Armbian source at some point ?

I'm perfectly aware the current situation is crap, and I was planning to clean all that, but I never started, so I'll be happy if you post your current work in a new Pull Request !

You can set the Pull Request in Draft mode while you're still in development so I can comment and help you figure out the block/missing pieces.

Honestly, the LibreELEC and Armbian are today's best source of firmwares since they are actively tested on actual platforms.