05-12-2020, 07:30 AM
(05-11-2020, 01:08 PM)tophneal Wrote:(05-11-2020, 11:59 AM)ilovegentoo Wrote: Hi all,
I finally bit the bullet and ordered a Intel 660p 512GB NVME SSD for testing my RockPro64 on it.
I downloaded the latest Ayufan Debian Buster build from https://github.com/ayufan-rock64/linux-b...m64.img.xz
I originally installed it on an SD card, then decided to copy it over to an USB stick (supposedly faster).
After that I again copied it over to the NVME drive.
The script I used for the migration is:
Code:#!/bin/bash # Parameters source="/dev/disk/by-id/usb-Samsung_Flash_Drive_xxxxxxxxxxxxxxxx-0:0" destination="/dev/disk/by-id/nvme-INTEL_xxxxxxxxxxxxxxxxxxxxxxxxx" partitions=(1 2 3 4 5 6 7) backupFolder="./backup" rootid=7 # Root ID partition number # Generate timestamp timestamp=$(date +%Y%m%d%H%M) # Create folder if not exist mkdir -p $backupFolder # Save GPT disks sgdisk --backup=$backupFolder/$(basename $source)_$timestamp.sgdisk $source sgdisk --backup=$backupFolder/$(basename $destination)_$timestamp.sgdisk $destination # Copy $source layout to $dest and regenerate GUIDs sgdisk --replicate=$destination $source sgdisk -G $destination # Clone partitions for partition in "${partitions[@]}"; do echo "Clone partition $source-part$partition -> $destination-part$partition" dd if=$source-part$partition of=$destination-part$partition bs=1M status=progress echo "Cloned partition finished!" done # Must be done manually for now ... #yes "-1MiB" | parted $destination resizepart $rootid #e2fsck $destination-part$rootid #resize2fs $destination-part$rootid
I then included the following modules and regenerated the initramfs:
cat /etc/initramfs-tools/modules
Code:# List of modules that you want to include in your initramfs. # They will be loaded at boot time in the order below. # # Syntax: module_name [args ...] # # You must run update-initramfs(8) to effect this change. # # Examples: # # raid1 # sd_mod pcie_rockchip_host phy_rockchip_pcie nvme
update-initramfs -k all -u
I cannot book from NVME at the present moment. The onboard red LED stays lighted up.
If I put back the USB stick it boots normally.
Is there something I am forgetting ? Thank you
Did you flash a bootloader to the SPI?
i had some problems with nvme ssd too. i can confirm lenovo ssds are not working while samsung ssds are working fine with the same setup. can u get an error from the boot process with the graphical uboot/serial port

