WiFi not working on Ubuntu or Bianbu

On my Jupiter, I have tested both the 1.0.8 and 1.0.9 releases of Ubuntu and Bianbu, and I’m so far unable to see the WiFi radio and use it.

root@milkv-jupiter:~# nmcli d
DEVICE  TYPE      STATE      CONNECTION 
end0    ethernet  unmanaged  --         
end1    ethernet  unmanaged  --         
sit0    iptunnel  unmanaged  --         
lo      loopback  unmanaged  -- 

I do see bluetooth but no WiFi, using rfkill:

root@milkv-jupiter:~# rfkill
ID TYPE      DEVICE         SOFT      HARD
 0 bluetooth spacemit-bt blocked unblocked

From some discussion with Milk-V, it sounds like my board may have a DOA WiFi chip :frowning:

See related: Milk-V Jupiter · Issue #47 · geerlingguy/sbc-reviews · GitHub

When WiFi tries to initialize, I get:

[   29.348627] RTW: module init start
[   29.348647] RTW: rtl8852bs v1.19.7.1-51-g48af265.20230922
[   29.348653] RTW: build time: Jul 19 2024 08:17:49
[   29.348659] RTW: 
[   29.348662] RTW: =======================================================
[   29.348666] RTW: ==== Launching Wi-Fi driver! (Powered by Spacemit) ====
[   29.348669] RTW: =======================================================
[   29.348672] RTW: Realtek rtl8852bs WiFi driver (Powered by Spacemit,Ver v1.19.7.1-51-g48af265.20230922) init.
[   29.366240] RTW: module init ret=0

They may be able to send a replacement, and I will test WiFi on it. I should note the board I am testing is one of their first batch of the final design. They said final production boards will go through a QA process that should identify any boards with the same issue I have.

1 Like

It looks like it was indeed a hardware issue. Moving the same microSD card with the same Bianbu installation over to the new board, I am getting working WiFi connecting to my WiFi 6 network on the 5 GHz band!

[  736.942920] RTW: rtw_set_802_11_connect(wlan0)  fw_state=0x00000008
[  736.964473] RTW: [PHL STA]- role-idx: 0
[  736.964498] RTW: [PHL STA]- mac_addr:6c:cd:d6:61:8f:21
[  736.964505] RTW: [PHL STA]- aid: 0
[  736.964509] RTW: [PHL STA]- macid: 0
[  736.964513] RTW: [PHL STA]- wifi_band: 1
[  736.964516] RTW: [PHL STA]- bw: 0
[  736.964520] RTW: [PHL STA]- chan: 36
[  736.964524] RTW: [PHL STA]- offset: 0
[  737.250284] RTW: start auth
[  737.259474] RTW: auth success, start assoc
[  737.262822] RTW: assoc success
[  737.266296] RTW: recv eapol packet 1/4
[  737.267207] RTW: send eapol packet 2/4
[  737.270173] RTW: recv eapol packet 3/4
[  737.270734] RTW: send eapol packet 4/4
[  737.271473] RTW: setkey_hdl: set group key for 6c:cd:d6:61:8f:21, kid:2 type:1 algo:AES
[  737.271790] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  737.276991] RTW: [PHL STA]- role-idx: 0
[  737.277018] RTW: [PHL STA]- mac_addr:6c:cd:d6:61:8f:21
[  737.277027] RTW: [PHL STA]- aid: 6
[  737.277031] RTW: [PHL STA]- macid: 0
[  737.277034] RTW: [PHL STA]- wifi_band: 1
[  737.277038] RTW: [PHL STA]- bw: 2
[  737.277041] RTW: [PHL STA]- chan: 40
[  737.277045] RTW: [PHL STA]- offset: 3
3 Likes

When you say a new board, do you mean a new Jupiter?
Same CPU and memory config?

1 Like