]> Git Repo - J-u-boot.git/blobdiff - doc/README.gpt
cmd gpt: test in sandbox
[J-u-boot.git] / doc / README.gpt
index 0a3286f63686c4de9e09f76c94cd176cc0514bdc..543bf872d073190ef1c2773fea12003b8267c053 100644 (file)
@@ -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
+[ . . . ]
+
 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:
This page took 0.023539 seconds and 4 git commands to generate.