频点修改为 2.57577Ghz
This commit is contained in:
parent
098a159cd3
commit
64207d5297
@ -52,8 +52,7 @@ int32_t main(int32_t argc, char* argvp[])
|
|||||||
|
|
||||||
#ifdef ENABLE_JESD_TEST
|
#ifdef ENABLE_JESD_TEST
|
||||||
UCP_API_RFIC_CellInit(100000000u);
|
UCP_API_RFIC_CellInit(100000000u);
|
||||||
// UCP_API_RFIC_CellSetup(2575770000u, 2575770000u, 0);
|
UCP_API_RFIC_CellSetup(2575770000u, 2575770000u, 0);
|
||||||
UCP_API_RFIC_CellSetup(2566890000u, 2566890000u, 0);
|
|
||||||
#endif
|
#endif
|
||||||
osp_init();
|
osp_init();
|
||||||
osp_set_taskcpu(7, 95);
|
osp_set_taskcpu(7, 95);
|
||||||
|
43
download.exp
43
download.exp
@ -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
|
|
||||||
|
|
||||||
|
|
||||||
|
|
18
root.exp
18
root.exp
@ -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
|
|
Loading…
x
Reference in New Issue
Block a user