Skip to content

Commit df857a3

Browse files
authored
Merge pull request #544 from klauskiwi/qemu_pnor_changes
Documentation: Add host_pnor to Qemu example
2 parents 7a30302 + 902eeb1 commit df857a3

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

doc/user-guide.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@ in it for running tests. An example of such a configuration file is below:
245245
[op-test]
246246
bmc_type=qemu
247247
qemu_binary=~/qemu/ppc64-softmmu/qemu-system-ppc64
248+
host_pnor=palmetto.pnor
248249
flash_skiboot=~/skiboot/skiboot.lid
249250
flash_kernel=zImage.epapr
250251
flash_initramfs=rootfs.cpio
@@ -257,7 +258,8 @@ load, and while it's not *required*, using the uncompressed `rootfs.cpio`
257258
does *significantly* improve boot time to Petitboot.
258259

259260
In this configuration file example, we point to a `qemu` development tree
260-
rather than using the system default `qemu-system-ppc64` binary.
261+
rather than using the system default `qemu-system-ppc64` binary. We also
262+
specify a ``--host-pnor`` file so that `qemu` can mount an NVRAM partition.
261263

262264
To run the "boot to petitboot" test in qemu with the above configuration file,
263265
you can do so like this:

0 commit comments

Comments
 (0)