Hi3559A USB2.0启动WIFI移植

  1. 在内核配置中(make menuconfig)中将usb2.0和usb3.0的驱动选中.
  2. 需要修改内核中的hi3559av100.dtsi linux-4.9.y\arch\arm64\boot\dts\hisilicon\hi3559av100.dtsi 
  3. wifi驱动编译需要选择ARCH := arm64

#WIFI配置内核
选择【device driver】→【Networking support】→【Wireless LAN】→【Wireless LAN drivers & Wireless Extensions】
重新编译内核即可。
 --- Networking support  
                      -*-   Wireless  --->      
                                 <*>   cfg80211 - wireless configuration API 
                                <*>   Generic IEEE 802.11 Networking Stack (mac80211) 

  │ │    --- Wireless                                                     │ │  
  │ │    <*>   cfg80211 - wireless configuration API                      │ │  
  │ │    [ ]     nl80211 testmode command                                 │ │  
  │ │    [ ]     enable developer warnings                                │ │  
  │ │    [ ]     cfg80211 certification onus                              │ │  
  │ │    [*]     enable powersave by default                              │ │  
  │ │    [ ]     cfg80211 DebugFS entries                                 │ │  
  │ │    [ ]     use statically compiled regulatory rules database        │ │  
  │ │    [*]     cfg80211 wireless extensions compatibility               │ │  
  │ │    <*>   Generic IEEE 802.11 Networking Stack (mac80211)  


上面有关于usb方面的错误应该配置usb驱动
                    <*>   Support for Host-side USB
                    <*>   USB Monitor 
                     <*>   USB Wireless Device Management support 

USB2.0无法使用需要配置
make menuconfig将usb2.0和usb3.0的驱动选中
linux-4.9.y\arch\arm64\boot\dts\hisilicon\hi3559av100.dtsi
#if 1
        xhci_0:xhci_0@0x12300000 {
            compatible = "generic-xhci";
            reg = <0x12300000 0x10000>;
            interrupts = <0 84 4>;
        };
#endif
#if 1
        xhci_1:xhci_1@0x12310000 {
            compatible = "generic-xhci";
            reg = <0x12310000 0x10000>;
            interrupts = <0 85 4>;
        };
#endif
#if 0
        hidwc3_0:hiudc3_0@0x12300000 {
            compatible = "snps,dwc3";
            reg = <0x12300000 0x10000>;
            interrupts = <0 84 4>;
            port_speed = <0>;
            interrupt-names = "peripheral";
            maximum-speed = "super-speed";
            dr_mode = "peripheral";
        };
#endif
#if 0
        hidwc3_1:hiudc3_1@0x12310000 {
            compatible = "snps,dwc3";
            reg = <0x12310000 0x10000>;
            interrupts = <0 85 4>;
            port_speed = <1>;
            interrupt-names = "peripheral";
            maximum-speed = "super-speed";
            dr_mode = "peripheral";
        };
#endif

 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值