bananapi-bpi-m2-zero: auto-load brcmfmac
This enables quite stable networking via WiFi with dhcp and NetworkManager with wpa_supplicant.
Merge request reports
Activity
added 1 commit
- d580c971 - bananapi-bpi-m2-zero: enable brcmfmac in the initfs
added 1 commit
- c2026c0a - bananapi-bpi-m2-zero: enable brcmfmac in the initfs
added 1 commit
- 670006d6 - bananapi-bpi-m2-zero: enable brcmfmac in the initfs
- Resolved by User0
Instead of adding a initramfs-hook directly, did you check if creating a
initamfs-modules
file with thebrcmfmac
would do the same?For reference https://wiki.postmarketos.org/wiki/Device_specific_package#Kernel_modules
added 5 commits
-
9efdd1e6...9948d6e3 - 4 commits from branch
postmarketOS:master
- 6634bbc2 - bananapi-bpi-m2-zero: enable brcmfmac in the initfs
-
9efdd1e6...9948d6e3 - 4 commits from branch
@alexeymin where else would you put it...?
added 7 commits
-
6634bbc2...b84b49c9 - 6 commits from branch
postmarketOS:master
- 9fc3306b - bananapi-bpi-m2-zero: enable brcmfmac in the initfs
-
6634bbc2...b84b49c9 - 6 commits from branch
- Resolved by User0
where else would you put it...?
In modules-load.conf. See e.g. samsung-m0: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/tree/master/device/community/device-samsung-m0
Doing it the initramfs doesn't break anything... So why not?
We try to keep the initramfs as small as possible, within reason. So if something doesn't need to be there, it should be in the rootfs instead.
Also, that's the use of the initramfs. The init in initramfs stands for "initializing", and in this case I'm initializing the WiFi adapter.
No, that is not true. It stands for "INITial RAM File System", and many things get initialised after the initramfs.
Edited by Newbyte