Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: Santos on September 10, 2021, 12:31:42 PM

Title: [Solved] b43-phy0 ERROR TC 11.1 x86
Post by: Santos on September 10, 2021, 12:31:42 PM
Hello, I've loaded all Broadcom firmware extensions. But after trying to start wifi.sh this comes up:

Code: [Select]
sky2 0000:09:00.0 eth0: enabling interface
platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
platform regulatory.0: Falling back to sysfs fallback for: regulatory.db
b43-phy0: Broadcom 4312 WLAN found (core revision 15)
b43-phy0: Found PHY: Analog 6, Type 5 (LP), Revision 1
b43-phy0: Found Radio: Manuf 0x17F, ID 0x2062, Revision 2, Version 0
cfg80211: failed to load regulatory.db
b43 ssb0:0: Direct firmware load for b43/ucode15.fw failed with error -2
b43 ssb0:0: Falling back to sysfs fallback for: b43/ucode15.fw
Broadcom 43xx driver loaded [ Features: PNLS ]
b43 ssb0:0: Direct firmware load for b43/ucode15.fw failed with error -2
b43 ssb0:0: Falling back to sysfs fallback for: b43/ucode15.fw
b43 ssb0:0: Direct firmware load for b43-open/ucode15.fw failed with error -2
b43 ssb0:0: Falling back to sysfs fallback for: b43-open/ucode15.fw
b43 ssb0:0: Direct firmware load for b43-open/ucode15.fw failed with error -2
b43 ssb0:0: Falling back to sysfs fallback for: b43-open/ucode15.fw
b43-phy0 ERROR: Firmware file "b43/ucode15.fw" request failed (err=-11)
b43-phy0 ERROR: Firmware file "b43-open/ucode15.fw" request failed (err=-11)
b43-phy0 ERROR: You must go to http://wireless.kernel.org/en/users/Drivers/b43#devicefirmware and download the correct firmware for this driver version. Please carefully read all instructions on this website.


Extensions loaded:
Code: [Select]
firmware-broadcom_bcm43xx.tcz
firmware-broadcom_bnx2.tcz
firmware-broadcom_bnx2x.tcz
firmware-openfwwf.tcz
firmware-tigon.tcz
wifi.tcz

What I am missing?
Title: Re: b43-phy0 ERROR TC 11.1 x86
Post by: Rich on September 10, 2021, 02:16:40 PM
Hi Santos
I think you may have to add a  blacklist  boot code to your bootloader:
Code: [Select]
blacklist=bcma,ssb,b43
Title: Re: b43-phy0 ERROR TC 11.1 x86
Post by: Santos on September 10, 2021, 02:46:20 PM
Sorry, I did not mention the wireless chipset.

Code: [Select]
BCM4312 802.11b/g LP-PHY (rev 01)
Title: Re: b43-phy0 ERROR TC 11.1 x86
Post by: Rich on September 10, 2021, 05:43:54 PM
Hi Santos
I figured that from this:
Code: [Select]
b43-phy0: Broadcom 4312 WLAN found (core revision 15)
I think you may have to add a  blacklist  boot code to your bootloader: ...
Sorry, I got that backwards, you do not want that boot code. That's only needed if you use  wl-modules-KERNEL.tcz
which is not available for TC12. You will need to use  b43-fwcutter.tcz  to get the firmware yourself as mentioned here:
http://forum.tinycorelinux.net/index.php/topic,20402.msg127094.html#msg127094

Instructions for "cutting" the firmware can be found here:
http://linuxwireless.sipsolutions.net/en/users/Drivers/b43/#Other_distributions_not_mentioned_above

Skip the part about building and installing fwcutter, you have an extension available.

Follow the instructions labeled:
Quote
If you are using the b43 driver from 3.2 kernel or newer:

Change step #1 to:
Code: [Select]
mkdir -p package/usr/local/lib/firmware
export FIRMWARE_INSTALL_DIR="package/usr/local/lib/firmware"

Continue with step #2 through #4.

Add step #5 (you will need squashfs-tools.tcz installed):
Code: [Select]
mksquashfs package b43-firmware.tcz
Place the extension in your  tce/optional  directory.
Add  b43-firmware.tcz  to the beginning of your  onboot.lst  file.
Title: Re: b43-phy0 ERROR TC 11.1 x86
Post by: Santos on September 11, 2021, 05:49:24 PM
Hi Rich.

Thank you very much!

Code: [Select]
platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
platform regulatory.0: Falling back to sysfs fallback for: regulatory.db
b43-phy0: Broadcom 4312 WLAN found (core revision 15)
b43-phy0: Found PHY: Analog 6, Type 5 (LP), Revision 1
b43-phy0: Found Radio: Manuf 0x17F, ID 0x2062, Revision 2, Version 0
cfg80211: failed to load regulatory.db
b43 ssb0:0: Direct firmware load for b43/ucode15.fw failed with error -2
b43 ssb0:0: Falling back to sysfs fallback for: b43/ucode15.fw
Broadcom 43xx driver loaded [ Features: PNLS ]
b43 ssb0:0: Direct firmware load for b43/lp0initvals15.fw failed with error -2
b43 ssb0:0: Falling back to sysfs fallback for: b43/lp0initvals15.fw
b43 ssb0:0: Direct firmware load for b43/lp0bsinitvals15.fw failed with error -2
b43 ssb0:0: Falling back to sysfs fallback for: b43/lp0bsinitvals15.fw
ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)

It worked!

Thread can be marked as solved. :)
Title: Re: [Solved] b43-phy0 ERROR TC 11.1 x86
Post by: Rich on September 11, 2021, 09:04:52 PM
Hi Santos
... Thread can be marked as solved. :)
Done. :)

Thank you for confirming it worked. Unfortunately that firmware is not redistributable, so each user that needs it has
to  "cut"  it for themselves.