同步操作将从 loongsonlab/loongson 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
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.
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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。