You've already forked linux-rockchip
mirror of
https://github.com/armbian/linux-rockchip.git
synced 2026-01-06 11:08:10 -08:00
rk: scripts/mkimg: Pass '-B 0x200' to mkimage if supported
Pass '-B 0x200' to mkimage to align the FIT structure and data to 512 byte. Signed-off-by: Tao Huang <huangtao@rock-chips.com> Change-Id: I56286064e8db62e4ae236e15a3de6827a577f506
This commit is contained in:
@@ -119,6 +119,9 @@ check_mkimage()
|
||||
echo '"mkimage" command not found - U-Boot images will not be built' >&2
|
||||
exit 1;
|
||||
fi
|
||||
if ${MKIMAGE} 2>&1 | grep -q "\[-B size\]"; then
|
||||
MKIMAGE_ARG="-B 0x200 ${MKIMAGE_ARG}"
|
||||
fi
|
||||
}
|
||||
|
||||
unpack_itb()
|
||||
|
||||
Reference in New Issue
Block a user