Skip to content
View in the app

A better way to browse. Learn more.

Learn more

SOLVED: RockPi 4B+Armbian 21.08.1: Booting from SD detects NVMe SSD; Booting from eMMC doesn't

Featured Replies

Hi there,

i'm trying to getting Armbian working on my RockPi 4B. Installation and everything went fine. Even my Intel 660 2TB NVMe SSD was detected as I booted the SD card Image (created with Etcher).

But as I booted the image from eMMC (flashed the image via dd if=image.img of=/dev/mmcblk1); it booted fine so far, but it doesn't detect the NVMe SSD...

If I return to uSD Boot, it is detected again...

 

Here is the log output of dmesg | grep nvme from "Boot from eMMC"

root@rockpi-4b:~# dmesg | grep nvme
[    2.754457] nvme nvme0: pci function 0000:01:00.0
[    2.754688] nvme 0000:01:00.0: enabling device (0000 -> 0002)
[   64.489438] nvme nvme0: I/O 0 QID 0 timeout, disable controller
[   64.597365] nvme nvme0: Device shutdown incomplete; abort shutdown
[   64.598050] nvme nvme0: Identify Controller failed (-4)
[   64.598064] nvme nvme0: Removing after probe failure status: -5

 

 

Here is the log output of dmesg | grep nvme from "Boot from SD"

root@rockpi-4b:~# dmesg | grep nvme
[    2.218883] nvme nvme0: pci function 0000:01:00.0
[    2.218955] nvme 0000:01:00.0: enabling device (0000 -> 0002)
[    2.470965] nvme nvme0: 6/0/0 default/read/poll queues
[    2.473631]  nvme0n1: p1 p2

 

 

Any idea what went wrong and how to fix it?

Solved by chk

  • Author
  • Solution

Hi again,

I solved the issue by myself. The problem was, that I forgot that I wrote u-boot to the SPI flash years ago. Once I shorted PIN 23 and 25 on the GPIO header, it used the u-boot from the eMMC image and it detected the NVMe SSD as expected.

 

Thanks...

  • chk changed the title to SOLVED: RockPi 4B+Armbian 21.08.1: Booting from SD detects NVMe SSD; Booting from eMMC doesn't
Guest
This topic is now closed to further replies.

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.