Is PCIE x4 bootable for NVMe SSD under Linux
#11
Is there anyway to boot from: Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961?

Or switch system root ("\) to NVMe SSD

Either way is good to me.

I am looking for someone could answer my question.

Using PCIe to connect to storage-only HHD is a waste. I want PCIe SSD as my system drive.
#12
(08-02-2018, 02:36 PM)jzhang18 Wrote: Is there anyway to boot from: Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961?

Or switch system root ("\)  to  NVMe SSD

Either way is good to me.  

I am looking for someone could answer my question.  

Using PCIe to connect to storage-only HHD is a waste.    I want PCIe SSD as my system drive.

ROCKPro64 only can boot up from eMMC, SPI Flash and SD card. Need to wait till ayufan implement the SPI Flash (build in on board) boot and then able to continue boot to NVMe.
#13
SPI Flash ready? My last test failed.
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/
#14
@jzhang: It's possible, with a little problem - only cold start Sad No reset button, no 'shutdown -r now' atm.

https://forum.frank-mankel.org/topic/208...vme-platte Sorry, only german, but i think it's easy to understand.
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/
#15
(08-03-2018, 08:39 AM)Bullet64 Wrote: @jzhang: It's possible, with a little problem - only cold start Sad No reset button, no 'shutdown -r now' atm.

https://forum.frank-mankel.org/topic/208...vme-platte Sorry, only german, but i think it's easy to understand.

Wow, that is almost exactly what I want.

Why "shutdown -r now" or "reboot" or "reset button"  skip to read extlinux.conf file?

There must be a bug in u-boot.

Thanks
#16
(08-03-2018, 08:39 AM)Bullet64 Wrote: @jzhang: It's possible, with a little problem - only cold start Sad No reset button, no 'shutdown -r now' atm.

https://forum.frank-mankel.org/topic/208...vme-platte Sorry, only german, but i think it's easy to understand.

I saw you modified eMMC (or microSD) /boot/extlinux/extlinux.conf

After you switch "/" to NVMe SSD,   you should do it again to modify: /boot/extlinux/extlinux.conf

So both your eMMC and NVMe SSD point to NVMe SSD  as "/"


Then 'shutdown -r now', 'reboot', reset button -- might work consistently as "cold start" I guess.
#17
Oh, thanks. I don't think about it.

Reset-Button work but 'shutdown -r now' don't work.

https://pastebin.com/DqBG7c01
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/
#18
Update

It's important that /boot on sd-card and on nvme are the same. Then reboot will work!

So, please copy after an kernel-update the drawer /boot to /dev/mmcblk0p7 Tongue

Howto in german ->  https://forum.frank-mankel.org/topic/208...vme-platte
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/
#19
It is a very nice solution now - to use this board with the best performance from PCIe x4.

Highly recommended!

Thanks to Bullet64's test result and thanks to Ayufan's Linux image.
#20
(08-04-2018, 01:33 AM)Bullet64 Wrote: Howto in german ->  https://forum.frank-mankel.org/topic/208...vme-platte

Fantastic - nice work.

Code:
$ systemd-analyze
Startup finished in 3.604s (kernel) + 2.336s (userspace) = 5.941s
graphical.target reached after 2.306s in userspace
Was over 7s so measurably faster in real life.

And learned something: need to read more but did not realize could use the SSD without a partition. At first I was playing with /dev/nvme0n1p1 but makes sense to cut out a layer and just use /dev/nvme0n1 Big Grin 

Thank you Bullet64 & Ayufan
  • ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Arch (6.2 kernel, Openbox desktop) for general purpose daily PC.
  • PinePhone Pro Explorer Edition, daily driver, rk2aw & U-boot on SPI, Arch/SXMO & Arch/phosh on eMMC
  • PinePhone BraveHeart now v1.2b 3/32Gb, Tow-boot with Arch/SXMO on eMMC


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: 5 Guest(s)