cmd gpt: test in sandbox
authorAlison Chaiken <alison@peloton-tech.com>
Sun, 25 Jun 2017 23:43:21 +0000 (16:43 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 4 Aug 2017 13:56:02 +0000 (09:56 -0400)
Make minor changes to README.gpt and sandbox_defconfig to support
testing of the gpt command's functionality in the sandbox.

Changes since v6: none.

Signed-off-by: Alison Chaiken <alison@peloton-tech.com>
doc/README.gpt

index 0a3286f..543bf87 100644 (file)
@@ -220,6 +220,16 @@ board/sandbox/README.sandbox:
 => gpt flip host 0
 [ . . . ]
 
+The GPT functionality may be tested with the 'sandbox' board by
+creating a disk image as described under 'Block Device Emulation' in
+board/sandbox/README.sandbox:
+
+=>host bind 0 ./disk.raw
+=> gpt read host 0
+[ . . . ]
+=> gpt flip host 0
+[ . . . ]
+
 Partition type GUID:
 ====================