基于Zynq SDIO WiFi移植二(支持2.4/5G)

1 SDIO设备识别

经过编译,将移植好的uboot、kernel、rootFS、ramdisk等烧录到Flash中,上电启动,在log中,可看到sdio设备

[    1.747059] mmc1: queuing unknown CIS tuple 0x01 (3 bytes)
[    1.761842] mmc1: queuing unknown CIS tuple 0x1a (5 bytes)
[    1.771277] mmc1: queuing unknown CIS tuple 0x1b (8 bytes)
[    1.777558] mmc1: queuing unknown CIS tuple 0x14 (0 bytes)
[    1.790101] mmc1: queuing unknown CIS tuple 0x80 (1 bytes)
[    1.796027] mmc1: queuing unknown CIS tuple 0x81 (1 bytes)
[    1.801850] mmc1: queuing unknown CIS tuple 0x82 (1 bytes)
[    1.807499] mmc1: new high speed SDIO card at address 0001

2 运行Log

全部运行日志如下:


U-Boot 2014.01 (May 26 2024 - 22:54:28)I2C:   ready
Memory: ECC disabled
DRAM:  448 MiB
MMC:   zynq_sdhci: 0
SF: Detected S25FL256S_64K with page size 256 Bytes, erase size 64 KiB, total 32 MiB
*** Warning - bad CRC, using default environmentIn:    serial
Out:   serial
Err:   serial
Net:   Gem.e000b000
Hit any key to stop autoboot:  0 
Copying Linux from QSPI flash to RAM...
SF: Detected S25FL256S_64K with page size 256 Bytes, erase size 64 KiB, total 32 MiB
SF: 5242880 bytes @ 0x200000 Read: OK
SF: 65536 bytes @ 0x700000 Read: OK
Copying ramdisk...
SF: 10485760 bytes @ 0x710000 Read: OK
## Booting kernel from Legacy Image at 03000000 ...Image Name:   Linux-3.14.0-xilinxImage Type:   ARM Linux Kernel Image (uncompressed)Data Size:    3907864 Bytes = 3.7 MiBLoad Address: 00100000Entry Point:  00100000Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02000000 ...Image Name:   RamdiskImage Type:   ARM Linux RAMDisk Image (gzip compressed)Data Size:    9428633 Bytes = 9 MiBLoad Address: 00000000Entry Point:  00000000Verifying Checksum ... OK
## Flattened Device Tree blob at 02a00000Booting using the fdt blob at 0x2a00000Loading Kernel Image ... OKLoading Ramdisk to 1b231000, end 1bb2ee99 ... OKLoading Device Tree to 1b22b000, end 1b230946 ... OKStarting kernel ...[    1.008498] console [ttyPS0] enabled
[    1.015539] bootconsole [earlycon0] disabled
[    1.026843] xdevcfg f8007000.devcfg: ioremap 0xf8007000 to dc868000
[    1.036385] [drm] Initialized drm 1.1.0 20060810
[    1.077115] brd: module loaded
[    1.101048] loop: module loaded
[    1.118259] m25p80 spi0.0: s25fl256s1 (32768 Kbytes)
[    1.123743] 6 ofpart partitions found on MTD device spi0.0
[    1.129150] Creating 6 MTD partitions on "spi0.0":
[    1.134476] 0x000000000000-0x000000200000 : "qspi-fsbl-uboot"
[    1.148200] 0x000000200000-0x000000700000 : "qspi-linux"
[    1.158831] 0x000000700000-0x000000710000 : "qspi-device-tree"
[    1.169706] 0x000000710000-0x000001110000 : "qspi-rootfs"
[    1.180228] 0x000001110000-0x000001120000 : "user_data"
[    1.190728] 0x000001120000-0x000001b20000 : "user_data"
[    1.213861] libphy: MACB_mii_bus: probed
[    1.220089] macb e000b000.ethernet eth0: no PHY found
[    1.283334] e1000e: Intel(R) PRO/1000 Network Driver - 2.3.2-k
[    1.289093] e1000e: Copyright(c) 1999 - 2013 Intel Corporation.
[    1.300992] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.307989] ehci-pci: EHCI PCI platform driver
[    1.313917] usbcore: registered new interface driver usb-storage
[    1.323007] mousedev: PS/2 mouse device common for all mice
[    1.330947] i2c /dev entries driver
[    1.338576] cdns-i2c e0004000.i2c: 400 kHz mmio e0004000 irq 57
[    1.346409] cdns-i2c e0005000.i2c: 400 kHz mmio e0005000 irq 80
[    1.358476] Driver for 1-wire Dallas network protocol.
[    1.364903] DS1WM w1 busmaster driver - (c) 2004 Szabolcs Gyurko
[    1.377156] cdns-wdt f8005000.watchdog: Xilinx Watchdog Timer at dc872000 with timeout 10s
[    1.391745] Xilinx Zynq CpuIdle Driver started
[    1.398117] sdhci: Secure Digital Host Controller Interface driver
[    1.404421] sdhci: Copyright(c) Pierre Ossman
[    1.408695] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.414942] mmc0: no vqmmc regulator found
[    1.418974] mmc0: no vmmc regulator found
[    1.460620] mmc0: SDHCI controller on e0100000.sdhci [e0100000.sdhci] using ADMA
[    1.472753] mmc1: no vqmmc regulator found
[    1.476824] mmc1: no vmmc regulator found
[    1.520641] mmc1: SDHCI controller on e0101000.sdhci [e0101000.sdhci] using ADMA
[    1.530455] usbcore: registered new interface driver usbhid
[    1.535991] usbhid: USB HID core driver
[    1.747059] mmc1: queuing unknown CIS tuple 0x01 (3 bytes)
[    1.761842] mmc1: queuing unknown CIS tuple 0x1a (5 bytes)
[    1.771277] mmc1: queuing unknown CIS tuple 0x1b (8 bytes)
[    1.777558] mmc1: queuing unknown CIS tuple 0x14 (0 bytes)
[    1.790101] mmc1: queuing unknown CIS tuple 0x80 (1 bytes)
[    1.796027] mmc1: queuing unknown CIS tuple 0x81 (1 bytes)
[    1.801850] mmc1: queuing unknown CIS tuple 0x82 (1 bytes)
[    1.807499] mmc1: new high speed SDIO card at address 0001[    1.898453] TCP: cubic registered
[    1.901766] NET: Registered protocol family 17
[    1.906173] lib80211: common routines for IEEE802.11 drivers
[    1.912179] zynq_pm_ioremap: no compatible node found for 'xlnx,zynq-ddrc-1.0'
[    1.919339] zynq_pm_late_init: Unable to map DDRC IO memory.
[    1.925336] Registering SWP/SWPB emulation handler
[    1.932985] regulator-dummy: disabling
[    1.937518] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    1.971388] ALSA device list:
[    1.974284]   No soundcards found.
[    1.980441] RAMDISK: gzip image found at block 0
[    3.528639] VFS: Mounted root (ext2 filesystem) on device 1:0.
[    3.535561] devtmpfs: mounted
[    3.538878] Freeing unused kernel memory: 204K (c070b000 - c073e000)
Starting rcS...
++ Mounting filesystem
++ Setting up mdev
++ Starting telnet daemon
++ Starting http daemon
++ Starting ftp daemon
++ Starting dropbear (ssh) daemon
mkdir: can't create directory '/var/run/': File exists
mkdir: can't create directory '/var/run/hostapd': File exists
Generate the RANDOM
Mount File System from Flash
[    4.792550] random: nonblocking pool is initialized
=== == = Load Flash Shell Script AP Before = == ===
/etc/init.d/rcS: line 52: /mount_flash/RCS0: not found
=== == = Configure SoftAP = == ===
[    4.937581] Loading modules backported from Linux version v3.12.8-0-g97f15f1
[    4.944621] Backport generated by backports.git v3.12.8-1-0-geb41fad
[    4.983133] cfg80211: Calling CRDA to update world regulatory domain
[    4.997201] cfg80211: World regulatory domain updated:
[    5.002453] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[    5.018952] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    5.026913] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    5.034815] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    5.042657] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (300 mBi, 2000 mBm)
[    5.050385] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (300 mBi, 2000 mBm)
[    5.058318] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm)
[    5.123418] wlan: loading driver v4.5.10.016
[    5.128782] hifDeviceInserted: Dumping clocks (50000000,49999999)
[    5.134898] HIFDumpCCCR 0(43) 1(3) 2(0) 3(0) 4(0) 5(0) 6(0) 7(6) 8(17) 9(0) A(10) B(0) C(0) D(0) E(0) F(0) 10(0) 11(0) 12(1) 13(3) 14(7) 15(37) 16(1) 
[    5.176593] ath_hif_sdio: HIF (Atheros/multi-bss)
[    5.184867] wlan: [654:E :HDD] wlan_hdd_cfg80211_init: wiphy->bands[i] is NULL, i = 2
[    5.311748] AR6000: configuration opcode 3 is not used for Linux SDIO stack 
[    5.321411] NUM_DEV=1 FWMODE=0x2 FWSUBMODE=0x0 FWBR_BUF 0
[    5.361424] Board extended Data download address: 0x0
[    5.392345] wlan: [654:E :VOS] ol_transfer_bin_file: transferring file: bdwlan30.bin size 8124 bytes done!
[    5.402437] ol_download_firmware: Using 0x1234 for the remainder of init
[    5.475645] wlan: [654:E :VOS] ol_transfer_bin_file: transferring file: otp30.bin size 23773 bytes done!
[    5.486600] ol_transfer_bin_file: Loading setup file qsetup30.bin
[    5.492840] ar6k_wlan mmc1:0001:1: Direct firmware load failed with error -2
[    5.499810] ar6k_wlan mmc1:0001:1: Falling back to user helper
[    5.519406] ol_transfer_bin_file: Failed to get qsetup30.bin
[    7.142626] wlan: [654:E :VOS] ol_transfer_bin_file: transferring file: qwlan30.bin size 591532 bytes done!
[    7.156689] +HTCCreate ..  HIF :d2d8c000 
[    7.160994] HIF Interrupt processing is SYNC ONLY
[    7.165620] AR6000: configuration opcode 7 is only used for RTOS systems, not Linux systems
[    7.174011] AR6000: configuration opcode 5 is not used for Linux SDIO stack 
[    7.181705] -HTCCreate (0xd1da7000) 
[    7.185699] WDA_open-4566: WMA --> wmi_unified_attach - success
[    7.191602] ol_if_dfs_attach: called; ptr=ca935aec, radar_info=ca939d74
[    7.199110] wlan: [654:E :SAP] dfs_init_radar_filters[201]: Unknown dfs domain 0 
[    7.206775] +HWT
[    7.210968] Target Ready! : transmit resources : 3 size:1792, MaxMsgsPerHTCBundle = 32
[    7.218813] HTC Service Index : 1 TX : 0x100 : alloc:3 
[    7.224087] HTC Service:0x0001, ULpipe:1 DLpipe:0 id:0 Ready
[    7.229666] -HWT
[    7.231991] MAILBOX SWAP Service is enabled!
[    7.236177] Reduced Tx Complete service is enabled!
[    7.243079] is_full_reorder_offloaded? 0
[    7.246927] HTC Service TX : 0x300 : allocation is zero! 
[    7.254450] HTC Service:0x0300, ULpipe:1 DLpipe:0 id:1 Ready
[    7.260033] HTC Service:0x0300 ep:1 TX flow control disabled
[    7.265792] htt_tx_attach:htt_desc_start:0xcc0a0000 htt_desc_end:0xcc0bc200
[    7.275057] HTC Service:0x0100, ULpipe:3 DLpipe:2 id:2 Ready
[    7.280690] wma_pre_start-4928: WMA --> wmi_unified_connect_htc_service - success
[    7.288520] wma_mc_process_msg-21188: McThread: WNI_CFG_DNLD_REQ
[    7.295817] HTC using TX credit flow control
[    7.302126] wmitlv_check_and_pad_tlvs: WARN: TLV truncated. tlv_size_diff=4, curr_tlv_len=112
[    7.310695] __wmi_control_rx: WMI UNIFIED SERVICE READY event
[    7.316368] wma_rx_service_ready_event-23911: WMA <-- WMI_SERVICE_READY_EVENTID
[    7.323733] wlan: [4:E :WDA] wma_rx_service_ready_event: Firmware build version : 00000018
[    7.332086] wlan: [4:E :WDA] wma_rx_service_ready_event: Board version: 0.22014009
[    7.339598] wma_rx_service_ready_event-24026: WMA --> WMI_INIT_CMDID
[    7.353626] __wmi_control_rx:  WMI UNIFIED READY event
[    7.358692] wma_rx_ready_event-24055: WMA <-- WMI_READY_EVENTID
[    7.365713] 
[    7.367124] =============================================
[    7.372504] [ INFO: possible recursive locking detected ]
[    7.377890] 3.14.0-xilinx #41 Tainted: G           O
[    7.382834] ---------------------------------------------
[    7.388217] AR6K startup/654 is trying to acquire lock:
[    7.393423]  (&(&lock->spinlock)->rlock){+.....}, at: [<bf1e1e94>] GetHTCSendPacketsCreditBased+0x12c/0x2b0 [wlan]
[    7.404969] 
[    7.404969] but task is already holding lock:
[    7.410782]  (&(&lock->spinlock)->rlock){+.....}, at: [<bf1e2468>] HTCTrySend+0x340/0x958 [wlan]
[    7.420758] 
[    7.420758] other info that might help us debug this:
[    7.427267]  Possible unsafe locking scenario:
[    7.427267] 
[    7.433168]        CPU0
[    7.435598]        ----
[    7.438028]   lock(&(&lock->spinlock)->rlock);
[    7.442455]   lock(&(&lock->spinlock)->rlock);
[    7.446883] 
[    7.446883]  *** DEADLOCK ***
[    7.446883] 
[    7.452786]  May be due to missing lock nesting notation
[    7.452786] 
[    7.459559] 1 lock held by AR6K startup/654:
[    7.463809]  #0:  (&(&lock->spinlock)->rlock){+.....}, at: [<bf1e2468>] HTCTrySend+0x340/0x958 [wlan]
[    7.474165] 
[    7.474165] stack backtrace:
[    7.478514] CPU: 1 PID: 654 Comm: AR6K startup Tainted: G           O 3.14.0-xilinx #41
[    7.486526] [<c0015330>] (unwind_backtrace) from [<c00116d8>] (show_stack+0x10/0x14)
[    7.494237] [<c00116d8>] (show_stack) from [<c04f2898>] (dump_stack+0x8c/0xd0)
[    7.501440] [<c04f2898>] (dump_stack) from [<c005efc8>] (__lock_acquire+0x2b4/0x1998)
[    7.509246] [<c005efc8>] (__lock_acquire) from [<c0060da8>] (lock_acquire+0x68/0x7c)
[    7.516975] [<c0060da8>] (lock_acquire) from [<c04f80b0>] (_raw_spin_lock+0x40/0x50)
[    7.525915] [<c04f80b0>] (_raw_spin_lock) from [<bf1e1e94>] (GetHTCSendPacketsCreditBased+0x12c/0x2b0 [wlan])
[    7.538064] [<bf1e1e94>] (GetHTCSendPacketsCreditBased [wlan]) from [<bf1e2578>] (HTCTrySend+0x450/0x958 [wlan])
[    7.550451] [<bf1e2578>] (HTCTrySend [wlan]) from [<bf1e2c68>] (HTCSendPktsMultiple+0x1e8/0x2ac [wlan])
[    7.562052] [<bf1e2c68>] (HTCSendPktsMultiple [wlan]) from [<bf1e2d84>] (HTCSendPkt+0x58/0x68 [wlan])
[    7.573478] [<bf1e2d84>] (HTCSendPkt [wlan]) from [<bf1d6d8c>] (wmi_unified_cmd_send+0x15e8/0x1628 [wlan])
[    7.585218] [<bf1d6d8c>] (wmi_unified_cmd_send [wlan]) from [<bf1bf860>] (wma_send_regdomain_info+0xa4/0xe0 [wlan])
[    7.597847] [<bf1bf860>] (wma_send_regdomain_info [wlan]) from [<bf1c7244>] (regdmn_get_ctl_info+0x1d4/0x1fc [wlan])
[    7.610566] [<bf1c7244>] (regdmn_get_ctl_info [wlan]) from [<bf1c72cc>] (regdmn_set_regval+0x60/0x70 [wlan])
[    7.622561] [<bf1c72cc>] (regdmn_set_regval [wlan]) from [<bf198514>] (vos_init_wiphy_from_eeprom+0x218/0x258 [wlan])
[    7.635044] [<bf198514>] (vos_init_wiphy_from_eeprom [wlan]) from [<bf0859e8>] (hdd_wlan_startup+0x56c/0xf90 [wlan])
[    7.647393] [<bf0859e8>] (hdd_wlan_startup [wlan]) from [<bf1e9040>] (ath_hif_sdio_probe+0x1f8/0x2d0 [wlan])
[    7.659544] [<bf1e9040>] (ath_hif_sdio_probe [wlan]) from [<bf1e9688>] (startup_task+0x34/0x68 [wlan])
[    7.669985] [<bf1e9688>] (startup_task [wlan]) from [<c0041b14>] (kthread+0xd8/0xec)
[    7.677663] [<c0041b14>] (kthread) from [<c000e468>] (ret_from_fork+0x14/0x2c)
[    7.686063] wlan: [654:E :SME] csr_init_chan_list: 326: init time country code US
[    7.693572] cfg80211: Calling CRDA for country: US
[    7.698867] wlan: [15:E :VOS] error: wiphy->bands is NULL, i = 2
[    7.704868] wlan: [15:F :HDD] pAdapter is null !!
[    7.709521] cfg80211: Regulatory domain changed to country: US
[    7.711690] ar6k_wlan mmc1:0001:1: Direct firmware load failed with error -2
[    7.711699] ar6k_wlan mmc1:0001:1: Falling back to user helper
[    7.730588] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[    7.738699] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[    7.746751] wlan: [654:E :WDA] MCC TX Pause Event Handler register
[    7.750722] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (300 mBi, 1700 mBm)
[    7.750732] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz), (300 mBi, 2400 mBm)
[    7.750739] cfg80211:   (5490000 KHz - 5600000 KHz @ 80000 KHz), (300 mBi, 2400 mBm)
[    7.750747] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2400 mBm)
[    7.750754] cfg80211:   (5710000 KHz - 5835000 KHz @ 80000 KHz), (300 mBi, 3000 mBm)
[    7.750761] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm)
[    7.799271] wlan: [654:E :WDA] Target does not support batch scan feature
[    7.806995] session id - 0, AddSta session - 0
[    7.811626] wlan: [657:E :WDA] wma_unified_vdev_create_send: ID = 0 VAP Addr = 88:83:5d:a0:3b:7a
[    7.820467] wma_vdev_attach-5777: vdev_id 0, txrx_vdev_handle = cc0d5e00
[    7.827375] wlan: [654:E :HDD] wlan_hdd_tdls_init TDLS Implicit trigger not enabled!
[    7.835662] target uses HTT version 3.15; host uses 3.9
[    7.840859] *** Warning: host/target HTT versions are different, though compatible!
[    7.873528] session id - 1, AddSta session - 0
[    7.876806] wlan: [657:E :WDA] Invalid wda_cli_set pdev command/Not yet implemented 0x34
[    7.886176] wlan: [657:E :WDA] wma_unified_vdev_create_send: ID = 1 VAP Addr = 8a:83:5d:23:3b:7a
[    7.895117] wma_vdev_attach-5777: vdev_id 1, txrx_vdev_handle = cc0d5400
[    7.902650] wma_vdev_attach-5843: P2P Device: creating self peer 8a:83:5d:23:3b:7a, vdev_id 1
[    7.911189] wlan: [657:E :WDA] wma_create_peer: Created peer with peer_addr 8a:83:5d:23:3b:7a vdev_id 1, peer_count - 1
[    7.948133] wlan: [657:E :WDA] Invalid wda_cli_set pdev command/Not yet implemented 0x34
[    7.956804] Host SW:4.5.10.016, FW:0.0.0.24, HW:QCA9377_REV1_1
[    7.962956] wlan_logging_sock_activate_svc: Initalizing FEConsoleLog = 0 NumBuff = 32
[    7.971487] wlan_logging_sock_activate_svc: Activated wlan_logging svc
[    7.978260] wlan: [657:E :WDA] TM sending the following to firmware: min 0 max 110 enable 1
[    7.978275] wlan: driver loaded
[    7.990598] wlan: [657:E :WDA] TM Sending thermal mgmt cmd: low temp 0, upper temp 110, enabled 1
lo        Link encap:Local Loopback  LOOPBACK  MTU:65536  Metric:1RX packets:0 errors:0 dropped:0 overruns:0 frame:0[    8.011639] wlan: [689:E :SME] PmcOffloadEnableStaModePowerSave: 3818: Failed to Queue Sta Mode Ps RequestTX packets:0 errors:0 dropped:0 overruns:0 carrier:0collisions:0 txqueuelen:0 RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)p2p0      Link encap:Ethernet  HWaddr 8A:83:5D:23:3B:7A  BROADCAST MULTICAST  MTU:1500  Metric:1RX packets:0 errors:0 dropped:0 overruns:0 frame:0TX packets:0 errors:0 dropped:0 overruns:0 carrier:0collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)wlan0     Link encap:Ethernet  HWaddr 88:83:5D:A0:3B:7A  BROADCAST MULTICAST  MTU:1500  Metric:1RX packets:0 errors:0 dropped:0 overruns:0 frame:0TX packets:0 errors:0 dropped:0 overruns:0 carrier:0co[    8.085604] wma_vdev_detach-5142: P2P Device: removing self peer 8a:83:5d:23:3b:7a
llisions:0 txqueuelen:1000 RX bytes:0 (0.0 B)  TX by[    8.096890] wlan: [657:E :WDA] wma_remove_peer: Removed peer with peer_addr 8a:83:5d:23:3b:7a vdevid 1 peer_count 0
tes:0 (0.0 B)Udhcpd configuration
Hostapd configuration
==[    8.112924] wma_vdev_detach-5191: vdev_id:1 vdev_hdl:cc0d5400
= == = Load Flash Shell Script AP After = == ===
/etc/init.d/rc[    8.124060] wlan: [0:E :WDA] Call txrx detach with callback for vdev 1
S: line 70: /mount_flash/RCS1: not found
Start Linux Application ... ...
--------------------------
-System Release 2024 05 26
-rcS Complete
--------------------------
Configuration file: /mount_flash/wifi_ap.conf
-/bin/ash: syntax error: unterminated quoted string
/ # rfkill: Cannot open RFKILL control device
tools bind socket server success
[    8.183177] wma_vdev_detach-5191: vdev_id:0 vdev_hdl:cc0d5e00
[    8.188885] wlan: [0:E :WDA] Call txrx detach with callback for vdev 0
[    8.195667] wlan: [657:E :VOS] vos_mem_zero called with NULL parameter ptr
[    8.202517] wlan: [657:E :WDA] Set software AP Auth offload with none support security type
[    8.202517] 
[    8.232638] wlan: [693:E :HDD] received scan request
[    8.237770] wma_start_scan-6533: vdev id [0] is not active
[    8.243284] wlan: [657:E :SME] Found 0 BSS
Using interface wlan0 with hwaddr 88:83:5d:a0:3b:7a and ssid "ZCL0001"
[    8.374547] ------------[ cut here ]------------
[    8.380126] WARNING: CPU: 0 PID: 693 at /home/fpgadeveloper/WIFI_5G/WiFi_Driver/qca9377-le-4.5.10.016.001/WLAN-AIO/build/../drivers/backports/include/net/cfg80211.h:374 wlan_hdd_cfg80211_start_ap+0x17c/0x404 [wlan]()
[    8.399303] Modules linked in: wlan(O) cfg80211(O) compat(O)
[    8.404897] CPU: 0 PID: 693 Comm: hostapd Tainted: G           O 3.14.0-xilinx #41
[    8.412501] [<c0015330>] (unwind_backtrace) from [<c00116d8>] (show_stack+0x10/0x14)
[    8.420186] [<c00116d8>] (show_stack) from [<c04f2898>] (dump_stack+0x8c/0xd0)
[    8.427433] [<c04f2898>] (dump_stack) from [<c00227cc>] (warn_slowpath_common+0x60/0x84)
[    8.435492] [<c00227cc>] (warn_slowpath_common) from [<c0022880>] (warn_slowpath_null+0x18/0x20)
[    8.445145] [<c0022880>] (warn_slowpath_null) from [<bf0a94e0>] (wlan_hdd_cfg80211_start_ap+0x17c/0x404 [wlan])
[    8.456176] [<bf0a94e0>] (wlan_hdd_cfg80211_start_ap [wlan]) from [<bf01bbcc>] (nl80211_start_ap+0x354/0x3ac [cfg80211])
[    8.467123] [<bf01bbcc>] (nl80211_start_ap [cfg80211]) from [<c045b0f4>] (genl_rcv_msg+0x24c/0x2e4)
[    8.476134] [<c045b0f4>] (genl_rcv_msg) from [<c045a634>] (netlink_rcv_skb+0x58/0xac)
[    8.483939] [<c045a634>] (netlink_rcv_skb) from [<c045ae94>] (genl_rcv+0x20/0x34)
[    8.491401] [<c045ae94>] (genl_rcv) from [<c0459fcc>] (netlink_unicast+0x124/0x208)
[    8.499019] [<c0459fcc>] (netlink_unicast) from [<c045a48c>] (netlink_sendmsg+0x340/0x398)
[    8.507292] [<c045a48c>] (netlink_sendmsg) from [<c0424d08>] (sock_sendmsg+0x70/0x8c)
[    8.515102] [<c0424d08>] (sock_sendmsg) from [<c0426164>] (___sys_sendmsg.part.29+0x17c/0x200)
[    8.523691] [<c0426164>] (___sys_sendmsg.part.29) from [<c04271c8>] (__sys_sendmsg+0x4c/0x70)
[    8.532223] [<c04271c8>] (__sys_sendmsg) from [<c000e3a0>] (ret_fast_syscall+0x0/0x48)
[    8.540065] ---[ end trace 85c29d193058a3b6 ]---
[    8.544857] wlan: [693:E :SME] csrChangeDefaultConfigParam failed with status=1
[    8.552283] session id - 0, AddSta session - 0
[    8.556746] wlan: [657:E :WDA] wma_unified_vdev_create_send: ID = 0 VAP Addr = 88:83:5d:a0:3b:7a
[    8.565544] wma_vdev_attach-5777: vdev_id 0, txrx_vdev_handle = cc0d5e00
[    8.572746] wlan: [657:E :PE ] limMlmAddBss: 1724: TRYING TO HIDE SSID 0
[    8.579400] wlan: [657:E :PE ] mlm_add_sta: 1621: GF: 0, ChnlWidth: 1, MimoPS: 3, lsigTXOP: 0, dsssCCK: 0, SGI20: 1, SGI401
[    8.590655] wlan: [657:E :WDA] wma_create_peer: Created peer with peer_addr 88:83:5d:a0:3b:7a vdev_id 0, peer_count - 1
[    8.667256] wmitlv_check_and_pad_tlvs: WARN: TLV truncated. tlv_size_diff=4, curr_tlv_len=32
[    8.676453] wma_send_beacon-14348: Beacon Offload Enabled Sending Unified command
[    8.684658] wlan: [657:E :HDD] MODE 1, CH 44, LWM 0, HWM 0, TXQDEP 1500
[    8.691304] wlan: [657:E :HDD] wlan(0) 00:00:00:00:00:00 Standalone
[    8.697506] wlan: [657:E :HDD] AP(44) 88:83:5d:a0:3b:7a
[    8.707121] wma_set_bsskey-13156: BSS Key setup with vdev_mac 88:83:5d:a0:3b:7a
[    8.707121] 
[    8.716412] TXRX: ol_txrx_peer_find_add_id: Delete Peer ce302800
[    8.722789] TXRX: Couldn't find peer from ID 2 - skipping security inits
[   11.200634] wlan: [657:E :HDD] hdd_conf_arp_offload: 960:  fenable = 1 
[   11.200634] 
[   11.208687] wlan: [657:E :HDD] hdd_conf_ns_offload: 659: IPv6 dev does not exist. Failed to request NSOffload

