问题描述及复现步骤:
在Linux下尝试烧录自己编译的固件,
upgradetool 执行报错:
root@firefly:~/img# upgrade_tool
-bash: /usr/local/bin/upgrade_tool: cannot execute binary file: Exec format
error
root@firefly:~/img# sudo upgrade_tool uf
FIREFLY-RK3399-UBUNTURK3399PRO-GPT-20220916-2217.img
/usr/local/bin/upgrade_tool: 1: Syntax error: “(” unexpected
root@firefly:~/img#
版本信息:
root@firefly:~/img# ffgo version
OS: Ubuntu 20.04.4 LTS
MODEL: Firefly-RK3399 Board (Linux Opensource)
FIREFLY: v2.11-56-g44d33d7
DATE: 20220526
KERNEL: Linux version 4.4.194+ (jincheng@锦成) (rk3399/firefly:
b1730021dd51a88c333473088af3a402491b4c23) (gcc version 6.3.1 20170404 (Linaro
GCC 6.3-2017.05) ) #86 SMP Sat May 28 11:47:08 CST 2022
尝试Linux_Upgrade_Tool_1.34,upgrade_tool_for_Android8.1 都无法执行。