From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: Participate in build test (MIPS/Loongson) References: <17159ea67a7.13d5ba30b1709.5131811758859128540@flygoat.com> <7ho8os4i3c.fsf@baylibre.com> From: Jiaxun Yang Message-ID: <2821325d-56d7-4770-6027-fb30097f6a7b@flygoat.com> Date: Tue, 7 Jul 2020 08:43:42 +0800 MIME-Version: 1.0 In-Reply-To: <7ho8os4i3c.fsf@baylibre.com> List-ID: List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Content-Type: multipart/alternative; boundary="------------B4515F3F897F9C1955C0E112" List-ID: To: Kevin Hilman , kernelci@groups.io, info Cc: Corentin Labbe --------------B4515F3F897F9C1955C0E112 Content-Type: text/plain; charset="utf-8"; format="flowed" Content-Transfer-Encoding: 8bit 在 2020/7/7 2:24, Kevin Hilman 写道: > Hi Jianxun, > > 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 > > > --------------B4515F3F897F9C1955C0E112 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: 8bit

在 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:

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




--------------B4515F3F897F9C1955C0E112--