1
0
Fork 0

flash-only-uboot: two passes of erasing disk

This commit is contained in:
Pratham Patel 2024-03-07 14:47:31 +05:30
parent fc0c70b620
commit 340f8f0b4d
Signed by: thefossguy
SSH Key Fingerprint: SHA256:/B3wAg7jnMEBQ2JwkebbS/eXVZANDmqRfnd9QkIhxMI
1 changed files with 2 additions and 0 deletions

View File

@ -34,7 +34,9 @@ read -r WAIT_INFINITELY
${DD_COMMON} bs=1M count=64 of="${DEVICE}" if=/dev/urandom
${DD_COMMON} bs=1M count=64 of="${DEVICE}" if=/dev/zero
sync
${DD_COMMON} bs=1M count=64 of="${DEVICE}" if=/dev/urandom
${DD_COMMON} bs=1M count=64 of="${DEVICE}" if=/dev/zero
sync
${FLASH_CMD}