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. RP64 v2.1 / PCIe SATA JMS585 Chipsatz / Booting from an 2,5 Zoll SSD on port 5/ 2 * 3,5 Zoll 4TB HDD (raid1) md0 / 2 * 2,5 Zoll 2TB HDD (raid1) md1 / using as NAS / Kernel 5.6.0-1137-ayufan-ge57f05e7bf8f

2. RP64 v2.1 / testing.....testing....testing

3. Quartz64 Model A with 4GB RAM

https://forum.frank-mankel.org/category/14/rockpro64
#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. RP64 v2.1 / PCIe SATA JMS585 Chipsatz / Booting from an 2,5 Zoll SSD on port 5/ 2 * 3,5 Zoll 4TB HDD (raid1) md0 / 2 * 2,5 Zoll 2TB HDD (raid1) md1 / using as NAS / Kernel 5.6.0-1137-ayufan-ge57f05e7bf8f

2. RP64 v2.1 / testing.....testing....testing

3. Quartz64 Model A with 4GB RAM

https://forum.frank-mankel.org/category/14/rockpro64
#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. RP64 v2.1 / PCIe SATA JMS585 Chipsatz / Booting from an 2,5 Zoll SSD on port 5/ 2 * 3,5 Zoll 4TB HDD (raid1) md0 / 2 * 2,5 Zoll 2TB HDD (raid1) md1 / using as NAS / Kernel 5.6.0-1137-ayufan-ge57f05e7bf8f

2. RP64 v2.1 / testing.....testing....testing

3. Quartz64 Model A with 4GB RAM

https://forum.frank-mankel.org/category/14/rockpro64
#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. RP64 v2.1 / PCIe SATA JMS585 Chipsatz / Booting from an 2,5 Zoll SSD on port 5/ 2 * 3,5 Zoll 4TB HDD (raid1) md0 / 2 * 2,5 Zoll 2TB HDD (raid1) md1 / using as NAS / Kernel 5.6.0-1137-ayufan-ge57f05e7bf8f

2. RP64 v2.1 / testing.....testing....testing

3. Quartz64 Model A with 4GB RAM

https://forum.frank-mankel.org/category/14/rockpro64
#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 (5.14 kernel, Openbox desktop) for general purpose daily PC.
  • PinePhone BraveHeart now v1.2b 3/32Gb daily driver, dual boot via p-boot with Mobian/f2fs/Phosh on eMMC, Arch/ext4/Phosh on SDcard
  • PinePhone v1.2a 2G/16Gb that needs USB board replaced


Possibly Related Threads…
Thread Author Replies Views Last Post
  Other boot options than Sdcard for linux 5.x kernel? MisterA 2 401 07-14-2021, 02:37 PM
Last Post: TRS-80
Brick Maintained Linux booting from eMMC ootoovak 5 701 07-06-2021, 02:28 PM
Last Post: TRS-80
  WiFi not working with PCIe SSD installed mikeD 0 345 05-25-2021, 07:48 AM
Last Post: mikeD
  Power supply underpowered for Rockpro64, deficient PCIe SATA card, or something else? daffy 8 1,324 05-20-2021, 10:04 PM
Last Post: t4_4t
  Booting from NVME ilovegentoo 11 4,573 05-10-2021, 02:06 PM
Last Post: rrowles2000
  Booting Linux/Debian from the eMMC linuxha 4 1,139 03-02-2021, 07:01 PM
Last Post: linuxha
  Xen EFI with Alpine Linux dom0 sir.lami 0 1,104 08-26-2020, 12:25 PM
Last Post: sir.lami
  Linux Host - QEMU Android Guest? rik-shaw 0 956 07-09-2020, 08:02 PM
Last Post: rik-shaw
  RETRO GAMING BATOCERA LINUX + ROSHAMBO CASE - Tutoriel Fr TheMiniCakeTV 0 1,810 07-02-2020, 12:45 PM
Last Post: TheMiniCakeTV
  Arch Linux on RockPro64 mmatyas 30 25,220 05-30-2020, 12:08 PM
Last Post: mmatyas

Forum Jump:


Users browsing this thread: 1 Guest(s)