PINE64

Full Version: Is PCIE x4 bootable for NVMe SSD under Linux
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5
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.
(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.
SPI Flash ready? My last test failed.
: 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.
(08-03-2018, 08:39 AM)Bullet64 Wrote: [ -> ]: 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
(08-03-2018, 08:39 AM)Bullet64 Wrote: [ -> ]: 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.
Oh, thanks. I don't think about it.

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

https://pastebin.com/DqBG7c01
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
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.
(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
Pages: 1 2 3 4 5