scripts: tizen: sd_fusing_rpi3: update the rpi3 script
authorJaehoon Chung <jh80.chung@samsung.com>
Thu, 14 Oct 2021 23:11:37 +0000 (08:11 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 17 Oct 2023 04:19:31 +0000 (13:19 +0900)
commit265a484baf70197558d25a7455a3e90fd619e063
tree0103742019f081d0574bfef4707fc0b5bbb360b1
parent4173716dc7491f232deb94491ffe8f4dd04f6ed1
scripts: tizen: sd_fusing_rpi3: update the rpi3 script

To prevent wrong operation, check the result whether format is succeed
or not. If it's failed, exit this script.
And if there is already "mnt_tmp" directory, remove it to clear the
previous status.

It's changed the location to remove a partition table with dd command
with count is changed  from 16 to 32.
Because  it seems that partition table doesn't clear.

Change-Id: Id3eb739d5add8784d0f41eca8a7e4360a8a0dbfd
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
scripts/tizen/sd_fusing_rpi3.sh