From 1756d5a17ff053272f77bb412f7ed673f899504e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=BE=E5=AD=9F=E5=85=83?= Date: Wed, 25 Sep 2024 09:37:58 +0000 Subject: [PATCH 1/3] =?UTF-8?q?update=20DeployDevice/src/func/liteOsUpgrad?= =?UTF-8?q?e/liteOsUpgrade=5FRK3568=5Fapp.py.=20=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E9=A2=9D=E5=A4=96=E9=87=8D=E5=90=AF=E4=B8=80=E6=AC=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 贾孟元 --- .../src/func/liteOsUpgrade/liteOsUpgrade_RK3568_app.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/DeployDevice/src/func/liteOsUpgrade/liteOsUpgrade_RK3568_app.py b/DeployDevice/src/func/liteOsUpgrade/liteOsUpgrade_RK3568_app.py index 5d0fc81..c09d1fe 100644 --- a/DeployDevice/src/func/liteOsUpgrade/liteOsUpgrade_RK3568_app.py +++ b/DeployDevice/src/func/liteOsUpgrade/liteOsUpgrade_RK3568_app.py @@ -169,7 +169,7 @@ class liteOsUpgrade_RK3568(BaseApp): reboot_devices_cmd = "%s -s %s RD" % (loader_tool_path, LocationID) reboot_result = sendCmd(reboot_devices_cmd) logger.info(reboot_result) - time.sleep(60) + time.sleep(30) # try: # if upgrade_test_type != "mini_system_test": # if not start_cmd(sn): @@ -187,6 +187,8 @@ class liteOsUpgrade_RK3568(BaseApp): return False else: logger.info("Reboot successfully!") + os.system("hdc -t %s shell reboot" % sn) + time.sleep(40) os.system("hdc -t %s shell set persist.usb.setting.gadget_conn_prompt false" % sn) logger.printLog("******下载完成,升级成功,开始进行冒烟测试******") From d78a4559bf0a13ea395b5c506efd59b90c775da3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=BE=E5=AD=9F=E5=85=83?= Date: Thu, 26 Sep 2024 01:22:48 +0000 Subject: [PATCH 2/3] =?UTF-8?q?update=20DeployDevice/src/func/liteOsUpgrad?= =?UTF-8?q?e/liteOsUpgrade=5FRK3568=5Fapp.py.=20=E6=B5=8B=E8=AF=95usb?= =?UTF-8?q?=E8=B0=83=E8=AF=95=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 贾孟元 --- .../src/func/liteOsUpgrade/liteOsUpgrade_RK3568_app.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/DeployDevice/src/func/liteOsUpgrade/liteOsUpgrade_RK3568_app.py b/DeployDevice/src/func/liteOsUpgrade/liteOsUpgrade_RK3568_app.py index c09d1fe..ba4f736 100644 --- a/DeployDevice/src/func/liteOsUpgrade/liteOsUpgrade_RK3568_app.py +++ b/DeployDevice/src/func/liteOsUpgrade/liteOsUpgrade_RK3568_app.py @@ -187,9 +187,9 @@ class liteOsUpgrade_RK3568(BaseApp): return False else: logger.info("Reboot successfully!") - os.system("hdc -t %s shell reboot" % sn) - time.sleep(40) - os.system("hdc -t %s shell set persist.usb.setting.gadget_conn_prompt false" % sn) + # os.system("hdc -t %s shell reboot" % sn) + # time.sleep(40) + # os.system("hdc -t %s shell set persist.usb.setting.gadget_conn_prompt false" % sn) logger.printLog("******下载完成,升级成功,开始进行冒烟测试******") hdc_kill() From 488fc9b9193da9a487d8dba2dcc07f880047b58f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=BE=E5=AD=9F=E5=85=83?= Date: Thu, 26 Sep 2024 01:25:43 +0000 Subject: [PATCH 3/3] =?UTF-8?q?update=20DeployDevice/src/func/liteOsUpgrad?= =?UTF-8?q?e/liteOsUpgrade=5FRK3568=5Fapp.py.=20=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 贾孟元 --- DeployDevice/src/func/liteOsUpgrade/liteOsUpgrade_RK3568_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DeployDevice/src/func/liteOsUpgrade/liteOsUpgrade_RK3568_app.py b/DeployDevice/src/func/liteOsUpgrade/liteOsUpgrade_RK3568_app.py index ba4f736..bd7f810 100644 --- a/DeployDevice/src/func/liteOsUpgrade/liteOsUpgrade_RK3568_app.py +++ b/DeployDevice/src/func/liteOsUpgrade/liteOsUpgrade_RK3568_app.py @@ -169,7 +169,7 @@ class liteOsUpgrade_RK3568(BaseApp): reboot_devices_cmd = "%s -s %s RD" % (loader_tool_path, LocationID) reboot_result = sendCmd(reboot_devices_cmd) logger.info(reboot_result) - time.sleep(30) + time.sleep(50) # try: # if upgrade_test_type != "mini_system_test": # if not start_cmd(sn):