Participate in build test (MIPS/Loongson)


Jiaxun Yang <jiaxun.yang@...>
 

Hi KernelCI admin,

I'm a maintainer of MIPS/LOONGSON64 and MIPS/LOONGSON2EF support in
kernel, and I would like to enable build test for these platforms in
KernelCI. Also I will respond to their build failures.

Currently it's hard for me to provide hardware to perform boot test as
a amateur, but Fuloong2E has already accepted by QEMU and we can
perform boot test on it for LOONGSON2EF.

Please give me some instructions.

Btw: MIPS/malta is not under my maintenance but I can also respond to
it's build failure and QEMU boot failure. I'd like to apply for this
platform too if I'm eligible.

Thanks.

--
Jiaxun Yang


Kevin Hilman
 

Hi Jianxun,

Jiaxun Yang <jiaxun.yang@flygoat.com> writes:

I'm a maintainer of MIPS/LOONGSON64 and MIPS/LOONGSON2EF support in
kernel, and I would like to enable build test for these platforms in
KernelCI. Also I will respond to their build failures.

Currently it's hard for me to provide hardware to perform boot test as
a amateur, but Fuloong2E has already accepted by QEMU and we can
perform boot test on it for LOONGSON2EF.

Please give me some instructions.

Btw: MIPS/malta is not under my maintenance but I can also respond to
it's build failure and QEMU boot failure. I'd like to apply for this
platform too if I'm eligible.
I don't think we're doing any MIPS boots on QEMU currently, but we can
probably add that if you can give us a bit of guidance. I've also cc'd
Corentin who has been working on QEMU support for more platforms.

Can you share with us more details on QEMU version that is known to work
well for upstream MIPS kernels, and the qemu cmdline that you use to
boot upstream kernels? With that, we can guide you on how to add
support.

Kevin


Jiaxun Yang <jiaxun.yang@...>
 



在 2020/7/7 2:24, Kevin Hilman 写道:
Hi Jianxun,

Jiaxun Yang <jiaxun.yang@...> writes:

I'm a maintainer of MIPS/LOONGSON64 and MIPS/LOONGSON2EF support in
kernel, and I would like to enable build test for these platforms in
KernelCI. Also I will respond to their build failures.

Currently it's hard for me to provide hardware to perform boot test as
a amateur, but Fuloong2E has already accepted by QEMU and we can
perform boot test on it for LOONGSON2EF.

Please give me some instructions.

Btw: MIPS/malta is not under my maintenance but I can also respond to
it's build failure and QEMU boot failure. I'd like to apply for this
platform too if I'm eligible.
I don't think we're doing any MIPS boots on QEMU currently, but we can
probably add that if you can give us a bit of guidance.  I've also cc'd
Corentin who has been working on QEMU support for more platforms.

Can you share with us more details on QEMU version that is known to work
well for upstream MIPS kernels, and the qemu cmdline that you use to
boot upstream kernels?  With that, we can guide you on how to add
support.

Sure, with QEMU 4.2/5.0:

fuloong2e_defconfig:
No RootFS avliable, Debian dropped MIPS-III suport since stretch.
qemu-system-mips64el -nographic \
        -machine fulong2e -cpu Loongson-2E -m 256M \
        -kernel vmlinux \
        -append "console=ttyS0,115200"

malta_defconfig: (Default)
RootFS: https://people.debian.org/~jcowgill/qemu-mips/debian-buster-mipsel.qcow2
qemu-system-mipsel -nographic -net nic,model=virtio \
        -machine malta -cpu P5600 -m 2G \
        -kernel vmlinux \
        -append "root=/dev/vda1 rw console=ttyS0,38400n8r" \
        -drive file=debian-buster-mipsel.qcow2,if=virtio

malta_defconfig: (Selected to MIPS64R2 CPU)
RootFS: https://people.debian.org/~jcowgill/qemu-mips/debian-buster-mips64el.qcow2
qemu-system-mips64el -nographic -net nic,model=virtio \
        -machine malta -cpu mips64dspr2 -m 2G \
        -kernel vmlinux \
        -append "root=/dev/vda1 rw console=ttyS0,38400n8r" \
        -drive file=debian-buster-mips64el.qcow2,if=virtio

malta_qemu_32r6_defconfig:
No rootfs avilable
qemu-system-mipsel -nographic -net nic,model=virtio \
        -machine malta -cpu mips32r6-generic -m 2G \
        -kernel vmlinux \
        -append "root=/dev/vda1 rw console=ttyS0,38400n8r" \

