4
0

fixed partition ID in uboot dat

This commit is contained in:
Benjamin Böhmke
2019-12-15 14:56:25 +01:00
parent 1ea1259aad
commit 36db1f5096
4 changed files with 49 additions and 37 deletions

View File

@ -18,9 +18,9 @@ sha256sum -c ${image_file}.sha256
current_idx=$(rdev | sed 's#/dev/mmcblk0p\([^ ]*\).*#\1#')
if [ $current_idx -eq 2 ]; then
echo "Start update for partition B"
else
echo "Start update for partition A"
else
echo "Start update for partition B"
fi
flash_device="/dev/mmcblk0p${flash_idx}"