I opened a pull request, hopefully against the right branch.
Posts by volfyd
-
-
I was able to get Debian stretch to work. Buster segfaults when running ldconfig for some reason. I built LE with
Quotediff --git a/projects/RPi/devices/RPi2/linux/linux.arm.conf b/projects/RPi/devices/RPi2/linux/linux.arm.conf
index 7466d11b99..a1c0c34c71 100644
--- a/projects/RPi/devices/RPi2/linux/linux.arm.conf
+++ b/projects/RPi/devices/RPi2/linux/linux.arm.conf
@@ -711,7 +711,7 @@ CONFIG_ELFCORE=y
CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y
CONFIG_BINFMT_SCRIPT=y
# CONFIG_BINFMT_FLAT is not set
-# CONFIG_BINFMT_MISC is not set
+CONFIG_BINFMT_MISC=y
CONFIG_COREDUMP=y
and then I built this Dockerfile
QuoteFROM arm32v7/debian:buster
# Save this as /storage/qemu/Dockerfile and run
# docker build -t qemu /storage/qemu
# And then to start the container run
# docker run --privileged --rm --name qemu -v /storage:/storage -it qemu
RUN apt-get update
RUN apt-get -y install qemu binfmt-support qemu-user-static debootstrap dialog
CMD dpkg-reconfigure qemu-user-static > /dev/null; \
if [ ! -e /storage/x86/stretch ]; then \
mkdir -p /storage/x86/stretch; \
debootstrap --arch amd64 stretch /storage/x86/stretch Index of /debian; \
fi; \
for f in dev dev/pts sys proc run; do \
mount --bind /$f /storage/x86/stretch/$f; \
done; \
chroot /storage/x86/stretch
It's slow but it works.
-
Hi,
I'd like to run some x86 only software on my Raspberry Pi 3 and I was following this blog (but with an arm host and x86 binaries):
I created a docker image with qemu and an x86 Debian buster chroot but I noticed that the 4.19 kernel does not have binfmt_misc support.
I was poking around and I saw at least one Linux 5 kernel that already had it so maybe LE 10 will have this when it comes out but it would be nice if the next release of 9 had it too.
I'm loving LE...I can finally transcode DTS audio to my soundbar that only supports Dolby Digital. Kudos to everyone who has contributed.