RK3399使用PCIe M.2(B-KEY) to SSD转接板
使用官方的PCIe M.2(B-KEY) to SSD转接板,加Crucial英睿达SSD P1 M.2 2280。nvme设备没有注册出来。
# cat /proc/partitions
major minor#blocksname
1 0 4096 ram0
179 32 15267840 mmcblk1
179 33 40960 mmcblk1p1
179 34 1048576 mmcblk1p2
179 35 14267840 mmcblk1p3
179 128 4096 mmcblk1rpmb
179 96 4096 mmcblk1boot1
179 64 4096 mmcblk1boot0
# lspci
00:00.0 PCI bridge: Fuzhou Rockchip Electronics Co., Ltd Device 0100
# dmesg | grep pcie
[ 1.272732] of_get_named_gpiod_flags: parsed 'gpio' property of node '/vcc3v3-pcie-regulator' - status (0)
[ 1.272800] vcc3v3_pcie: no parameters
[ 1.272973] reg-fixed-voltage vcc3v3-pcie-regulator: vcc3v3_pcie supplying 0uV
[ 1.994879] phy phy-pcie-phy.5: Looking up phy-supply from device tree
[ 1.994891] phy phy-pcie-phy.5: Looking up phy-supply property in node /pcie-phy failed
[ 1.996603] rockchip-pcie f8000000.pcie: GPIO lookup for consumer ep
[ 1.996617] rockchip-pcie f8000000.pcie: using device tree for GPIO lookup
[ 1.996648] of_get_named_gpiod_flags: parsed 'ep-gpios' property of node '/pcie@f8000000' - status (0)
[ 1.996882] rockchip-pcie f8000000.pcie: Looking up vpcie3v3-supply from device tree
[ 1.996895] rockchip-pcie f8000000.pcie: Looking up vpcie3v3-supply property in node /pcie@f8000000 failed
[ 1.996912] rockchip-pcie f8000000.pcie: no vpcie3v3 regulator found
[ 2.010241] rockchip-pcie f8000000.pcie: Looking up vpcie1v8-supply from device tree
[ 2.010253] rockchip-pcie f8000000.pcie: Looking up vpcie1v8-supply property in node /pcie@f8000000 failed
[ 2.010267] rockchip-pcie f8000000.pcie: no vpcie1v8 regulator found
[ 2.023586] rockchip-pcie f8000000.pcie: Looking up vpcie0v9-supply from device tree
[ 2.023598] rockchip-pcie f8000000.pcie: Looking up vpcie0v9-supply property in node /pcie@f8000000 failed
[ 2.023611] rockchip-pcie f8000000.pcie: no vpcie0v9 regulator found
[ 2.036932] rockchip-pcie f8000000.pcie: missing "memory-region" property
[ 2.051170] PCI host bridge /pcie@f8000000 ranges:
[ 2.138938] rockchip-pcie f8000000.pcie: PCI host bridge to bus 0000:00
[ 2.226679] pcieport 0000:00:00.0: enabling bus mastering
[ 2.226884] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
[ 2.241493] pcie_pme 0000:00:00.0:pcie01: service driver pcie_pme loaded
[ 2.241603] aer 0000:00:00.0:pcie02: service driver aer loaded
pcie打印似乎也没报错?使用官方源码编译的内核设备树
有没大神解救一下, 卡了好久了。这个项目要用M.2硬盘。
补充一下设备树添加过minipcie的电压, 这个项目还要用4G所以反面插4G的已经可以用了。
vcc1v8_pcie: vcc1v8-pcie-regulator {
compatible = "regulator-fixed";
enable-active-high;
regulator-always-on;
regulator-boot-on;
pinctrl-names = "default";
pinctrl-0 = <&pcie_3g_drv>;
regulator-name = "vcc1v8_pcie";
};
vcc1v8_sys: vcc1v8-sys {
compatible = "regulator-fixed";
regulator-name = "vcc1v8_sys";
regulator-always-on;
regulator-boot-on;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
};
页:
[1]