Skip to content

Commit

Permalink
rockchip: fixed image check with uboot changes
Browse files Browse the repository at this point in the history
  • Loading branch information
srdgame committed Nov 20, 2024
1 parent 8de95ed commit afeadb0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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"'
Expand Down

0 comments on commit afeadb0

Please sign in to comment.