tce-load -i compiletc perl5 ncursesw-dev bc glibc_apps elfutils-dev https://docs.broadcom.com/docs/12358410 wget http://tinycorelinux.net/14.x/x86_64/release/src/kernel/linux-6.1.2-patched.txz wget http://tinycorelinux.net/14.x/x86_64/release/src/kernel/config-6.1.2-tinycore64 wget http://tinycorelinux.net/14.x/x86_64/release/src/kernel/Module.symvers-6.1.2-tinycore64.gz wget http://deb.debian.org/debian/pool/non-free-firmware/b/broadcom-sta/broadcom-sta_6.30.223.271-24~exp3.debian.tar.xz cd linux-6.1.2 make mrproper cp ../config-6.1.2-tinycore64 .config make oldconfig make prepare make modules_prepare gunzip Module.symvers-6.1.2-tinycore64.gz mv Module.symvers-6.1.2-tinycore64 Module.symvers make SUBDIRS=scripts/mod mkdir hybrid_wl cd hybrid_wl tar xf hybrid-v35_64-nodebug-pcoem-6_30_223_271.tar.gz patch -Np1 -i ../wl-licence.patch patch -Np1 -i ../wl-linux.c.patch patch -Np1 -i ../wl-linux47.patch patch -Np1 -i ../wl-linux48.patch patch -Np1 -i ../wl-linux411.patch patch -Np1 -i ../wl-linux412.patch patch -Np1 -i ../wl-rtdscl.patch patch -Np2 -i ../wl-linux414.patch patch -Np2 -i ../wl-linux415.patch patch -Np2 -i ../wl-linux51.patch patch -Np2 -i ../wl-linux56.patch patch -Np2 -i ../wl-Get-rid-of-get_fs-set_fs-calls.patch patch -Np2 -i ../wl-Make-sure-power_mgmt-settings-are-honored.patch patch -Np2 -i ../wl-Fix-get-set-values-for-tx_power.patch patch -Np2 -i ../wl-Fix-mac-address-setting.patch patch -Np2 -i ../wl-Fix-misleading-indentation.patch patch -Np2 -i ../wl-Fix-fall-through-warnings.patch patch -Np2 -i ../wl-Avoid-disconnecting-invalid-interface.patch patch -Np2 -i ../wl-Use-the-right-enums-for-cfg80211_get_bss.patch patch -Np2 -i ../linux518.patch patch -Np2 -i ../linux600.patch patch -Np2 -i ../wl-Update-for-linux-5.17-deprecations.patch patch -Np2 -i ../linux601.patch Edit Makefile EXTRA_CFLAGS := -Wno-error=date-time make API=CFG80211 -C /usr/src/linux-6.1.2 M=`pwd` gzip wl.ko advdef -z4 wl.ko.gz sudo mkdir -p /usr/local/lib/modules/6.1.2-tinycore64/kernel/drivers/net/wireless sudo cp wl.ko.gz /usr/local/lib/modules/6.1.2-tinycore64/kernel/drivers/net/wireless sudo cp lib/LICENSE.txt /usr/local/lib/modules/6.1.2-tinycore64/kernel/drivers/net/wireless