=> pci enum
PCIe Linking... LTSSM is 0x1
PCIe Link up, LTSSM is 0x230011
PCIE-0: Link up (Gen3-x2, Bus0)
=> pci scan
Scanning PCI devices on bus 0
BusDevFun VendorId DeviceId Device Class Sub-Class
_____________________________________________________________
00.00.00 0x1d87 0x3566 Bridge device 0x04
=> pci 1
Scanning PCI devices on bus 1
BusDevFun VendorId DeviceId Device Class Sub-Class
_____________________________________________________________
01.00.00 0x144d 0xa808 Mass storage controller 0x08
=> nvme scan
=> nvme details
Blk device 0: Optional Admin Command Support:
Namespace Management/Attachment: no
Firmware Commit/Image download: yes
Format NVM: yes
Security Send/Receive: no
Blk device 0: Optional NVM Command Support:
Reservation: yes
Save/Select field in the Set/Get features: yes
Write Zeroes: yes
Dataset Management: yes
Write Uncorrectable: yes
Blk device 0: Format NVM Attributes:
Support Cryptographic Erase: No
Support erase a particular namespace: Yes
Support format a particular namespace: Yes
Blk device 0: LBA Format Support:
Blk device 0: End-to-End DataProtect Capabilities:
As last eight bytes: No
As first eight bytes: No
Support Type3: No
Support Type2: No
Support Type1: No
Blk device 0: Metadata capabilities:
As part of a separate buffer: No
As part of an extended data LBA: No
=> nvme info
Device 0: Vendor: 0x144d Rev: EXD7201Q Prod: S444NA0M384608
Type: Hard Disk
Capacity: 244198.3 MB = 238.4 GB (500118192 x 512)
=> nvme device 0
=> md.l 0x40000000 1
40000000: d08ec033 3...
=> mw.l 0x40000000 0x55aa55aa
=> md.l 0x40000000 1
40000000: 55aa55aa .U.U
=> nvme write 0x40000000 0x0 0x1
nvme write: device 0 block # 0, count 1 ... 1 blocks written: OK
=> md.l 0x44000000 1
44000000: ffffffff ....
=> nvme read 0x44000000 0x0 0x1
nvme read: device 0 block # 0, count 1 ... 1 blocks read: OK
=> md.l 0x44000000 1
44000000: 55aa55aa .U.U
Change-Id: I645dfc7e88722e9948ecb6e1a3a589eb4b420c1f
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| fsl_pci_init.c | ||
| pci-emul-uclass.c | ||
| pci-uclass.c | ||
| pci.c | ||
| pci_auto.c | ||
| pci_auto_common.c | ||
| pci_auto_old.c | ||
| pci_common.c | ||
| pci_compat.c | ||
| pci_ftpci100.c | ||
| pci_gt64120.c | ||
| pci_indirect.c | ||
| pci_internal.h | ||
| pci_msc01.c | ||
| pci_mvebu.c | ||
| pci_rom.c | ||
| pci_sandbox.c | ||
| pci_sh4.c | ||
| pci_sh7751.c | ||
| pci_sh7780.c | ||
| pci_tegra.c | ||
| pci_x86.c | ||
| pcie_dw_mvebu.c | ||
| pcie_dw_rockchip.c | ||
| pcie_imx.c | ||
| pcie_layerscape.c | ||
| pcie_layerscape.h | ||
| pcie_layerscape_fixup.c | ||
| pcie_xilinx.c | ||
| tsi108_pci.c | ||