Page 1 of 1
云模组烧录授权平台授权失败,错误提示:固件版本:1.0.1生产凭证版本:1.0.7
Posted: 2023年 Oct 20日 21:36
by smtlinks
基于ty_iot_sdk_bk7231n_2.3.3-beta.277开发,使用云模组烧录授权平台进行授权操作,错误提示:固件版本:1.0.1生产凭证版本:1.0.7
编译的时候,使用的命令是sh ./build_app.sh apps/tuya_demo_elp_1plug tuya_demo_elp_1plug 1.0.7
也在apps/tuya_demo_elp_1plug/output目录下正常生成了一个1.0.7的文件夹,单独用原厂工具烧录这个文件夹里面的QIO固件,再去进行授权操作,也是一样的错误。
请问这个问题要怎么排查。
Re: 云模组烧录授权平台授权失败,错误提示:固件版本:1.0.1生产凭证版本:1.0.7
Posted: 2023年 Oct 23日 09:32
by yingtao_33
先执行一下sh ./build_app.sh apps/tuya_demo_elp_1plug tuya_demo_elp_1plug 1.0.7 clean 这个指令清一下。然后再编译sh ./build_app.sh apps/tuya_demo_elp_1plug tuya_demo_elp_1plug 1.0.7
Re: 云模组烧录授权平台授权失败,错误提示:固件版本:1.0.1生产凭证版本:1.0.7
Posted: 2023年 Oct 24日 10:30
by smtlinks
sh ./build_app.sh apps/tuya_demo_elp_1plug/ tuya_demo_elp_1plug 1.0.1 clean
APP_PATH=apps/tuya_demo_elp_1plug/
APP_NAME=tuya_demo_elp_1plug
APP_VERSION=1.0.1
USER_CMD=clean
APP_BIN_NAME=tuya_demo_elp_1plug
APP_VERSION=1.0.1
TARGET_PLATFORM=bk7231n
USER_CMD=clean
Start Compile
system:Linux
Removing TUYA APP Common and Components Objs
not is ci build
make: Entering directory '/home/share/samba/ty_iot_sdk_bk7231n_2.3.3/platforms/bk7231n/bk7231n_os'
fatal: No annotated tags can describe 'cc753c1d7cd56eff41ce9ba04813ad83159b7d15'.
However, there were unannotated tags: try --tags.
make[1]: Entering directory '/home/share/samba/ty_iot_sdk_bk7231n_2.3.3/platforms/bk7231n/bk7231n_os'
rm -f .config
rm -rf Debug
rm -rf
rm -f
rm -rf ../../../apps/tuya_demo_elp_1plug/output/1.0.1
make[1]: Leaving directory '/home/share/samba/ty_iot_sdk_bk7231n_2.3.3/platforms/bk7231n/bk7231n_os'
make: Leaving directory '/home/share/samba/ty_iot_sdk_bk7231n_2.3.3/platforms/bk7231n/bk7231n_os'
Start Combined
cp: cannot stat '../../../apps/tuya_demo_elp_1plug/output/1.0.1/tuya_demo_elp_1plug_1.0.1.bin': No such file or directory
这条指令报错呀,而且执行完了之后,就无法再次成功编译了。
Re: 云模组烧录授权平台授权失败,错误提示:固件版本:1.0.1生产凭证版本:1.0.7
Posted: 2023年 Oct 24日 14:02
by yingtao_33
Re: 云模组烧录授权平台授权失败,错误提示:固件版本:1.0.1生产凭证版本:1.0.7
Posted: 2023年 Oct 24日 18:54
by smtlinks
sh ./build_app.sh apps/tuya_demo_elp_1plug/ tuya_demo_elp_1plug 1.0.1
APP_PATH=apps/tuya_demo_elp_1plug/
APP_NAME=tuya_demo_elp_1plug
APP_VERSION=1.0.1
USER_CMD=
APP_BIN_NAME=tuya_demo_elp_1plug
APP_VERSION=1.0.1
TARGET_PLATFORM=bk7231n
USER_CMD=
Start Compile
system:Linux
Removing TUYA APP Common and Components Objs
not is ci build
make: Entering directory '/home/share/samba/ty_iot_sdk_bk7231n_2.3.3/platforms/bk7231n/bk7231n_os'
fatal: No annotated tags can describe 'cc753c1d7cd56eff41ce9ba04813ad83159b7d15'.
However, there were unannotated tags: try --tags.
make[1]: Entering directory '/home/share/samba/ty_iot_sdk_bk7231n_2.3.3/platforms/bk7231n/bk7231n_os'
echo prerequirement0
prerequirement0
Build tuya_demo_elp_1plug
echo prerequirement1
prerequirement1
mkdir -p Debug
echo prerequirement2
prerequirement2
CC beken378/func/wpa_supplicant-2.9/src/drivers/driver_beken.c
CC beken378/func/wpa_supplicant-2.9/src/rsn_supp/wpa_ie.c
CC beken378/func/wpa_supplicant-2.9/src/utils/common.c
CC beken378/func/wpa_supplicant-2.9/src/utils/eloop.c
CC beken378/func/wpa_supplicant-2.9/src/utils/os_none.c
CC beken378/func/wpa_supplicant-2.9/src/utils/wpabuf.c
CC beken378/func/wpa_supplicant-2.9/wpa_supplicant/blacklist.c
CC beken378/func/wpa_supplicant-2.9/wpa_supplicant/bss.c
beken378/func/wpa_supplicant-2.9/src/drivers/driver_beken.c: In function 'wpa_driver_send_action':
beken378/func/wpa_supplicant-2.9/src/drivers/driver_beken.c22: error: 'HOSTAPD_MGMT_ROBUST' undeclared (first use in this function)
type_ptr->type = HOSTAPD_MGMT_ROBUST;
^
beken378/func/wpa_supplicant-2.9/src/drivers/driver_beken.c22: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [application.mk Debug/./beken378/func/wpa_supplicant-2.9/src/drivers/driver_beken.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/home/share/samba/ty_iot_sdk_bk7231n_2.3.3/platforms/bk7231n/bk7231n_os'
make: *** [Makefile:29: mp] Error 2
make: Leaving directory '/home/share/samba/ty_iot_sdk_bk7231n_2.3.3/platforms/bk7231n/bk7231n_os'
Re: 云模组烧录授权平台授权失败,错误提示:固件版本:1.0.1生产凭证版本:1.0.7
Posted: 2023年 Oct 26日 10:46
by 愚者千虑必有一得
这个可能是我们clean有点问题,你把vendor目录删除,然后再执行编译命令试试。