平台: D1s+XR819S(使用外部晶振24M) TINA系统
问题现象:
- xr819s驱动INT加载失败,主要异常
[XRADIO_ERR] fw_record_read: Wait for wakeup:device is not responding.
复现步骤:
- 给机器上电
- 等待机器启动完成
- 确认wifi是否正常,正常回到步骤1,异常发现xr819s驱动加载异常。
详细log见(wifi_ng.txt)
BusyBox v1.27.2 () built-in shell (ash)
------run profile file-----
_____ _ __ _
|_ _||_| ___ _ _ | | |_| ___ _ _ _ _
| | _ | || | | |__ | || || | ||_'_|
| | | || | || _ | |_____||_||_|_||___||_,_|
|_| |_||_|_||_|_| Tina is Based on OpenWrt!
----------------------------------------------
Tina Linux (Neptune, 5C1C9C53)
----------------------------------------------
nodev debugfs
mount: mounting none on /sys/kernel/debug failed: Device or resource busy
root@TinaLinux:/# dmesg
Linux version 5.4.61 (victor@inone-server1) (riscv64-unknown-linux-gnu-gcc (C-SKY RISCV Tools V1.8.4 B20200702) 8.1.0, GNU ld (GNU Binutils) 2.32) #237 PREEMPT Mon Oct 10 07:46:01 UTC 2022
Zone ranges:
DMA32 [mem 0x0000000040000000-0x0000000043ffffff]
Normal empty
Movable zone start for each node
Early memory node ranges
node 0: [mem 0x0000000040000000-0x0000000043ffffff]
Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff]
On node 0 totalpages: 16384
DMA32 zone: 224 pages used for memmap
DMA32 zone: 0 pages reserved
DMA32 zone: 16384 pages, LIFO batch:3
elf_hwcap is 0x20112d
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0
Built 1 zonelists, mobility grouping on. Total pages: 16160
Kernel command line: ubi.mtd=sys ubi.block=0,rootfs earlyprintk=sunxi-uart,0x02500400 clk_ignore_unused initcall_debug=0 console=ttyS1,115200 loglevel=0 root=/dev/ubiblock0_5 rootfstype=squashfs init=/pseudo_init partitions=mbr@ubi0_0:boot-resource@ubi0_1:env@ubi0_2:env-redund@ubi0_3:boot@ubi0_4:rootfs@ubi0_5:rootfs_data@ubi0_6:UDISK@ubi0_7: cma=0M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun20iw1p1 boot_type=5 androidboot.boot_type=5 gpt=1 uboot_message=2018.07-00012-g32210268-dirty(12/22/2022-17:28:48) mbr_offset=1556480 disp_reserve=921600,0x0000000042b71000 aw-ubi-spinand.ubootblks=24 androidboot.dramsize=64
Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
Sorting __ex_table...
mem auto-init: stack:off, heap alloc:off, heap free:off
Memory: 57140K/65536K available (3804K kernel code, 445K rwdata, 1223K rodata, 132K init, 342K bss, 8396K reserved, 0K cma-reserved) rcu: Preemptible hierarchical RCU implementation.
Tasks RCU enabled.
rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0
plic: mapped 200 interrupts with 1 handlers for 2 contexts.
riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0]
clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
riscv_timer_clockevent depends on broadcast, but no broadcast function available
clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
ASID allocator initialised with 65536 entries
rcu: Hierarchical SRCU implementation.
devtmpfs: initialized
random: get_random_u32 called from 0xffffffe000157198 with crng_init=0
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
futex hash table entries: 256 (order: 0, 6144 bytes, linear)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic allocations
cpuidle: using governor menu
rtc_ccu: sunxi ccu init OK
clock: sunxi ccu init OK
clock: sunxi ccu init OK
sun6i-dma 3002000.dma-controller: sunxi dma probed
iommu: Default domain type: Translated
sunxi iommu: irq = 4
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
videodev: Linux video capture interface: v2.00
Advanced Linux Sound Architecture Driver Initialized.
pwm module init!
g2d 5410000.g2d: Adding to iommu group 0
G2D: rcq version initialized.major:252
clocksource: Switched to clocksource riscv_clocksource
sun8iw20-pinctrl pio: initialized sunXi PIO driver
NET: Registered protocol family 2
tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
TCP established hash table entries: 512 (order: 0, 4096 bytes, linear)
TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear)
TCP: Hash tables configured (established 512 bind 512)
UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
NET: Registered protocol family 1
sun8iw20-pinctrl pio: pio supply vcc-pc not found, using dummy regulator
spi spi0: spi0 supply spi not found, using dummy regulator
sunxi_spi_resource_get()2438 - [spi0] SPI MASTER MODE
sunxi_spi_resource_get()2485 - sample_mode:1 sample_delay:26
sunxi_spi_clk_init()2527 - [spi0] mclk 100000000
sunxi_spi_probe()2964 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31
workingset: timestamp_bits=62 max_order=14 bucket_order=0
squashfs: version 4.0 (2009/01/31) Phillip Lougher
ntfs: driver 2.1.32 [Flags: R/W].
io scheduler mq-deadline registered
io scheduler kyber registered
[DISP]disp_module_init
disp 5000000.disp: Adding to iommu group 0
[DISP] parser_disp_init_para,line:1407:
of_property_read fb0_width fail
[DISP] disp_init,line:2331:
smooth display screen:0 type:1 mode:4
display_fb_request,fb_id:0
Freeing logo buffer memory: 900K
disp_al_manager_apply ouput_type:1
[DISP] lcd_clk_config,line:774:
disp 0, clk: pll(480000000),clk(480000000),dclk(80000000) dsi_rate(80000000)
clk real:pll(480000000),clk(480000000),dclk(120000000) dsi_rate(150000000)
sun8iw20-pinctrl pio: pio supply vcc-pd not found, using dummy regulator
[DISP]disp_module_init finish
sunxi_sid_init()563 - insmod ok
pwm-regulator: supplied by regulator-dummy
sun8iw20-pinctrl pio: pio supply vcc-pg not found, using dummy regulator
uart uart1: uart1 supply uart not found, using dummy regulator
uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI
sw_console_setup()1807 - console setup baud 115200 parity n bits 8, flow n
printk: console [ttyS1] enabled
uart uart3: uart3 supply uart not found, using dummy regulator
uart3: ttyS3 at MMIO 0x2500c00 (irq = 21, base_baud = 1500000) is a SUNXI
sun8iw20-pinctrl pio: pio supply vcc-pb not found, using dummy regulator
uart uart5: uart5 supply uart not found, using dummy regulator
uart5: ttyS5 at MMIO 0x2501400 (irq = 23, base_baud = 1500000) is a SUNXI
misc dump reg init
sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9
sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed
sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed
sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1)
sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power.
sunxi-rfkill soc@3000000:rfkill@0: wlan clock[0] (32k-fanout1)
sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=131 assert=1
sun8iw20-pinctrl pio: pio supply vcc-pe not found, using dummy regulator
sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1
sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled
sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power.
sunxi-rfkill soc@3000000:rfkill@0: bt clock[0] (32k-fanout1)
sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=210 assert=0
[ADDR_MGT] addr_mgt_probe: module version: v1.0.11
[ADDR_MGT] addr_mgt_probe: success.
sunxi-spinand: AW SPINand MTD Layer Version: 2.3 20211223
sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306
sunxi-spinand-phy: not detect any munufacture from id table
sunxi-spinand-phy: get spi-nand Model from fdt fail
sunxi-spinand-phy: get phy info from fdt fail
sunxi-spinand-phy: not detect munufacture from fdt
sunxi-spinand-phy: detect munufacture from id table: Mxic
sunxi-spinand-phy: detect spinand id: ffff12c2 ffffffff
sunxi-spinand-phy: ========== arch info ==========
sunxi-spinand-phy: Model: MX35LF1GE4AB
sunxi-spinand-phy: Munufacture: Mxic
sunxi-spinand-phy: DieCntPerChip: 1
sunxi-spinand-phy: BlkCntPerDie: 1024
sunxi-spinand-phy: PageCntPerBlk: 64
sunxi-spinand-phy: SectCntPerPage: 4
sunxi-spinand-phy: OobSizePerPage: 64
sunxi-spinand-phy: BadBlockFlag: 0x1
sunxi-spinand-phy: OperationOpt: 0x7
sunxi-spinand-phy: MaxEraseTimes: 65000
sunxi-spinand-phy: EccFlag: 0x2
sunxi-spinand-phy: EccType: 4
sunxi-spinand-phy: EccProtectedType: 3
sunxi-spinand-phy: ========================================
sunxi-spinand-phy:
sunxi-spinand-phy: ========== physical info ==========
sunxi-spinand-phy: TotalSize: 128 M
sunxi-spinand-phy: SectorSize: 512 B
sunxi-spinand-phy: PageSize: 2 K
sunxi-spinand-phy: BlockSize: 128 K
sunxi-spinand-phy: OOBSize: 64 B
sunxi-spinand-phy: ========================================
sunxi-spinand-phy:
sunxi-spinand-phy: ========== logical info ==========
sunxi-spinand-phy: TotalSize: 128 M
sunxi-spinand-phy: SectorSize: 512 B
sunxi-spinand-phy: PageSize: 4 K
sunxi-spinand-phy: BlockSize: 256 K
sunxi-spinand-phy: OOBSize: 128 B
sunxi-spinand-phy: ========================================
sunxi-spinand-phy: block lock register: 0x00
sunxi-spinand-phy: feature register: 0x11
sunxi-spinand-phy: sunxi physic nand init end
Creating 4 MTD partitions on "sunxi_mtd_nand":
0x000000000000-0x000000100000 : "boot0"
0x000000100000-0x000000400000 : "uboot"
random: fast init done
0x000000400000-0x000000500000 : "secure_storage"
0x000000500000-0x000008000000 : "sys"
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
sunxi-ehci: EHCI SUNXI driver
get ehci1-controller wakeup-source is fail.
sunxi ehci1-controller don't init wakeup source
[sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0005c0948, 0x:ffffffd004074000, irq_no:31
sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator
sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator
sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller
sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1
sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000
sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
sunxi-ohci: OHCI SUNXI driver
get ohci1-controller wakeup-source is fail.
sunxi ohci1-controller don't init wakeup source
[sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0005c0d10
sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator
sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator
sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller
sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2
sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
sunxi-rtc 7090000.rtc: errata__fix_alarm_day_reg_default_value(): ALARM0_DAY_REG=0, set it to 1
sunxi-rtc 7090000.rtc: Warning: Using internal RC 16M clock source. Time may be inaccurate!
sunxi-rtc 7090000.rtc: Warning: Using internal RC 16M clock source. Time may be inaccurate!
sunxi-rtc 7090000.rtc: Warning: Using internal RC 16M clock source. Time may be inaccurate!
sunxi-rtc 7090000.rtc: registered as rtc0
sunxi-rtc 7090000.rtc: Warning: Using internal RC 16M clock source. Time may be inaccurate!
sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T00:00:03 UTC (3)
sunxi-rtc 7090000.rtc: sunxi rtc probed
i2c /dev entries driver
sunxi cedar version 1.1
sunxi-cedar 1c0e000.ve: Adding to iommu group 0
VE: install start!!!
VE: cedar-ve the get irq is 6
VE: ve_debug_proc_info:(____ptrval____), data:(____ptrval____), lock:(____ptrval____)
VE: install end!!!
VE: sunxi_cedar_probe
sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.25 2022-6-21 13:40)
sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8
sunxi-mmc 4021000.sdmmc: No vmmc regulator found
sunxi-mmc 4021000.sdmmc: No vqmmc regulator found
sunxi-mmc 4021000.sdmmc: No vdmmc regulator found
sunxi-mmc 4021000.sdmmc: No vd33sw regulator found
sunxi-mmc 4021000.sdmmc: No vd18sw regulator found
sunxi-mmc 4021000.sdmmc: No vq33sw regulator found
sunxi-mmc 4021000.sdmmc: No vq18sw regulator found
sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed
sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
sunxi-mmc 4021000.sdmmc: detmode:manually by software
sunxi-mmc 4021000.sdmmc: smc 0 p1 err, cmd 52, RTO !!
sunxi-mmc 4021000.sdmmc: smc 0 p1 err, cmd 52, RTO !!
sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
ashmem: initialized
exFAT: Version 1.3.0
sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
sunxi-mmc 4021000.sdmmc: smc 0 p1 err, cmd 5, RTO !!
sunxi-mmc 4021000.sdmmc: smc 0 p1 err, cmd 5, RTO !!
sunxi-mmc 4021000.sdmmc: smc 0 p1 err, cmd 5, RTO !!
sunxi-mmc 4021000.sdmmc: smc 0 p1 err, cmd 5, RTO !!
sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[AUDIOCODEC][sunxi_codec_parse_params][2437]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1
[AUDIOCODEC][sunxi_codec_parse_params][2473]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0
[AUDIOCODEC][sunxi_internal_codec_probe][2634]:codec probe finished
debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present!
[SNDCODEC][sunxi_card_init][583]:card init finished
sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok
input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0
[SNDCODEC][sunxi_card_dev_probe][836]:register card finished
NET: Registered protocol family 10
[SNDCODEC][sunxi_hs_init_work][259]:resume-->report switch
Segment Routing with IPv6
NET: Registered protocol family 17
i2c-gpio soc@3000000:i2c-gpio@4: using lines 141 (SDA) and 140 (SCL)
get ehci0-controller wakeup-source is fail.
sunxi ehci0-controller don't init wakeup source
[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0005c01b8, 0x:ffffffd0040ee000, irq_no:2e
[sunxi-ehci0]: Not init ehci0
get ohci0-controller wakeup-source is fail.
sunxi ohci0-controller don't init wakeup source
[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0005c0580
[sunxi-ohci0]: Not init ohci0
Authentication OK
ubi0: attaching mtd3
random: crng init done
ubi0: scanning is finished
ubi0: attached mtd3 (name "sys", size 123 MiB)
ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
ubi0: good PEBs: 492, bad PEBs: 0, corrupted PEBs: 0
ubi0: user volume: 8, internal volumes: 1, max. volumes count: 128
ubi0: max/mean erase counter: 4/1, WL threshold: 4096, image sequence number: 0
ubi0: available PEBs: 0, total reserved PEBs: 492, PEBs reserved for bad PEB handling: 20
ubi0: background thread "ubi_bgt0d" started, PID 60
block ubiblock0_5: created from ubi0:5(rootfs)
otg manager soc@3000000:usbc0@0: soc@3000000:usbc0@0 supply usbc not found, using dummy regulator
clk: Not disabling unused clocks
ALSA device list:
#0: audiocodec
alloc_fd: slot 0 not NULL!
platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
cfg80211: failed to load regulatory.db
VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
devtmpfs: mounted
Freeing unused kernel memory: 132K
This architecture does not have kernel memory protection.
Run /pseudo_init as init process
UBIFS (ubi0:6): Mounting in unauthenticated mode
UBIFS (ubi0:6): background thread "ubifs_bgt0_6" started, PID 85
UBIFS (ubi0:6): recovery needed
UBIFS (ubi0:6): recovery completed
UBIFS (ubi0:6): UBIFS: mounted UBI device 0, volume 6, name "rootfs_data"
UBIFS (ubi0:6): LEB size: 258048 bytes (252 KiB), min./max. I/O unit sizes: 4096 bytes/4096 bytes
UBIFS (ubi0:6): FS size: 70705152 bytes (67 MiB, 274 LEBs), journal size 3612672 bytes (3 MiB, 14 LEBs)
UBIFS (ubi0:6): reserved for root: 3339578 bytes (3261 KiB)
UBIFS (ubi0:6): media format: w5/r0 (latest is w5/r0), UUID 6F06728E-F9EE-4F79-8337-A20F7745B8A1, small LPT model
UBIFS (ubi0:7): Mounting in unauthenticated mode
UBIFS (ubi0:7): background thread "ubifs_bgt0_7" started, PID 115
UBIFS (ubi0:7): recovery needed
UBIFS (ubi0:7): recovery completed
UBIFS (ubi0:7): UBIFS: mounted UBI device 0, volume 7, name "UDISK"
UBIFS (ubi0:7): LEB size: 258048 bytes (252 KiB), min./max. I/O unit sizes: 4096 bytes/4096 bytes
UBIFS (ubi0:7): FS size: 2580480 bytes (2 MiB, 10 LEBs), journal size 1806337 bytes (1 MiB, 5 LEBs)
UBIFS (ubi0:7): reserved for root: 121882 bytes (119 KiB)
UBIFS (ubi0:7): media format: w5/r0 (latest is w5/r0), UUID 5B4008FC-7440-4B25-B0AA-BEF8B944333D, small LPT model
insmod_device_driver
sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator
======== XRADIO WIFI OPEN ========
[XRADIO] Driver Label:XR_V02.25.82 Aug 19 2022 07:55:11
[XRADIO] Allocated hw_priv @ 000000001e8f7730
sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1
sunxi-rfkill soc@3000000:rfkill@0: wlan power on success
sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
[XRADIO] Detect SDIO card 1
sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B
mmc0: new high speed SDIO card at address 0001
[SBUS] XRadio Device:sdio clk=50000000
[XRADIO] XRADIO_HW_REV 1.1 detected.
[XRADIO] Bootloader complete
[XRADIO] Firmware completed.
[WSM] Firmware Label:R0-XR_C07.08.52.65_02.65 Mar 5 2021 11:45:46
[WSM] Efuse Flag=0x91, MAC Addr=80:74:84:02:25:93
[XRADIO] Firmware Startup Done.
mac80211_register_hw signal_type CFG80211_SIGNAL_TYPE_MBM
ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[BH_ERR] Device cannot wakeup in 2000ms.
------------[ cut here ]------------
WARNING: CPU: 0 PID: 121 at drivers/net/wireless/xr819s/wlan/bh.c:878 0xffffffdf80611720
Modules linked in: xr819s
CPU: 0 PID: 121 Comm: xradio_bh Not tainted 5.4.61 #237
sepc: ffffffdf80611720 ra : ffffffdf80611720 sp : ffffffe0018ebd90
gp : ffffffe000579dec tp : ffffffe00258c000 t0 : ffffffe00058db58
t1 : 0000000000000063 t2 : 0000000000000002 s0 : ffffffe001849ee0
s1 : ffffffdf8063fd3d a0 : 0000000000000028 a1 : 0000000000000000
a2 : 0000000000000000 a3 : ffffffe00051cc00 a4 : 0000000000000000
a5 : 0000000000000000 a6 : 0000000000000004 a7 : 0000000000000028
s2 : 0000000000000001 s3 : 0000000000000000 s4 : 0000000000000000
s5 : ffffffe0018ebe08 s6 : 0000000000001000 s7 : ffffffe00051fa90
s8 : ffffffe00184a530 s9 : 0000000000000fff s10: ffffffe0018ebe00
s11: 0000000000000002 t3 : ffffffffffffffff t4 : ffffffe00051be08
t5 : 0000000000000001 t6 : ffffffe00058db58
sstatus: 0000000200000120 sbadaddr: 0000000000000000 scause: 0000000000000003
---[ end trace 0515eeb33a71b7fa ]---
[BH_ERR] Fatal error, exitting code=879.
[XRADIO_ERR] fw_record_read: Wait for wakeup:device is not responding.
[XRADIO] fw_record addr=0x7fb3dae6
[XRADIO_ERR] fw_record_read:unkown record=0x7fb3dae6
[XRADIO] --FW_RECORD_READ START--
[XRADIO] Current SCHED=0
[XRADIO] 0x00,0x00,0x00,0x00 0x00,0x00,0x00,0x00
[XRADIO] 0x00,0x00,0x00,0x00 0x00,0x00,0x00,0x00
[XRADIO] 0x00,0x00,0x00,0x00 0x00,0x00,0x00,0x00
[XRADIO] 0x00,0x00,0x00,0x00 0x00,0x00,0x00,0x00
[XRADIO] Current cmds=0
[XRADIO] 0x0000,0x0000,0x0000,0x0000
[XRADIO] 0x0000,0x0000,0x0000,0x0000
[XRADIO] 0x0000,0x0000,0x0000,0x0000
[XRADIO] 0x0000,0x0000,0x0000,0x0000
[XRADIO] Current frames=0
[XRADIO] 0x00000000,0x00000000,0x00000000,0x00000000
[XRADIO] 0x00000000,0x00000000,0x00000000,0x00000000
[XRADIO] 0x00000000,0x00000000,0x00000000,0x00000000
[XRADIO] 0x00000000,0x00000000,0x00000000,0x00000000
[XRADIO] 0x00000000,0x00000000,0x00000000,0x00000000
[XRADIO] 0x00000000,0x00000000,0x00000000,0x00000000
[XRADIO] 0x00000000,0x00000000,0x00000000,0x00000000
[XRADIO] 0x00000000,0x00000000,0x00000000,0x00000000
[XRADIO] Current Fiqs=0
[XRADIO] 0x00000000,0x00000000,0x00000000,0x00000000
[XRADIO] 0x00000000,0x00000000,0x00000000,0x00000000
[XRADIO] 0x00000000,0x00000000,0x00000000,0x00000000
[XRADIO] 0x00000000,0x00000000,0x00000000,0x00000000
[XRADIO] 0x00000000,0x00000000,0x00000000,0x00000000
[XRADIO] 0x00000000,0x00000000,0x00000000,0x00000000
[XRADIO] 0x00000000,0x00000000,0x00000000,0x00000000
[XRADIO] 0x00000000,0x00000000,0x00000000,0x00000000
[XRADIO] Current PC=0x00000000
[XRADIO] Current Timer=0
[XRADIO] 0x00000000,0x00000000,0x00000000,0x00000000
[XRADIO] 0x00000000,0x00000000,0x00000000,0x00000000
[XRADIO] 0x00000000,0x00000000,0x00000000,0x00000000
[XRADIO] 0x00000000,0x00000000,0x00000000,0x00000000
[XRADIO] 0x00000000,0x00000000,0x00000000,0x00000000
[XRADIO] 0x00000000,0x00000000,0x00000000,0x00000000
[XRADIO] 0x00000000,0x00000000,0x00000000,0x00000000
[XRADIO] 0x00000000,0x00000000,0x00000000,0x00000000
[XRADIO] --FW_RECORD_READ END--
[WSM_ERR] ***CMD timeout!>>> 0x0009 (820), cmd_ptr=00000000405ef7e2, buf_use=0,bh_state=879
------------[ cut here ]------------
WARNING: CPU: 0 PID: 122 at drivers/net/wireless/xr819s/wlan/sta.c:1920 0xffffffdf806189a8
Modules linked in: xr819s
CPU: 0 PID: 122 Comm: wpa_supplicant Tainted: G W 5.4.61 #237
sepc: ffffffdf806189a8 ra : ffffffdf806189a2 sp : ffffffe00180baa0
gp : ffffffe000579dec tp : ffffffe0026ac000 t0 : ffffffe00058ec40
t1 : 0000000000000063 t2 : 0000000000000000 s0 : ffffffe001849ee0
s1 : 0000000000000001 a0 : ffffffffffffff92 a1 : 0000000000000003
a2 : 0000000000000001 a3 : ffffffe00184a530 a4 : 0000000000000000
a5 : 0000000000000000 a6 : 0000000000000004 a7 : 000000000000005b
s2 : ffffffdf8063fd3a s3 : ffffffe00184f740 s4 : ffffffe001800000
s5 : ffffffe001848900 s6 : 0000000000000000 s7 : 0000000000000000
s8 : 0000000000000000 s9 : 0000000000000007 s10: 00000000000de3f0
s11: 0000000000000000 t3 : ffffffffffffffff t4 : ffffffe00051be08
t5 : 0000000000000001 t6 : ffffffe00058ec3b
sstatus: 0000000200000120 sbadaddr: 0000000000000000 scause: 0000000000000003
---[ end trace 0515eeb33a71b7fb ]---
------------[ cut here ]------------
WARNING: CPU: 0 PID: 122 at drivers/net/wireless/xr819s/wlan/sta.c:168 0xffffffdf80618ba0
Modules linked in: xr819s
CPU: 0 PID: 122 Comm: wpa_supplicant Tainted: G W 5.4.61 #237
sepc: ffffffdf80618ba0 ra : ffffffdf80618b9c sp : ffffffe00180bb20
gp : ffffffe000579dec tp : ffffffe0026ac000 t0 : ffffffe00058ec40
t1 : ffffffe00008e06e t2 : 0000000000000000 s0 : 0000000000000001
s1 : ffffffe00184a3b0 a0 : 0000000000000001 a1 : 0000000000000050
a2 : 00000000000003fc a3 : 000000000000bf0c a4 : 0000000000000000
a5 : 0000000000000000 a6 : ffffffe003fa24e0 a7 : 00000000000051f3
s2 : ffffffdf806422d0 s3 : ffffffdf8063fd3a s4 : ffffffe001800000
s5 : ffffffe001848900 s6 : 0000000000000000 s7 : 0000000000000000
s8 : 0000000000000000 s9 : 0000000000000007 s10: 00000000000de3f0
s11: 0000000000000000 t3 : ffffffffffffffff t4 : ffffffe00051be08
t5 : 0000000000000001 t6 : ffffffe00058ec3b
sstatus: 0000000200000120 sbadaddr: 0000000000000000 scause: 0000000000000003
---[ end trace 0515eeb33a71b7fc ]---
[STA_ERR] xradio_start, xradio_setup_mac failed(1)
file system registered
configfs-gadget 4100000.udc-controller: failed to start g1: -19
read descriptors
read strings
sunxi_set_cur_vol_work()489 WARN: get power supply failed
android_work: sent uevent USB_STATE=CONNECTED
configfs-gadget gadget: high-speed config #1: c
android_work: sent uevent USB_STATE=CONFIGURED
[XRADIO_ERR] fw_record_read: Wait for wakeup:device is not responding.
[XRADIO] fw_record addr=0x7fb3dae6
[XRADIO_ERR] fw_record_read:unkown record=0x7fb3dae6
[XRADIO] --FW_RECORD_READ START--
[XRADIO] Current SCHED=0
[XRADIO] 0x00,0x00,0x00,0x00 0x00,0x00,0x00,0x00
[XRADIO] 0x00,0x00,0x00,0x00 0x00,0x00,0x00,0x00
[XRADIO] 0x00,0x00,0x00,0x00 0x00,0x00,0x00,0x00
[XRADIO] 0x00,0x00,0x00,0x00 0x00,0x00,0x00,0x00
[XRADIO] Current cmds=0
[XRADIO] 0x0000,0x0000,0x0000,0x0000
[XRADIO] 0x0000,0x0000,0x0000,0x0000
[XRADIO] 0x0000,0x0000,0x0000,0x0000
[XRADIO] 0x0000,0x0000,0x0000,0x0000
[XRADIO] Current frames=0
[XRADIO] 0x00000000,0x00000000,0x00000000,0x00000000
[XRADIO] 0x00000000,0x00000000,0x00000000,0x00000000
[XRADIO] 0x00000000,0x00000000,0x00000000,0x00000000
[XRADIO] 0x00000000,0x00000000,0x00000000,0x00000000
[XRADIO] 0x00000000,0x00000000,0x00000000,0x00000000
[XRADIO] 0x00000000,0x00000000,0x00000000,0x00000000
[XRADIO] 0x00000000,0x00000000,0x00000000,0x00000000
[XRADIO] 0x00000000,0x00000000,0x00000000,0x00000000
[XRADIO] Current Fiqs=0
[XRADIO] 0x00000000,0x00000000,0x00000000,0x00000000
[XRADIO] 0x00000000,0x00000000,0x00000000,0x00000000
[XRADIO] 0x00000000,0x00000000,0x00000000,0x00000000
[XRADIO] 0x00000000,0x00000000,0x00000000,0x00000000
[XRADIO] 0x00000000,0x00000000,0x00000000,0x00000000
[XRADIO] 0x00000000,0x00000000,0x00000000,0x00000000
[XRADIO] 0x00000000,0x00000000,0x00000000,0x00000000
[XRADIO] 0x00000000,0x00000000,0x00000000,0x00000000
[XRADIO] Current PC=0x00000000
[XRADIO] Current Timer=0
[XRADIO] 0x00000000,0x00000000,0x00000000,0x00000000
[XRADIO] 0x00000000,0x00000000,0x00000000,0x00000000
[XRADIO] 0x00000000,0x00000000,0x00000000,0x00000000
[XRADIO] 0x00000000,0x00000000,0x00000000,0x00000000
[XRADIO] 0x00000000,0x00000000,0x00000000,0x00000000
[XRADIO] 0x00000000,0x00000000,0x00000000,0x00000000
[XRADIO] 0x00000000,0x00000000,0x00000000,0x00000000
[XRADIO] 0x00000000,0x00000000,0x00000000,0x00000000
[XRADIO] --FW_RECORD_READ END--
[WSM_ERR] wsm_upper_restart
[WSM_WRN] Wait for scan complete!
[WSM_WRN] wsm_upper_restart schedule restart_work!
[XRADIO] xradio_restart_work
[XRADIO] xradio_core_reinit 992!
[WSM_ERR] bh_error=1, wsm_unlock_tx is unsafe
sunxi-rfkill soc@3000000:rfkill@0: wlan power off success
[XRADIO] Remove SDIO card 1
sunxi-mmc 4021000.sdmmc: smc 0 p1 err, cmd 7, RTO !!
sunxi-mmc 4021000.sdmmc: smc 0 p1 err, cmd 7, RTO !!
sunxi-mmc 4021000.sdmmc: smc 0 p1 err, cmd 7, RTO !!
sunxi-mmc 4021000.sdmmc: smc 0 p1 err, cmd 7, RTO !!
mmc0: card 0001 removed
sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1
sunxi-mmc 4021000.sdmmc: smc 0 p1 err, cmd 52, RTO !!
sunxi-mmc 4021000.sdmmc: smc 0 p1 err, cmd 52, RTO !!
sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
sunxi-mmc 4021000.sdmmc: smc 0 p1 err, cmd 5, RTO !!
sunxi-mmc 4021000.sdmmc: smc 0 p1 err, cmd 5, RTO !!
sunxi-mmc 4021000.sdmmc: smc 0 p1 err, cmd 5, RTO !!
sunxi-mmc 4021000.sdmmc: smc 0 p1 err, cmd 5, RTO !!
sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
sunxi-rfkill soc@3000000:rfkill@0: wlan power on success
[XRADIO] Detect SDIO card 1
sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B
mmc0: new high speed SDIO card at address 0001
[SBUS] XRadio Device:sdio clk=50000000
[XRADIO] XRADIO_HW_REV 1.1 detected.
[XRADIO] Bootloader complete
[XRADIO] Firmware completed.
[WSM] Firmware Label:R0-XR_C07.08.52.65_02.65 Mar 5 2021 11:45:46
[WSM] Efuse Flag=0x91, MAC Addr=80:74:84:02:25:93
[XRADIO] xradio_core_reinit:Firmware Startup Done.
ieee80211 phy0: Hardware restart was requested
[XRADIO] xradio_core_reinit end!
rmmod_device_driver
rmmod_device_driver()222 WARN: get power supply failed
insmod_device_driver
android_work: sent uevent USB_STATE=DISCONNECTED
sunxi_set_cur_vol_work()489 WARN: get power supply failed
android_work: sent uevent USB_STATE=CONNECTED
configfs-gadget gadget: high-speed config #1: c
android_work: sent uevent USB_STATE=CONFIGURED
[SNDCODEC][sunxi_card_hw_params][620]:stream_flag: 0
wifi_ng.txt