Open zhangguanzhang opened 1 year ago
You also need this update to qemu-binfmt-conf.sh because the previous commit fixe a mips detection issue
https://github.com/qemu/qemu/commit/77d119dd335f910c7f953a265726e3753c69a0bb
Without this mips is broken when using this. It's should be applied.
Has there been any progress on this issue?
Has there been any progress on this issue?
https://zhangguanzhang.github.io/2023/03/07/qemu-binfmt_misc/
Hello, I create a new qemu-user-static image like this project, that support loongarch64.
can you try it xfan1024/qemu-user-static
$ docker run --rm --privileged xfan1024/qemu-user-static
$ docker run --rm -it openeuler-22.03-lts-loongarch uname -m
WARNING: The requested image's platform (linux/loong64) does not match the detected host platform (linux/amd64/v3) and no specific platform was requested
loongarch64
Hello, I create a new qemu-user-static image like this project, that support loongarch64.
can you try it xfan1024/qemu-user-static
$ docker run --rm --privileged xfan1024/qemu-user-static $ docker run --rm -it openeuler-22.03-lts-loongarch uname -m WARNING: The requested image's platform (linux/loong64) does not match the detected host platform (linux/amd64/v3) and no specific platform was requested loongarch64
$ docker run --rm --privileged zhangguanzhang/qemu-user-static --reset -p yes
$ docker run --rm cr.loongnix.cn/library/debian:buster-slim uname -m
WARNING: The requested image's platform (linux/loong64) does not match the detected host platform (linux/amd64/v1) and no specific platform was requested
loongarch64
Hello, I create a new qemu-user-static image like this project, that support loongarch64. can you try it xfan1024/qemu-user-static
$ docker run --rm --privileged xfan1024/qemu-user-static $ docker run --rm -it openeuler-22.03-lts-loongarch uname -m WARNING: The requested image's platform (linux/loong64) does not match the detected host platform (linux/amd64/v3) and no specific platform was requested loongarch64
$ docker run --rm --privileged zhangguanzhang/qemu-user-static --reset -p yes $ docker run --rm cr.loongnix.cn/library/debian:buster-slim uname -m WARNING: The requested image's platform (linux/loong64) does not match the detected host platform (linux/amd64/v1) and no specific platform was requested loongarch64
If you want to use "New World" images, please refer to LCPU Loong64 Containers for more information.
It is recommended not to use zhangguanzhang/qemu-user-static
as it may cause issues. Instead, you can use loongcr.lcpu.dev/multiarch/archlinux:latest
.
Hello, I create a new qemu-user-static image like this project, that support loongarch64. can you try it xfan1024/qemu-user-static
$ docker run --rm --privileged xfan1024/qemu-user-static $ docker run --rm -it openeuler-22.03-lts-loongarch uname -m WARNING: The requested image's platform (linux/loong64) does not match the detected host platform (linux/amd64/v3) and no specific platform was requested loongarch64
$ docker run --rm --privileged zhangguanzhang/qemu-user-static --reset -p yes $ docker run --rm cr.loongnix.cn/library/debian:buster-slim uname -m WARNING: The requested image's platform (linux/loong64) does not match the detected host platform (linux/amd64/v1) and no specific platform was requested loongarch64
If you want to use "New World" images, please refer to LCPU Loong64 Containers for more information.
It is recommended not to use
zhangguanzhang/qemu-user-static
as it may cause issues. Instead, you can useloongcr.lcpu.dev/multiarch/archlinux:latest
.
https://github.com/Loongson-Cloud-Community/dockerfiles 龙芯官方仓库
Hello, I create a new qemu-user-static image like this project, that support loongarch64.
can you try it xfan1024/qemu-user-static
$ docker run --rm --privileged xfan1024/qemu-user-static $ docker run --rm -it openeuler-22.03-lts-loongarch uname -m WARNING: The requested image's platform (linux/loong64) does not match the detected host platform (linux/amd64/v3) and no specific platform was requested loongarch64
$ docker run --rm --privileged zhangguanzhang/qemu-user-static --reset -p yes $ docker run --rm cr.loongnix.cn/library/debian:buster-slim uname -m WARNING: The requested image's platform (linux/loong64) does not match the detected host platform (linux/amd64/v1) and no specific platform was requested loongarch64
If you want to use "New World" images, please refer to LCPU Loong64 Containers for more information.
It is recommended not to use
zhangguanzhang/qemu-user-static
as it may cause issues. Instead, you can useloongcr.lcpu.dev/multiarch/archlinux:latest
.https://github.com/Loongson-Cloud-Community/dockerfiles 龙芯官方仓库
The loongson repo only contains dockerfiles for "Old World" and many of them are not reproducible.
https://github.com/qemu/qemu/tree/v7.2.0/target https://github.com/qemu/qemu/tree/v7.1.0/target/loongarch https://raw.githubusercontent.com/qemu/qemu/f8d1ae82623fef4e7fb796efbaaa2ddc63594d09/scripts/qemu-binfmt-conf.sh