Failed getting firmware while booting up(Wireless)

My hikey 960 board has debian image installed on it. It sometimes gives the wifi connections and sometimes does not.

I tried connecting the wifi dongle (Edimax) so that it can recognize the wifi connections.

Booting `Ubuntu (HiKey960 shunya)’

[ 0.308295] dmi: Firmware registration failed.
[ 0.389408] [USB3][hisi_dwc3_probe]+
[ 0.389816] [USB3][get_phy_param]eye diagram param: 0x1c466e3
[ 0.389828] [USB3][get_phy_param]eye diagram host param: 0x1c466e3
[ 0.389836] [USB3][get_phy_param]usb3_phy_cr_param: 0xb80
[ 0.389842] [USB3][get_phy_param]usb3_phy_host_cr_param: 0x980
[ 0.389850] [USB3][get_phy_param]usb3_phy_tx_vboost_lvl: 5
[ 0.389882] [USB3][get_resource]this is asic platform (fpga flag 0)
[ 0.389890] [USB3][create_attr_file]+
[ 0.389950] [USB3][create_attr_file]-
[ 0.389960] [USB3][hi3660_usb3phy_init]+
[ 0.421611] [USB3][config_femtophy_param]set hs phy param 0x1c466e3 for device
[ 0.422122] [USB3][config_femtophy_param]set ss phy rx equalization 0xb80
[ 0.423066] [USB3][config_femtophy_param]set ss RX_SCOPE_VDCC 0x1
[ 0.423074] [USB3][config_femtophy_param]set ss phy tx vboost lvl 0x5
[ 0.423082] [USB3][set_hisi_dwc3_power_flag]set hisi_dwc3_power_flag 1
[ 0.423089] [USB3][hi3660_usb3phy_init]-
[ 0.424386] dwc3 ff100000.dwc3: dwc3_host_init if otg, otg will do device_add.
[ 0.426310] [USB3][hisi_dwc3_wake_lock]usb otg wake lock
[ 0.426331] [USB3][hisi_dwc3_probe]init state: OFF
[ 0.426338] [USB3][hisi_usb_otg_event]hisi_usb_otg_event in:1
[ 0.426345] [USB3][hisi_usb_otg_event]hisi_usb_otg_event in otg:1
[ 0.426352] [USB3][hisi_usb_otg_event]event: 1
[ 0.426367] [USB3][hisi_dwc3_probe]-
[ 0.426369] [USB3][event_work]+
[ 0.426372] [USB3][handle_event][handle_event] type: 1
[ 0.426415] [USB3][hisi_dwc3_wake_unlock]usb otg wake unlock
[ 0.426425] [USB3][handle_event]hisi usb status: DEVICE → OFF
[ 0.426432] [USB3][event_work]-
[ 0.431414] hi3660_thermal fff30000.tsensor: failed to register thermal sensor0: -19
[ 0.431450] hi3660_thermal fff30000.tsensor: failed to register thermal sensor1: -19
[ 0.431466] hi3660_thermal fff30000.tsensor: failed to register thermal sensor2: -19
[ 0.431482] hi3660_thermal fff30000.tsensor: failed to register thermal sensor3: -19
[ 0.431525] hi3660_thermal fff30000.tsensor: failed to register thermal sensor5: -19
[ 0.436568] ufshcd-hi3660 ff3b0000.ufs: ufshcd_print_pwr_info:[RX, TX]: gear=[1, 1], lane[1, 1], pwr[SLOWAUTO_MODE, SLOWAUTO_MODE], rate = 0
[ 0.679202] ufshcd-hi3660 ff3b0000.ufs: ufshcd_print_pwr_info:[RX, TX]: gear=[3, 3], lane[1, 1], pwr[FAST MODE, FAST MODE], rate = 2
[ 0.679679] ufshcd-hi3660 ff3b0000.ufs: ufshcd_find_max_sup_active_icc_level: Regulator capability was not set, actvIccLevel=0
[ 1.557791] [E/hisi_pd] typec_wait_ps_change: typec_wait_ps_change!!!+++++++++++
[ 1.565215] [E/hisi_pd] typec_wait_ps_change: typec_wait_ps_change!!!-----------
[ 1.572614] [E/hisi_pd] typec_unattached_power_entry:!!!+++++++++++
[ 1.629199] [E/hisi_pd] tcpci_disable_vbus_control: !!!++++++++
[ 1.635126] [E/hisi_pd] pd_dpm_handle_pe_event:!!!,event=0,+++
[ 1.640964] [E/hisi_pd] typec_unattached_power_entry:!!!-----------
[ 1.647246] [E/GPIO_HUB] gpio_hub_switch_to_hub: switch to hub
[ 1.653097] [USB3][hisi_usb_otg_event]hisi_usb_otg_event in:1
[ 1.658845] [USB3][hisi_usb_otg_event]hisi_usb_otg_event in otg:1
[ 1.664941] [USB3][hisi_usb_otg_event]hisi_usb_otg_event in:2
[ 1.670690] [USB3][hisi_usb_otg_event]hisi_usb_otg_event in otg:2
[ 1.676786] [USB3][hisi_usb_otg_event]event: 2
[ 1.681435] [USB3][event_work]+
[ 1.684588] [USB3][handle_event][handle_event] type: 2
[ 1.689956] [USB3][set_vbus_power]set port power 1
[ 1.700250] [USB3][hisi_dwc3_wake_lock]usb otg wake lock
[ 1.705569] [USB3][handle_event]hisi usb_status: OFF → HOST
[ 1.711226] [USB3][event_work]-
[ 1.914922] EXT4-fs (sdd10): couldn’t mount as ext3 due to feature incompatibilities
[ 2.617232] Bluetooth: hci0: request_firmware failed(errno -2) for ti-connectivity/TIInit_11.8.32.bts
[ 2.626520] Bluetooth: hci0: download firmware failed, retrying…
[ 2.770902] Bluetooth: hci0: request_firmware failed(errno -2) for ti-connectivity/TIInit_11.8.32.bts
[ 2.780154] Bluetooth: hci0: download firmware failed, retrying…
[ 2.799670] wlcore: ERROR could not get configuration binary ti-connectivity/wl18xx-conf.bin: -2
[ 2.914491] Bluetooth: hci0: request_firmware failed(errno -2) for ti-connectivity/TIInit_11.8.32.bts
[ 2.923730] Bluetooth: hci0: download firmware failed, retrying…
[ 3.069239] Bluetooth: hci0: request_firmware failed(errno -2) for ti-connectivity/TIInit_11.8.32.bts
[ 3.078531] Bluetooth: hci0: download firmware failed, retrying…
[ OK ] Started Raise network interfaces.
[ OK ] Reached target Network.
Starting OpenBSD Secure Shell server…
Starting Permit User Sessions…
[ OK ] Started Unattended Upgrades Shutdown.
[ OK ] Reached target Network is Online.
Starting LSB: Starts Yaws web server…
Starting LXC network bridge setup…
[ OK ] Started Permit User Sessions.
[ OK ] Started Serial Getty on ttyAMA6.
Starting Light Display Manager…
[ OK ] Started Getty on tty1.
[ OK ] Reached target Login Prompts.
[ OK ] Started OpenBSD Secure Shell server.
[ OK ] Started LXC network bridge setup.
Starting LXC Container Initialization and Autoboot Code…
[ OK ] Started Light Display Manager.
[ OK ] Started LXC Container Initialization and Autoboot Code.
[ OK ] Stopped Light Display Manager.
Starting Light Display Manager…
[ OK ] Started Light Display Manager.
[ OK ] Stopped Light Display Manager.
Starting Light Display Manager…
[ OK ] Started Light Display Manager.
[ OK ] Stopped Light Display Manager.
Starting Light Display Manager…
[ OK ] Started Light Display Manager.
[ OK ] Stopped Light Display Manager.
Starting Light Display Manager…
[ OK ] Started Light Display Manager.
[ OK ] Stopped Light Display Manager.
[FAILED] Failed to start Light Display Manager.
See ‘systemctl status lightdm.service’ for details.
[ OK ] Started LSB: Starts Yaws web server.
[ OK ] Reached target Multi-User System.
[ OK ] Reached target Graphical Interface.
Starting Update UTMP about System Runlevel Changes…
[ OK ] Started Update UTMP about System Runlevel Changes.

Debian GNU/Linux 9 hikey960 ttyAMA6

hikey960 login: shunya
Password:
Last login: Thu May 10 17:39:02 UTC 2018 on ttyAMA6
Linux hikey960 4.14.0-rc7-linaro-hikey960 #1 SMP PREEMPT Wed Mar 14 17:54:05 IST 2018 aarch64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
shunya@hikey960:~$ sudo su
[sudo] password for shunya:
root@hikey960:/home/shunya# nmcli device status
DEVICE TYPE STATE CONNECTION
wlan0 wifi unavailable –
lo loopback unmanaged –
root@hikey960:/home/shunya# lsusb
Bus 002 Device 002: ID 0424:5734 Standard Microsystems Corp.
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0424:2740 Standard Microsystems Corp.
Bus 001 Device 003: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]
Bus 001 Device 002: ID 0424:2734 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@hikey960:/home/shunya#

Can anyone help.