Is PCIE x4 bootable for NVMe SSD under Linux
#32
(08-13-2018, 11:59 AM)jzhang18 Wrote: At 4.4 the pcie & nvme initialisation is ready before the rootfs is mounted (even though I am booting off the SDcard).
At 4.18 the pcie & nvme initialisation only happens way after the rootfs is mounted.

To my best knowledge, it means Kernel -4.4 has pcie & nvme modules built into the Linux image, and Kernel -4.18 has pcie & nvme modules as external loadable modules (drivers).

Because we want rootfs on NVMe which plugged in PCIe slot,  so both pcie & nvme need to be loaded before rootfs is mounted.

If Ayufan can compile Kernel -4.18 as the same way as his compiled Kernel -4.4, (hopefully in the final release version, he will do) then everything should work.
I opened an issue on github - Ayufan says we must use initramfs. (Which makes sense as it is only the RockPro64 that needs these modules.)

So now to work out how to cook an enhanced initramfs. (And it is probably the same issue with eMMC not working at 4.18?)
  • PinePhone BraveHeart now v1.2b 3/32Gb daily driver, Tow-boot with pmOS/SXMO on eMMC
  • PinePhone Pro Explorer Edition, Tow-boot on SPI, Arch/SXMO on eMMC
  • ROCKPro64 v2.1 2GB, 16Gb eMMC retired in favour of a fruity upgrade


Messages In This Thread
RE: Is PCIE x4 bootable for NVMe SSD under Linux - by dukla2000 - 08-15-2018, 04:52 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  irradium (based on crux linux) RockPro64 riscv64, aarch64 mara 7 2,797 11-20-2024, 03:53 PM
Last Post: mara
  RK3399 PCIe enumeration jhadd 0 759 01-31-2024, 08:56 AM
Last Post: jhadd
Exclamation Ethernet regression on Linux Kernel 6.5.4? Deathcrow 3 1,985 09-22-2023, 04:27 AM
Last Post: diederik
  Installing CH431SER on Ayufan 0.9.14: gitlab-ci-linux-build-159 Thisone 4 3,002 07-14-2023, 04:22 AM
Last Post: hunderteins
  Linux laptop does not detect the board when plugged in via USB soupy 1 4,851 04-13-2023, 03:01 AM
Last Post: Reynold Grady
  Can RockPRO64 support PCIe Endpoint? andrewg132 3 3,584 10-14-2022, 06:24 AM
Last Post: rwk-
  RockPro64 linux console video mode callegar 0 1,351 09-06-2022, 02:32 PM
Last Post: callegar
Brick Maintained Linux booting from eMMC ootoovak 10 11,226 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 6,245 01-03-2022, 10:32 AM
Last Post: whitecat23
  No PCIe controller detected... Limhes 1 2,202 11-23-2021, 06:23 AM
Last Post: Limhes

Forum Jump:


Users browsing this thread: 1 Guest(s)