Jump to content

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


Go to solution Solved by chk,

Recommended Posts

Posted
Armbianmonitor:

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?

  • Solution
Posted

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

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