flyorange 发表于 2017-8-10 20:53:36

ls1c的Debian

1.搭建ftpd服务器,ip:192.168.1.1
2.把文件都放到tftpd服务器上
3.openloongson 接串口,开机摁任意键进pmon命令行。
4.载入安装程序 boot tftp://192.168.1.1/install [回车]
5.等5分钟,自动完成 pmon/vmlinux/rootfs的升级

debian7的密码是loongson

ip是192.168.1.2 可以ssh登陆。

启动后,/usr/local/sbin/ghost.sh 脚本可以用于把修改后系统重新打包成debian.img.

然后可以修改pmon的autoexec.bat, 建立自己的发行包,在发行包中,如果只修改了debian.img 可以把升级pmon和vmlinux的行删掉,然后一定要修改第一行版本号。

内核源码在 https://github.org/lshw/loongson1-kernel-3.18
pmon源码在 https://github.com/lshw/loongson1-pmon

一般的下载在
http://www.bjlx.org.cn/loongson/loongson1c_bsp/debian/
或者科大镜像:
http://mirrors.ustc.edu.cn/loongson/loongson1c_bsp/debian/
或者清华镜像:
https://mirrors.tuna.tsinghua.edu.cn/loongson/loongson1c_bsp/debian/

flyorange 发表于 2017-8-10 20:59:41

Debian7,可以卡刷进智龙,使用56M的ROM,剩余60M
https://mirrors.ustc.edu.cn/loongson/loongson1c_bsp/debian/

flyorange 发表于 2017-8-10 21:07:32

装上Debian,就可以直接从Debian7的mipsel的deb 二进制包提取文件,SCP到智龙里,直接运行,不需要自己编译

flyorange 发表于 2017-8-10 21:09:55

不需要自己编译,从Debian7里直接抓bin文件,扔进龙芯派里就可以执行。

ratking 发表于 2017-8-13 15:26:01

大神,请收下我的膝盖:lol

flyorange 发表于 2017-8-14 13:39:59

你认错人了,我不是大神,我的口袋太小,无法装下你的膝盖。
页: [1]
查看完整版本: ls1c的Debian