The pi4 has a native pcie slot and there are nvme hats that take advantage of this to mount nvme drives to this pcie bus. 

On Fri, May 31, 2024, 7:50 PM Jim via PLUG-discuss <plug-discuss@lists.phxlinux.org> wrote:
I have a Raspberry Pi4 and I've had trouble with some adapters for some
sata ssds I've tried using with it. I have several usb3 adapters that
don't support uasp. When I try using one, the speeds are slow and I get
lots of errors.  I looked this up online and everything I saw about it
said that some usb3 ssd adapters don't support uasp and a  system trying
to use it will get slow speeds and lots of errors. Some of the stuff I
read says how to get the manufacturer and model id numbers and put them
in /boot/firmware/cmdline.txt so the system will not try using uasp with
those devices.  In  the cmdline.txt file on my Pi4, I have the following
at the front of cmdline.txt:

usb-storage-quirks-152d:0578:u (152d:0578 is the manufacturer and  
device numbers for the device in question.)

This is supposed to tell the system not to use uasp on the specified
device.  I tried that, and rebooted the pi, but still have the problem.
The only way I got it working was to plug the second drive into a usb2
port.  It's a bit slower, but works.

Here it told how to identify the device and how to modify cmdline.txt to
tell the system not to use uasp with the device
https://forums.raspberrypi.com/viewtopic.php?t=245931

The cmdline.txt file starts with usb-storage-quirks-152d:0578:u

Typing lsusb identifies the device.

$ lsusb
Bus 002 Device 002: ID 14b0:0206 StarTech.com Ltd.  Vi550 S3  This one
works. The drive the pi boots from is connected to it.

Bus 001 Device 003: ID 152d:0578 JMicron Technology Corp. / JMicron USA
Technology Corp. JMS578 SATA 6Gb/s This is the one I'm having trouble with.

It does not work without lots of errors. I only got it working by
putting it in a usb2 port.  Is there any way to test whether or not a
device supports uasp?

Thanks for any help you can send my way.

---------------------------------------------------
PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss