Jump to content

Recommended Posts

Posted

Hi everyone,

 

I just installed Armbian on my OrangePi 5, but I can't get it to recognize the NVMe drive. I've tried the official OrangePi Ubuntu distro, and it detects the NVMe without any issues. However, when using Armbian, it simply doesn't show up.

I'm not sure what to do at this point. I would really like to use Armbian, but it seems unable to detect the NVMe on this particular device. Interestingly, I have another OrangePi 5 Pro where I installed Armbian, and it recognizes the NVMe and works perfectly fine — but not on the standard OrangePi 5.

Does anyone know how to fix this issue, or can you recommend a good alternative?

 

Quote

root@orangepi5:~# lsblk
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
mtdblock0    31:0    0    16M  0 disk
mmcblk0     179:0    0 238.8G  0 disk
└─mmcblk0p1 179:1    0 236.3G  0 part /var/log.hdd
                                      /
zram0       252:0    0   7.8G  0 disk [SWAP]
zram1       252:1    0    50M  0 disk /var/log
zram2       252:2    0     0B  0 disk
 

 

Thank you in advance.

Posted (edited)
43 minutes ago, smurfx said:

Log shows nothing about PCIE when 6.19.0-edge-rockchip64, it does when 6.18.8-current-rockchip64

 

If you just upgraded the kernel via apt, then this might be the point where an older U-Boot is incompatible with newer kernel. This is the case for all Rockchip devices I have and not strange. It is like it is, so if you want edge or newest or even standard Debian sid/unstable/testing kernel, you will need to look at that in more detail.

 

I have been spending a lot of time on it, it is simply what you want or need. If you want all RK3588 silicon HW support, so like video encoders, stick to vendor based U-Boot and kernel.

I you want a generic computer that is good enough for server tasks and web-browsing etc, use mainline based U-Boot and kernel.

 

Of course something else might be wrong, but reporting U-Boot version would be needed and helpful first I think.

Edited by eselarm
Posted

Hey @eselarm,

 

Thanks for the quick answer. My goal is indeed having a more generic computer for server tasks.  The version of the u-boot is:

 

Quote

root@orangepi5:~# dpkg -l | grep u-boot
ii  linux-u-boot-orangepi5-current    26.2.1                            arm64        Das U-Boot for orangepi5
ii  u-boot-tools                      2025.10-0ubuntu0.24.04.2          arm64        companion tools for Das U-Boot bootloader
root@orangepi5:~# uname -a
Linux orangepi5 6.18.10-current-rockchip64 #2 SMP PREEMPT Wed Feb 11 12:42:01 UTC 2026 aarch64 aarch64 aarch64 GNU/Linux


I have switched again to the orangepi5 6.18.10-current-rockchip64 kernel but still not showing nothing.

 

Thank you.

Posted (edited)
10 minutes ago, smurfx said:

linux-u-boot-orangepi5-current    26.2.1

You need the U-Boot source-code version; I at least cannot conclude on it; 

You can watch the start-up via serial console, then you will see. Or like this:

root@rock3a:~# strings  /dev/mtdblock0 | grep "U-Boot SPL 20"
U-Boot SPL 2017.09-armbian (May 20 2024 - 00:46:51)

 

I see you have 2 options: which U-Boot is used: mtdblock0 (the SPI-flash) or mmcblk0 (SD-card) ??

Edited by eselarm
Posted

Strangely I can't get any outcome from that command:

 

Quote

root@orangepi5:~# lsblk
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
mtdblock0    31:0    0    16M  0 disk
mmcblk0     179:0    0 238.8G  0 disk
└─mmcblk0p1 179:1    0 236.3G  0 part /var/log.hdd
                                      /
zram0       252:0    0   7.8G  0 disk [SWAP]
zram1       252:1    0    50M  0 disk /var/log
zram2       252:2    0     0B  0 disk
root@orangepi5:~# strings  /dev/mtdblock0 | grep "U-Boot SPL 20"
root@orangepi5:~# strings  /dev/mtdblock0 | grep "U-Boot"
root@orangepi5:~# strings  /dev/mtdblock0
root@orangepi5:~# grep -a --null-data "U-Boot" /dev/mtdblock0
root@orangepi5:~#
 


Now I am confused if there is something else going on, however, the OrangePi official distro recognised the nvme disk.

Posted (edited)

The only thing I could manage to get information from was this:

 

Quote

root@orangepi5:~# dd if=/dev/mmcblk0 bs=1M count=4 2>/dev/null | strings | grep -i "u-boot" | head -1
u-boot,spl-boot-order



I had to rewrite the SPI-flash and now I see:

 

Quote

root@orangepi5:~# strings  /dev/mtdblock0 | grep "U-Boot SPL 20"
U-Boot SPL 2025.10_armbian-2025.10-Se50b-P4b2d-Hd43a-Va0a8-B2eb2-R448a (Feb 01 2026 - 04:51:01 +0000)

 

 

Not sure if this helps:

 

Quote

root@orangepi5:~# dmesg | grep -i pcie
[    9.222778] Kernel command line: root=UUID=5aa117ab-65bd-413a-8ccf-15e93e9db998 rootwait rootfstype=ext4 splash=verbose console=ttyS2,1500000 console=tty1 consoleblank=0 loglevel=1 ubootpart=45beaa53-1a56-470d-b2fc-0279821b1186 usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u cma=256M pcie_aspm=off rockchip_pcie.gen=2  cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory
[    9.223332] PCIe ASPM is disabled
[   10.515063] reg-fixed-voltage vcc3v3-pcie2x1l2: Looking up vin-supply from device tree
[   10.515072] vcc3v3_pcie2x1l2: supplied by vcc5v0_sys
[   10.572635] vcc3v3_pcie2x1l2: 1800 mV, enabled
[   10.572742] reg-fixed-voltage vcc3v3-pcie2x1l2: vcc3v3_pcie2x1l2 supplying 1800000uV
[   11.120278] dw-pcie fe190000.pcie: invalid resource
[   11.120285] dw-pcie fe190000.pcie: Failed to initialize host
[   11.120289] dw-pcie: probe of fe190000.pcie failed with error -22
[   11.121218] rk-pcie fe190000.pcie: invalid prsnt-gpios property in node
[   11.121349] rk-pcie fe190000.pcie: Looking up vpcie3v3-supply from device tree
[   11.122057] rk-pcie fe190000.pcie: can't get current limit.
[   11.122504] rk-pcie fe190000.pcie: host bridge /pcie@fe190000 ranges:
[   11.122546] rk-pcie fe190000.pcie:       IO 0x00f4100000..0x00f41fffff -> 0x00f4100000
[   11.122577] rk-pcie fe190000.pcie:      MEM 0x00f4200000..0x00f4ffffff -> 0x00f4200000
[   11.122599] rk-pcie fe190000.pcie:      MEM 0x0a00000000..0x0a3fffffff -> 0x0a00000000
[   11.122673] rk-pcie fe190000.pcie: iATU unroll: enabled
[   11.122685] rk-pcie fe190000.pcie: iATU regions: 8 ob, 8 ib, align 64K, limit 8G
[   11.324904] rk-pcie fe190000.pcie: PCIe Linking... LTSSM is 0x3
[   11.345949] rk-pcie fe190000.pcie: PCIe Linking... LTSSM is 0x3
[   11.366990] rk-pcie fe190000.pcie: PCIe Linking... LTSSM is 0x3
[   11.387231] rk-pcie fe190000.pcie: PCIe Linking... LTSSM is 0x3
[   11.408275] rk-pcie fe190000.pcie: PCIe Linking... LTSSM is 0x3
[   11.429315] rk-pcie fe190000.pcie: PCIe Linking... LTSSM is 0x3
[   11.450353] rk-pcie fe190000.pcie: PCIe Linking... LTSSM is 0x3
[   11.471391] rk-pcie fe190000.pcie: PCIe Linking... LTSSM is 0x3
[   11.492456] rk-pcie fe190000.pcie: PCIe Linking... LTSSM is 0x3
[   11.513615] rk-pcie fe190000.pcie: PCIe Linking... LTSSM is 0x3
[   11.816067] rockchip-pm-domain fd8d8000.power-management:power-controller: Looking up pcie-supply from device tree
[   11.816097] rockchip-pm-domain fd8d8000.power-management:power-controller: Looking up pcie-supply property in node /power-management@fd8d8000/power-controller failed
[   13.414988] rk-pcie fe190000.pcie: PCIe Link Fail, LTSSM is 0x3, hw_retries=0
[   16.337226] rk_pcie_establish_link: 172 callbacks suppressed
[   16.337248] rk-pcie fe190000.pcie: PCIe Linking... LTSSM is 0x3
[   16.358361] rk-pcie fe190000.pcie: PCIe Linking... LTSSM is 0x3
[   16.379485] rk-pcie fe190000.pcie: PCIe Linking... LTSSM is 0x3
[   16.400585] rk-pcie fe190000.pcie: PCIe Linking... LTSSM is 0x3
[   16.421665] rk-pcie fe190000.pcie: PCIe Linking... LTSSM is 0x3
[   16.442698] rk-pcie fe190000.pcie: PCIe Linking... LTSSM is 0x3
[   16.463746] rk-pcie fe190000.pcie: PCIe Linking... LTSSM is 0x3
[   16.484909] rk-pcie fe190000.pcie: PCIe Linking... LTSSM is 0x3
[   16.506075] rk-pcie fe190000.pcie: PCIe Linking... LTSSM is 0x3
[   16.527263] rk-pcie fe190000.pcie: PCIe Linking... LTSSM is 0x3
[   16.716995] rk-pcie fe190000.pcie: PCIe Link Fail, LTSSM is 0x3, hw_retries=1
[   17.727355] rk-pcie fe190000.pcie: failed to initialize host
 

 

Btw, this is the output when I was using the official OrangePI Ubuntu distro:

 

Quote

ubuntu@ubuntu:~$ lsblk
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
loop0         7:0    0  69.2M  1 loop /snap/core22/1624
loop1         7:1    0  94.4M  1 loop /snap/lxd/30134
loop2         7:2    0  33.7M  1 loop /snap/snapd/21761
loop3         7:3    0  41.8M  1 loop /snap/snapd/26383
sda           8:0    0   1.8T  0 disk
└─sda1        8:1    0   1.8T  0 part
mmcblk1     179:0    0 238.8G  0 disk
├─mmcblk1p1 179:1    0     4M  0 part
└─mmcblk1p2 179:2    0 238.7G  0 part /
nvme0n1     259:0    0 238.5G  0 disk

 

Edited by smurfx

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines