mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-24 12:44:23 +08:00
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>
This commit is contained in:
parent
6b20c347a0
commit
564cf25d5b
@ -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:
|
||||
====================
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user