Skip to content
Snippets Groups Projects
Commit 564cf25d authored by Alison Chaiken's avatar Alison Chaiken Committed by Simon Glass
Browse files

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: default avatarAlison Chaiken <alison@peloton-tech.com>
parent 6b20c347
No related branches found
No related tags found
No related merge requests found
...@@ -210,6 +210,16 @@ U-BOOT> gpt verify mmc 0 $partitions ...@@ -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 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: Partition type GUID:
==================== ====================
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment