From 64207d5297c80ab6ec8f67daae8aa456ed7ac7ee Mon Sep 17 00:00:00 2001 From: "boheng.lin" <“bhlin919@126.com”> Date: Fri, 22 Sep 2023 12:17:06 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=91=E7=82=B9=E4=BF=AE=E6=94=B9=E4=B8=BA?= =?UTF-8?q?=202.57577Ghz?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main.c | 3 +-- download.exp | 43 ------------------------------------------- root.exp | 18 ------------------ 3 files changed, 1 insertion(+), 63 deletions(-) delete mode 100644 download.exp delete mode 100644 root.exp diff --git a/app/src/main.c b/app/src/main.c index b64647a..50573c2 100644 --- a/app/src/main.c +++ b/app/src/main.c @@ -52,8 +52,7 @@ int32_t main(int32_t argc, char* argvp[]) #ifdef ENABLE_JESD_TEST UCP_API_RFIC_CellInit(100000000u); - // UCP_API_RFIC_CellSetup(2575770000u, 2575770000u, 0); - UCP_API_RFIC_CellSetup(2566890000u, 2566890000u, 0); + UCP_API_RFIC_CellSetup(2575770000u, 2575770000u, 0); #endif osp_init(); osp_set_taskcpu(7, 95); diff --git a/download.exp b/download.exp deleted file mode 100644 index e161093..0000000 --- a/download.exp +++ /dev/null @@ -1,43 +0,0 @@ -#!/usr/bin/expect - -set port [lindex $argv 0] -#set ip 172.29.118 -set ip 192.168.20 - -set timeout -1 -spawn ssh root@$ip.$port rm -rf /root/rfic -expect { - "password" {send "root\r"} -} -expect eof - -set timeout -1 -spawn ssh root@$ip.$port rm -rf /root/*.txt; -expect { - "password" {send "root\r"} -} -expect eof - -set timeout -1 -spawn scp -r ./build/msgtransfer.out ./driver/rfic/adrv9026/csubin/256QAM/ ./driver/rfic/adrv9026/csubin/256QAM/start.sh root@$ip.$port:/root/ -expect { - "password" {send "root\r"} -} -expect eof - -set timeout -1 -spawn scp -r ./driver/rfic/adrv9026/resources/ucp_trx_gpioCfg_evmy.json ./driver/rfic/adrv9026/resources/ucp_trx_gpioCfg_evb.json root@$ip.$port:/lib/firmware/resources/ -expect { - "password" {send "root\r"} -} -expect eof - -set timeout -1 -spawn ssh root@$ip.$port sync; -expect { - "password" {send "root\r"} -} -expect eof - - - diff --git a/root.exp b/root.exp deleted file mode 100644 index f1766ef..0000000 --- a/root.exp +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/expect - -set port [lindex $argv 0] -#set ip 172.29.118 -set ip 192.168.20 -spawn rm /public/linboheng/.ssh/known_hosts - -set timeout -1 -spawn ssh root@$ip.$port -expect { - "yes/no" {send "yes\r"} -} - -set timeout 3 -expect { - "password" {send "root\r"} -} -expect eof \ No newline at end of file