Commit 61e2a3d4 by Zeng Rixuan

no message

parent 6be7352d
......@@ -261,3 +261,91 @@ scp hellowordl@192.168.0.115:/root/zjftest
在网关终端执行hellowordl可执行文件
![1638175628036](5G网关运行环境搭建-正常运行.assets/1638175628036.png)
## 6、重刷系统
### 6.1网关进入uboot命令行
网关上电,将console线的水晶头连接网关console口,usb口连接pc
打开xshell新建新连接,协议设置为serial
![1638338740271](README.assets/1638338740271.png)
串口配置参数为
![1638338763393](README.assets/1638338763393.png)
此时进入计算机设备管理器—端口(COM)—COM5(本机串口)右键属性—将串口参数改为相同设置
![1638338853283](README.assets/1638338853283.png)
返回xshell,连接串口,页面显示串口已连接,但终端内容空白
![1638338927054](README.assets/1638338927054.png)
**解决方法:**[(13条消息) CRT已经成功连接服务器,但是界面显示空白,无任何显示_随意-CSDN博客_crt连接console口时显示空白](https://blog.csdn.net/u010606602/article/details/49684369?spm=1001.2101.3001.6661.1&utm_medium=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-1.no_search_link&depth_1-utm_source=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-1.no_search_link)
连接成功
设备断电,重新上电,终端显示网关uboot信息,如下所述的版本号无需进行重新刷机
![1638339157697](README.assets/1638339157697.png)
![1638339261883](README.assets/1638339261883.png)
### 6.2更新系统
#### 6.2.1 进入内存系统
上一步查看 u-boot 环境变量 后,执行下面命令:
```
run bootcmd_rcv
```
在输出 reading ramsys.itb 后需要等待一会。
#### 6.2.2 更新系统
在设备输出 `ls1012a-ek200 login:` 后,输入 root 登录,并执行以下命令:
```
/run/media/sda/system_recovery.sh usb
```
系统更新过程中出现大量错误,终端提示没有以下文件和目录
![1638345890442](README.assets/1638345890442.png)
但是进入到相关目录下,可以找到对应的文件,发现是原文件夹名称不对
![1638345976175](README.assets/1638345976175.png)
`mv sda1 sda` 指令更改文件名,提示错误
```
root@ls1012a-ek200:/run/media# mv sda1 sda
mv: cannot move 'sda1' to 'sda': Device or resource busy
```
uboot中board信息与教程中不符
![1638350839909](README.assets/1638350839909.png)
试一下强制执行,该命令行不是uboot命令行,无法执行
![1638351127630](README.assets/1638351127630.png)
scanning bus 0 for devices... cannot reset port 2!?
Device not responding to set address.
9
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment