龙芯相关支持已经合并进 Linux Lab 主线，请在 Linux Lab 中直接使用，该仓库不再单独维护！
This is a plugin to support loongson boards on top of Linux Lab.
It aims to help the learning and development of the Loongson CPU series.
Several boards are added(fulong2e/ls1a/ls1b/ls1c/ls232/ls2f1a/ls2h/ls2k/ls3a/ls3a2h/ls3a7a), their usage are similar to any other boards in Linux Lab.
Currently, the following packages are ported:
Currently, kernel for ls1b, ls232, ls2k and ls3a7a can be built from source via standard linux-lab ways. We will try to make more boards work soon.
ls1b, ls232, ls2k and ls3a7a has been merged into Linux Lab v5.0-rc1, please use them in Linux Lab directly.
$ ls boards/mipsel ls1b ls232 malta $ ls boards/mips64el ls2k ls3a7a
At first, please install the Linux develoment environment with this document: Linux Lab.
After booting into Linux Lab, just launch a terminal and do:
$ cd boards $ git clone https://gitee.com/loongsonlab/loongson.git $ cd ../ $ make list p=loongson [ loongson/ls1b ]: ARCH = mips CPU ?= mips32r2 LINUX ?= v5.2 ROOTDEV_LIST ?= /dev/ram0 /dev/nfs ROOTDEV ?= /dev/ram0 [ loongson/ls232 ]: ARCH = mips CPU ?= mips32r2 LINUX ?= v2.6.32-r190726 ROOTDEV_LIST := /dev/ram0 /dev/nfs ROOTDEV ?= /dev/ram0 [ loongson/ls2k ]: ARCH = mips CPU ?= mips64r2 LINUX ?= loongnix-release-1903 ROOTDEV_LIST := /dev/sda /dev/ram0 /dev/nfs ROOTDEV ?= /dev/ram0 [ loongson/ls3a7a ]: ARCH = mips CPU ?= mips64r2 LINUX ?= loongnix-release-1903 ROOTDEV_LIST ?= /dev/sda /dev/ram0 /dev/nfs ROOTDEV ?= /dev/ram0 $ make BOARD=loongson/ls1b $ make boot $ make BOARD=loongson/ls2k $ make boot G=1 $ make BOARD=loongson/ls3a7a $ make boot ROOTDEV=/dev/nfs
The other usage is as same as the other boards. For example:
To build qemu for loongson:
$ make qemu-download $ make qemu-checkout $ make qemu-patch $ make qemu-defconfig $ make qemu $ make qemu-save
：Code submit frequency
：React/respond to issue & PR etc.
：Well-balanced team members and collaboration
：Recent popularity of project
：Star counts, download counts etc.