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)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 16 Nov 2021 12:00:22 +0000 (13:00 +0100)
commit70b6ce375220f356b5b13a2a97fbeda9ae6cb22d
tree100c2bea17a6ca19f6fb64ec0c3712b24974bbe1
parent8402fc16564acb758873edbfde91171404d51796
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