From: Junghoon Kim Date: Mon, 9 Dec 2019 07:22:54 +0000 (+0900) Subject: scripts: mkbootimg_rpi4.sh: Create boot tarball for the lthor flashing X-Git-Tag: submit/tizen/20220208.074352~182 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a59487194b02a267379b2bd2075f4b2267e3e07a;p=platform%2Fkernel%2Flinux-rpi.git scripts: mkbootimg_rpi4.sh: Create boot tarball for the lthor flashing This patch is to create boot tarball for the lthor flashing. With this, we can easily test the rpi4 kernel in the local environment. Change-Id: I33413d641a18122612d23f3f110b7eed0997c2ea Signed-off-by: Junghoon Kim --- diff --git a/scripts/mkbootimg_rpi4.sh b/scripts/mkbootimg_rpi4.sh index 194007f..896b0e7 100755 --- a/scripts/mkbootimg_rpi4.sh +++ b/scripts/mkbootimg_rpi4.sh @@ -57,3 +57,15 @@ sync sudo umount tmp/lib/modules rm -rf tmp tmp_modules + +# Create boot tarball for the lthor flashing +DATE=`date +%Y%m%d` +BOOT_TARBALL=tizen-local-${DATE}-boot-armv7l-rpi4.tar + +tar cf ${BOOT_TARBALL} boot.img modules.img +if [ "$?" != "0" ]; then + echo "Failed to create boot tarball" + exit 1 +fi + +echo ${BOOT_TARBALL}