File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed
Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change 1- # loogson_pi2 板级支持包说明
1+ # loongson_pi2 板级支持包说明
22
33## 1. 简介
44
1919
2020环境搭建在Ubuntu上进行,首先下载[ mips-sde-elf-gcc] [ 2 ] 。该文件存放在网盘中,提取码为ucb2。
2121
22- 解压到指定的目录,然后修改当前目录下的 ` rtconfig.py ` 文件。
22+ 解压到指定的目录,然后修改当前bsp目录下的 ` rtconfig.py ` 文件。
2323
2424``` python
2525if CROSS_TOOL == ' gcc' :
@@ -31,15 +31,17 @@ if CROSS_TOOL == 'gcc':
3131
3232## 3.程序运行
3333
34- 首先龙芯派开发板必须先运行 [ pmon] [ 3 ] 。rt-thread是通过龙芯的pmon引导起来的 。
34+ rt-thread固件目前在龙芯派上推荐使用 [ pmon] [ 3 ] 通过tftp的方式下载到设备内存中运行 。
3535
36- ![ 2020-04-07_11-53] ( figures/loongsonpi.png )
36+ 其中龙芯派硬件分布如下图所示:
37+
38+ ![ loongsonpi] ( figures/loongsonpi.png )
3739
3840首先板子接上12V的电源,然后连接串口,该串口为RS232,所以需要RS232转USB线来进行连接。接着连接` LAN0 ` 网口。
3941
4042初次上电时,需要按下开发板的` START ` 按键,听到` 滴 ` 启动声后可以在控制台看到串口打印信息。通过启动时在控制台不停的按下字符` c ` 直到进入到pmon控制台。
4143
42- 目前在龙芯派上推荐使用PMON通过tftp的方式下载到设备内存中运行。
44+
4345
4446需要让开发板和主机处于同一网段,利用pmon的tftp进行固件传输。首先查看主机的ip地址,如果` ifconfig ` 查看ip是` 192.168.12.35 ` 。输入以下指令开始运行。
4547
8183## 5. 联系人信息
8284
8385维护人:[ bernard] [ 4 ]
84- [ 1 ] :http://ftp.loongnix.org/loongsonpi/pi_2/doc
86+
87+ [ 1 ] : http://ftp.loongnix.org/loongsonpi/pi_2/doc
8588[ 2 ] : https://pan.baidu.com/s/17dbdOE4NAJ-qEW7drVRq2w
86- [ 3 ] :http://ftp.loongnix.org/embedd/ls2k/
89+ [ 3 ] : http://ftp.loongnix.org/embedd/ls2k/
8790[ 4 ] : https://github.com/BernardXiong
You can’t perform that action at this time.
0 commit comments