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.
  Reply
#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.
  Reply
#13
SPI Flash ready? My last test failed.
Sorry for any mistakes. English is not my native language

1. RP64 v2.1 / PCIe SATA Marvell 88SE9230 Chipsatz / sd-card / 2 * 3,5 Zoll 4TB HDD (raid1) / using as NAS / Kernel 4.4.202-1237-rockchip-ayufan-gfd4492386213 / Booting from an USB3 SSD

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

https://forum.frank-mankel.org/category/14/rockpro64
  Reply
#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 Marvell 88SE9230 Chipsatz / sd-card / 2 * 3,5 Zoll 4TB HDD (raid1) / using as NAS / Kernel 4.4.202-1237-rockchip-ayufan-gfd4492386213 / Booting from an USB3 SSD

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

https://forum.frank-mankel.org/category/14/rockpro64
  Reply
#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
  Reply
#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.
  Reply
#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 Marvell 88SE9230 Chipsatz / sd-card / 2 * 3,5 Zoll 4TB HDD (raid1) / using as NAS / Kernel 4.4.202-1237-rockchip-ayufan-gfd4492386213 / Booting from an USB3 SSD

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

https://forum.frank-mankel.org/category/14/rockpro64
  Reply
#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 Marvell 88SE9230 Chipsatz / sd-card / 2 * 3,5 Zoll 4TB HDD (raid1) / using as NAS / Kernel 4.4.202-1237-rockchip-ayufan-gfd4492386213 / Booting from an USB3 SSD

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

https://forum.frank-mankel.org/category/14/rockpro64
  Reply
#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.
  Reply
#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. Started Bionic minimal - now eoan, Openbox desktop for general purpose daily PC.
* PinePhone BraveHeart :-)
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Arch Linux on RockPro64 mmatyas 28 10,309 03-20-2020, 12:27 AM
Last Post: hev
  Rockpro64 and stock arch linux TaborFife 6 873 01-15-2020, 05:17 PM
Last Post: dragop
  Problem with compiling ayufans linux kernel voegelit 4 296 01-14-2020, 07:38 AM
Last Post: patstew
  Frequent kernel panic, possibly due to PCIe SSD? meier 4 367 11-22-2019, 05:15 PM
Last Post: meier
  My PCIe disk controller works with Linux 5.3.6 guannais 1 218 10-30-2019, 07:11 PM
Last Post: guannais
  Linux Build Help: Stuck at "Starting kernel ..." ihamilton 2 575 10-10-2019, 12:51 PM
Last Post: ihamilton
Information Update 22.02.2019 Feature-complete Debian build - SDIO WiFi/BT / PCIe / 3D / 2D Luke 100 17,105 10-04-2019, 08:57 PM
Last Post: tuxd3v
  Void Linux WIP losinggeneration 0 372 10-04-2019, 03:23 AM
Last Post: losinggeneration
  Linux distro that will work with Kodi? SBCraok 9 597 09-18-2019, 02:12 AM
Last Post: mtrcycllvr
  PCIe ath10k on RockPro64 dasfranky 5 345 08-31-2019, 11:36 AM
Last Post: tuxd3v

Forum Jump:


Users browsing this thread: 1 Guest(s)