Skip to content

firmware-samsung-klte: Samsung Galaxy S5 firmware

Alexey Min requested to merge minlexx/pmaports:minlexx/klte-upstreaming2 into master

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:

  1. 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.
  2. 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
Edited by Alexey Min

Merge request reports