Commit 564cf25d5b1b90ae790e2b7619292935f40b13e6

Authored by Alison Chaiken
Committed by Simon Glass
1 parent 6b20c347a0

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>

Showing 1 changed file with 10 additions and 0 deletions Side-by-side Diff

... ... @@ -210,6 +210,16 @@
210 210 U-BOOT> if test $? = 0; then echo "GPT OK"; else echo "GPT ERR"; fi
211 211  
212 212  
  213 +The GPT functionality may be tested with the 'sandbox' board by
  214 +creating a disk image as described under 'Block Device Emulation' in
  215 +board/sandbox/README.sandbox:
  216 +
  217 +=>host bind 0 ./disk.raw
  218 +=> gpt read host 0
  219 +[ . . . ]
  220 +=> gpt flip host 0
  221 +[ . . . ]
  222 +
213 223 Partition type GUID:
214 224 ====================
215 225