malta_defconfig: (Selected to MIPS64R6 CPU)
RootFS: http://mips64el.bfsu.edu.cn/debian-new/tarball/qemu/
qemu-system-mips64el -nographic -net nic,model=virtio \
        -machine malta -cpu I6400 -smp 2 -m 512M \
        -kernel vmlinux -initrd initrd.img \
        -append "root=/dev/vda1 console=ttyS0,38400n8r rw" \
        -drive file=buster-mips64r6el.qcow2,if=virtio

Thanks.


Kevin





Jiaxun Yang <jiaxun.yang@...>
 



在 2020/7/7 8:43, Jiaxun Yang 写道:


在 2020/7/7 2:24, Kevin Hilman 写道:
Hi Jianxun,

Jiaxun Yang <jiaxun.yang@...> writes:

I'm a maintainer of MIPS/LOONGSON64 and MIPS/LOONGSON2EF support in
kernel, and I would like to enable build test for these platforms in
KernelCI. Also I will respond to their build failures.

Currently it's hard for me to provide hardware to perform boot test as
a amateur, but Fuloong2E has already accepted by QEMU and we can
perform boot test on it for LOONGSON2EF.

Please give me some instructions.

Btw: MIPS/malta is not under my maintenance but I can also respond to
it's build failure and QEMU boot failure. I'd like to apply for this
platform too if I'm eligible.
I don't think we're doing any MIPS boots on QEMU currently, but we can
probably add that if you can give us a bit of guidance.  I've also cc'd
Corentin who has been working on QEMU support for more platforms.

Can you share with us more details on QEMU version that is known to work
well for upstream MIPS kernels, and the qemu cmdline that you use to
boot upstream kernels?  With that, we can guide you on how to add
support.

Sure, with QEMU 4.2/5.0:

Forget to mention that I'd also have to select some drivers to get it boot.
I saw clabbe's work on github. Will discuss here.

Thanks!

fuloong2e_defconfig:
No RootFS avliable, Debian dropped MIPS-III suport since stretch.
qemu-system-mips64el -nographic \
        -machine fulong2e -cpu Loongson-2E -m 256M \
        -kernel vmlinux \
        -append "console=ttyS0,115200"

malta_defconfig: (Default)
RootFS: https://people.debian.org/~jcowgill/qemu-mips/debian-buster-mipsel.qcow2
qemu-system-mipsel -nographic -net nic,model=virtio \
        -machine malta -cpu P5600 -m 2G \
        -kernel vmlinux \
        -append "root=/dev/vda1 rw console=ttyS0,38400n8r" \
        -drive file=debian-buster-mipsel.qcow2,if=virtio

malta_defconfig: (Selected to MIPS64R2 CPU)
RootFS: https://people.debian.org/~jcowgill/qemu-mips/debian-buster-mips64el.qcow2
qemu-system-mips64el -nographic -net nic,model=virtio \
        -machine malta -cpu mips64dspr2 -m 2G \
        -kernel vmlinux \
        -append "root=/dev/vda1 rw console=ttyS0,38400n8r" \
        -drive file=debian-buster-mips64el.qcow2,if=virtio

malta_qemu_32r6_defconfig:
No rootfs avilable
qemu-system-mipsel -nographic -net nic,model=virtio \
        -machine malta -cpu mips32r6-generic -m 2G \
        -kernel vmlinux \
        -append "root=/dev/vda1 rw console=ttyS0,38400n8r" \

malta_defconfig: (Selected to MIPS64R6 CPU)
RootFS: http://mips64el.bfsu.edu.cn/debian-new/tarball/qemu/
qemu-system-mips64el -nographic -net nic,model=virtio \
        -machine malta -cpu I6400 -smp 2 -m 512M \
        -kernel vmlinux -initrd initrd.img \
        -append "root=/dev/vda1 console=ttyS0,38400n8r rw" \
        -drive file=buster-mips64r6el.qcow2,if=virtio

Thanks.

Kevin






Kevin Hilman
 

Jiaxun Yang <jiaxun.yang@flygoat.com> writes:

在 2020/7/7 8:43, Jiaxun Yang 写道:


在 2020/7/7 2:24, Kevin Hilman 写道:
Hi Jianxun,

Jiaxun Yang<jiaxun.yang@flygoat.com> writes:

I'm a maintainer of MIPS/LOONGSON64 and MIPS/LOONGSON2EF support in
kernel, and I would like to enable build test for these platforms in
KernelCI. Also I will respond to their build failures.

Currently it's hard for me to provide hardware to perform boot test as
a amateur, but Fuloong2E has already accepted by QEMU and we can
perform boot test on it for LOONGSON2EF.

Please give me some instructions.

Btw: MIPS/malta is not under my maintenance but I can also respond to
it's build failure and QEMU boot failure. I'd like to apply for this
platform too if I'm eligible.
I don't think we're doing any MIPS boots on QEMU currently, but we can
probably add that if you can give us a bit of guidance. I've also cc'd
Corentin who has been working on QEMU support for more platforms.

Can you share with us more details on QEMU version that is known to work
well for upstream MIPS kernels, and the qemu cmdline that you use to
boot upstream kernels? With that, we can guide you on how to add
support.
Sure, with QEMU 4.2/5.0:
Forget to mention that I'd also have to select some drivers to get it boot.
I saw clabbe's work on github. Will discuss here.
Also, can you keep an eye on the MIPS build results? At least on
stable, mainline and linux-next?

Thanks,

Kevin


Jiaxun Yang <jiaxun.yang@...>
 

在 2020/7/14 1:21, Kevin Hilman 写道:
Jiaxun Yang <jiaxun.yang@flygoat.com> writes:

在 2020/7/7 8:43, Jiaxun Yang 写道:

在 2020/7/7 2:24, Kevin Hilman 写道:
Hi Jianxun,

Jiaxun Yang<jiaxun.yang@flygoat.com> writes:

I'm a maintainer of MIPS/LOONGSON64 and MIPS/LOONGSON2EF support in
kernel, and I would like to enable build test for these platforms in
KernelCI. Also I will respond to their build failures.

Currently it's hard for me to provide hardware to perform boot test as
a amateur, but Fuloong2E has already accepted by QEMU and we can
perform boot test on it for LOONGSON2EF.

Please give me some instructions.

Btw: MIPS/malta is not under my maintenance but I can also respond to
it's build failure and QEMU boot failure. I'd like to apply for this
platform too if I'm eligible.
I don't think we're doing any MIPS boots on QEMU currently, but we can
probably add that if you can give us a bit of guidance. I've also cc'd
Corentin who has been working on QEMU support for more platforms.

Can you share with us more details on QEMU version that is known to work
well for upstream MIPS kernels, and the qemu cmdline that you use to
boot upstream kernels? With that, we can guide you on how to add
support.
Sure, with QEMU 4.2/5.0:
Forget to mention that I'd also have to select some drivers to get it boot.
I saw clabbe's work on github. Will discuss here.
Also, can you keep an eye on the MIPS build results? At least on
stable, mainline and linux-next?
I will, just looking at mailing list?

Thanks.

Thanks,

Kevin


Guillaume Tucker
 

On 18/07/2020 03:18, Jiaxun Yang wrote:


在 2020/7/14 1:21, Kevin Hilman 写道:
Jiaxun Yang <jiaxun.yang@flygoat.com> writes:

在 2020/7/7 8:43, Jiaxun Yang 写道:

在 2020/7/7 2:24, Kevin Hilman 写道:
Hi Jianxun,

Jiaxun Yang<jiaxun.yang@flygoat.com>  writes:

I'm a maintainer of MIPS/LOONGSON64 and MIPS/LOONGSON2EF support in
kernel, and I would like to enable build test for these platforms in
KernelCI. Also I will respond to their build failures.

Currently it's hard for me to provide hardware to perform boot test as
a amateur, but Fuloong2E has already accepted by QEMU and we can
perform boot test on it for LOONGSON2EF.

Please give me some instructions.

Btw: MIPS/malta is not under my maintenance but I can also respond to
it's build failure and QEMU boot failure. I'd like to apply for this
platform too if I'm eligible.
I don't think we're doing any MIPS boots on QEMU currently, but we can
probably add that if you can give us a bit of guidance.  I've also cc'd
Corentin who has been working on QEMU support for more platforms.

Can you share with us more details on QEMU version that is known to work
well for upstream MIPS kernels, and the qemu cmdline that you use to
boot upstream kernels?  With that, we can guide you on how to add
support.
Sure, with QEMU 4.2/5.0:
Forget to mention that I'd also have to select some drivers to get it boot.
I saw clabbe's work on github. Will discuss here.
Also, can you keep an eye on the MIPS build results?  At least on
stable, mainline and linux-next?
I will, just looking at mailing list?
You can subscribe to kernelci-results@groups.io:

https://groups.io/g/kernelci-results

Also you can look for results on the web dashboard, for example:

https://kernelci.org/build/next/branch/master/kernel/next-20200717/

If you type "mips" in the search box you'll see only the MIPS
builds there.

Thanks,
Guillaume