radxa-build / radxa-cm3-rpi-cm4-io

Radxa ROCK 3 Compute Module with Raspberry Pi Compute Module 4 IO Board
https://wiki.radxa.com/Rock3/CM3/raspcm4io
0 stars 1 forks source link

nvme not working #3

Open AceAsket opened 3 months ago

AceAsket commented 3 months ago

Radxa cm3 + radxa taco nvme not visible in OS

RadxaYuntian commented 3 months ago

@akgnah Please take a look.

AceAsket commented 3 months ago

description of the problem - https://forum.radxa.com/t/cm3-taco-no-nvme-on-recent-images/19819/2

root@radxa-cm3-rpi-cm4-io:/home/rock# uname -a
Linux radxa-cm3-rpi-cm4-io 5.10.160-19-rk356x #eeb393dfb SMP Fri Oct 13 04:13:28 UTC 2023 aarch64 GNU/Linux
root@radxa-cm3-rpi-cm4-io:/home/rock# dmesg | grep pcie
[ 13.265251] rk-pcie 3c0000000.pcie: invalid prsnt-gpios property in node
[ 13.265277] rk-pcie 3c0000000.pcie: Looking up vpcie3v3-supply from device tree
[ 13.266243] rk-pcie 3c0000000.pcie: IRQ msi not found
[ 13.266316] rk-pcie 3c0000000.pcie: use outband MSI support
[ 13.266327] rk-pcie 3c0000000.pcie: Missing config reg space
[ 13.266377] rk-pcie 3c0000000.pcie: host bridge /pcie@fe260000 ranges:
[ 13.266424] rk-pcie 3c0000000.pcie: err 0x00f4000000…0x00f40fffff -> 0x00f4000000
[ 13.266464] rk-pcie 3c0000000.pcie: IO 0x00f4100000…0x00f41fffff -> 0x00f4100000
[ 13.266495] rk-pcie 3c0000000.pcie: MEM 0x00f4200000…0x00f5ffffff -> 0x00f4200000
[ 13.266515] rk-pcie 3c0000000.pcie: MEM 0x0300000000…0x033fffffff -> 0x0300000000
[ 13.266572] rk-pcie 3c0000000.pcie: Missing config reg space
[ 13.266705] rk-pcie 3c0000000.pcie: invalid resource
[ 13.474450] rk-pcie 3c0000000.pcie: PCIe Linking… LTSSM is 0x3
[ 13.499981] rk-pcie 3c0000000.pcie: PCIe Linking… LTSSM is 0x7
[ 13.583315] rk-pcie 3c0000000.pcie: PCIe Link up, LTSSM is 0x130011
[ 13.583610] rk-pcie 3c0000000.pcie: PCI host bridge to bus 0000:00
[ 13.718864] pcieport 0000:00:00.0: PME: Signaling with IRQ 79
[ 13.719285] pcieport 0000:01:00.0: enabling device (0000 -> 0003)
[ 13.719816] pcieport 0000:02:00.0: enabling device (0000 -> 0003)
[ 13.720858] pcieport 0000:02:02.0: enabling device (0000 -> 0003)

root@radxa-cm3-rpi-cm4-io:~# lspci
00:00.0 PCI bridge: Fuzhou Rockchip Electronics Co., Ltd Device 3566 (rev 01)
01:00.0 PCI bridge: ASMedia Technology Inc. Device 1806 (rev 01)
02:00.0 PCI bridge: ASMedia Technology Inc. Device 1806 (rev 01)
02:02.0 PCI bridge: ASMedia Technology Inc. Device 1806 (rev 01)
02:06.0 PCI bridge: ASMedia Technology Inc. Device 1806 (rev 01)
02:0e.0 PCI bridge: ASMedia Technology Inc. Device 1806 (rev 01)
03:00.0 SATA controller: JMicron Technology Corp. JMB58x AHCI SATA controller
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)
akgnah commented 3 months ago

Hi @AceAsket,

The current image has a PCIe power supply that is not enabled, we will modify it and generate a new image.

AceAsket commented 3 months ago

Hi @AceAsket,

The current image has a PCIe power supply that is not enabled, we will modify it and generate a new image.

how long will it take for a new image?

akgnah commented 3 months ago

how long will it take for a new image?

Three to five days. The new image needs to be tested, and testing it can take some time.

AceAsket commented 3 months ago

how long will it take for a new image?

Three to five days. The new image needs to be tested, and testing it can take some time.

I'm looking forward to it

AceAsket commented 3 months ago

how long will it take for a new image?

Three to five days. The new image needs to be tested, and testing it can take some time.

any news?

akgnah commented 3 months ago

how long will it take for a new image?

Three to five days. The new image needs to be tested, and testing it can take some time.

any news?

I'm sorry for the delay in something else. I'll test it today.

u7985 commented 3 months ago

@AceAsket

We have no plans to release a new image at this time. We submitted an overlay to solve this problem. Can you use this overlay first?

$ wget https://raw.githubusercontent.com/radxa/overlays/main/arch/arm64/boot/dts/rockchip/overlays/radxa-cm3-radxa-taco-pcie2x1.dts $ sudo rsetup

Overlays -> Install 3rd party overlay -> Select the dts -> Exit Rsetup -> Reboot

AceAsket commented 3 months ago

We have no plans to release a new image at this time. We submitted an overlay to solve this problem. Can you use this overlay first?

thanks, its works

AceAsket commented 3 months ago

after kernel update if restart cm3 on taco:

enp4s0: pcie link is down
enp4s0: cmd = 0xff, should be 0x07

photo_2024-04-02_23-26-10

u7985 commented 3 months ago

Can the board reboot normally before upgrading the kernel?

AceAsket commented 3 months ago

Can the board reboot normally before upgrading the kernel?

yes, its b15 debian-cli image