mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
ppc/pnv: Add a default formatted PNOR image
The default PNOR image is erased and not recognised by skiboot, so NVRAM gets disabled. This change adds a tiny pnor file that is a proper FFS image with a formatted NVRAM partition. This is recognised by skiboot and will persist across machine reboots. Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
This commit is contained in:
parent
4c84a0a4a6
commit
80f9321308
6 changed files with 37 additions and 1 deletions
|
@ -195,6 +195,13 @@ Use a MTD drive to add a PNOR to the machine, and get a NVRAM :
|
|||
|
||||
-drive file=./witherspoon.pnor,format=raw,if=mtd
|
||||
|
||||
If no mtd drive is provided, the powernv platform will create a default
|
||||
PNOR device using a tiny formatted PNOR in pc-bios/pnv-pnor.bin opened
|
||||
read-only (PNOR changes will be persistent across reboots but not across
|
||||
invocations of QEMU). If no defaults are used, an erased 128MB PNOR is
|
||||
provided (which skiboot will probably not recognize since it is not
|
||||
formatted).
|
||||
|
||||
Maintainer contact information
|
||||
------------------------------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue