How to make debian connecting to network on hikey960

96boards

#1

I have installed debian on hikey960
(http://builds.96boards.org/releases/hikey/linaro/debian/latest/hikey-jessie_developer_20151130-387-4g.emmc.img.gz)
I can use USB now, but I Can not use the network, the following is my ifconfig information:
root@linaro-developer:~# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:10740 errors:0 dropped:0 overruns:0 frame:0
TX packets:10740 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:869880 (849.4 KiB) TX bytes:869880 (849.4 KiB)

root@linaro-developer:~# uname -a
Linux linaro-developer 4.14.0-rc7-linaro-hikey960 #1 SMP PREEMPT Thu Jan 11 00:27:15 UTC 2018 aarch64 GNU/Linux

Any help would be very much appreciated.
Thank you.


#2

when I reboot,the following message has been repeated all the time and can not stop:
[ 243.379686] wlcore: ERROR Your WiFi FW version (8.9.0.0.39) is invalid.
[ 243.379686] Please use at least FW 8.9...58.
[ 243.379686] You can get the latest firmwares at:
[ 243.379686] git://git.ti.com/wilink8-wlan/wl18xx_fw.git
[ 243.400566] wlcore: ERROR error getting static data
[ 243.406494] wlcore: ERROR firmware boot failed despite 3 retries
[ 243.540838] dwmmc_k3 ff3ff000.dwmmc2: failed to set rate 2400000Hz
[ 243.547112] mmc_host mmc1: Bus speed (slot 0) = 25000000Hz (slot req 300000Hz, actual 297619HZ div = 42)
[ 243.575829] dwmmc_k3 ff3ff000.dwmmc2: failed to set rate 2400000Hz
[ 243.584294] dwmmc_k3 ff3ff000.dwmmc2: failed to set rate 2400000Hz
[ 243.605485] mmc_host mmc1: Bus speed (slot 0) = 25000000Hz (slot req 25000000Hz, actual 25000000HZ div = 0)


#3

This image is originally for Hikey (not Hikey-960), the wifi firmware is missing. Try to get firmware from provided link (git://git.ti.com/wilink8-wlan/wl18xx_fw.git) or from one of the hikey-960 linux RPB image (e.g http://snapshots.linaro.org/reference-platform/embedded/morty/hikey960/latest/rpb/).


#4

Thank you very much for your reply. I know this image is originally for Hikey (not Hikey-960) ,but I want to use apt to install opencv, so I have to use it. Could you please tell me more details about how to get firmware from the hikey-960 linux RPB image?such as replaceing or copying some files?
Thank you.


#5

hmm… I am seeing the same thing with a debian image i created with linaro-stretch-developer.
I added the firmware files as well.
also getting nothing on dmesg
https://pastebin.com/8F1Wj22q

works fine with oe


#6

Can I just replace the /lib/firmware of debian with the /lib/firmware of rpb to solve this problem?


How to install apt on rpb(hikey960)
#7

I copy the files of / lib / firmware(rpb) to the debian corresponding directory, replace the corresponding folder in debian with /lib/modules in rpb, now I can use wifi, thank you for your help. However, I would like to ask that how can I use usb network adapter. I have a relatively large network data transfer requirements, wifi can not meet my needs. Thank you.
here is my respond of ifconfig:
root@linaro-developer:~# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:1200 errors:0 dropped:0 overruns:0 frame:0
TX packets:1200 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:97120 (94.8 KiB) TX bytes:97120 (94.8 KiB)

wlan0 Link encap:Ethernet HWaddr 3c:a3:08:a8:78:b7
inet addr:192.168.1.114 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::3ea3:8ff:fea8:78b7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:100 errors:0 dropped:0 overruns:0 frame:0
TX packets:115 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:13417 (13.1 KiB) TX bytes:13854 (13.5 KiB)


#8

I usually use USB network adapter so can connect USB host port with networking converter and connect with networking cable.

In the kernel side, we need enable USB adapter driver: make menuconfig -> Device Drivers —> Network device support —> USB Network Adapters —> Multi-purpose USB Networking Framework -> ASIX AX88179/178A USB 3.0/2.0 to Gigabit Ethernet (This is the USB adapter I am using, you might change to corresponding driver for your adapter).

I use this on Hikey620, but I don’t test this on Hikey960. FYI.


#9

Thanks for your reply, I will try.


#10

I succeeded, I use the RTL8153, thank you for your help.


#11

Hello @why, Does debian support opencl?


#12

Can we use a wifi dongle such as edimax, to recognize the wifi connections?