Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4646

Interfacing (DSI, CSI, I2C, etc.) • CM5 and SPI network hat.

$
0
0
I'm having strong issues getting a network card (Alfa Halow Hat) to work on a CM5 dev kit.

I have made it past the Device Tree issues, and am left in an odd spot. Everything works - until I try to actually send traffic over the network interface. And by everything, I mean my station associates and negotiates crypto etc etc etc. Firmware updates work and such.

Its almost like the DMAC stuff thats happening for the IP traffic is the only broken part. I have tried disabling DMA on the interface using a DTB dtparam mod from another thread here, as well as a bunch of different SPI clock rates.

Any suggestions?

Code:

[ 275.189502] dw_axi_dmac_platform 1f00188000.dma: invalid buffer alignment
[ 275.189509] nrc80211 spi0.0: SPI transfer failed: -12
[ 275.189515] spi_master spi0: failed to transfer one message from queue
[ 275.189518] spi_master spi0: noqueue transfer failed
[ 275.189522] [_c_spi_write] writing spi failed(-12).
[ 275.189542] ------------[ cut here ]------------
[ 275.189544] WARNING: CPU: 1 PID: 11 at /mnt/sdcard/working_type4_nrc/nrc7292_sw_pkg-1.5.2/package/src/nrc/hif.c:262 nrc_hif_work+0x278/0x390 [nrc]
[ 275.189575] Modules linked in: aes_ce_ccm nrc(O) exfat rfcomm snd_seq_dummy snd_hrtimer snd_seq snd_seq_device bridge algif_hash algif_skcipher stp llc af_alg sg joydev bnep binfmt_misc spidev hci_uart brcmfmac_wcc aes_ce_blk aes_ce_cipher ghash_ce gf128mul sha2_ce sha256_arm64 btbcm bluetooth sha1_ce ecdh_generic rpivid_hevc(C) pisp_be ecc v4l2_mem2mem libaes videobuf2_dma_contig raspberrypi_hwmon videobuf2_memops videobuf2_v4l2 videodev brcmfmac spi_bcm2835 brcmutil videobuf2_common i2c_brcmstb gpio_keys mc rp1_mailbox rp1_pio rp1 spi_dw_mmio rp1_adc spi_dw raspberrypi_gpiomem nvmem_rmem i2c_dev mac80211 libarc4 cfg80211 rfkill ledtrig_pattern dm_mod fuse ip_tables x_tables ipv6 efivarfs raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor xor xor_neon async_tx raid6_pq raid1 raid0 linear md_mod vc4 snd_soc_hdmi_codec snd_soc_core snd_compress snd_pcm_dmaengine snd_pcm snd_timer snd drm_display_helper drm_dma_helper drm_kms_helper v3d drm_shmem_helper cec gpu_sched drm drm_panel_orientation_quirks
[ 275.189695] backlight dwc2 uio_pdrv_genirq uio [last unloaded: nrc(O)]
[ 275.189705] CPU: 1 PID: 11 Comm: kworker/u8:0 Tainted: G WC O 6.6.74+rpt-rpi-2712 #1 Debian 1:6.6.74-1+rpt1
[ 275.189710] Hardware name: Raspberry Pi Compute Module 5 Rev 1.0 (DT)
[ 275.189712] Workqueue: nrc_wq nrc_hif_work [nrc]
[ 275.189731] pstate: 60400009 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 275.189734] pc : nrc_hif_work+0x278/0x390 [nrc]
[ 275.189751] lr : nrc_hif_work+0x1dc/0x390 [nrc]
[ 275.189768] sp : ffffc000806c3d40
[ 275.189769] x29: ffffc000806c3d40 x28: 0000000000000000 x27: ffff800080c6ed28
[ 275.189775] x26: ffff800080c6ed58 x25: ffff8000c0be2020 x24: 0000000000000000
[ 275.189779] x23: ffff800080c6ed40 x22: 0000000000000000 x21: 00000000fffffff4
[ 275.189785] x20: ffff8000408fd400 x19: ffff800080c6ed00 x18: 00000000fffffffe
[ 275.189789] x17: 0000000000000000 x16: ffffd00084d1f150 x15: ffffc000806c3670
[ 275.189794] x14: 0000000000000001 x13: 2e2932312d286465 x12: 6c69616620697073
[ 275.189798] x11: 20676e6974697277 x10: ffffd00085738f90 x9 : ffffd00013f1e4c8
[ 275.189803] x8 : 0000000100001c3a x7 : ffffd00085726a38 x6 : 0000000000003c39
[ 275.189808] x5 : ffff80001ff4ad88 x4 : 4000000100002c39 x3 : 0000000000000000
[ 275.189812] x2 : ffff800006153380 x1 : ffff800006153380 x0 : ffff800006e16b28
[ 275.189817] Call trace:
[ 275.189821] nrc_hif_work+0x278/0x390 [nrc]
[ 275.189837] process_one_work+0x154/0x3f0
[ 275.189844] worker_thread+0x32c/0x450
[ 275.189849] kthread+0x11c/0x128
[ 275.189855] ret_from_fork+0x10/0x20
[ 275.189861] ---[ end trace 0000000000000000 ]---
[ 275.239696] nrc80211 spi0.0: [_c_spi_read_regs] try to read register but SPI ACK is invalid

[ 275.239815] nrc80211 spi0.0: [_c_spi_read_regs] try to read register but SPI ACK is invalid

[ 275.239917] nrc80211 spi0.0: [_c_spi_read_regs] try to read register but SPI ACK is invalid

[ 275.240023] nrc80211 spi0.0: [_c_spi_read_regs] try to read register but SPI ACK is invalid

Statistics: Posted by hammr_industries — Mon Feb 10, 2025 1:10 am — Replies 0 — Views 26



Viewing all articles
Browse latest Browse all 4646

Trending Articles