summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAlison Chaiken <alison@peloton-tech.com>2017-06-04 15:11:21 -0700
committerSimon Glass <sjg@chromium.org>2017-07-11 10:08:19 -0600
commit564cf25d5b1b90ae790e2b7619292935f40b13e6 (patch)
treecb39d9a56322275e345b6c6c5a656a389ad12f3b /doc
parent6b20c347a08f754dd02796ed394f81cf83ae30cd (diff)
downloadu-boot-564cf25d5b1b90ae790e2b7619292935f40b13e6.tar.gz
u-boot-564cf25d5b1b90ae790e2b7619292935f40b13e6.tar.bz2
u-boot-564cf25d5b1b90ae790e2b7619292935f40b13e6.zip
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. 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 3fcd83557f..c0acc8ade5 100644
--- a/doc/README.gpt
+++ b/doc/README.gpt
@@ -210,6 +210,16 @@ U-BOOT> gpt verify mmc 0 $partitions
U-BOOT> if test $? = 0; then echo "GPT OK"; else echo "GPT ERR"; fi
+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:
====================