firmware-samsung-klte: Samsung Galaxy S5 firmware
Firmware for Broadcom Device Host Dongle (bcmdhd, bcm4354) chip.
Install location (/lib/firmware/postmarketos
) matches kernel options to load firmware from, see config-samsung-klte.armv7 line 1903, 1904
With this, Wi-Fi almost works, (wlan0 and p2p0 devices appear) but several more actions are needed to bring it online:
- since driver is built in, we need to "re-init" it using deferred initcalls mechanism (
cat /proc/deferred_initcalls
). This is normally done by Android init, see init.sec.boot.sh#L4, but can also be done manually or by openRC init script. - change wpa_supplicant config to explicitly use wlan0 (
-iwlan0
) as device (it autodetects p2p0 otherwise).
These configs will be part of device package, I think.
This MR is the follow-up to !321 (merged) , 2nd part.
✔ 1. deal with kernel (choose correct branch and add my patches from halium)
✔ 2. deal with firmware (for now - wi-fi)
3. deal with device package (lots of device-specific configuration here)
4. upstream fix to alpine lxc to work on 3.4 kernel (without memfd support)
5. fix lxc-android config and scripts
Merge request reports
Activity
added 4 commits
-
056e6c4e...5aa88663 - 3 commits from branch
postmarketOS:master
- 01902e19 - firmware-samsung-klte: Samsung Galaxy S5 firmware
By Alexey Min on 2019-04-18T20:49:50
-
056e6c4e...5aa88663 - 3 commits from branch
Which way is better? Here i tried the first option. I can change it to use second option...
We don't want to have any blobs in pmaports.git, hence please use the second option.
The firmware package looks good. Can you also update the device package to add a
nonfree_firmware()
function as shown in the wiki? Thenpmbootstrap init
will ask users, if they want to install the firmware package.https://wiki.postmarketos.org/wiki/Device_specific_package#Proprietary_firmware_or_userland_blobs
Thanks for the patch @minlexx!
By Oliver Smith on 2019-04-18T21:05:16
added 6 commits
-
01902e19...28ab7dc9 - 4 commits from branch
postmarketOS:master
- 81010893 - firmware-samsung-klte: Samsung Galaxy S5 firmware
- fb960240 - samsung-klte: add nonfree_firmware() to device package
By Alexey Min on 2019-04-19T12:43:05
-
01902e19...28ab7dc9 - 4 commits from branch
added 5 commits
-
1586d2ca...74142b4d - 3 commits from branch
postmarketOS:master
- 973654c9 - firmware-samsung-klte: Samsung Galaxy S5 firmware (!327 (merged))
- b758c7a4 - samsung-klte: add nonfree_firmware() to device package (!327 (merged))
By Oliver Smith on 2019-04-24T13:52:58
-
1586d2ca...74142b4d - 3 commits from branch
enabled an automatic merge when the pipeline for b758c7a4 succeeds
By Oliver Smith on 2019-04-24T13:53:47
mentioned in commit b758c7a4
By Alexey Min on 2019-05-06T13:59:54
mentioned in commit 973654c9
By Alexey Min on 2019-05-06T13:59:56