vitaliy.burkut Posted November 2, 2021 Share Posted November 2, 2021 Hi all! I want to build home server on the this tvbox (H96 max) I already burned the minimal version to emmc and its work fine. But wifi no (and led display too, but its no mater ) img and instruction was geting in: I want to fix wifi problem, but not know from what I should to begin I have information: Multitool write in the header : Wifi device: Broadcom BCM4334/Ampack ap6334 id:02d0:4334 but wlan0 device not exists dmesg | grep bcm: * * * brcmfmac:brcfm_fw_alloc_request: unknow chip bcm43342/1 I tried to move firmWare like in but it not give me some result :( If it will be necessary i will geting full dmesg log later pictures + dmesg.logs Скрытый текст dmesg.log dmesg_option1.log Link to comment Share on other sites More sharing options...
jock Posted November 2, 2021 Share Posted November 2, 2021 Hello, did you run rk3318-config? Without logs I can't help. Pictures are broken though. Link to comment Share on other sites More sharing options...
vitaliy.burkut Posted November 3, 2021 Author Share Posted November 3, 2021 Hi @jock! Thank you for your feedback. I tried all of the options from rk3318-config. it was not helpfull. I see that all of option in rk3318-config use the the *wlan-ap6334 overlays. I tried to change it in /boot/armbianEnv.txt to *wlan-ap6330 (like on android. see 1st image (it was reloading)). I think the load process was broken on some earlier steep, with message : brcmfmac: brcmf_fw_alloc_request: Unknown chip BCM43342/1 (full log was attached). Thank on advance for your help Link to comment Share on other sites More sharing options...
vitaliy.burkut Posted November 3, 2021 Author Share Posted November 3, 2021 How I found, the message "Unknown chip BCM43342/1" generating in "static u32 brcmf_chip_tcm_rambase(struct brcmf_chip_priv *ci)" I look at in https://github.com/torvalds/linux/blob/master/drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c#L703 It means that in need to make new build of brcmfmac and add into brcmf_chip_tcm_rambase new ID (but i dont know which one) Link to comment Share on other sites More sharing options...
vitaliy.burkut Posted November 3, 2021 Author Share Posted November 3, 2021 How I saw in https://github.com/torvalds/linux/blob/master/drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c#L494 I need to add 0xA94E into /* Chipcommon Core Chip IDs */ list (https://github.com/torvalds/linux/blob/9e9fb7655ed585da8f468e29221f0ba194a5f613/drivers/net/wireless/broadcom/brcm80211/include/brcm_hw_ids.h#L18) @jock can I build only brcmfmac with declared changes? Link to comment Share on other sites More sharing options...
jock Posted November 3, 2021 Share Posted November 3, 2021 Hello, yes I think you're right about the chip: it is not recognized at all by the brcmfmac driver. It seems to be a variant of bcm4334 and not yet in the brcmfmac table. Not sure if adding it will just let the driver recognize and work, it depends on what is so much different that requires a new chip variant. About compiling the module, I'm not sure sure if you already can, because there is the need for kernel headers of your specific kernel version that are not included into regular images. You may try and take a look in this directory: https://users.armbian.com/jock/rk3318/upgrade/ and install just the kernel headers package. I don't remember if the packages there are already up to date with the latest published image. In case they are not, we need a new kernel and new kernel headers package I can provide for you. Link to comment Share on other sites More sharing options...
vitaliy.burkut Posted November 10, 2021 Author Share Posted November 10, 2021 Good day all! I started to discover the problem from the attempt to extract dts and dto files from backup. And this task was not easy for me (I still can not to do it). But I found a workaround for my main purpose. I just install TERMUX + termux:boot (https://termux.com/) on the native firmware and got what I need (octoprint). @jock thank you again for your img and feadback 1 Link to comment Share on other sites More sharing options...
harmonia3 Posted December 9, 2021 Share Posted December 9, 2021 same problem - wifi not working, hope this can fix next update kernel Link to comment Share on other sites More sharing options...
Recommended Posts