On 2025/2/27 下午6:44, Jiaxun Yang wrote:
在2025年2月25日二月 下午12:33,bibo mao写道:
On 2025/2/25 下午8:08, Jiaxun Yang wrote:
在2025年2月25日二月 上午8:50,bibo mao写道:
On 2025/2/25 上午8:40, Jiaxun Yang wrote:
Hi all,
This series is a collection of small fixes I made to TCG for
LoongArch32.
There are still many thing broken, especially on CSRs. More
series following. However this is sufficient to boot 32bit
kernel.
Is there any product introduction about LoongArch32 board? such as MMU
type, memory type(DDR or SRAM), interrupt controller type.
Sure, for LoongArch32 the most accessible board at the moment is chiplap FPGA
[1].
There are also some ASIC designs (BaiXing Project) based on chiplab.
Long in short:
- MMU: PG style
- Mmeory: DDR
- Interrupt controller: custom (Loongson-1C like) connected to CPU's
int pin.
Thanks for the information, Would you like to emulate LoongArch32
chiplap FPGA board in qemu side or other LoongArch32 boards?
My plan is to use current virt machine (with EXTIOI and so on) for
LoongArch32, it is trivial to bring up in kernel and give us a lot more
flexibility rather than emulating an actual board.
virt machine is mainly for kvm board. If it is used as LoongArch32
board, there is no much benefit to add bunch of code in kernel and qemu
to emulate non-exist board, on the contrast it is hard to maintain.
In LoongArch community There are many cases posting code in one time,
disappear and lose maintenance :(
Regards
Bibo MAo
Thanks
- Jiaxun
Regards
Bibo Mao
Thanks
[1]: https://gitee.com/loongson-edu/chiplab
Regards
Bibo Mao