]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - doc/README.nvme
thermal: ti-bandgap: Add support for temperature sensor
[people/ms/u-boot.git] / doc / README.nvme
index 28ecf54000110164df4d943ad8b9dc9f60140463..d9bda23fe4875fb376bf8b58bf26e5c63d5ba70a 100644 (file)
@@ -50,14 +50,14 @@ identified.
 
 To list all of the NVMe hard disks, try:
 
-  => nvme list
+  => nvme info
   Device 0: Vendor: 0x8086 Rev: 8DV10131 Prod: CVFT535600LS400BGN
            Type: Hard Disk
            Capacity: 381554.0 MB = 372.6 GB (781422768 x 512)
 
 and print out detailed information for controller and namespaces via:
 
-  => nvme info
+  => nvme detail
 
 Raw block read/write to can be done via the 'nvme read/write' commands:
 
@@ -76,3 +76,11 @@ Of course, file system command can be used on the NVMe hard disk as well:
 
   => fatload nvme 0:1 a0000000 /kernel.itb
   => bootm a0000000
+
+Testing NVMe with QEMU x86
+--------------------------
+QEMU supports NVMe emulation and we can test NVMe driver with QEMU x86 running
+U-Boot. Please see README.x86 for how to build u-boot.rom image for QEMU x86.
+
+Example command line to call QEMU x86 below with emulated NVMe device:
+$ ./qemu-system-i386 -drive file=nvme.img,if=none,id=drv0 -device nvme,drive=drv0,serial=QEMUNVME0001 -bios u-boot.rom