From afeadb093c86c1e9b25100348db80d2677d77fe1 Mon Sep 17 00:00:00 2001 From: Dirk Chang Date: Wed, 20 Nov 2024 09:57:25 +0800 Subject: [PATCH] rockchip: fixed image check with uboot changes --- .../linux/rockchip/armv8/base-files/lib/upgrade/platform.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/rockchip/armv8/base-files/lib/upgrade/platform.sh b/target/linux/rockchip/armv8/base-files/lib/upgrade/platform.sh index c9f4d48271ab39..d685e6ed156795 100644 --- a/target/linux/rockchip/armv8/base-files/lib/upgrade/platform.sh +++ b/target/linux/rockchip/armv8/base-files/lib/upgrade/platform.sh @@ -1,8 +1,8 @@ REQUIRE_IMAGE_METADATA=1 tlink_get_type_magic() { - # 0x3437b - local skip_base=213883 + # 0x2dcfb + local skip_base=187643 local skip_offset=$(($skip_base)) local name_len=$2 get_image_dd "$1" bs=1 count=$name_len skip=$skip_offset 2>/dev/null | hexdump -v -n $name_len -e '/1 "%c"'