[U-Boot] [PATCH 5/5] cmd gpt: test in sandbox
alison at peloton-tech.com
alison at peloton-tech.com
Sun Jun 4 22:11:21 UTC 2017
From: Alison Chaiken <alison at peloton-tech.com>
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 at peloton-tech.com>
---
doc/README.gpt | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/doc/README.gpt b/doc/README.gpt
index 754e490..7b3936b 100644
--- a/doc/README.gpt
+++ b/doc/README.gpt
@@ -224,6 +224,16 @@ U-BOOT> gpt flip mmc 0
Choose different partition names by modifying these strings in gpt.c.
+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:
====================
--
2.1.4
More information about the U-Boot
mailing list