bluesea 发表于 2022-12-1 12:00:27

AIO-3588MQ启动pcie报错



aio-3588jq-8G内存版本,只要连接一个外部pcie板卡,都会报这个错误,请问如何解决。

799959745 发表于 2022-12-1 15:55:36

接的是什么pcie板卡?

bluesea 发表于 2022-12-1 20:56:24

799959745 发表于 2022-12-1 15:55
接的是什么pcie板卡?

米联客zynq7035 pcie2.0 x4 xdma
几个比较老的显卡
还有一个pciex8的视频采集卡

799959745 发表于 2022-12-2 10:18:55

bluesea 发表于 2022-12-1 20:56
米联客zynq7035 pcie2.0 x4 xdma
几个比较老的显卡
还有一个pciex8的视频采集卡

试试这个修改看看能不能解决

bluesea 发表于 2022-12-2 11:02:23

本帖最后由 bluesea 于 2022-12-2 11:03 编辑

799959745 发表于 2022-12-2 10:18
试试这个修改看看能不能解决
您好,请问是这样修改吗 ?               

ranges = <0x00000800 0x0 0xf0000000 0x0 0xf0000000 0x0 0x100000
0x81000000 0x0 0xf0100000 0x0 0xf0100000 0x0 0x100000
0x82000000 0x0 0xf0200000 0x0 0xf0200000 0x0 0xe00000
0x82000000 0x0 0xf1000000 0x9 0x00000000 0x0 0x3000000
0xc3000000 0x9 0x00000000 0x9 0x03000000 0x0 0x3d000000>;
                reg = <0x0 0xfe150000 0x0 0x10000>,
                      <0xa 0x40000000 0x0 0x400000>;

799959745 发表于 2022-12-2 11:08:50

是的。减号就是表示去除,加号表示添加

bluesea 发表于 2022-12-2 14:01:03

本帖最后由 bluesea 于 2022-12-2 15:06 编辑

799959745 发表于 2022-12-2 11:08
是的。减号就是表示去除,加号表示添加
我同时修改的
u-boot/arch/arm/dts/rk3588.dtsi
kernel/arch/arm64/boot/dts/rockchip/rk3588.dtsi

版本:rk3588_repo_sdk_v1.0.2a.7z bundle到104b
./build.sh aio-3588q-ubuntu.mk
-----------------------------------------------------------------------------------
还是存在如下启动错误
-----------------------------------------------------------------------------------
[    2.872557] wireguard: nonce counter self-tests: pass
[    3.013123] rk-pcie fe170000.pcie: PCIe Linking... LTSSM is 0x3
[    3.038668] rk-pcie fe170000.pcie: PCIe Linking... LTSSM is 0x3
[    3.065332] rk-pcie fe170000.pcie: PCIe Linking... LTSSM is 0x3
[    3.085336] rk-pcie fe150000.pcie: PCIe Link up, LTSSM is 0x130011
[    3.085505] rk-pcie fe150000.pcie: PCI host bridge to bus 0000:00
[    3.085522] pci_bus 0000:00: root bus resource
[    3.085534] pci_bus 0000:00: root bus resource [??? 0xf0000000-0xf00fffff flags 0x0]
[    3.085550] pci_bus 0000:00: root bus resource (bus address )
[    3.085562] pci_bus 0000:00: root bus resource
[    3.085575] pci_bus 0000:00: root bus resource (bus address )
[    3.085588] pci_bus 0000:00: root bus resource (bus address )
[    3.085632] pci 0000:00:00.0: type 01 class 0x060400
[    3.085654] pci 0000:00:00.0: reg 0x10:
[    3.085669] pci 0000:00:00.0: reg 0x14:
[    3.085683] pci 0000:00:00.0: reg 0x38:
[    3.085757] pci 0000:00:00.0: supports D1 D2
[    3.085767] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    3.092003] rk-pcie fe170000.pcie: PCIe Linking... LTSSM is 0x3
[    3.094693] pci_bus 0000:01: busn_res: can not insert under (conflicts with (null) )
[    3.094802] pci 0000:01:00.0: type 00 class 0x070001
[    3.094871] pci 0000:01:00.0: reg 0x10:
[    3.094905] pci 0000:01:00.0: reg 0x14:
[    3.095054] pci 0000:01:00.0: enabling Extended Tags
[    3.095257] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot
[    3.103915] pci 0000:00:00.0: BAR 0: no space for
[    3.103942] pci 0000:00:00.0: BAR 0: failed to assign
[    3.103956] pci 0000:00:00.0: BAR 1: no space for
[    3.103967] pci 0000:00:00.0: BAR 1: failed to assign
[    3.103980] pci 0000:00:00.0: BAR 8: assigned
[    3.103993] pci 0000:00:00.0: BAR 6: assigned
[    3.104009] pci 0000:01:00.0: BAR 0: assigned
[    3.104033] pci 0000:01:00.0: BAR 1: assigned
[    3.104053] pci 0000:00:00.0: PCI bridge to
[    3.104066] pci 0000:00:00.0:   bridge window
[    3.106793] pcieport 0000:00:00.0: PME: Signaling with IRQ 141
[    3.118666] rk-pcie fe170000.pcie: PCIe Linking... LTSSM is 0x3
[    3.145333] rk-pcie fe170000.pcie: PCIe Linking... LTSSM is 0x3
[    3.148018] wireguard: ratelimiter self-tests: pass
[    3.148103] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    3.148108] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    3.148436] tun: Universal TUN/TAP device driver, 1.6
[    3.148566] CAN device driver interface


799959745 发表于 2022-12-2 15:16:50

bluesea 发表于 2022-12-2 14:01
我同时修改的
u-boot/arch/arm/dts/rk3588.dtsi
kernel/arch/arm64/boot/dts/rockchip/rk3588.dtsi


把上面的修改取消,试试这个修改:
diff --git a/arch/arm64/boot/dts/rockchip/rk3588.dtsi b/arch/arm64/boot/dts/rockchip/rk3588.dtsi
index b70a40bee82a..279cb67b4051 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3588.dtsi
@@ -693,7 +693,7 @@
                num-lanes = <1>;
                phys = <&combphy1_ps PHY_TYPE_PCIE>;
                phy-names = "pcie-phy";
-               ranges = <0x00000800 0x0 0xf2000000 0x0 0xf2000000 0x0 0x100000
+               ranges = <0x00000800 0x0 0xf2000000 0x0 0xf2000000 0x0 0x800000
                        0x81000000 0x0 0xf2100000 0x0 0xf2100000 0x0 0x100000
                        0x82000000 0x0 0xf2200000 0x0 0xf2200000 0x0 0xe00000
                        0xc3000000 0x9 0x80000000 0x9 0x80000000 0x0 0x40000000>;



799959745 发表于 2022-12-2 15:17:12

只修改kernel,不要修改u-boot

bluesea 发表于 2022-12-2 15:35:40

799959745 发表于 2022-12-2 15:17
只修改kernel,不要修改u-boot

感谢 我再试一下
页: [1] 2
查看完整版本: AIO-3588MQ启动pcie报错