fixed partition ID in uboot dat
This commit is contained in:
@ -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}"
|
||||
|
Reference in New Issue
Block a user