3 连接AP

找到WIFI SSID,连接网络。

4 Ping操作

连接后,Zynq SDIO作为AP,实现与PC网络连接。

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.rhkb.cn/news/441202.html

如若内容造成侵权/违法违规/事实不符,请联系长河编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

卫星测绘AI技术-立哥尖端科研

分布式微波干涉测绘卫星是以多颗满足一定编队构形的卫星为平台&#xff0c;以合成孔径雷达 和高精度星间相对状态测量设备等为有效载荷&#xff0c;具备全天时、全天候获取雷达干涉影像数 据&#xff0c;快速测制全球数字表面模型、数字雷达正射影像等测绘产品能力的卫星系统…

点可云ERP进销存V8版本——其他支出单使用说明

其他支出单用于记录除采购内容外其支出资金&#xff0c;如&#xff1a;人工运输费、安装维修服务、差旅报销等。新增保存之后&#xff0c;对应资金账户将减少金额额度&#xff0c;并做存储记录&#xff0c;可在现金银行报表中体现。 新增操作 接下来我们讲解新增单据步骤。如上…

PHP 基础语法详解

PHP 基础语法详解 PHP&#xff08;全称&#xff1a;PHP: Hypertext Preprocessor&#xff09;是一种广泛应用的服务器端脚本语言&#xff0c;特别适用于 Web 开发。它易于学习&#xff0c;且能够快速构建动态网站。本篇博客将详细介绍 PHP 的基础语法&#xff0c;帮助初学者理…

[OS] 编译 Linux 内核

编译 Linux 内核&#xff1a;详细教程与 Kthreads 入门结合 我们将学习如何编译 Linux 内核&#xff0c;同时结合 Kthreads 的知识来理解各个步骤的目的。对于虚拟环境下的开发环境配置&#xff0c;本文将为你提供逐步指导。 1. 下载内核源代码 首先&#xff0c;我们需要从官…

第 1 章 MyBatis快速入门

1.1 ORM简介 ORM&#xff08;Object Relational Mapping&#xff0c;对象——关系映射&#xff09;框架的主要功能是根据映射配置文件&#xff0c;完成数据在对象模型与关系模型之间的映射&#xff0c;同时出屏蔽了连接数据库、创建 Statement 对象、执行 SQL、读取 ResultSet…

(Linux驱动学习 - 8).信号异步通知

一.异步通知简介 1.信号简介 信号类似于我们硬件上使用的“中断”&#xff0c;只不过信号是软件层次上的。算是在软件层次上对中断的一种模拟&#xff0c;驱动可以通过主动向应用程序发送信号的方式来报告自己可以访问了&#xff0c;应用程序获取到信号以后就可以从驱动设备中…

【技术】Jaskson的序列化与反序列化

文章目录 概念解释1.Jasksona.JSONJSON 的基本特点JSON 的基本结构JSON 示例 b.ObjectMapper类 2.序列化与反序列化a.序列化对象序列化集合序列化ListSetMap b.反序列化反序列化单个对象反序列化集合对象 概念解释 1.Jaskson Jackson 是一个用于处理 JSON 数据的 Java 库,所以…

