初级会员
- 积分
- 76
- 金钱
- 76
- 注册时间
- 2019-9-27
- 在线时间
- 15 小时
|
10金钱
Artix-7 PCIE 连接树莓派cm4 设备能识别,驱动装上后能生成相应设备,但是无法读写,跪求大神解答!!!
目前正在做一个PCIE 的项目,该项目是用Xilinx Artix-7 XC7A100T 与树莓派 cm4 通过PCIE 连接,现在已经移植了xdma 的驱动,该驱动能够正常枚举出 h2c c2h 等设备,但是读写时发现读写错误。系统日志也没有看出异常,希望有经验的大神能够解答一下!
以下是驱动安装后的效果:http://www.openedv.com/forum.php ... %3D¬humb=yes
下面是系统日志
- [ 1.215234] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
- [ 1.215260] brcm-pcie fd500000.pcie: No bus range found for /scb/pcie@7d500000, using [bus 00-ff]
- [ 1.215288] brcm-pcie fd500000.pcie: Parsing ranges property...
- [ 1.215340] brcm-pcie fd500000.pcie: MEM 0x0600000000..0x063fffffff -> 0x00c0000000
- [ 1.215374] brcm-pcie fd500000.pcie: Parsing dma-ranges property...
- [ 1.215431] brcm-pcie fd500000.pcie: IB MEM 0x0000000000..0x007fffffff -> 0x0400000000
- [ 1.231121] brcm-pcie fd500000.pcie: link up, 5.0 GT/s PCIe x1 (SSC)
- [ 1.231514] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
- [ 1.231530] pci_bus 0000:00: root bus resource [bus 00-ff]
- [ 1.231546] pci_bus 0000:00: root bus resource [mem 0x600000000-0x63fffffff] (bus address [0xc0000000-0xffffffff])
- [ 1.231557] pci_bus 0000:00: scanning bus
- [ 1.231652] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
- [ 1.231883] pci 0000:00:00.0: PME# supported from D0 D3hot
- [ 1.231901] pci 0000:00:00.0: PME# disabled
- [ 1.235580] pci_bus 0000:00: fixups for bus
- [ 1.235600] pci 0000:00:00.0: scanning [bus ff-ff] behind bridge, pass 0
- [ 1.235613] pci 0000:00:00.0: bridge configuration invalid ([bus ff-ff]), reconfiguring
- [ 1.235648] pci 0000:00:00.0: scanning [bus 00-00] behind bridge, pass 1
- [ 1.235783] pci_bus 0000:01: scanning bus
- [ 1.235857] pci 0000:01:00.0: [10ee:7021] type 00 class 0x070001
- [ 1.235912] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x0000ffff]
- [ 1.236047] pci 0000:01:00.0: enabling Extended Tags
- [ 1.236207] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot
- [ 1.236225] pci 0000:01:00.0: PME# disabled
- [ 1.239847] pci_bus 0000:01: fixups for bus
- [ 1.239859] pci_bus 0000:01: bus scan returning with max=01
- [ 1.239875] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
- [ 1.239893] pci_bus 0000:00: bus scan returning with max=01
- [ 1.239927] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
- [ 1.239945] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x60000ffff]
- [ 1.239966] pci 0000:00:00.0: PCI bridge to [bus 01]
- [ 1.239985] pci 0000:00:00.0: bridge window [mem 0x600000000-0x6000fffff]
- [ 1.245291] serial 0000:01:00.0: assign IRQ: got 43
- [ 1.245344] pci 0000:00:00.0: enabling device (0000 -> 0002)
- [ 1.245365] pci 0000:00:00.0: enabling bus mastering
- [ 1.245384] serial 0000:01:00.0: enabling device (0000 -> 0002)
- [ 1.245412] serial 0000:01:00.0: saving config space at offset 0x0 (reading 0x702110ee)
- [ 1.245427] serial 0000:01:00.0: saving config space at offset 0x4 (reading 0x100002)
- [ 1.245441] serial 0000:01:00.0: saving config space at offset 0x8 (reading 0x7000100)
- [ 1.245455] serial 0000:01:00.0: saving config space at offset 0xc (reading 0x0)
- [ 1.245470] serial 0000:01:00.0: saving config space at offset 0x10 (reading 0xc0000000)
- [ 1.245484] serial 0000:01:00.0: saving config space at offset 0x14 (reading 0x0)
- [ 1.245498] serial 0000:01:00.0: saving config space at offset 0x18 (reading 0x0)
- [ 1.245512] serial 0000:01:00.0: saving config space at offset 0x1c (reading 0x0)
- [ 1.245525] serial 0000:01:00.0: saving config space at offset 0x20 (reading 0x0)
- [ 1.245540] serial 0000:01:00.0: saving config space at offset 0x24 (reading 0x0)
- [ 1.245554] serial 0000:01:00.0: saving config space at offset 0x28 (reading 0x0)
- [ 1.245568] serial 0000:01:00.0: saving config space at offset 0x2c (reading 0x710ee)
- [ 1.245581] serial 0000:01:00.0: saving config space at offset 0x30 (reading 0x0)
- [ 1.245595] serial 0000:01:00.0: saving config space at offset 0x34 (reading 0x40)
- [ 1.245609] serial 0000:01:00.0: saving config space at offset 0x38 (reading 0x0)
- [ 1.245623] serial 0000:01:00.0: saving config space at offset 0x3c (reading 0x12b)
- [ 1.247807] iproc-rng200 fe104000.rng: hwrng registered
- [ 1.248143] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
- [ 1.249078] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
- [ 1.249483] cacheinfo: Unable to detect cache hierarchy for CPU 0
- [ 1.260863] brd: module loaded
- [ 1.273773] loop: module loaded
- [ 1.275396] Loading iSCSI transport class v2.0-870.
- [ 1.278048] libphy: Fixed MDIO Bus: probed
- [ 1.278689] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000
- [ 1.289092] libphy: bcmgenet MII bus: probed
- [ 1.341150] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus
- [ 1.342251] usbcore: registered new interface driver r8152
- [ 1.342310] usbcore: registered new interface driver lan78xx
- [ 1.342358] usbcore: registered new interface driver smsc95xx
- [ 1.342892] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
- [ 1.343152] dwc_otg: FIQ enabled
- [ 1.343161] dwc_otg: NAK holdoff enabled
- [ 1.343169] dwc_otg: FIQ split-transaction FSM enabled
- [ 1.343180] Module dwc_common_port init
- [ 1.343698] usbcore: registered new interface driver uas
- [ 1.343753] usbcore: registered new interface driver usb-storage
- [ 1.344009] mousedev: PS/2 mouse device common for all mice
- [ 1.345678] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
- [ 1.349068] sdhci: Secure Digital Host Controller Interface driver
- [ 1.349079] sdhci: Copyright(c) Pierre Ossman
- [ 1.349720] mmc-bcm2835 fe300000.mmcnr: could not get clk, deferring probe
- [ 1.350244] sdhci-pltfm: SDHCI platform and OF driver helper
- [ 1.353905] ledtrig-cpu: registered to indicate activity on CPUs
- [ 1.354223] hid: raw HID events driver (C) Jiri Kosina
- [ 1.354411] usbcore: registered new interface driver usbhid
- [ 1.354421] usbhid: USB HID core driver
- [ 1.362403] Initializing XFRM netlink socket
- [ 1.362446] NET: Registered protocol family 17
- [ 1.362591] Key type dns_resolver registered
- [ 1.363251] registered taskstats version 1
- [ 1.363280] Loading compiled-in X.509 certificates
- [ 1.363837] Key type ._fscrypt registered
- [ 1.363848] Key type .fscrypt registered
- [ 1.363857] Key type fscrypt-provisioning registered
- [ 1.375011] uart-pl011 fe201000.serial: there is not valid maps for state default
- [ 1.375250] uart-pl011 fe201000.serial: cts_event_workaround enabled
- [ 1.375344] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 13, base_baud = 0) is a PL011 rev2
- [ 1.381785] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
- [ 1.382723] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
- [ 1.382736] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
- [ 1.427822] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
- [ 1.429468] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
- [ 1.431107] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
- [ 1.434038] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
- [ 1.435673] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
- [ 1.449691] mmc0: SDHCI controller on fe340000.emmc2 [fe340000.emmc2] using ADMA
- [ 1.452682] of_cfs_init
- [ 1.452819] of_cfs_init: OK
- [ 1.454014] Waiting for root device PARTUUID=3f4673f0-02...
- [ 1.479897] random: fast init done
- [ 1.500233] mmc1: new high speed SDIO card at address 0001
- [ 1.522953] mmc0: new DDR MMC card at address 0001
- [ 1.524058] mmcblk0: mmc0:0001 8GTF4R 7.28 GiB
- [ 1.524616] mmcblk0boot0: mmc0:0001 8GTF4R partition 1 4.00 MiB
- [ 1.525282] mmcblk0boot1: mmc0:0001 8GTF4R partition 2 4.00 MiB
- [ 1.525548] mmcblk0rpmb: mmc0:0001 8GTF4R partition 3 512 KiB, chardev (245:0)
- [ 1.527699] mmcblk0: p1 p2
- [ 1.555535] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
- [ 1.555619] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
- [ 1.556168] devtmpfs: mounted
- [ 1.563722] Freeing unused kernel memory: 3456K
- [ 1.565224] Run /sbin/init as init process
- [ 1.565233] with arguments:
- [ 1.565241] /sbin/init
- [ 1.565249] splash
- [ 1.565257] with environment:
- [ 1.565265] HOME=/
- [ 1.565273] TERM=linux
- [ 1.789381] systemd[1]: System time before build time, advancing clock.
- [ 1.854159] NET: Registered protocol family 10
- [ 1.855804] Segment Routing with IPv6
- [ 3.672080] xdma:xdma_mod_init: Xilinx XDMA Reference Driver xdma v2020.1.8
- [ 3.672102] xdma:xdma_mod_init: desc_blen_max: 0xfffffff/268435455, timeout: h2c 10 c2h 10 sec.
- [ 3.672469] xdma 0000:01:00.0: assign IRQ: got 43
- [ 3.672502] xdma:xdma_device_open: xdma device 0000:01:00.0, 0x(____ptrval____).
- [ 3.672514] xdma:alloc_dev_instance: xdev = 0x(____ptrval____)
- [ 3.672530] xdma:xdev_list_add: dev 0000:01:00.0, xdev 0x(____ptrval____), xdma idx 0.
- [ 3.672597] xdma 0000:01:00.0: enabling bus mastering
- [ 3.672610] xdma:request_regions: pci_request_regions()
- [ 3.672638] xdma:map_single_bar: BAR0: 65536 bytes to be mapped.
- [ 3.672675] xdma:map_single_bar: BAR0 at 0x600000000 mapped at 0x(____ptrval____), length=65536(/65536)
- [ 3.672687] xdma:is_config_bar: BAR 0 is the XDMA config BAR
- [ 3.672697] xdma:map_bars: config bar 0, pos 0.
- [ 3.672708] xdma:identify_bars: xdev 0x(____ptrval____), bars 1, config at 0.
- [ 3.672719] xdma:identify_bars: 1 BARs: config 0, user -1, bypass -1.
- [ 3.672729] xdma:set_dma_mask: sizeof(dma_addr_t) == 8
- [ 3.672738] xdma:set_dma_mask: pci_set_dma_mask()
- [ 3.672746] xdma:set_dma_mask: Using a 64-bit DMA mask.
- [ 3.672771] xdma:__write_register: channel_interrupts_disable: w reg 0x2000(0x(____ptrval____)), 0xffffffff.
- [ 3.672783] xdma:__write_register: user_interrupts_disable: w reg 0x2000(0x(____ptrval____)), 0xffffffff.
- [ 3.672797] xdma:read_interrupts: ioread32(0x(____ptrval____)) returned 0x00000000 (user_int_request).
- [ 3.672809] xdma:read_interrupts: ioread32(0x(____ptrval____)) returned 0x00000000 (channel_int_request)
- [ 3.672825] xdma:probe_for_engine: found AXI H2C 0 engine, reg. off 0x0, id 0x1fc0,0x0.
- [ 3.672835] xdma:engine_init: channel 0, offset 0x0, dir 1.
- [ 3.672849] xdma:engine_init: engine (____ptrval____) name 0-H2C0-MM irq_bitmask=0x00000001
- [ 3.681482] videodev: Linux video capture interface: v2.00
- [ 3.695091] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
- [ 3.701331] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
- [ 3.701508] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
- [ 3.701529] [vc_sm_connected_init]: start
- [ 3.703943] bcm2835_audio bcm2835_audio: there is not valid maps for state default
- [ 3.704191] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
- [ 3.704951] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
- [ 3.717751] [vc_sm_connected_init]: installed successfully
- [ 3.718193] xdma:__write_register: engine_init_regs: w reg 0x3f97836bac(0x(____ptrval____)), 0x2000000.
- [ 3.718211] xdma:engine_alignments: engine (____ptrval____) name 0-H2C0-MM alignments=0x00010140
- [ 3.718220] xdma:engine_alignments: align_bytes = 1
- [ 3.718229] xdma:engine_alignments: granularity_bytes = 1
- [ 3.718240] xdma:engine_alignments: address_bits = 64
- [ 3.718252] xdma:__write_register: engine_init_regs: w reg 0x3f97836c30(0x(____ptrval____)), 0xf83e1e.
- [ 3.718271] xdma:probe_for_engine: H2C 1 engine, reg off 0x100, id mismatch 0x0,0x0,exp 0x1fc0,0x1, SKIP.
- [ 3.718285] xdma:probe_for_engine: found AXI C2H 0 engine, reg. off 0x1000, id 0x1fc1,0x0.
- [ 3.718295] xdma:engine_init: channel 0, offset 0x1000, dir 2.
- [ 3.718309] xdma:engine_init: engine (____ptrval____) name 0-C2H0-MM irq_bitmask=0x00000002
- [ 3.718497] xdma:__write_register: engine_init_regs: w reg 0x3f9783764c(0x(____ptrval____)), 0x2000000.
- [ 3.718510] xdma:engine_alignments: engine (____ptrval____) name 0-C2H0-MM alignments=0x00010140
- [ 3.718520] xdma:engine_alignments: align_bytes = 1
- [ 3.718529] xdma:engine_alignments: granularity_bytes = 1
- [ 3.718537] xdma:engine_alignments: address_bits = 64
- [ 3.718548] xdma:__write_register: engine_init_regs: w reg 0x3f978376d0(0x(____ptrval____)), 0xf83e1e.
- [ 3.718563] xdma:probe_for_engine: C2H 1 engine, reg off 0x1100, id mismatch 0x0,0x0,exp 0x1fc1,0x1, SKIP.
- [ 3.718611] xdma:enable_msi_msix: pci_enable_msi()
- [ 3.718885] xdma:pci_keep_intx_enabled: 0000:01:00.0: clear INTX_DISABLE, 0x406 -> 0x6.
- [ 3.718981] xdma:irq_msi_setup: Using IRQ#44 with 0x(____ptrval____)
- [ 3.718993] xdma:__write_register: channel_interrupts_enable: w reg 0x2000(0x(____ptrval____)), 0xffffffff.
- [ 3.719006] xdma:read_interrupts: ioread32(0x(____ptrval____)) returned 0x00000000 (user_int_request).
- [ 3.719017] xdma:read_interrupts: ioread32(0x(____ptrval____)) returned 0x00000000 (channel_int_request)
- [ 3.719033] xdma:__write_register: user_interrupts_enable: w reg 0x2000(0x(____ptrval____)), 0x1ffff.
- [ 3.719045] xdma:read_interrupts: ioread32(0x(____ptrval____)) returned 0x00000000 (user_int_request).
- [ 3.719055] xdma:read_interrupts: ioread32(0x(____ptrval____)) returned 0x00000000 (channel_int_request)
- [ 3.719068] xdma:probe_one: 0000:01:00.0 xdma0, pdev 0x(____ptrval____), xdev 0x(____ptrval____), 0x(____ptrval____), usr 16, ch 1,1.
- [ 3.719094] xdma:create_xcdev: xcdev 0x(____ptrval____), 236:1, (null), type 0x1.
- [ 3.732552] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
- [ 3.732558] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
- [ 3.733410] bcm2835_audio bcm2835_audio: card created with 8 channels
- [ 3.735514] xdma:create_xcdev: xcdev 0x(____ptrval____), 236:10, (null), type 0x3.
- [ 3.741195] xdma:create_xcdev: xcdev 0x(____ptrval____), 236:11, (null), type 0x3.
- [ 3.745655] xdma:create_xcdev: xcdev 0x(____ptrval____), 236:12, (null), type 0x3.
- [ 3.749655] xdma:create_xcdev: xcdev 0x(____ptrval____), 236:13, (null), type 0x3.
- [ 3.753590] xdma:create_xcdev: xcdev 0x(____ptrval____), 236:14, (null), type 0x3.
- [ 3.757619] xdma:create_xcdev: xcdev 0x(____ptrval____), 236:15, (null), type 0x3.
- [ 3.761703] xdma:create_xcdev: xcdev 0x(____ptrval____), 236:16, (null), type 0x3.
- [ 3.763856] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
- [ 3.764805] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
- [ 3.765642] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
- [ 3.766576] xdma:create_xcdev: xcdev 0x(____ptrval____), 236:17, (null), type 0x3.
- [ 3.769525] xdma:create_xcdev: xcdev 0x(____ptrval____), 236:18, (null), type 0x3.
- [ 3.773535] xdma:create_xcdev: xcdev 0x(____ptrval____), 236:19, (null), type 0x3.
- [ 3.777526] xdma:create_xcdev: xcdev 0x(____ptrval____), 236:20, (null), type 0x3.
- [ 3.781635] xdma:create_xcdev: xcdev 0x(____ptrval____), 236:21, (null), type 0x3.
- [ 3.785655] xdma:create_xcdev: xcdev 0x(____ptrval____), 236:22, (null), type 0x3.
- [ 3.788044] xdma:create_xcdev: xcdev 0x(____ptrval____), 236:23, (null), type 0x3.
- [ 3.790014] xdma:create_xcdev: xcdev 0x(____ptrval____), 236:24, (null), type 0x3.
- [ 3.790675] xdma:create_xcdev: xcdev 0x(____ptrval____), 236:25, (null), type 0x3.
- [ 3.791861] xdma:create_xcdev: xcdev 0x(____ptrval____), 236:32, (null), type 0x4.
- [ 3.793779] xdma:create_xcdev: xcdev 0x(____ptrval____), 236:36, (null), type 0x5.
- [ 3.799819] bcm2835-isp bcm2835-isp: bcm2835_isp_get_supported_fmts: port has more encoding than we provided space for. Some are dropped.
- [ 3.800262] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13
- [ 3.800884] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14
- [ 3.801278] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
- [ 3.801327] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
- [ 3.803295] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15
- [ 3.803772] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16
- [ 3.803798] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
- [ 3.803850] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
- [ 3.803867] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
- [ 3.803882] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
- [ 3.804275] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp
- [ 3.822427] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
- [ 3.822473] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
- [ 3.844269] : bcm2835_codec_get_supported_fmts: port has more encoding than we provided space for. Some are dropped.
- [ 3.845833] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
- [ 3.845902] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
- [ 3.993215] dwc2 fe980000.usb: supply vusb_d not found, using dummy regulator
- [ 3.993523] dwc2 fe980000.usb: supply vusb_a not found, using dummy regulator
- [ 4.048700] dwc2 fe980000.usb: DWC OTG Controller
- [ 4.048745] dwc2 fe980000.usb: new USB bus registered, assigned bus number 1
- [ 4.048812] dwc2 fe980000.usb: irq 16, io mem 0xfe980000
- [ 4.049293] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.09
- [ 4.049308] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
- [ 4.049321] usb usb1: Product: DWC OTG Controller
- [ 4.049333] usb usb1: Manufacturer: Linux 5.9.14-v8+ dwc2_hsotg
- [ 4.049344] usb usb1: SerialNumber: fe980000.usb
- [ 4.050222] hub 1-0:1.0: USB hub found
- [ 4.050295] hub 1-0:1.0: 1 port detected
- [ 4.157214] [drm] Initialized v3d 1.0.0 20180419 for fec00000.v3d on minor 0
- [ 4.316430] cfg80211: Loading compiled-in X.509 certificates for regulatory database
- [ 4.355722] vc4-drm gpu: bound fe600000.firmwarekms (ops vc4_fkms_ops [vc4])
- [ 4.355749] checking generic (3e4e0000 6e7000) vs hw (0 ffffffffffffffff)
- [ 4.355760] fb0: switching to vc4drmfb from simple
- [ 4.358868] Console: switching to colour dummy device 80x25
- [ 4.369908] [drm] Initialized vc4 0.0.0 20140616 for gpu on minor 1
- [ 4.397460] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
- [ 4.422522] Console: switching to colour frame buffer device 240x67
- [ 4.422573] vc4-drm gpu: [drm] fb0: vc4drmfb frame buffer device
- [ 4.432247] brcmfmac: F1 signature read @0x18000000=0x15264345
- [ 4.445080] usb 1-1: new high-speed USB device number 2 using dwc2
- [ 4.450780] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
- [ 4.451904] usbcore: registered new interface driver brcmfmac
- [ 4.464850] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,4-compute-module.txt failed with error -2
- [ 4.653482] usb 1-1: New USB device found, idVendor=0424, idProduct=2514, bcdDevice= b.b3
- [ 4.653502] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
- [ 4.654240] hub 1-1:1.0: USB hub found
- [ 4.654365] hub 1-1:1.0: 4 ports detected
- [ 4.692072] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
- [ 4.701268] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Jan 4 2021 19:56:29 version 7.45.229 (617f1f5 CY) FWID 01-2dbd9d2e
- [ 4.941067] usb 1-1.1: new high-speed USB device number 3 using dwc2
- [ 5.046254] usb 1-1.1: New USB device found, idVendor=1a40, idProduct=0101, bcdDevice= 1.11
- [ 5.046275] usb 1-1.1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
- [ 5.046288] usb 1-1.1: Product: USB 2.0 Hub
- [ 5.047235] hub 1-1.1:1.0: USB hub found
- [ 5.047449] hub 1-1.1:1.0: 4 ports detected
- [ 5.650692] bcmgenet fd580000.ethernet: configuring instance for external RGMII (RX delay)
- [ 5.651114] bcmgenet fd580000.ethernet eth0: Link is Down
- [ 5.895536] random: crng init done
- [ 5.895553] random: 7 urandom warning(s) missed due to ratelimiting
- [ 6.008898] uart-pl011 fe201000.serial: no DMA platform data
- [ 6.266436] Adding 102396k swap on /var/swap. Priority:-2 extents:1 across:102396k SSFS
- [ 9.725293] bcmgenet fd580000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
- [ 9.725349] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
- [ 12.688250] Bluetooth: Core ver 2.22
- [ 12.688346] NET: Registered protocol family 31
- [ 12.688356] Bluetooth: HCI device and connection manager initialized
- [ 12.688384] Bluetooth: HCI socket layer initialized
- [ 12.688402] Bluetooth: L2CAP socket layer initialized
- [ 12.688432] Bluetooth: SCO socket layer initialized
- [ 12.696672] Bluetooth: HCI UART driver ver 2.3
- [ 12.696691] Bluetooth: HCI UART protocol H4 registered
- [ 12.696767] Bluetooth: HCI UART protocol Three-wire (H5) registered
- [ 12.697148] Bluetooth: HCI UART protocol Broadcom registered
- [ 12.833432] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
- [ 12.833440] Bluetooth: BNEP filters: protocol multicast
- [ 12.833453] Bluetooth: BNEP socket layer initialized
- [ 13.094185] cryptd: max_cpu_qlen set to 1000
- [ 17.471134] broken atomic modeset userspace detected, disabling atomic
- [ 18.930699] fuse: init (API version 7.31)
- [ 19.471941] Bluetooth: RFCOMM TTY layer initialized
- [ 19.471961] Bluetooth: RFCOMM socket layer initialized
- [ 19.471985] Bluetooth: RFCOMM ver 1.11
- [ 46.400915] xdma:char_sgdma_llseek: char_sgdma_llseek: pos=0
- [ 46.401306] xdma:char_sgdma_read_write: file 0x000000006d736213, priv 0x00000000d3008134, buf 0x000000001634ff6d,512, pos 0, W 1, 0-H2C0-MM.
- [ 46.401343] xdma:xdma_init_request: ep 0x0, desc 1+0.
- [ 46.401360] xdma:xdma_request_cb_dump: request 0x00000000fbf8241c, total 512, ep 0x0, sw_desc 1, sgt 0x000000001b1e1795.
- [ 46.401372] xdma:sgt_dump: sgt 0x000000001b1e1795, sgl 0x000000007716ec8a, nents 1/1.
- [ 46.401385] xdma:sgt_dump: 0, 0x000000007716ec8a, pg 0x0000000049319613,3312+512, dma 0x75fa2cf0,512.
- [ 46.401396] xdma:xdma_request_cb_dump: 0/1, 0x75fa2cf0, 512.
- [ 46.401406] xdma:xdma_xfer_submit: 0-H2C0-MM, len 512 sg cnt 1.
- [ 46.401419] xdma:transfer_init: xfer= 00000000cb71e112 transfer->desc_bus = 0x1f050000.
- [ 46.401426] xdma:transfer_build: sw desc 0/1: 0x75fa2cf0, 0x200, ep 0x0.
- [ 46.401434] xdma:xdma_get_next_adj: xdma_get_next_adj: remaining_desc 0, next_lo 0x0
- [ 46.401440] xdma:transfer_init: set next adj at index 0 to 0
- [ 46.401497] xdma:xdma_xfer_submit: xfer, 512, ep 0x200, done 0, sg 1/1.
- [ 46.401509] xdma:transfer_dump: xfer 0x00000000cb71e112, state 0x0, f 0x1, dir 1, len 512, last 1.
- [ 46.401520] xdma:transfer_dump: transfer 0x00000000cb71e112, desc 1, bus 0x1f050000, adj 1.
- [ 46.401533] xdma:dump_desc: 0xffffffc011cc5000/0x00: 0xad4b0013 0xad4b0013 magic|extra_adjacent|control
- [ 46.401546] xdma:dump_desc: 0xffffffc011cc5004/0x04: 0x00000200 0x00000200 bytes
- [ 46.401557] xdma:dump_desc: 0xffffffc011cc5008/0x08: 0x75fa2cf0 0x75fa2cf0 src_addr_lo
- [ 46.401568] xdma:dump_desc: 0xffffffc011cc500c/0x0c: 0x00000000 0x00000000 src_addr_hi
- [ 46.401578] xdma:dump_desc: 0xffffffc011cc5010/0x00: 0x00000000 0x00000000 dst_addr_lo
- [ 46.401616] xdma:dump_desc: 0xffffffc011cc5014/0x04: 0x00000000 0x00000000 dst_addr_hi
- [ 46.401626] xdma:dump_desc: 0xffffffc011cc5018/0x08: 0x00000000 0x00000000 next_addr
- [ 46.401637] xdma:dump_desc: 0xffffffc011cc501c/0x0c: 0x00000000 0x00000000 next_addr_pad
- [ 46.401645] xdma:dump_desc:
- [ 46.401656] xdma:transfer_queue: transfer_queue (transfer=0x00000000cb71e112).
- [ 46.401667] xdma:transfer_queue: transfer_queue(): starting 0-H2C0-MM engine.
- [ 46.401674] xdma:engine_start: engine_start(0-H2C0-MM): transfer=0x00000000cb71e112.
- [ 46.401680] xdma:engine_start: iowrite32(0x1f050000 to 0x0000000073e0cf3b) (first_desc_lo)
- [ 46.401687] xdma:__write_register: engine_start: w reg 0x3f9783ac18(0x0000000073e0cf3b), 0x1f050000.
- [ 46.401693] xdma:engine_start: iowrite32(0x00000000 to 0x00000000ac157693) (first_desc_hi)
- [ 46.401699] xdma:__write_register: engine_start: w reg 0x3f9783ac1c(0x00000000ac157693), 0x0.
- [ 46.401705] xdma:xdma_get_next_adj: xdma_get_next_adj: remaining_desc 1, next_lo 0x1f050000
- [ 46.401711] xdma:engine_start: iowrite32(0x00000000 to 0x0000000033dd4895) (first_desc_adjacent)
- [ 46.401717] xdma:__write_register: engine_start: w reg 0x3f9783ac20(0x0000000033dd4895), 0x0.
- [ 46.401722] xdma:engine_start: ioread32(0x000000005bf6b59d) (dummy read flushes writes).
- [ 46.401728] xdma:engine_start_mode_config: iowrite32(0x00f83e1f to 0x00000000289c4ea0) (control)
- [ 46.401734] xdma:__write_register: engine_start_mode_config: w reg 0x3f97836ba4(0x00000000289c4ea0), 0xf83e1f.
- [ 46.401741] xdma:engine_start_mode_config: ioread32(0x000000005bf6b59d) = 0x00000001 (dummy read flushes writes).
- [ 46.401748] xdma:engine_start: 0-H2C0-MM engine 0x00000000a5533440 now running
- [ 46.401754] xdma:transfer_queue: transfer=0x00000000cb71e112 started 0-H2C0-MM engine with transfer 0x00000000cb71e112.
- [ 46.401759] xdma:transfer_queue: engine->running = 1
- [ 46.401773] xdma:xdma_isr: (irq=44, dev 0x00000000934ae97b) <<<< ISR.
- [ 46.401780] xdma:xdma_isr: ch_irq = 0x00000001
- [ 46.401786] xdma:__write_register: channel_interrupts_disable: w reg 0x2000(0x00000000aea1cb0e), 0x1.
- [ 46.401792] xdma:xdma_isr: user_irq = 0x00000000
- [ 46.401797] xdma:xdma_isr: schedule_work, 0-H2C0-MM.
- [ 46.401832] xdma:engine_service_work: engine_service() for 0-H2C0-MM engine 00000000a5533440
- [ 46.401839] xdma:engine_service_shutdown: engine just went idle, resetting RUN_STOP.
- [ 46.401844] xdma:xdma_engine_stop: xdma_engine_stop(engine=00000000a5533440)
- [ 46.401851] xdma:xdma_engine_stop: Stopping SG DMA 0-H2C0-MM engine; writing 0x00f83e1e to 0x00000000289c4ea0.
- [ 46.401857] xdma:__write_register: xdma_engine_stop: w reg 0x3f97836ba4(0x00000000289c4ea0), 0xf83e1e.
- [ 46.401862] xdma:xdma_engine_stop: xdma_engine_stop(0-H2C0-MM) done
- [ 46.401870] xdma:engine_service: 0-H2C0-MM wb 0x0, desc_count 0, err 0, dequeued 0.
- [ 46.401876] xdma:__write_register: channel_interrupts_enable: w reg 0x2000(0x00000000a59cd71c), 0x1.
- [ 56.541054] xdma:xdma_xfer_submit: xfer 0x00000000cb71e112,512, s 0x1 timed out, ep 0x200.
- [ 56.541069] xdma:engine_reg_dump: 0-H2C0-MM: ioread32(0x0000000066b34433) = 0x1fc00006 (id).
- [ 56.541077] xdma:engine_reg_dump: 0-H2C0-MM: ioread32(0x000000005bf6b59d) = 0x00000000 (status).
- [ 56.541085] xdma:engine_reg_dump: 0-H2C0-MM: ioread32(0x00000000289c4ea0) = 0x00f83e1e (control)
- [ 56.541092] xdma:engine_reg_dump: 0-H2C0-MM: ioread32(0x0000000073e0cf3b) = 0x1f050000 (first_desc_lo)
- [ 56.541100] xdma:engine_reg_dump: 0-H2C0-MM: ioread32(0x00000000ac157693) = 0x00000000 (first_desc_hi)
- [ 56.541107] xdma:engine_reg_dump: 0-H2C0-MM: ioread32(0x0000000033dd4895) = 0x00000000 (first_desc_adjacent).
- [ 56.541114] xdma:engine_reg_dump: 0-H2C0-MM: ioread32(0x00000000e817496d) = 0x00000000 (completed_desc_count).
- [ 56.541121] xdma:engine_reg_dump: 0-H2C0-MM: ioread32(0x00000000a43d83f6) = 0x00f83e1e (interrupt_enable_mask)
- [ 56.541131] xdma:engine_status_dump: SG engine 0-H2C0-MM status: 0x00000000:
- [ 56.541140] xdma:transfer_abort: abort transfer 0x00000000cb71e112, desc 1, engine desc queued 0.
- [ 56.541146] xdma:xdma_engine_stop: xdma_engine_stop(engine=00000000a5533440)
- [ 56.541153] xdma:xdma_engine_stop: Stopping SG DMA 0-H2C0-MM engine; writing 0x00f83e1e to 0x00000000289c4ea0.
- [ 56.541159] xdma:__write_register: xdma_engine_stop: w reg 0x3f97836ba4(0x00000000289c4ea0), 0xf83e1e.
- [ 56.541164] xdma:xdma_engine_stop: xdma_engine_stop(0-H2C0-MM) done
- [ 56.541174] xdma:transfer_dump: xfer 0x00000000cb71e112, state 0x4, f 0x1, dir 1, len 512, last 1.
- [ 56.541186] xdma:transfer_dump: transfer 0x00000000cb71e112, desc 1, bus 0x1f050000, adj 1.
- [ 56.541200] xdma:dump_desc: 0xffffffc011cc5000/0x00: 0xad4b0013 0xad4b0013 magic|extra_adjacent|control
- [ 56.541211] xdma:dump_desc: 0xffffffc011cc5004/0x04: 0x00000200 0x00000200 bytes
- [ 56.541223] xdma:dump_desc: 0xffffffc011cc5008/0x08: 0x75fa2cf0 0x75fa2cf0 src_addr_lo
- [ 56.541234] xdma:dump_desc: 0xffffffc011cc500c/0x0c: 0x00000000 0x00000000 src_addr_hi
- [ 56.541245] xdma:dump_desc: 0xffffffc011cc5010/0x00: 0x00000000 0x00000000 dst_addr_lo
- [ 56.541255] xdma:dump_desc: 0xffffffc011cc5014/0x04: 0x00000000 0x00000000 dst_addr_hi
- [ 56.541265] xdma:dump_desc: 0xffffffc011cc5018/0x08: 0x00000000 0x00000000 next_addr
- [ 56.541275] xdma:dump_desc: 0xffffffc011cc501c/0x0c: 0x00000000 0x00000000 next_addr_pad
- [ 56.541283] xdma:dump_desc:
- [ 56.541294] xdma:sgt_dump: sgt 0x000000001b1e1795, sgl 0x000000007716ec8a, nents 1/1.
- [ 56.541307] xdma:sgt_dump: 0, 0x000000007716ec8a, pg 0x0000000049319613,3312+512, dma 0x75fa2cf0,512.
- [ 56.541475] xdma:char_sgdma_llseek: char_sgdma_llseek: pos=0
- [ 56.541509] xdma:char_sgdma_read_write: file 0x00000000b587c28e, priv 0x00000000d80cb9dc, buf 0x000000000b4aa1ea,512, pos 0, W 0, 0-C2H0-MM.
- [ 56.541538] xdma:xdma_init_request: ep 0x0, desc 1+0.
- [ 56.541552] xdma:xdma_request_cb_dump: request 0x000000001f99fb22, total 512, ep 0x0, sw_desc 1, sgt 0x000000001b1e1795.
- [ 56.541562] xdma:sgt_dump: sgt 0x000000001b1e1795, sgl 0x00000000a3693076, nents 1/1.
- [ 56.541574] xdma:sgt_dump: 0, 0x00000000a3693076, pg 0x00000000c0c6dc5a,1024+512, dma 0x6f5af400,512.
- [ 56.541584] xdma:xdma_request_cb_dump: 0/1, 0x6f5af400, 512.
- [ 56.541594] xdma:xdma_xfer_submit: 0-C2H0-MM, len 512 sg cnt 1.
- [ 56.541606] xdma:transfer_init: xfer= 000000005a6db70e transfer->desc_bus = 0x1f060000.
- [ 56.541613] xdma:transfer_build: sw desc 0/1: 0x6f5af400, 0x200, ep 0x0.
- [ 56.541620] xdma:xdma_get_next_adj: xdma_get_next_adj: remaining_desc 0, next_lo 0x0
- [ 56.541625] xdma:transfer_init: set next adj at index 0 to 0
- [ 56.541636] xdma:xdma_xfer_submit: xfer, 512, ep 0x200, done 0, sg 1/1.
- [ 56.541649] xdma:transfer_dump: xfer 0x000000005a6db70e, state 0x0, f 0x1, dir 2, len 512, last 1.
- [ 56.541659] xdma:transfer_dump: transfer 0x000000005a6db70e, desc 1, bus 0x1f060000, adj 1.
- [ 56.541671] xdma:dump_desc: 0xffffffc011cd6000/0x00: 0xad4b0013 0xad4b0013 magic|extra_adjacent|control
- [ 56.541682] xdma:dump_desc: 0xffffffc011cd6004/0x04: 0x00000200 0x00000200 bytes
- [ 56.541693] xdma:dump_desc: 0xffffffc011cd6008/0x08: 0x00000000 0x00000000 src_addr_lo
- [ 56.541703] xdma:dump_desc: 0xffffffc011cd600c/0x0c: 0x00000000 0x00000000 src_addr_hi
- [ 56.541713] xdma:dump_desc: 0xffffffc011cd6010/0x00: 0x6f5af400 0x6f5af400 dst_addr_lo
- [ 56.541723] xdma:dump_desc: 0xffffffc011cd6014/0x04: 0x00000000 0x00000000 dst_addr_hi
- [ 56.541733] xdma:dump_desc: 0xffffffc011cd6018/0x08: 0x00000000 0x00000000 next_addr
- [ 56.541743] xdma:dump_desc: 0xffffffc011cd601c/0x0c: 0x00000000 0x00000000 next_addr_pad
- [ 56.541751] xdma:dump_desc:
- [ 56.541761] xdma:transfer_queue: transfer_queue (transfer=0x000000005a6db70e).
- [ 56.541773] xdma:transfer_queue: transfer_queue(): starting 0-C2H0-MM engine.
- [ 56.541783] xdma:engine_start: engine_start(0-C2H0-MM): transfer=0x000000005a6db70e.
- [ 56.541789] xdma:engine_start: iowrite32(0x1f060000 to 0x000000005600e8af) (first_desc_lo)
- [ 56.541796] xdma:__write_register: engine_start: w reg 0x3f9783b6b8(0x000000005600e8af), 0x1f060000.
- [ 56.541801] xdma:engine_start: iowrite32(0x00000000 to 0x00000000d8bd2e07) (first_desc_hi)
- [ 56.541807] xdma:__write_register: engine_start: w reg 0x3f9783b6bc(0x00000000d8bd2e07), 0x0.
- [ 56.541814] xdma:xdma_get_next_adj: xdma_get_next_adj: remaining_desc 1, next_lo 0x1f060000
- [ 56.541819] xdma:engine_start: iowrite32(0x00000000 to 0x000000003b79f2a2) (first_desc_adjacent)
- [ 56.541825] xdma:__write_register: engine_start: w reg 0x3f9783b6c0(0x000000003b79f2a2), 0x0.
- [ 56.541830] xdma:engine_start: ioread32(0x00000000900bb225) (dummy read flushes writes).
- [ 56.541837] xdma:engine_start_mode_config: iowrite32(0x00f83e1f to 0x000000007e577950) (control)
- [ 56.541844] xdma:__write_register: engine_start_mode_config: w reg 0x3f97837644(0x000000007e577950), 0xf83e1f.
- [ 56.541852] xdma:engine_start_mode_config: ioread32(0x00000000900bb225) = 0x00000001 (dummy read flushes writes).
- [ 56.541859] xdma:engine_start: 0-C2H0-MM engine 0x00000000eda2cd6e now running
- [ 56.541865] xdma:transfer_queue: transfer=0x000000005a6db70e started 0-C2H0-MM engine with transfer 0x000000005a6db70e.
- [ 56.541870] xdma:transfer_queue: engine->running = 1
- [ 56.541888] xdma:xdma_isr: (irq=44, dev 0x00000000934ae97b) <<<< ISR.
- [ 56.541895] xdma:xdma_isr: ch_irq = 0x00000001
- [ 56.541901] xdma:__write_register: channel_interrupts_disable: w reg 0x2000(0x00000000aea1cb0e), 0x1.
- [ 56.541907] xdma:xdma_isr: user_irq = 0x00000000
- [ 56.541913] xdma:xdma_isr: schedule_work, 0-H2C0-MM.
- [ 56.541990] xdma:engine_service_work: engine_service() for 0-H2C0-MM engine 00000000a5533440
- [ 56.541995] xdma:engine_service: Engine was not running!!! Clearing status
- [ 56.542004] xdma:__write_register: channel_interrupts_enable: w reg 0x2000(0x00000000a59cd71c), 0x1.
- [ 66.781048] xdma:xdma_xfer_submit: xfer 0x000000005a6db70e,512, s 0x1 timed out, ep 0x200.
- [ 66.781065] xdma:engine_reg_dump: 0-C2H0-MM: ioread32(0x0000000013536901) = 0x1fc10006 (id).
- [ 66.781074] xdma:engine_reg_dump: 0-C2H0-MM: ioread32(0x00000000900bb225) = 0x00000001 (status).
- [ 66.781082] xdma:engine_reg_dump: 0-C2H0-MM: ioread32(0x000000007e577950) = 0x00f83e1f (control)
- [ 66.781090] xdma:engine_reg_dump: 0-C2H0-MM: ioread32(0x000000005600e8af) = 0x1f060000 (first_desc_lo)
- [ 66.781097] xdma:engine_reg_dump: 0-C2H0-MM: ioread32(0x00000000d8bd2e07) = 0x00000000 (first_desc_hi)
- [ 66.781104] xdma:engine_reg_dump: 0-C2H0-MM: ioread32(0x000000003b79f2a2) = 0x00000000 (first_desc_adjacent).
- [ 66.781112] xdma:engine_reg_dump: 0-C2H0-MM: ioread32(0x000000009a1a3ecb) = 0x00000000 (completed_desc_count).
- [ 66.781119] xdma:engine_reg_dump: 0-C2H0-MM: ioread32(0x000000004fa62833) = 0x00f83e1e (interrupt_enable_mask)
- [ 66.781130] xdma:engine_status_dump: SG engine 0-C2H0-MM status: 0x00000001: BUSY
- [ 66.781139] xdma:transfer_abort: abort transfer 0x000000005a6db70e, desc 1, engine desc queued 0.
- [ 66.781145] xdma:xdma_engine_stop: xdma_engine_stop(engine=00000000eda2cd6e)
- [ 66.781151] xdma:xdma_engine_stop: Stopping SG DMA 0-C2H0-MM engine; writing 0x00f83e1e to 0x000000007e577950.
- [ 66.781158] xdma:__write_register: xdma_engine_stop: w reg 0x3f97837644(0x000000007e577950), 0xf83e1e.
- [ 66.781163] xdma:xdma_engine_stop: xdma_engine_stop(0-C2H0-MM) done
- [ 66.781173] xdma:transfer_dump: xfer 0x000000005a6db70e, state 0x4, f 0x1, dir 2, len 512, last 1.
- [ 66.781184] xdma:transfer_dump: transfer 0x000000005a6db70e, desc 1, bus 0x1f060000, adj 1.
- [ 66.781197] xdma:dump_desc: 0xffffffc011cd6000/0x00: 0xad4b0013 0xad4b0013 magic|extra_adjacent|control
- [ 66.781209] xdma:dump_desc: 0xffffffc011cd6004/0x04: 0x00000200 0x00000200 bytes
- [ 66.781220] xdma:dump_desc: 0xffffffc011cd6008/0x08: 0x00000000 0x00000000 src_addr_lo
- [ 66.781230] xdma:dump_desc: 0xffffffc011cd600c/0x0c: 0x00000000 0x00000000 src_addr_hi
- [ 66.781241] xdma:dump_desc: 0xffffffc011cd6010/0x00: 0x6f5af400 0x6f5af400 dst_addr_lo
- [ 66.781251] xdma:dump_desc: 0xffffffc011cd6014/0x04: 0x00000000 0x00000000 dst_addr_hi
- [ 66.781261] xdma:dump_desc: 0xffffffc011cd6018/0x08: 0x00000000 0x00000000 next_addr
- [ 66.781271] xdma:dump_desc: 0xffffffc011cd601c/0x0c: 0x00000000 0x00000000 next_addr_pad
- [ 66.781279] xdma:dump_desc:
- [ 66.781290] xdma:sgt_dump: sgt 0x000000001b1e1795, sgl 0x00000000a3693076, nents 1/1.
- [ 66.781303] xdma:sgt_dump: 0, 0x00000000a3693076, pg 0x00000000c0c6dc5a,1024+512, dma 0x6f5af400,512.
复制代码
|
|