Skip to content

Commit b78a8fb

Browse files
Add a sample vpd.sh for qemu
Signed-off-by: Johnny Lin <johnny_lin@wiwynn.com>
1 parent 6ba9de0 commit b78a8fb

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

examples/qemu/vpd.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
VPD="../../tools/vpd"
3+
ROM="build/qemu-x86_64/coreboot/build/coreboot.rom"
4+
5+
#Or don't add '-O' that reformats the RO_VPD created by osf-builder/Makefile.inc
6+
$VPD -f $ROM -O -i RO_VPD -s fsp_log_enable=0
7+
$VPD -f $ROM -i RO_VPD -s test_key=123
8+
$VPD -f $ROM -O -i RW_VPD
9+

0 commit comments

Comments
 (0)