k8s实战-1

k8s实战-1 一、资源创建方式1.命令行2.yaml 二、命名空间三、Pod总结 一、资源创建方式 1.命令行 就是直接通过命令的方式创建&#xff0c;比如我要创建namespace&#xff0c; kubectl create namespace hello删除&#xff1a; kubectl delete -f hello2.yaml 简单来说&am…

用java编写飞机大战

游戏界面使用JFrame和JPanel构建。背景图通过BG类绘制。英雄机和敌机在界面上显示并移动。子弹从英雄机发射并在屏幕上移动。游戏有四种状态&#xff1a;READY、RUNNING、PAUSE、GAMEOVER。状态通过鼠标点击进行切换&#xff1a;点击开始游戏&#xff08;从READY变为RUNNING&am…

无人机单目+激光+IMU复杂弧形(隧道)退化场景SLAM技术详解

无人机在复杂弧形&#xff08;如隧道&#xff09;退化场景中的SLAM&#xff08;同时定位与地图构建&#xff09;技术&#xff0c;结合单目相机、激光雷达&#xff08;LiDAR&#xff09;和惯性测量单元&#xff08;IMU&#xff09;时&#xff0c;能够显著提升定位与建图的准确性…

在忘记密码的情况下重新访问手机?5种忘记密码解锁Android手机的方法

