CM5的PCIe不能识别SSD, lspci也没有!
-
硬件连接如下图
dmesg信息 如下
$ dmesg | grep failed
[ 11.435820] OF: fdt: Reserved memory: failed to reserve memory for node 'drm-cubic-lut@00000000': base 0x0000000000000000, size 0 MiB
[ 12.300980] mpp-iep2 fdbb0000.iep: allocate roi buffer failed
[ 12.304488] mpp_iommu_probe:434: failed to get device node
[ 12.304493] mpp_av1dec av1d-master: failed to attach iommu
[ 12.486634] rockchip-drm display-subsystem: failed to get hdmi0_phy_pll: -2
[ 12.486637] rockchip-drm display-subsystem: failed to get hdmi1_phy_pll: -2
[ 12.486887] [drm] failed to init overlay plane Cluster0-win1
[ 12.486889] [drm] failed to init overlay plane Cluster1-win1
[ 12.486890] [drm] failed to init overlay plane Cluster2-win1
[ 12.486891] [drm] failed to init overlay plane Cluster3-win1
[ 12.495926] dw-dp fde50000.dp: failed to attach bridge: -517
[ 13.226056] imx219 4-0010: Reading register test 0 from 10 failed
[ 13.284768] : rkcif_update_sensor_info: stream[0] get remote sensor_sd failed!
[ 13.297028] : rkcif_update_sensor_info: stream[0] get remote sensor_sd failed!
[ 13.309281] : rkcif_update_sensor_info: stream[0] get remote sensor_sd failed!
[ 13.321537] : rkcif_update_sensor_info: stream[0] get remote sensor_sd failed!
[ 13.415717] rockchip-dmc dmc: failed to set regulators
[ 13.486896] rockchip-dmc dmc: failed to set regulators
[ 13.493297] rockchip-drm display-subsystem: failed to get hdmi0_phy_pll: -2
[ 13.493298] rockchip-drm display-subsystem: failed to get hdmi1_phy_pll: -2
[ 13.493426] [drm] failed to init overlay plane Cluster0-win1
[ 13.493427] [drm] failed to init overlay plane Cluster1-win1
[ 13.493427] [drm] failed to init overlay plane Cluster2-win1
[ 13.493428] [drm] failed to init overlay plane Cluster3-win1
[ 13.498542] dw-dp fde50000.dp: failed to attach bridge: -517
[ 13.681143] rockchip-drm display-subsystem: failed to get hdmi0_phy_pll: -2
[ 13.681144] rockchip-drm display-subsystem: failed to get hdmi1_phy_pll: -2
[ 13.681271] [drm] failed to init overlay plane Cluster0-win1
[ 13.681271] [drm] failed to init overlay plane Cluster1-win1
[ 13.681272] [drm] failed to init overlay plane Cluster2-win1
[ 13.681273] [drm] failed to init overlay plane Cluster3-win1
[ 13.703278] rockchip-drm display-subsystem: failed to show kernel logo
[ 14.191572] rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed!
[ 14.200696] rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed!
[ 14.217635] rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed!
[ 14.295937] RKNPU fdab0000.npu: failed to find power_model node
[ 14.301848] RKNPU fdab0000.npu: RKNPU: failed to initialize power model
[ 14.308448] RKNPU fdab0000.npu: RKNPU: failed to get dynamic-coefficient
[ 14.322093] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 14.322094] cfg80211: failed to load regulatory.db
[ 15.187359] rk-pcie fe180000.pcie: failed to initialize host
[ 15.200763] rk-pcie fe160000.pcie: failed to initialize host
[ 15.205361] rk-pcie fe150000.pcie: failed to initialize host
[ 15.559864] rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[2] get remote terminal sensor failed!
[ 15.561743] rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed!
[ 15.561744] rkcif_scale_ch0: update sensor info failed -19
[ 15.562864] rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[2] get remote terminal sensor failed!
[ 15.562865] rkcif_scale_ch2: update sensor info failed -19
[ 15.563405] rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[3] get remote terminal sensor failed!
[ 15.563406] rkcif_scale_ch3: update sensor info failed -19
[ 15.568762] rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed!
[ 15.568764] stream_cif_mipi_id0: update sensor info failed -19
[ 15.569003] rkcif_tools_id2: update sensor info failed -19
[ 15.569782] rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[1] get remote terminal sensor failed!
[ 15.569783] rkcif_tools_id1: update sensor info failed -19
[ 15.570055] rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed!
[ 15.570056] rkcif_tools_id0: update sensor info failed -19
[ 15.574613] rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[1] get remote terminal sensor failed!
[ 15.574616] rkcif_scale_ch1: update sensor info failed -19
[ 15.576148] rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[1] get remote terminal sensor failed!
[ 15.576149] stream_cif_mipi_id1: update sensor info failed -19
[ 15.576381] rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[3] get remote terminal sensor failed!
[ 15.576383] stream_cif_mipi_id3: update sensor info failed -19
[ 15.631438] rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[2] get remote terminal sensor failed!
[ 15.656599] stream_cif_mipi_id2: update sensor info failed -19
[ 23.468074] rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed!
[ 23.477207] stream_cif_mipi_id0: update sensor info failed -19
[ 23.483629] rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[1] get remote terminal sensor failed!
[ 23.492777] stream_cif_mipi_id1: update sensor info failed -19
[ 23.498787] rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[2] get remote terminal sensor failed!
[ 23.507922] rkcif_tools_id2: update sensor info failed -19
[ 23.513561] rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[2] get remote terminal sensor failed!
[ 23.522690] stream_cif_mipi_id2: update sensor info failed -19
[ 23.528694] rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[3] get remote terminal sensor failed!
[ 23.537817] stream_cif_mipi_id3: update sensor info failed -19
[ 23.543938] rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed!
[ 23.553064] rkcif_scale_ch0: update sensor info failed -19
[ 23.565809] rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[1] get remote terminal sensor failed!
[ 23.574940] rkcif_scale_ch1: update sensor info failed -19
[ 23.580600] rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[2] get remote terminal sensor failed!
[ 23.589732] rkcif_scale_ch2: update sensor info failed -19
[ 23.595385] rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[3] get remote terminal sensor failed!
[ 23.604509] rkcif_scale_ch3: update sensor info failed -19
[ 23.617016] rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed!
[ 23.626165] rkcif_tools_id0: update sensor info failed -19
[ 23.631897] rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[1] get remote terminal sensor failed!
[ 23.641049] rkcif_tools_id1: update sensor info failed -19
[ 24.402788] rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed!
[ 24.411930] rkcif_scale_ch0: update sensor info failed -19
[ 24.417476] rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[1] get remote terminal sensor failed!
[ 24.426592] rkcif_scale_ch1: update sensor info failed -19
[ 24.432521] rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[2] get remote terminal sensor failed!
[ 24.441650] rkcif_tools_id2: update sensor info failed -19
[ 24.447238] rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[2] get remote terminal sensor failed!
[ 24.456372] rkcif_scale_ch2: update sensor info failed -19
[ 24.461948] rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[3] get remote terminal sensor failed!
[ 24.471079] rkcif_scale_ch3: update sensor info failed -19
[ 24.476661] rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed!
[ 24.485783] rkcif_tools_id0: update sensor info failed -19
[ 24.510792] rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[2] get remote terminal sensor failed!
[ 24.510793] stream_cif_mipi_id2: update sensor info failed -19
[ 24.525785] rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[0] get remote terminal sensor failed!
[ 24.554417] stream_cif_mipi_id0: update sensor info failed -19
[ 24.579780] rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[3] get remote terminal sensor failed!
[ 24.579781] stream_cif_mipi_id3: update sensor info failed -19
[ 24.594782] rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[1] get remote terminal sensor failed!
[ 24.603897] rkcif_tools_id1: update sensor info failed -19
[ 24.610062] rkcif-mipi-lvds2: rkcif_update_sensor_info: stream[1] get remote terminal sensor failed!
[ 24.619187] stream_cif_mipi_id1: update sensor info failed -19lscpi的信息:
0004:40:00.0 PCI bridge: Rockchip Electronics Co., Ltd Device 3588 (rev 01)
0004:41:00.0 Ethernet controller: Device 1f0a:6801 (rev 01)fdisk的信息:
Disk /dev/mmcblk0: 58.24 GiB, 62537072640 bytes, 122142720 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x78678b75Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 32768 1081343 1048576 512M b W95 FAT32
/dev/mmcblk0p2 1081344 122142719 121061376 57.7G 83 Linux -
@Albert
标准的PCIE连接器接入的电压值是12V,先确认TYPEC接口默认诱导出了12V电压。然后可以尝试先使用网卡等设备测试,确保正常工作以后再使用PCIE转SATA的转接板。 -
@george 有3处 PCIe Host初始化失败: pcie: failed to initialize host;
大致有哪些原因? 供电是12V的 -
@george 我这一套东西插在创龙的iMX8MM的开发板上, lspci是可以扫描出设备的, 这个我很早之前就遇到过, 不过当时每怀疑是开发板有问题.
-
@Albert
DTS文件上传我检查一下,如果软件没有问题,可能就是这个接口有问题了,可以找售后处理。 -
@george dtb文件我是从/boot/firmware目录下获取的, dts文件是使用命令 dtc -I dtb -O dts -o xxx.dts xxx.dtb;
/proc/device-tree目录下的文件太多了为, 打包后文件太大, 没法上传
-
@george我这个已经上传了, 麻烦你帮我看一下这个设备树有没有问题
-
@Albert 为啥要转?原始的代码dts有改过?如果没改过,可以更新内核编译替换试试
-
@jack_admin 我没改过, 开发板买来就没修改过任何配置, 我这是要确保我板子上我使用的设备树文件给你们啊, 如果设备树文件没啥问题, 我这边好联系售后返厂检查.
-
@Albert 可以试试普通pcie网卡有没有识别