OpenEdv-开源电子网

 找回密码
 立即注册
正点原子全套STM32/Linux/FPGA开发资料,上千讲STM32视频教程免费下载...
查看: 2535|回复: 2
打印 上一主题 下一主题

[XILINX] Artix-7 PCIE 连接树莓派cm4 设备能识别,驱动装上后能生成相应设备,但是无法读写,跪求大神解答

[复制链接]

3

主题

13

帖子

0

精华

初级会员

Rank: 2

积分
76
金钱
76
注册时间
2019-9-27
在线时间
15 小时
跳转到指定楼层
楼主
发表于 2021-4-12 11:13:57 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式
10金钱
Artix-7 PCIE  连接树莓派cm4 设备能识别,驱动装上后能生成相应设备,但是无法读写,跪求大神解答!!!

目前正在做一个PCIE 的项目,该项目是用Xilinx Artix-7 XC7A100T 与树莓派 cm4 通过PCIE 连接,现在已经移植了xdma 的驱动,该驱动能够正常枚举出 h2c c2h 等设备,但是读写时发现读写错误。系统日志也没有看出异常,希望有经验的大神能够解答一下!

以下是驱动安装后的效果:http://www.openedv.com/forum.php ... %3D&nothumb=yes
下面是系统日志


  1. [    1.215234] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
  2. [    1.215260] brcm-pcie fd500000.pcie:   No bus range found for /scb/pcie@7d500000, using [bus 00-ff]
  3. [    1.215288] brcm-pcie fd500000.pcie: Parsing ranges property...
  4. [    1.215340] brcm-pcie fd500000.pcie:      MEM 0x0600000000..0x063fffffff -> 0x00c0000000
  5. [    1.215374] brcm-pcie fd500000.pcie: Parsing dma-ranges property...
  6. [    1.215431] brcm-pcie fd500000.pcie:   IB MEM 0x0000000000..0x007fffffff -> 0x0400000000
  7. [    1.231121] brcm-pcie fd500000.pcie: link up, 5.0 GT/s PCIe x1 (SSC)
  8. [    1.231514] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
  9. [    1.231530] pci_bus 0000:00: root bus resource [bus 00-ff]
  10. [    1.231546] pci_bus 0000:00: root bus resource [mem 0x600000000-0x63fffffff] (bus address [0xc0000000-0xffffffff])
  11. [    1.231557] pci_bus 0000:00: scanning bus
  12. [    1.231652] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
  13. [    1.231883] pci 0000:00:00.0: PME# supported from D0 D3hot
  14. [    1.231901] pci 0000:00:00.0: PME# disabled
  15. [    1.235580] pci_bus 0000:00: fixups for bus
  16. [    1.235600] pci 0000:00:00.0: scanning [bus ff-ff] behind bridge, pass 0
  17. [    1.235613] pci 0000:00:00.0: bridge configuration invalid ([bus ff-ff]), reconfiguring
  18. [    1.235648] pci 0000:00:00.0: scanning [bus 00-00] behind bridge, pass 1
  19. [    1.235783] pci_bus 0000:01: scanning bus
  20. [    1.235857] pci 0000:01:00.0: [10ee:7021] type 00 class 0x070001
  21. [    1.235912] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x0000ffff]
  22. [    1.236047] pci 0000:01:00.0: enabling Extended Tags
  23. [    1.236207] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot
  24. [    1.236225] pci 0000:01:00.0: PME# disabled
  25. [    1.239847] pci_bus 0000:01: fixups for bus
  26. [    1.239859] pci_bus 0000:01: bus scan returning with max=01
  27. [    1.239875] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
  28. [    1.239893] pci_bus 0000:00: bus scan returning with max=01
  29. [    1.239927] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
  30. [    1.239945] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x60000ffff]
  31. [    1.239966] pci 0000:00:00.0: PCI bridge to [bus 01]
  32. [    1.239985] pci 0000:00:00.0:   bridge window [mem 0x600000000-0x6000fffff]
  33. [    1.245291] serial 0000:01:00.0: assign IRQ: got 43
  34. [    1.245344] pci 0000:00:00.0: enabling device (0000 -> 0002)
  35. [    1.245365] pci 0000:00:00.0: enabling bus mastering
  36. [    1.245384] serial 0000:01:00.0: enabling device (0000 -> 0002)
  37. [    1.245412] serial 0000:01:00.0: saving config space at offset 0x0 (reading 0x702110ee)
  38. [    1.245427] serial 0000:01:00.0: saving config space at offset 0x4 (reading 0x100002)
  39. [    1.245441] serial 0000:01:00.0: saving config space at offset 0x8 (reading 0x7000100)
  40. [    1.245455] serial 0000:01:00.0: saving config space at offset 0xc (reading 0x0)
  41. [    1.245470] serial 0000:01:00.0: saving config space at offset 0x10 (reading 0xc0000000)
  42. [    1.245484] serial 0000:01:00.0: saving config space at offset 0x14 (reading 0x0)
  43. [    1.245498] serial 0000:01:00.0: saving config space at offset 0x18 (reading 0x0)
  44. [    1.245512] serial 0000:01:00.0: saving config space at offset 0x1c (reading 0x0)
  45. [    1.245525] serial 0000:01:00.0: saving config space at offset 0x20 (reading 0x0)
  46. [    1.245540] serial 0000:01:00.0: saving config space at offset 0x24 (reading 0x0)
  47. [    1.245554] serial 0000:01:00.0: saving config space at offset 0x28 (reading 0x0)
  48. [    1.245568] serial 0000:01:00.0: saving config space at offset 0x2c (reading 0x710ee)
  49. [    1.245581] serial 0000:01:00.0: saving config space at offset 0x30 (reading 0x0)
  50. [    1.245595] serial 0000:01:00.0: saving config space at offset 0x34 (reading 0x40)
  51. [    1.245609] serial 0000:01:00.0: saving config space at offset 0x38 (reading 0x0)
  52. [    1.245623] serial 0000:01:00.0: saving config space at offset 0x3c (reading 0x12b)
  53. [    1.247807] iproc-rng200 fe104000.rng: hwrng registered
  54. [    1.248143] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
  55. [    1.249078] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
  56. [    1.249483] cacheinfo: Unable to detect cache hierarchy for CPU 0
  57. [    1.260863] brd: module loaded
  58. [    1.273773] loop: module loaded
  59. [    1.275396] Loading iSCSI transport class v2.0-870.
  60. [    1.278048] libphy: Fixed MDIO Bus: probed
  61. [    1.278689] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000
  62. [    1.289092] libphy: bcmgenet MII bus: probed
  63. [    1.341150] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus
  64. [    1.342251] usbcore: registered new interface driver r8152
  65. [    1.342310] usbcore: registered new interface driver lan78xx
  66. [    1.342358] usbcore: registered new interface driver smsc95xx
  67. [    1.342892] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
  68. [    1.343152] dwc_otg: FIQ enabled
  69. [    1.343161] dwc_otg: NAK holdoff enabled
  70. [    1.343169] dwc_otg: FIQ split-transaction FSM enabled
  71. [    1.343180] Module dwc_common_port init
  72. [    1.343698] usbcore: registered new interface driver uas
  73. [    1.343753] usbcore: registered new interface driver usb-storage
  74. [    1.344009] mousedev: PS/2 mouse device common for all mice
  75. [    1.345678] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
  76. [    1.349068] sdhci: Secure Digital Host Controller Interface driver
  77. [    1.349079] sdhci: Copyright(c) Pierre Ossman
  78. [    1.349720] mmc-bcm2835 fe300000.mmcnr: could not get clk, deferring probe
  79. [    1.350244] sdhci-pltfm: SDHCI platform and OF driver helper
  80. [    1.353905] ledtrig-cpu: registered to indicate activity on CPUs
  81. [    1.354223] hid: raw HID events driver (C) Jiri Kosina
  82. [    1.354411] usbcore: registered new interface driver usbhid
  83. [    1.354421] usbhid: USB HID core driver
  84. [    1.362403] Initializing XFRM netlink socket
  85. [    1.362446] NET: Registered protocol family 17
  86. [    1.362591] Key type dns_resolver registered
  87. [    1.363251] registered taskstats version 1
  88. [    1.363280] Loading compiled-in X.509 certificates
  89. [    1.363837] Key type ._fscrypt registered
  90. [    1.363848] Key type .fscrypt registered
  91. [    1.363857] Key type fscrypt-provisioning registered
  92. [    1.375011] uart-pl011 fe201000.serial: there is not valid maps for state default
  93. [    1.375250] uart-pl011 fe201000.serial: cts_event_workaround enabled
  94. [    1.375344] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 13, base_baud = 0) is a PL011 rev2
  95. [    1.381785] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
  96. [    1.382723] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
  97. [    1.382736] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
  98. [    1.427822] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
  99. [    1.429468] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
  100. [    1.431107] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
  101. [    1.434038] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
  102. [    1.435673] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
  103. [    1.449691] mmc0: SDHCI controller on fe340000.emmc2 [fe340000.emmc2] using ADMA
  104. [    1.452682] of_cfs_init
  105. [    1.452819] of_cfs_init: OK
  106. [    1.454014] Waiting for root device PARTUUID=3f4673f0-02...
  107. [    1.479897] random: fast init done
  108. [    1.500233] mmc1: new high speed SDIO card at address 0001
  109. [    1.522953] mmc0: new DDR MMC card at address 0001
  110. [    1.524058] mmcblk0: mmc0:0001 8GTF4R 7.28 GiB
  111. [    1.524616] mmcblk0boot0: mmc0:0001 8GTF4R partition 1 4.00 MiB
  112. [    1.525282] mmcblk0boot1: mmc0:0001 8GTF4R partition 2 4.00 MiB
  113. [    1.525548] mmcblk0rpmb: mmc0:0001 8GTF4R partition 3 512 KiB, chardev (245:0)
  114. [    1.527699]  mmcblk0: p1 p2
  115. [    1.555535] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
  116. [    1.555619] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
  117. [    1.556168] devtmpfs: mounted
  118. [    1.563722] Freeing unused kernel memory: 3456K
  119. [    1.565224] Run /sbin/init as init process
  120. [    1.565233]   with arguments:
  121. [    1.565241]     /sbin/init
  122. [    1.565249]     splash
  123. [    1.565257]   with environment:
  124. [    1.565265]     HOME=/
  125. [    1.565273]     TERM=linux
  126. [    1.789381] systemd[1]: System time before build time, advancing clock.
  127. [    1.854159] NET: Registered protocol family 10
  128. [    1.855804] Segment Routing with IPv6

  129. [    3.672080] xdma:xdma_mod_init: Xilinx XDMA Reference Driver xdma v2020.1.8
  130. [    3.672102] xdma:xdma_mod_init: desc_blen_max: 0xfffffff/268435455, timeout: h2c 10 c2h 10 sec.
  131. [    3.672469] xdma 0000:01:00.0: assign IRQ: got 43
  132. [    3.672502] xdma:xdma_device_open: xdma device 0000:01:00.0, 0x(____ptrval____).
  133. [    3.672514] xdma:alloc_dev_instance: xdev = 0x(____ptrval____)
  134. [    3.672530] xdma:xdev_list_add: dev 0000:01:00.0, xdev 0x(____ptrval____), xdma idx 0.
  135. [    3.672597] xdma 0000:01:00.0: enabling bus mastering
  136. [    3.672610] xdma:request_regions: pci_request_regions()
  137. [    3.672638] xdma:map_single_bar: BAR0: 65536 bytes to be mapped.
  138. [    3.672675] xdma:map_single_bar: BAR0 at 0x600000000 mapped at 0x(____ptrval____), length=65536(/65536)
  139. [    3.672687] xdma:is_config_bar: BAR 0 is the XDMA config BAR
  140. [    3.672697] xdma:map_bars: config bar 0, pos 0.
  141. [    3.672708] xdma:identify_bars: xdev 0x(____ptrval____), bars 1, config at 0.
  142. [    3.672719] xdma:identify_bars: 1 BARs: config 0, user -1, bypass -1.
  143. [    3.672729] xdma:set_dma_mask: sizeof(dma_addr_t) == 8
  144. [    3.672738] xdma:set_dma_mask: pci_set_dma_mask()
  145. [    3.672746] xdma:set_dma_mask: Using a 64-bit DMA mask.

  146. [    3.672771] xdma:__write_register: channel_interrupts_disable: w reg 0x2000(0x(____ptrval____)), 0xffffffff.
  147. [    3.672783] xdma:__write_register: user_interrupts_disable: w reg 0x2000(0x(____ptrval____)), 0xffffffff.

  148. [    3.672797] xdma:read_interrupts: ioread32(0x(____ptrval____)) returned 0x00000000 (user_int_request).
  149. [    3.672809] xdma:read_interrupts: ioread32(0x(____ptrval____)) returned 0x00000000 (channel_int_request)

  150. [    3.672825] xdma:probe_for_engine: found AXI H2C 0 engine, reg. off 0x0, id 0x1fc0,0x0.
  151. [    3.672835] xdma:engine_init: channel 0, offset 0x0, dir 1.
  152. [    3.672849] xdma:engine_init: engine (____ptrval____) name 0-H2C0-MM irq_bitmask=0x00000001
  153. [    3.681482] videodev: Linux video capture interface: v2.00
  154. [    3.695091] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
  155. [    3.701331] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
  156. [    3.701508] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
  157. [    3.701529] [vc_sm_connected_init]: start
  158. [    3.703943] bcm2835_audio bcm2835_audio: there is not valid maps for state default
  159. [    3.704191] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
  160. [    3.704951] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
  161. [    3.717751] [vc_sm_connected_init]: installed successfully
  162. [    3.718193] xdma:__write_register: engine_init_regs: w reg 0x3f97836bac(0x(____ptrval____)), 0x2000000.
  163. [    3.718211] xdma:engine_alignments: engine (____ptrval____) name 0-H2C0-MM alignments=0x00010140
  164. [    3.718220] xdma:engine_alignments: align_bytes = 1
  165. [    3.718229] xdma:engine_alignments: granularity_bytes = 1
  166. [    3.718240] xdma:engine_alignments: address_bits = 64
  167. [    3.718252] xdma:__write_register: engine_init_regs: w reg 0x3f97836c30(0x(____ptrval____)), 0xf83e1e.
  168. [    3.718271] xdma:probe_for_engine: H2C 1 engine, reg off 0x100, id mismatch 0x0,0x0,exp 0x1fc0,0x1, SKIP.
  169. [    3.718285] xdma:probe_for_engine: found AXI C2H 0 engine, reg. off 0x1000, id 0x1fc1,0x0.
  170. [    3.718295] xdma:engine_init: channel 0, offset 0x1000, dir 2.
  171. [    3.718309] xdma:engine_init: engine (____ptrval____) name 0-C2H0-MM irq_bitmask=0x00000002
  172. [    3.718497] xdma:__write_register: engine_init_regs: w reg 0x3f9783764c(0x(____ptrval____)), 0x2000000.
  173. [    3.718510] xdma:engine_alignments: engine (____ptrval____) name 0-C2H0-MM alignments=0x00010140
  174. [    3.718520] xdma:engine_alignments: align_bytes = 1
  175. [    3.718529] xdma:engine_alignments: granularity_bytes = 1
  176. [    3.718537] xdma:engine_alignments: address_bits = 64
  177. [    3.718548] xdma:__write_register: engine_init_regs: w reg 0x3f978376d0(0x(____ptrval____)), 0xf83e1e.
  178. [    3.718563] xdma:probe_for_engine: C2H 1 engine, reg off 0x1100, id mismatch 0x0,0x0,exp 0x1fc1,0x1, SKIP.
  179. [    3.718611] xdma:enable_msi_msix: pci_enable_msi()
  180. [    3.718885] xdma:pci_keep_intx_enabled: 0000:01:00.0: clear INTX_DISABLE, 0x406 -> 0x6.
  181. [    3.718981] xdma:irq_msi_setup: Using IRQ#44 with 0x(____ptrval____)

  182. [    3.718993] xdma:__write_register: channel_interrupts_enable: w reg 0x2000(0x(____ptrval____)), 0xffffffff.
  183. [    3.719006] xdma:read_interrupts: ioread32(0x(____ptrval____)) returned 0x00000000 (user_int_request).
  184. [    3.719017] xdma:read_interrupts: ioread32(0x(____ptrval____)) returned 0x00000000 (channel_int_request)
  185. [    3.719033] xdma:__write_register: user_interrupts_enable: w reg 0x2000(0x(____ptrval____)), 0x1ffff.
  186. [    3.719045] xdma:read_interrupts: ioread32(0x(____ptrval____)) returned 0x00000000 (user_int_request).
  187. [    3.719055] xdma:read_interrupts: ioread32(0x(____ptrval____)) returned 0x00000000 (channel_int_request)
  188. [    3.719068] xdma:probe_one: 0000:01:00.0 xdma0, pdev 0x(____ptrval____), xdev 0x(____ptrval____), 0x(____ptrval____), usr 16, ch 1,1.
  189. [    3.719094] xdma:create_xcdev: xcdev 0x(____ptrval____), 236:1, (null), type 0x1.
  190. [    3.732552] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
  191. [    3.732558] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
  192. [    3.733410] bcm2835_audio bcm2835_audio: card created with 8 channels
  193. [    3.735514] xdma:create_xcdev: xcdev 0x(____ptrval____), 236:10, (null), type 0x3.
  194. [    3.741195] xdma:create_xcdev: xcdev 0x(____ptrval____), 236:11, (null), type 0x3.
  195. [    3.745655] xdma:create_xcdev: xcdev 0x(____ptrval____), 236:12, (null), type 0x3.
  196. [    3.749655] xdma:create_xcdev: xcdev 0x(____ptrval____), 236:13, (null), type 0x3.
  197. [    3.753590] xdma:create_xcdev: xcdev 0x(____ptrval____), 236:14, (null), type 0x3.
  198. [    3.757619] xdma:create_xcdev: xcdev 0x(____ptrval____), 236:15, (null), type 0x3.
  199. [    3.761703] xdma:create_xcdev: xcdev 0x(____ptrval____), 236:16, (null), type 0x3.

  200. [    3.763856] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
  201. [    3.764805] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
  202. [    3.765642] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.

  203. [    3.766576] xdma:create_xcdev: xcdev 0x(____ptrval____), 236:17, (null), type 0x3.
  204. [    3.769525] xdma:create_xcdev: xcdev 0x(____ptrval____), 236:18, (null), type 0x3.
  205. [    3.773535] xdma:create_xcdev: xcdev 0x(____ptrval____), 236:19, (null), type 0x3.
  206. [    3.777526] xdma:create_xcdev: xcdev 0x(____ptrval____), 236:20, (null), type 0x3.
  207. [    3.781635] xdma:create_xcdev: xcdev 0x(____ptrval____), 236:21, (null), type 0x3.
  208. [    3.785655] xdma:create_xcdev: xcdev 0x(____ptrval____), 236:22, (null), type 0x3.
  209. [    3.788044] xdma:create_xcdev: xcdev 0x(____ptrval____), 236:23, (null), type 0x3.
  210. [    3.790014] xdma:create_xcdev: xcdev 0x(____ptrval____), 236:24, (null), type 0x3.
  211. [    3.790675] xdma:create_xcdev: xcdev 0x(____ptrval____), 236:25, (null), type 0x3.
  212. [    3.791861] xdma:create_xcdev: xcdev 0x(____ptrval____), 236:32, (null), type 0x4.
  213. [    3.793779] xdma:create_xcdev: xcdev 0x(____ptrval____), 236:36, (null), type 0x5.
  214. [    3.799819] bcm2835-isp bcm2835-isp: bcm2835_isp_get_supported_fmts: port has more encoding than we provided space for. Some are dropped.
  215. [    3.800262] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13
  216. [    3.800884] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14
  217. [    3.801278] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
  218. [    3.801327] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
  219. [    3.803295] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15
  220. [    3.803772] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16
  221. [    3.803798] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
  222. [    3.803850] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
  223. [    3.803867] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
  224. [    3.803882] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
  225. [    3.804275] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp
  226. [    3.822427] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
  227. [    3.822473] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
  228. [    3.844269] : bcm2835_codec_get_supported_fmts: port has more encoding than we provided space for. Some are dropped.
  229. [    3.845833] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
  230. [    3.845902] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
  231. [    3.993215] dwc2 fe980000.usb: supply vusb_d not found, using dummy regulator
  232. [    3.993523] dwc2 fe980000.usb: supply vusb_a not found, using dummy regulator
  233. [    4.048700] dwc2 fe980000.usb: DWC OTG Controller
  234. [    4.048745] dwc2 fe980000.usb: new USB bus registered, assigned bus number 1
  235. [    4.048812] dwc2 fe980000.usb: irq 16, io mem 0xfe980000
  236. [    4.049293] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.09
  237. [    4.049308] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
  238. [    4.049321] usb usb1: Product: DWC OTG Controller
  239. [    4.049333] usb usb1: Manufacturer: Linux 5.9.14-v8+ dwc2_hsotg
  240. [    4.049344] usb usb1: SerialNumber: fe980000.usb
  241. [    4.050222] hub 1-0:1.0: USB hub found
  242. [    4.050295] hub 1-0:1.0: 1 port detected
  243. [    4.157214] [drm] Initialized v3d 1.0.0 20180419 for fec00000.v3d on minor 0
  244. [    4.316430] cfg80211: Loading compiled-in X.509 certificates for regulatory database
  245. [    4.355722] vc4-drm gpu: bound fe600000.firmwarekms (ops vc4_fkms_ops [vc4])
  246. [    4.355749] checking generic (3e4e0000 6e7000) vs hw (0 ffffffffffffffff)
  247. [    4.355760] fb0: switching to vc4drmfb from simple
  248. [    4.358868] Console: switching to colour dummy device 80x25
  249. [    4.369908] [drm] Initialized vc4 0.0.0 20140616 for gpu on minor 1
  250. [    4.397460] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
  251. [    4.422522] Console: switching to colour frame buffer device 240x67
  252. [    4.422573] vc4-drm gpu: [drm] fb0: vc4drmfb frame buffer device
  253. [    4.432247] brcmfmac: F1 signature read @0x18000000=0x15264345
  254. [    4.445080] usb 1-1: new high-speed USB device number 2 using dwc2
  255. [    4.450780] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
  256. [    4.451904] usbcore: registered new interface driver brcmfmac
  257. [    4.464850] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,4-compute-module.txt failed with error -2
  258. [    4.653482] usb 1-1: New USB device found, idVendor=0424, idProduct=2514, bcdDevice= b.b3
  259. [    4.653502] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
  260. [    4.654240] hub 1-1:1.0: USB hub found
  261. [    4.654365] hub 1-1:1.0: 4 ports detected
  262. [    4.692072] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
  263. [    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
  264. [    4.941067] usb 1-1.1: new high-speed USB device number 3 using dwc2
  265. [    5.046254] usb 1-1.1: New USB device found, idVendor=1a40, idProduct=0101, bcdDevice= 1.11
  266. [    5.046275] usb 1-1.1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
  267. [    5.046288] usb 1-1.1: Product: USB 2.0 Hub
  268. [    5.047235] hub 1-1.1:1.0: USB hub found
  269. [    5.047449] hub 1-1.1:1.0: 4 ports detected
  270. [    5.650692] bcmgenet fd580000.ethernet: configuring instance for external RGMII (RX delay)
  271. [    5.651114] bcmgenet fd580000.ethernet eth0: Link is Down
  272. [    5.895536] random: crng init done
  273. [    5.895553] random: 7 urandom warning(s) missed due to ratelimiting
  274. [    6.008898] uart-pl011 fe201000.serial: no DMA platform data
  275. [    6.266436] Adding 102396k swap on /var/swap.  Priority:-2 extents:1 across:102396k SSFS
  276. [    9.725293] bcmgenet fd580000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
  277. [    9.725349] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
  278. [   12.688250] Bluetooth: Core ver 2.22
  279. [   12.688346] NET: Registered protocol family 31
  280. [   12.688356] Bluetooth: HCI device and connection manager initialized
  281. [   12.688384] Bluetooth: HCI socket layer initialized
  282. [   12.688402] Bluetooth: L2CAP socket layer initialized
  283. [   12.688432] Bluetooth: SCO socket layer initialized
  284. [   12.696672] Bluetooth: HCI UART driver ver 2.3
  285. [   12.696691] Bluetooth: HCI UART protocol H4 registered
  286. [   12.696767] Bluetooth: HCI UART protocol Three-wire (H5) registered
  287. [   12.697148] Bluetooth: HCI UART protocol Broadcom registered
  288. [   12.833432] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
  289. [   12.833440] Bluetooth: BNEP filters: protocol multicast
  290. [   12.833453] Bluetooth: BNEP socket layer initialized
  291. [   13.094185] cryptd: max_cpu_qlen set to 1000
  292. [   17.471134] broken atomic modeset userspace detected, disabling atomic
  293. [   18.930699] fuse: init (API version 7.31)
  294. [   19.471941] Bluetooth: RFCOMM TTY layer initialized
  295. [   19.471961] Bluetooth: RFCOMM socket layer initialized
  296. [   19.471985] Bluetooth: RFCOMM ver 1.11

  297. [   46.400915] xdma:char_sgdma_llseek: char_sgdma_llseek: pos=0

  298. [   46.401306] xdma:char_sgdma_read_write: file 0x000000006d736213, priv 0x00000000d3008134, buf 0x000000001634ff6d,512, pos 0, W 1, 0-H2C0-MM.
  299. [   46.401343] xdma:xdma_init_request: ep 0x0, desc 1+0.
  300. [   46.401360] xdma:xdma_request_cb_dump: request 0x00000000fbf8241c, total 512, ep 0x0, sw_desc 1, sgt 0x000000001b1e1795.
  301. [   46.401372] xdma:sgt_dump: sgt 0x000000001b1e1795, sgl 0x000000007716ec8a, nents 1/1.
  302. [   46.401385] xdma:sgt_dump: 0, 0x000000007716ec8a, pg 0x0000000049319613,3312+512, dma 0x75fa2cf0,512.
  303. [   46.401396] xdma:xdma_request_cb_dump: 0/1, 0x75fa2cf0, 512.
  304. [   46.401406] xdma:xdma_xfer_submit: 0-H2C0-MM, len 512 sg cnt 1.
  305. [   46.401419] xdma:transfer_init: xfer= 00000000cb71e112 transfer->desc_bus = 0x1f050000.
  306. [   46.401426] xdma:transfer_build: sw desc 0/1: 0x75fa2cf0, 0x200, ep 0x0.
  307. [   46.401434] xdma:xdma_get_next_adj: xdma_get_next_adj: remaining_desc 0, next_lo 0x0
  308. [   46.401440] xdma:transfer_init: set next adj at index 0 to 0
  309. [   46.401497] xdma:xdma_xfer_submit: xfer, 512, ep 0x200, done 0, sg 1/1.

  310. [   46.401509] xdma:transfer_dump: xfer 0x00000000cb71e112, state 0x0, f 0x1, dir 1, len 512, last 1.

  311. [   46.401520] xdma:transfer_dump: transfer 0x00000000cb71e112, desc 1, bus 0x1f050000, adj 1.
  312. [   46.401533] xdma:dump_desc: 0xffffffc011cc5000/0x00: 0xad4b0013 0xad4b0013 magic|extra_adjacent|control
  313. [   46.401546] xdma:dump_desc: 0xffffffc011cc5004/0x04: 0x00000200 0x00000200 bytes
  314. [   46.401557] xdma:dump_desc: 0xffffffc011cc5008/0x08: 0x75fa2cf0 0x75fa2cf0 src_addr_lo
  315. [   46.401568] xdma:dump_desc: 0xffffffc011cc500c/0x0c: 0x00000000 0x00000000 src_addr_hi
  316. [   46.401578] xdma:dump_desc: 0xffffffc011cc5010/0x00: 0x00000000 0x00000000 dst_addr_lo
  317. [   46.401616] xdma:dump_desc: 0xffffffc011cc5014/0x04: 0x00000000 0x00000000 dst_addr_hi
  318. [   46.401626] xdma:dump_desc: 0xffffffc011cc5018/0x08: 0x00000000 0x00000000 next_addr
  319. [   46.401637] xdma:dump_desc: 0xffffffc011cc501c/0x0c: 0x00000000 0x00000000 next_addr_pad
  320. [   46.401645] xdma:dump_desc:

  321. [   46.401656] xdma:transfer_queue: transfer_queue (transfer=0x00000000cb71e112).
  322. [   46.401667] xdma:transfer_queue: transfer_queue(): starting 0-H2C0-MM engine.
  323. [   46.401674] xdma:engine_start: engine_start(0-H2C0-MM): transfer=0x00000000cb71e112.
  324. [   46.401680] xdma:engine_start: iowrite32(0x1f050000 to 0x0000000073e0cf3b) (first_desc_lo)
  325. [   46.401687] xdma:__write_register: engine_start: w reg 0x3f9783ac18(0x0000000073e0cf3b), 0x1f050000.
  326. [   46.401693] xdma:engine_start: iowrite32(0x00000000 to 0x00000000ac157693) (first_desc_hi)
  327. [   46.401699] xdma:__write_register: engine_start: w reg 0x3f9783ac1c(0x00000000ac157693), 0x0.
  328. [   46.401705] xdma:xdma_get_next_adj: xdma_get_next_adj: remaining_desc 1, next_lo 0x1f050000
  329. [   46.401711] xdma:engine_start: iowrite32(0x00000000 to 0x0000000033dd4895) (first_desc_adjacent)
  330. [   46.401717] xdma:__write_register: engine_start: w reg 0x3f9783ac20(0x0000000033dd4895), 0x0.
  331. [   46.401722] xdma:engine_start: ioread32(0x000000005bf6b59d) (dummy read flushes writes).
  332. [   46.401728] xdma:engine_start_mode_config: iowrite32(0x00f83e1f to 0x00000000289c4ea0) (control)
  333. [   46.401734] xdma:__write_register: engine_start_mode_config: w reg 0x3f97836ba4(0x00000000289c4ea0), 0xf83e1f.
  334. [   46.401741] xdma:engine_start_mode_config: ioread32(0x000000005bf6b59d) = 0x00000001 (dummy read flushes writes).
  335. [   46.401748] xdma:engine_start: 0-H2C0-MM engine 0x00000000a5533440 now running
  336. [   46.401754] xdma:transfer_queue: transfer=0x00000000cb71e112 started 0-H2C0-MM engine with transfer 0x00000000cb71e112.
  337. [   46.401759] xdma:transfer_queue: engine->running = 1
  338. [   46.401773] xdma:xdma_isr: (irq=44, dev 0x00000000934ae97b) <<<< ISR.
  339. [   46.401780] xdma:xdma_isr: ch_irq = 0x00000001
  340. [   46.401786] xdma:__write_register: channel_interrupts_disable: w reg 0x2000(0x00000000aea1cb0e), 0x1.
  341. [   46.401792] xdma:xdma_isr: user_irq = 0x00000000
  342. [   46.401797] xdma:xdma_isr: schedule_work, 0-H2C0-MM.
  343. [   46.401832] xdma:engine_service_work: engine_service() for 0-H2C0-MM engine 00000000a5533440
  344. [   46.401839] xdma:engine_service_shutdown: engine just went idle, resetting RUN_STOP.
  345. [   46.401844] xdma:xdma_engine_stop: xdma_engine_stop(engine=00000000a5533440)
  346. [   46.401851] xdma:xdma_engine_stop: Stopping SG DMA 0-H2C0-MM engine; writing 0x00f83e1e to 0x00000000289c4ea0.
  347. [   46.401857] xdma:__write_register: xdma_engine_stop: w reg 0x3f97836ba4(0x00000000289c4ea0), 0xf83e1e.
  348. [   46.401862] xdma:xdma_engine_stop: xdma_engine_stop(0-H2C0-MM) done
  349. [   46.401870] xdma:engine_service: 0-H2C0-MM wb 0x0, desc_count 0, err 0, dequeued 0.
  350. [   46.401876] xdma:__write_register: channel_interrupts_enable: w reg 0x2000(0x00000000a59cd71c), 0x1.
  351. [   56.541054] xdma:xdma_xfer_submit: xfer 0x00000000cb71e112,512, s 0x1 timed out, ep 0x200.
  352. [   56.541069] xdma:engine_reg_dump: 0-H2C0-MM: ioread32(0x0000000066b34433) = 0x1fc00006 (id).
  353. [   56.541077] xdma:engine_reg_dump: 0-H2C0-MM: ioread32(0x000000005bf6b59d) = 0x00000000 (status).
  354. [   56.541085] xdma:engine_reg_dump: 0-H2C0-MM: ioread32(0x00000000289c4ea0) = 0x00f83e1e (control)
  355. [   56.541092] xdma:engine_reg_dump: 0-H2C0-MM: ioread32(0x0000000073e0cf3b) = 0x1f050000 (first_desc_lo)
  356. [   56.541100] xdma:engine_reg_dump: 0-H2C0-MM: ioread32(0x00000000ac157693) = 0x00000000 (first_desc_hi)
  357. [   56.541107] xdma:engine_reg_dump: 0-H2C0-MM: ioread32(0x0000000033dd4895) = 0x00000000 (first_desc_adjacent).
  358. [   56.541114] xdma:engine_reg_dump: 0-H2C0-MM: ioread32(0x00000000e817496d) = 0x00000000 (completed_desc_count).
  359. [   56.541121] xdma:engine_reg_dump: 0-H2C0-MM: ioread32(0x00000000a43d83f6) = 0x00f83e1e (interrupt_enable_mask)
  360. [   56.541131] xdma:engine_status_dump: SG engine 0-H2C0-MM status: 0x00000000:
  361. [   56.541140] xdma:transfer_abort: abort transfer 0x00000000cb71e112, desc 1, engine desc queued 0.
  362. [   56.541146] xdma:xdma_engine_stop: xdma_engine_stop(engine=00000000a5533440)
  363. [   56.541153] xdma:xdma_engine_stop: Stopping SG DMA 0-H2C0-MM engine; writing 0x00f83e1e to 0x00000000289c4ea0.
  364. [   56.541159] xdma:__write_register: xdma_engine_stop: w reg 0x3f97836ba4(0x00000000289c4ea0), 0xf83e1e.
  365. [   56.541164] xdma:xdma_engine_stop: xdma_engine_stop(0-H2C0-MM) done
  366. [   56.541174] xdma:transfer_dump: xfer 0x00000000cb71e112, state 0x4, f 0x1, dir 1, len 512, last 1.
  367. [   56.541186] xdma:transfer_dump: transfer 0x00000000cb71e112, desc 1, bus 0x1f050000, adj 1.
  368. [   56.541200] xdma:dump_desc: 0xffffffc011cc5000/0x00: 0xad4b0013 0xad4b0013 magic|extra_adjacent|control
  369. [   56.541211] xdma:dump_desc: 0xffffffc011cc5004/0x04: 0x00000200 0x00000200 bytes
  370. [   56.541223] xdma:dump_desc: 0xffffffc011cc5008/0x08: 0x75fa2cf0 0x75fa2cf0 src_addr_lo
  371. [   56.541234] xdma:dump_desc: 0xffffffc011cc500c/0x0c: 0x00000000 0x00000000 src_addr_hi
  372. [   56.541245] xdma:dump_desc: 0xffffffc011cc5010/0x00: 0x00000000 0x00000000 dst_addr_lo
  373. [   56.541255] xdma:dump_desc: 0xffffffc011cc5014/0x04: 0x00000000 0x00000000 dst_addr_hi
  374. [   56.541265] xdma:dump_desc: 0xffffffc011cc5018/0x08: 0x00000000 0x00000000 next_addr
  375. [   56.541275] xdma:dump_desc: 0xffffffc011cc501c/0x0c: 0x00000000 0x00000000 next_addr_pad
  376. [   56.541283] xdma:dump_desc:
  377. [   56.541294] xdma:sgt_dump: sgt 0x000000001b1e1795, sgl 0x000000007716ec8a, nents 1/1.
  378. [   56.541307] xdma:sgt_dump: 0, 0x000000007716ec8a, pg 0x0000000049319613,3312+512, dma 0x75fa2cf0,512.
  379. [   56.541475] xdma:char_sgdma_llseek: char_sgdma_llseek: pos=0
  380. [   56.541509] xdma:char_sgdma_read_write: file 0x00000000b587c28e, priv 0x00000000d80cb9dc, buf 0x000000000b4aa1ea,512, pos 0, W 0, 0-C2H0-MM.
  381. [   56.541538] xdma:xdma_init_request: ep 0x0, desc 1+0.
  382. [   56.541552] xdma:xdma_request_cb_dump: request 0x000000001f99fb22, total 512, ep 0x0, sw_desc 1, sgt 0x000000001b1e1795.
  383. [   56.541562] xdma:sgt_dump: sgt 0x000000001b1e1795, sgl 0x00000000a3693076, nents 1/1.
  384. [   56.541574] xdma:sgt_dump: 0, 0x00000000a3693076, pg 0x00000000c0c6dc5a,1024+512, dma 0x6f5af400,512.
  385. [   56.541584] xdma:xdma_request_cb_dump: 0/1, 0x6f5af400, 512.
  386. [   56.541594] xdma:xdma_xfer_submit: 0-C2H0-MM, len 512 sg cnt 1.
  387. [   56.541606] xdma:transfer_init: xfer= 000000005a6db70e transfer->desc_bus = 0x1f060000.
  388. [   56.541613] xdma:transfer_build: sw desc 0/1: 0x6f5af400, 0x200, ep 0x0.
  389. [   56.541620] xdma:xdma_get_next_adj: xdma_get_next_adj: remaining_desc 0, next_lo 0x0
  390. [   56.541625] xdma:transfer_init: set next adj at index 0 to 0
  391. [   56.541636] xdma:xdma_xfer_submit: xfer, 512, ep 0x200, done 0, sg 1/1.
  392. [   56.541649] xdma:transfer_dump: xfer 0x000000005a6db70e, state 0x0, f 0x1, dir 2, len 512, last 1.
  393. [   56.541659] xdma:transfer_dump: transfer 0x000000005a6db70e, desc 1, bus 0x1f060000, adj 1.
  394. [   56.541671] xdma:dump_desc: 0xffffffc011cd6000/0x00: 0xad4b0013 0xad4b0013 magic|extra_adjacent|control
  395. [   56.541682] xdma:dump_desc: 0xffffffc011cd6004/0x04: 0x00000200 0x00000200 bytes
  396. [   56.541693] xdma:dump_desc: 0xffffffc011cd6008/0x08: 0x00000000 0x00000000 src_addr_lo
  397. [   56.541703] xdma:dump_desc: 0xffffffc011cd600c/0x0c: 0x00000000 0x00000000 src_addr_hi
  398. [   56.541713] xdma:dump_desc: 0xffffffc011cd6010/0x00: 0x6f5af400 0x6f5af400 dst_addr_lo
  399. [   56.541723] xdma:dump_desc: 0xffffffc011cd6014/0x04: 0x00000000 0x00000000 dst_addr_hi
  400. [   56.541733] xdma:dump_desc: 0xffffffc011cd6018/0x08: 0x00000000 0x00000000 next_addr
  401. [   56.541743] xdma:dump_desc: 0xffffffc011cd601c/0x0c: 0x00000000 0x00000000 next_addr_pad
  402. [   56.541751] xdma:dump_desc:
  403. [   56.541761] xdma:transfer_queue: transfer_queue (transfer=0x000000005a6db70e).
  404. [   56.541773] xdma:transfer_queue: transfer_queue(): starting 0-C2H0-MM engine.
  405. [   56.541783] xdma:engine_start: engine_start(0-C2H0-MM): transfer=0x000000005a6db70e.
  406. [   56.541789] xdma:engine_start: iowrite32(0x1f060000 to 0x000000005600e8af) (first_desc_lo)
  407. [   56.541796] xdma:__write_register: engine_start: w reg 0x3f9783b6b8(0x000000005600e8af), 0x1f060000.
  408. [   56.541801] xdma:engine_start: iowrite32(0x00000000 to 0x00000000d8bd2e07) (first_desc_hi)
  409. [   56.541807] xdma:__write_register: engine_start: w reg 0x3f9783b6bc(0x00000000d8bd2e07), 0x0.
  410. [   56.541814] xdma:xdma_get_next_adj: xdma_get_next_adj: remaining_desc 1, next_lo 0x1f060000
  411. [   56.541819] xdma:engine_start: iowrite32(0x00000000 to 0x000000003b79f2a2) (first_desc_adjacent)
  412. [   56.541825] xdma:__write_register: engine_start: w reg 0x3f9783b6c0(0x000000003b79f2a2), 0x0.
  413. [   56.541830] xdma:engine_start: ioread32(0x00000000900bb225) (dummy read flushes writes).
  414. [   56.541837] xdma:engine_start_mode_config: iowrite32(0x00f83e1f to 0x000000007e577950) (control)
  415. [   56.541844] xdma:__write_register: engine_start_mode_config: w reg 0x3f97837644(0x000000007e577950), 0xf83e1f.
  416. [   56.541852] xdma:engine_start_mode_config: ioread32(0x00000000900bb225) = 0x00000001 (dummy read flushes writes).
  417. [   56.541859] xdma:engine_start: 0-C2H0-MM engine 0x00000000eda2cd6e now running
  418. [   56.541865] xdma:transfer_queue: transfer=0x000000005a6db70e started 0-C2H0-MM engine with transfer 0x000000005a6db70e.
  419. [   56.541870] xdma:transfer_queue: engine->running = 1
  420. [   56.541888] xdma:xdma_isr: (irq=44, dev 0x00000000934ae97b) <<<< ISR.
  421. [   56.541895] xdma:xdma_isr: ch_irq = 0x00000001
  422. [   56.541901] xdma:__write_register: channel_interrupts_disable: w reg 0x2000(0x00000000aea1cb0e), 0x1.
  423. [   56.541907] xdma:xdma_isr: user_irq = 0x00000000
  424. [   56.541913] xdma:xdma_isr: schedule_work, 0-H2C0-MM.
  425. [   56.541990] xdma:engine_service_work: engine_service() for 0-H2C0-MM engine 00000000a5533440
  426. [   56.541995] xdma:engine_service: Engine was not running!!! Clearing status
  427. [   56.542004] xdma:__write_register: channel_interrupts_enable: w reg 0x2000(0x00000000a59cd71c), 0x1.
  428. [   66.781048] xdma:xdma_xfer_submit: xfer 0x000000005a6db70e,512, s 0x1 timed out, ep 0x200.
  429. [   66.781065] xdma:engine_reg_dump: 0-C2H0-MM: ioread32(0x0000000013536901) = 0x1fc10006 (id).
  430. [   66.781074] xdma:engine_reg_dump: 0-C2H0-MM: ioread32(0x00000000900bb225) = 0x00000001 (status).
  431. [   66.781082] xdma:engine_reg_dump: 0-C2H0-MM: ioread32(0x000000007e577950) = 0x00f83e1f (control)
  432. [   66.781090] xdma:engine_reg_dump: 0-C2H0-MM: ioread32(0x000000005600e8af) = 0x1f060000 (first_desc_lo)
  433. [   66.781097] xdma:engine_reg_dump: 0-C2H0-MM: ioread32(0x00000000d8bd2e07) = 0x00000000 (first_desc_hi)
  434. [   66.781104] xdma:engine_reg_dump: 0-C2H0-MM: ioread32(0x000000003b79f2a2) = 0x00000000 (first_desc_adjacent).
  435. [   66.781112] xdma:engine_reg_dump: 0-C2H0-MM: ioread32(0x000000009a1a3ecb) = 0x00000000 (completed_desc_count).
  436. [   66.781119] xdma:engine_reg_dump: 0-C2H0-MM: ioread32(0x000000004fa62833) = 0x00f83e1e (interrupt_enable_mask)
  437. [   66.781130] xdma:engine_status_dump: SG engine 0-C2H0-MM status: 0x00000001: BUSY
  438. [   66.781139] xdma:transfer_abort: abort transfer 0x000000005a6db70e, desc 1, engine desc queued 0.
  439. [   66.781145] xdma:xdma_engine_stop: xdma_engine_stop(engine=00000000eda2cd6e)
  440. [   66.781151] xdma:xdma_engine_stop: Stopping SG DMA 0-C2H0-MM engine; writing 0x00f83e1e to 0x000000007e577950.
  441. [   66.781158] xdma:__write_register: xdma_engine_stop: w reg 0x3f97837644(0x000000007e577950), 0xf83e1e.
  442. [   66.781163] xdma:xdma_engine_stop: xdma_engine_stop(0-C2H0-MM) done
  443. [   66.781173] xdma:transfer_dump: xfer 0x000000005a6db70e, state 0x4, f 0x1, dir 2, len 512, last 1.
  444. [   66.781184] xdma:transfer_dump: transfer 0x000000005a6db70e, desc 1, bus 0x1f060000, adj 1.
  445. [   66.781197] xdma:dump_desc: 0xffffffc011cd6000/0x00: 0xad4b0013 0xad4b0013 magic|extra_adjacent|control
  446. [   66.781209] xdma:dump_desc: 0xffffffc011cd6004/0x04: 0x00000200 0x00000200 bytes
  447. [   66.781220] xdma:dump_desc: 0xffffffc011cd6008/0x08: 0x00000000 0x00000000 src_addr_lo
  448. [   66.781230] xdma:dump_desc: 0xffffffc011cd600c/0x0c: 0x00000000 0x00000000 src_addr_hi
  449. [   66.781241] xdma:dump_desc: 0xffffffc011cd6010/0x00: 0x6f5af400 0x6f5af400 dst_addr_lo
  450. [   66.781251] xdma:dump_desc: 0xffffffc011cd6014/0x04: 0x00000000 0x00000000 dst_addr_hi
  451. [   66.781261] xdma:dump_desc: 0xffffffc011cd6018/0x08: 0x00000000 0x00000000 next_addr
  452. [   66.781271] xdma:dump_desc: 0xffffffc011cd601c/0x0c: 0x00000000 0x00000000 next_addr_pad
  453. [   66.781279] xdma:dump_desc:
  454. [   66.781290] xdma:sgt_dump: sgt 0x000000001b1e1795, sgl 0x00000000a3693076, nents 1/1.
  455. [   66.781303] xdma:sgt_dump: 0, 0x00000000a3693076, pg 0x00000000c0c6dc5a,1024+512, dma 0x6f5af400,512.


复制代码

QQ截图20210412110926.png (175.07 KB, 下载次数: 38)

xdma.png

xdma.png
正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

530

主题

11万

帖子

34

精华

管理员

Rank: 12Rank: 12Rank: 12

积分
165309
金钱
165309
注册时间
2010-12-1
在线时间
2108 小时
2#
发表于 2021-4-14 01:57:17 | 只看该作者
回复

使用道具 举报

13

主题

77

帖子

0

精华

中级会员

Rank: 3Rank: 3

积分
369
金钱
369
注册时间
2019-8-7
在线时间
90 小时
3#
发表于 2022-1-25 18:26:04 来自手机 | 只看该作者
楼主解决了吗?我是运行在海思芯片上,逻辑板子对接,pcie寄存器没问题,但是dma的读写有问题
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则



关闭

原子哥极力推荐上一条 /2 下一条

正点原子公众号

QQ|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )

GMT+8, 2024-11-23 16:54

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

快速回复 返回顶部 返回列表