diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2017-08-03 12:31:03 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-08-13 22:17:33 +0300 |
commit | 7088a365987d12a461c6d048e8ce9fa1afcb298d (patch) | |
tree | 5095d62c725e93f7b18bacda439f1be7c5c59019 /doc | |
parent | beb5f521392e7da208455f3bf0c86bc141c0879d (diff) | |
download | u-boot-7088a365987d12a461c6d048e8ce9fa1afcb298d.tar.xz |
x86: qemu: Enable NVMe driver
QEMU supports NVMe emulation. Enable the NVMe driver on QEMU x86.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/README.nvme | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/README.nvme b/doc/README.nvme index 28ecf54000..3afa912a58 100644 --- a/doc/README.nvme +++ b/doc/README.nvme @@ -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 |