The "Linux Lab" open source project has recently been adapted to the Loongson development environment with the support of Loongson Technology's embedded division, the Chinese chip maker said on its WeChat account.
Linux developers can experience the Loongson environment and develop software on the platform directly on their own computers without the hardware setup of the development board.
Currently, the Linux Lab open source project mainline is ready to support the full range of Loongson processors. Developers can quickly build a Loongson 1B, 2K, 3A+7A simulation environment on Linux Lab and use the virtual development board for free.
Project home page: http://tinylab.org/linux-lab
Code Repository: https://gitee.com/tinylab/linux-lab
Developers can use it to efficiently learn about processor architecture, the Linux kernel, embedded Linux systems, C programming, Linux assembly, shell programming, and more.
Under Ubuntu, developers can get a quick taste of it with the following three commands.
$ git clone https://gitee.com/tinylab/cloud-lab.git
$ cd cloud-lab
$ tools/docker/run linux-lab
When you are done, select "webvnc" to log in.
If you have previously downloaded and installed Linux Lab, make sure to update to Linux Lab v0.5 rc1 or later and restart Linux Lab.
$ cd cloud-lab && git pull
$ tools/docker/update linux-lab
$ tools/docker/rerun linux-lab
After logging in, open the console and type in the following command $ make list FILTER=ls to list all the supported development boards of Loongson.
It uses arm/vexpress-a9 by default. If you want to use the development board of Loongson, you can enter the following code to switch.
$ make BOARD=mips64el/ls3a7a
$ make boot