RK3588开机串口日志如下:
[ 4.063964] rk-pcie fe150000.pcie: invalid prsnt-gpios property in node
[ 4.064015] rk-pcie fe170000.pcie: invalid prsnt-gpios property in node
[ 4.064037] rk-pcie fe170000.pcie: no vpcie3v3 regulator found
[ 4.064082] pwm-backlight backlight: supply power not found, using dummy regulator
[ 4.064282] rk-pcie fe170000.pcie: missing legacy IRQ resource
[ 4.064301] rk-pcie fe170000.pcie: IRQ msi not found
[ 4.064308] rk-pcie fe170000.pcie: use outband MSI support
[ 4.064315] rk-pcie fe170000.pcie: Missing *config* reg space
[ 4.064328] rk-pcie fe170000.pcie: host bridge /pcie@fe170000 ranges:
[ 4.064329] iep: Module initialized.
[ 4.064356] rk-pcie fe170000.pcie: err 0x00f2000000..0x00f20fffff -> 0x00f2000000
[ 4.064358] mpp_service mpp-srv: 6d935d9f2 author: slxia 2022-10-30 bba7b09: rk3588_linux_release_v1.0.4_20221020.xml
[ 4.064361] mpp_service mpp-srv: probe start
[ 4.064372] rk-pcie fe170000.pcie: IO 0x00f2100000..0x00f21fffff -> 0x00f2100000
[ 4.064388] rk-pcie fe170000.pcie: MEM 0x00f2200000..0x00f2ffffff -> 0x00f2200000
[ 4.064400] rk-pcie fe170000.pcie: MEM 0x0980000000..0x09bfffffff -> 0x0980000000
[ 4.064426] rk-pcie fe170000.pcie: Missing *config* reg space
[ 4.064454] rk-pcie fe170000.pcie: invalid resource
底板若未设计到PCIE功能,内核pcie屏蔽掉,见如下修改:
+++ b/kernel/arch/arm64/boot/dts/rockchip/rk3588-neardi-linux-ld160-x0.dtsi
@@ -601,14 +601,14 @@ &pcie2x1l1 {
&pcie30phy {
rockchip,pcie30-phymode = <PHY_MODE_PCIE_AGGREGATION>;
- status = "okay";
+ status = "disabled";
};
&pcie3x4 {
reset-gpios = <&gpio4 RK_PB6 GPIO_ACTIVE_HIGH>;
vpcie3v3-supply = <&vcc3v3_pcie30>;
num-lanes=<4>;
- status = "okay";
+ status = "disabled";
};
重新编译内核烧录