Commit 01b0ddda authored by fuyanbin's avatar fuyanbin
Browse files

有些rockchip的固件chip信息在BOOT里才能读取到

parent 7e2aaa23
Pipeline #55427 passed with stages
in 7 seconds
......@@ -361,7 +361,8 @@ __pack_super_img() {
__get_chip_from_parameter() {
local chip
chip=$(rkChipInfo "$IMAGE_FILE" | awk '{print $1}')
chip=$(rkChipInfo -f "$IMAGE_FILE" -o 123 | awk '{print $1}')
[[ -z "$chip" ]] && chip=$(rkChipInfo -f "$IMAGE_FILE" -o 21 | awk '{print $1}')
printf "RK%s" "$chip"
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment