A1717-3A3000+7A U-ATX主板

目前安装的是刘工提供的Debian 10快速安装包

查看IP地址

ip addr

安装lsusb等命令支持

apt install usbutils

增加sudo支持

安装sudo软件包

apt install sudo

修改/etc/sudoer文件

在末尾添加

loongson ALL=(ALL:ALL) ALL

安装debootstrap

apt install debootstrap

安装glxgears等

apt install mesa-utils

目前存在问题,运行glxgears会多次报下面信息,但不影响运行

'generic' is not a recognized processor for this target (ignoring processor)

确定故障现场在llvm层面

/usr/lib/mips64el-linux-gnuabi64/libLLVM-7.so.1

安装源码包的编译环境

sudo apt-get install build-essential fakeroot devscripts

安装并编译mesa源码

假定处于~/WORK/src/debian目录下

apt source mesa
sudo apt build-dep mesa
cd mesa-18.3.6
debuild -b -us -uc

dpkg-buildpackage

-b     Specifies a binary-only build, limited to architecture dependent packages.
-us    Do not sign the source package.
-uc    Do not sign the .changes file.

标签: none

添加新评论