无需密码即可访问Android手机。 即使你忘记了密码&#xff0c;你也可以解锁你的Android手机&#xff0c;但你通常需要将手机恢复出厂设置。 您可以通过执行出厂恢复或使用“查找我的设备”网站解锁大多数Android手机。 如果你不再有密码&#xff0c;这里有五种解锁安卓手机的…

E37.【C语言】动态内存管理练习题

目录 1. 答案速查 分析 源代码分析 反汇编代码分析(底层) 2. 答案速查 分析 3. 答案速查 分析 VS逐步调试 1. 求下列代码的执行结果 #include <stdio.h> char* GetMemory(void) {char p[] "hello world";return p; }void Test(void) {char* str…

分层解耦-03.IOCDI-入门

一. IOC&DI入门 二.控制转移注解Component 因为dao和service接口的实现类对象需要传入到service和controller中&#xff0c;因此需要将dao和service代码加上Component注解&#xff0c;使之实现控制反转&#xff0c;将实现类对象交给IOC容器管理&#xff0c;成为IOC容器中…

Web安全 - 阶段性总结回顾_风险评估

文章目录 OWASP 2023 TOP 10用户数据的威胁评估密码盗窃XSS 漏洞SQL 注入CSRF 漏洞 资产数据的威胁评估SSRF 漏洞反序列化漏洞插件漏洞后门 认证和授权的安全防护检测与过滤加强认证补丁管理 进一步防护手段最小权限原则WAFIDS 小结 OWASP 2023 TOP 10 OWASP Top 10 概述 OWASP…

数据结构与算法——动态规划算法简析

1.初步了解动态规划 由于本篇博客属于动态规划的初阶学习&#xff0c;所以大多都是简单的表示&#xff0c;更深层次的学术用语会在之后深度学习动态规划之后出现&#xff0c;本文主要是带各位了解一下动态规划的大致框架 1.1状态表示 通常的我们会开辟一个dp数组来存储需要表示…

C++ WebDriver扩展

概述 WebDriver协议基于HTTP&#xff0c;使用JSON进行数据传输&#xff0c;定义了client与driver之间的通信标准。无论client的实现语言&#xff08;如Java或C#&#xff09;&#xff0c;都能通过协议中的endpoints准确指示driver执行各种操作&#xff0c;覆盖了Selenium的所有功…

【C语言】预处理指令详解

目录 一、预定义符号 二、#define 定义常量 三、#define 定义宏 &#xff08;1&#xff09;宏定义的使用 &#xff08;2&#xff09;带副作用的宏参数 &#xff08;3&#xff09;宏替换的规则 &#xff08;4&#xff09;宏与函数对比 &#xff08;5&#xff09;#和## …

基于单片机的书库环境监测

目录 一、主要功能 二、硬件资源 三、程序编程 四、实现现象 一、主要功能 基于51单片机&#xff0c;采用DHT11湿度传感器检测湿度&#xff0c;DS18B20温度传感器检测温度&#xff0c; 采用滑动变阻器连接数模转换器模拟二氧化碳和氧气浓度检测&#xff0c;各项数值通过lc…

SQL第12课——联结表

三点&#xff1a;什么是联结&#xff1f;为什么使用联结&#xff1f;如何编写使用联结的select语句 12.1 联结 SQL最强大的功能之一就是能在数据查询的执行中联结&#xff08;join)表。联结是利用SQL的select能执行的最重要的操作。 在使用联结前&#xff0c;需要了解关系表…

免费高可用软件

高可用软件是指那些能够提供高可用性、高可靠性的软件&#xff0c;它们在各种应用场景下都能确保系统的稳定运行。以下是四款免费的高可用软件&#xff0c;它们在不同领域都表现出色&#xff0c;能够满足各种高可用性需求。 一、PanguHA PanguHA是一款专为Windows平台设计的双…