More detailed alignment info
This commit is contained in:
parent
b599101ced
commit
b0dbb8b21a
6
ckalign
6
ckalign
@ -20,13 +20,13 @@ SECTS_1M=$(( ALIGN_1M * 2048 ))
|
|||||||
((SECTS_1M-=${BOUNDADJ}))
|
((SECTS_1M-=${BOUNDADJ}))
|
||||||
|
|
||||||
if [ ${2} -eq ${SECTS_4K} ]; then
|
if [ ${2} -eq ${SECTS_4K} ]; then
|
||||||
echo "Boundary is 4K aligned."
|
echo "Boundary ${2} is 4K aligned."
|
||||||
else
|
else
|
||||||
echo "Boundary is not 4K aligned. Proper alignment would be ${SECTS_4K} or $(( SECTS_4K + 8 ))."
|
echo "Boundary ${2} is not 4K aligned. Proper alignment would be ${SECTS_4K} or $(( SECTS_4K + 8 ))."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ${2} -eq ${SECTS_1M} ]; then
|
if [ ${2} -eq ${SECTS_1M} ]; then
|
||||||
echo "Boundary ${2} is 1M aligned."
|
echo "Boundary ${2} is 1M aligned."
|
||||||
else
|
else
|
||||||
echo "Boundary is not 1M aligned. Proper alignment would be ${SECTS_1M} or $(( SECTS_1M + 2048 ))."
|
echo "Boundary ${2} is not 1M aligned. Proper alignment would be ${SECTS_1M} or $(( SECTS_1M + 2048 ))."
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user