Is PCIE x4 bootable for NVMe SSD under Linux
#41
Hi,

I managed to move the FS on a NVMe SSD and to start on it from a SD card using this link:
https://forum.frank-mankel.org/topic/208...vme-platte

But I don't get if there is a way to start directly from the NVMe without micro SD card.

Is there still no SPI option to boot from the NVMe?
#42
Quote:But I don't get if there is a way to start directly from the NVMe without micro SD card.

No, it's not possible. u-boot can't do it atm.

Easy way to boot from nvme is to use armbian nand-sata-install script Wink
Sorry for any mistakes. English is not my native language

1. Quartz64 Model B, 4GB RAM

2. Quartz64 Model A, 4GB RAM

3. RockPro64 v2.1

https://linux-nerds.org/
#43
(12-17-2018, 01:23 AM)Bullet64 Wrote:
Quote:Easy way to boot from nvme is to use armbian nand-sata-install script Wink

Thanks a lot for you reply!

Unfortunately I just gave a try, the script is running well, but when I shutdown the device once it's done and remove the eMMC, while starting, only the green power LED light up, neither the white LED from the board or the green on the NVMe PCIe card light up :-(

If I put back the eMMC, I am starting on it as usual, not on the NVMe.

Here are the steps I have followed:
I have selected the option 6:
   
I have selected a partition on the NVMe:
   
Then the copie was running:
   
And finally:
   

I removed the power cable; the eMMC;
I putted back the power cable and then... nothing excepted the power green LED and the RJ45 port LEDs (I have waited for severals minutes but still...).

I just saw this message during the process:
Quote:mount: wrong fs type, bad option, bad superblock on /dev/nvme0n1p3,
       missing codepage or helper program, or other error

       In some cases useful info is found in syslog - try
       dmesg | tail or so.
There it is (after a reboot):
Quote:[    5.333132] zram0: detected capacity change from 0 to 52428800
[    5.536695] EXT4-fs (zram0): mounted filesystem without journal. Opts: discard
[    5.627696] cdn-dp fec00000.dp: Direct firmware load for rockchip/dptx.bin failed with error -2
[    6.430433] random: nonblocking pool is initialized
[    6.969421] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    7.002656] nr_pdflush_threads exported in /proc is scheduled for removal
[    7.037717] NET: Registered protocol family 17
[    8.967918] rk_gmac-dwmac fe300000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[    9.631755] cdn-dp fec00000.dp: Direct firmware load for rockchip/dptx.bin failed with error -2
[   17.635845] cdn-dp fec00000.dp: Direct firmware load for rockchip/dptx.bin failed with error -2

I have no idea what I am doing wrong :-(
#44
You can't boot from nvme only. That script will use the nvme as root device. Bootdevice must be on sd-card, spi memory or on eMMC.
Sorry for any mistakes. English is not my native language

1. Quartz64 Model B, 4GB RAM

2. Quartz64 Model A, 4GB RAM

3. RockPro64 v2.1

https://linux-nerds.org/
#45
(12-21-2018, 03:31 PM)Bullet64 Wrote: You can't boot from nvme only. That script will use the nvme as root device. Bootdevice must be on sd-card, spi memory or on eMMC.

Sorry I get it wrong but isn't it the goal of the nand-sata-install script to set the boot on the SPI and the rootfs on the NVMe?

[Image: attachment.php?aid=1282]

(12-21-2018, 03:31 PM)Bullet64 Wrote: You can't boot from nvme only. That script will use the nvme as root device. Bootdevice must be on sd-card, spi memory or on eMMC.

I guess I need to flash the SPI before to run this script, I will give another try (last time the blinking LED never stoped Undecided).
#46
When you flash spi and the white led begins to blink its finished.
Sorry for any mistakes. English is not my native language

1. Quartz64 Model B, 4GB RAM

2. Quartz64 Model A, 4GB RAM

3. RockPro64 v2.1

https://linux-nerds.org/
#47
Thanks!

I don't manage to boot directly on the SPI + NVMe SSD though, even with the nand-sata-install script.

Here are my logs: https://drive.google.com/drive/folders/1...sp=sharing

It sounds like SPI + NVMe SSD boot is not working on the RP64 :-(
#48
For what i know, actual u-boot can only boot from USB and PXE.

I am using NVMe as root device with sd-card (boot device).
Sorry for any mistakes. English is not my native language

1. Quartz64 Model B, 4GB RAM

2. Quartz64 Model A, 4GB RAM

3. RockPro64 v2.1

https://linux-nerds.org/
#49
Thanks for sharing your experience, I have spend too much time on this, I guess I will do like you, and buy a SD card just to boot from it.


Possibly Related Threads…
Thread Author Replies Views Last Post
  irradium (based on crux linux) RockPro64 riscv64, aarch64 mara 7 1,881 11-20-2024, 03:53 PM
Last Post: mara
  RK3399 PCIe enumeration jhadd 0 523 01-31-2024, 08:56 AM
Last Post: jhadd
Exclamation Ethernet regression on Linux Kernel 6.5.4? Deathcrow 3 1,498 09-22-2023, 04:27 AM
Last Post: diederik
  Installing CH431SER on Ayufan 0.9.14: gitlab-ci-linux-build-159 Thisone 4 2,289 07-14-2023, 04:22 AM
Last Post: hunderteins
  Linux laptop does not detect the board when plugged in via USB soupy 1 4,490 04-13-2023, 03:01 AM
Last Post: Reynold Grady
  Can RockPRO64 support PCIe Endpoint? andrewg132 3 2,890 10-14-2022, 06:24 AM
Last Post: rwk-
  RockPro64 linux console video mode callegar 0 1,135 09-06-2022, 02:32 PM
Last Post: callegar
Brick Maintained Linux booting from eMMC ootoovak 10 9,919 04-30-2022, 03:57 PM
Last Post: TRS-80
  How I Got Fedora Linux to Boot From eMMC (or microSD, for that matter) whitecat23 4 5,375 01-03-2022, 10:32 AM
Last Post: whitecat23
  No PCIe controller detected... Limhes 1 1,931 11-23-2021, 06:23 AM
Last Post: Limhes

Forum Jump:


Users browsing this thread: 24 Guest(s)