Skip to content

About

Automated build and patch script for the Broadcom STA (wl) Wi-Fi driver on Alpine and Chimera Linux

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Automated build and patch script for the Broadcom STA (wl) Wi-Fi driver on Alpine and Chimera Linux

To run it just

Clone the repo

git clone https://github.com/krenzelok/broadcom-wl-chimera-alpine.git

Change directory

cd broadcom-wl-chimera-alpine

Run it

./patchwl.sh

Manual installation

First get the required dependencies (Assuming you have linux-stable)

doas apk add linux-headers linux-stable-devel base-devel git wget

If you use alpine

doas apk add linux-headers linux-stable-dev build-base git wget

Clone the broadcom repo

git clone https://github.com/joanbm/broadcom-wl-linux-mainline.git

Change directory

cd broadcom-wl-linux-mainline

Run the extract and patch script

./extract_and_patch

Go inside the folder it made (My case its hybrid-v35_64-nodebug-pcoem-6_30_223_271)

cd hybrid-v35_64-nodebug-pcoem-6_30_223_271

Compile on chimera

make -C /lib/modules/$(uname -r)/build M=$(pwd) CC=clang

If on alpine

make -C /lib/modules/$(uname -r)/build M=$(pwd)

(Optional) check if the compiled driver is here

ls -l wl.ko

Now make a directory in modules

doas mkdir -p /lib/modules/$(uname -r)/extra

Now copy the newly compiled driver

doas cp wl.ko /lib/modules/$(uname -r)/extra/

Update the driver database

doas depmod -a

(Optional) check if modprobe recognizes it

modinfo wl

Note

If you rerun the script make sure to delete

broadcom-wl-linux-mainline

Because it git cannot fetch the repo when you have the folder

Also this is in testing so make sure to make an issue

About

Automated build and patch script for the Broadcom STA (wl) Wi-Fi driver on Alpine and Chimera Linux

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages