update bin;add ota from feier git
This commit is contained in:
parent
086acd270a
commit
4696041eec
|
@ -17,12 +17,13 @@ do_compile() {
|
|||
echo ${COMBO_CHIP_ID}
|
||||
echo ${MTK_PROJECT}
|
||||
#cd ${S}/nvram_helper && make ${MULTI_CPU}
|
||||
sh ${S}/copy_include.sh ${TOPDIR} ${COMBO_CHIP_ID} ${MTK_PROJECT}
|
||||
#sh ${S}/copy_include.sh ${TOPDIR} ${COMBO_CHIP_ID} ${MTK_PROJECT}
|
||||
echo ${S}
|
||||
cd ${S}/AssistantCenter && make
|
||||
cd ${S}/daemon_light && make ${MULTI_CPU}
|
||||
#cd ${S}/AssistantCenter && make
|
||||
#cd ${S}/daemon_light && make ${MULTI_CPU}
|
||||
#cd ${S}/udp_server_test && make ${MULTI_CPU}
|
||||
echo "fffffff"
|
||||
cd ${S} && make
|
||||
#cd ${S} && make
|
||||
#cd ${S}/nvram_helper && make ${MULTI_CPU}
|
||||
}
|
||||
|
||||
|
@ -40,6 +41,7 @@ do_install() {
|
|||
install -m 755 ${S}/config_app ${D}${bindir}
|
||||
install -m 755 ${S}/config_app.service ${D}${systemd_unitdir}/system
|
||||
install -m 755 ${S}/daemon_light/daemon.bin ${D}${bindir}
|
||||
#install -m 755 ${S}/udp_server_test/udp_server ${D}${bindir}
|
||||
}
|
||||
|
||||
FILES_${PN} += "/etc /data/dingdong"
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -29,3 +29,10 @@ getcurrentvboxstate
|
|||
config_app启动后的log实时保存在/tmp/config.log可实时查看
|
||||
配网成功后信息会写入/data/dingdong/etc/appconfig.json
|
||||
若想清除配网信息重新配网,删掉/data/dingdong/etc/appconfig*即可
|
||||
|
||||
|
||||
###OTA
|
||||
需要写入key数据后重启才可验证
|
||||
adb push nvram_helper.bin /tmp/
|
||||
adb shell /tmp/nvram_helper.bin -w robosen RBS1234567890123,C8:63:14:20:00:02,C8:63:14:20:00:03,17ffe8eb-1a09-44da-81f5-78f8b6ed1054,52849cce-d932-4179-86ed-3d1ca58426fbfc589f22-8b60-42a5-b673-a4ed2f2c4d09
|
||||
|
||||
|
|
Loading…
Reference in New Issue