sebanc / brunch

Boot ChromeOS on x86_64 PC - Supports Intel CPU/GPU from 8th gen or AMD Ryzen
GNU General Public License v3.0
3.54k stars 387 forks source link

Compressed iwlwifi firmware fails to load on chromebook-4.19 kernel #2078

Closed MarvinOl closed 1 week ago

MarvinOl commented 3 weeks ago

I am using ASUS Chromebook Flip C302 with brunch. As the device is EoL for official support this gives it extended life. Because of the Chromebook audio implementation I am forced to use 4.19 kernel - the only one where Chromebook built-in audio works.

The Asus C302 has Intel 7265D wireless card for what iwlwifi tries to load /lib/firmware/iwlwifi-7265D-29.ucode. But that does not exist, it only exist as compressed /lib/firmware/iwlwifi-7265D-29.ucode.xz. The fix is a simple "unxz /lib/firmware/iwlwifi-7265D-29.ucode.xz" and on next reboot the wireless works. But the fix must be applied after every update, when rootfs is being rebuilt the uncompressed file is removed.

As wifi does work out of the box on newer kernels (but the built-in audio does not) I think the problem is a more general one - iwlwifi on 4.19 kernel does not work with compressed firmware files.

This is not a major showstopper but inconvenience that needs manual fixing on the device after every update.

MarvinOl commented 1 week ago

Upgraded to latest brunch release and all the iwlwifi firmware are uncompressed. So problem no longer exist.