Is there any error in dmesg when you get “can’t send spi message: Input/Output error” with spidev_test tool?
It seems the spi error only happening in this log. Is it the log with display connected?
yes, connect the dp display
[ 563.036248] WARNING: CPU: 7 PID: 22256 at drivers/spi/spi-tegra114.c:1116 tegra_spi_transfer_one_message+0x478/0x510 [spi_tegra114]
[ 563.036277] Modules linked in: nvidia_drm(O) nvidia_modeset(O) nvidia_uvm(O) vcan cfg80211 rfkill bridge usb_f_ncm usb_f_mass_storage nvidia(O) usb_f_acm u_serial usb_f_rndis u_ether governor_pod_scaling(O) libcomposite 8021q garp mrp stp llc cam_cdi_tsc(O) snd_soc_tegra186_arad(O) snd_soc_tegra210_mixer snd_soc_tegra186_asrc snd_soc_tegra210_ope snd_soc_tegra210_admaif snd_soc_tegra_pcm snd_soc_tegra210_mvc snd_soc_tegra210_sfc snd_soc_tegra210_adx snd_soc_tegra210_amx snd_soc_tegra210_i2s snd_soc_tegra210_ahub nvadsp(O) tegra210_adma nvvrs_pseq_rtc(O) spidev g300(O) tegra_capture_coe(O) crct10dif_ce sm3_ce nvmap(O) sm3 sha3_ce coresight_trbe sha512_ce sha512_arm64 snd_soc_tegra_audio_graph_card nvsciipc(O) coresight nv_hawk_owl(O) ivc_cdev(O) snd_soc_audio_graph_card snd_soc_simple_card_utils arm_spe_pmu tegra234_oc_event(O) nvpmodel_clk_cap(O) ina3221 ina238 thermal_trip_event(O) tegra23x_psc(O) tegra_cactmon_mc_all(O) tegra_aocluster(O) nvethernet(O) snd_hda_codec_hdmi tegra_aconnect snd_soc_rt5640 obc_max9296(O)
[ 563.036388] obc_max96712(O) nvidia_vrs_pseq(O) snd_soc_rl6231 nv_imx390(O) nv_imx185(O) snd_hda_tegra max96712(O) snd_hda_codec at24 lm90 snd_hda_core mttcan(O) host1x_fence(O) nvpps(O) nvidia_cspmu can_dev tegra264_mc_hwpm(O) mc_t26x(O) spi_tegra114 tegra_dce(O) ramoops pwm_tegra_tachometer(O) arm_cspmu_module reed_solomon tegra_se(O) tegra_se_kds(O) nvhost_pva(O) nvhost_vi5(O) crypto_engine nvhost_capture(O) nvhost_nvcsi(O) tpm_ftpm_tee camera_diagnostics(O) nvhost_isp5(O) tegra_capture_isp(O) tegra_camera(O) v4l2_dv_timings host1x_nvhost(O) tegra_drm(O) tegra_wmark(O) nvhwpm(O) drm_display_helper drm_dp_aux_bus cec drm_kms_helper host1x(O) tegra_camera_platform(O) mc_utils(O) capture_ivc(O) v4l2_fwnode v4l2_async videobuf2_dma_contig videobuf2_memops videobuf2_v4l2 videodev videobuf2_common mc camchar(O) rtcpu_debug(O) tegra_camera_rtcpu(O) ivc_bus(O) hsp_mailbox_client(O) nvme_fabrics fuse drm nfsd nfnetlink ip_tables x_tables ipv6 pwm_fan pwm_tegra tegra_bpmp_thermal tegra_xudc uas ucsi_ccg typec_ucsi typec nvme
[ 563.036530] nvme_core phy_tegra194_p2u pcie_tegra194 ufs_tegra(O) pcie_tegra264(O)
[ 563.036543] CPU: 7 PID: 22256 Comm: a.out Tainted: G W O 6.8.12-rt-tegra #3
[ 563.036549] Hardware name: NVIDIA NVIDIA Jetson AGX Thor Developer Kit/Jetson, BIOS r38.2-899cdbc9-dirty 09/28/2025
[ 563.036552] pstate: 63400009 (nZCv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--)
[ 563.036560] pc : tegra_spi_transfer_one_message+0x478/0x510 [spi_tegra114]
[ 563.036564] lr : tegra_spi_transfer_one_message+0x1c8/0x510 [spi_tegra114]
[ 563.036568] sp : ffff80008fe93b10
[ 563.036570] x29: ffff80008fe93b10 x28: ffff0000ef518080 x27: ffff000093d88580
[ 563.036576] x26: ffff000087aaa400 x25: ffff000093d88580 x24: 0000000000989680
[ 563.036581] x23: 0000000000000000 x22: ffff000093d88580 x21: ffff000093d88668
[ 563.036586] x20: ffff80008fe93ca8 x19: 0000000000000007 x18: ffff001f57dbcf00
[ 563.036591] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000
[ 563.036596] x14: 0000000000000001 x13: ffff0000933549c0 x12: 0000000000000001
[ 563.036601] x11: ffff0000933549c0 x10: 17e0528fafa6dd94 x9 : 643a0e16afab0aa0
[ 563.036606] x8 : ffff000093355af8 x7 : ffff001f57dbcf00 x6 : 00000000000003e8
[ 563.036611] x5 : 00000000410fd830 x4 : 0000000000000000 x3 : 0000000000000000
[ 563.036616] x2 : 0000000000000000 x1 : ffff000093354900 x0 : 0000000000000000
[ 563.036622] Call trace:
[ 563.036626] tegra_spi_transfer_one_message+0x478/0x510 [spi_tegra114]
[ 563.036631] __spi_pump_transfer_message+0x214/0x610
[ 563.036659] __spi_sync+0x21c/0x38c
[ 563.036667] spi_sync+0x30/0x54
[ 563.036674] spidev_message+0x300/0x448 [spidev]
[ 563.036684] spidev_ioctl+0x4c8/0x868 [spidev]
[ 563.036687] __arm64_sys_ioctl+0xac/0xf0
[ 563.036706] invoke_syscall+0x48/0x114
[ 563.036722] el0_svc_common.constprop.0+0x40/0xe0
[ 563.036731] do_el0_svc+0x1c/0x28
[ 563.036740] el0_svc+0x30/0xa8
[ 563.036757] el0t_64_sync_handler+0x120/0x12c
[ 563.036761] el0t_64_sync+0x194/0x198
[ 563.036768] ---[ end trace 0000000000000000 ]---
[ 563.036776] spi-tegra114 810c590000.spi: spi transfer timeout
[ 563.037035] spi_master spi0: failed to transfer one message from queue
[ 563.037039] spi_master spi0: noqueue transfer failed
Hi mingming,
Do you have access for Jetpack 7.1 EA release?
If so, please verify with it.
hi:
ok,i will verify with it
The JP7.1 GA will be released soon, please wait for our announcement.