aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAlison Chaiken2017-06-25 16:43:21 -0700
committerTom Rini2017-08-04 09:56:02 -0400
commit52791db74faba880ec2fedc633d2943811955ad5 (patch)
treef6fc8d2c54618ebbf7ab5685af078cc68ad12f70 /doc
parent0a242386254066b45a9ab6dbdfa902575402df9b (diff)
cmd gpt: test in sandbox
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>
Diffstat (limited to 'doc')
-rw-r--r--doc/README.gpt10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/README.gpt b/doc/README.gpt
index 0a3286f6368..543bf872d07 100644
--- a/doc/README.gpt
+++ b/doc/README.gpt
@@ -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:
====================