|
@@ -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
|
|
=> fatload nvme 0:1 a0000000 /kernel.itb
|
|
=> bootm a0000000
|
|
=> 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
|