Not long ago, I compiled a busybox on the arm platform. I'm curious about what kind of error information would happen if I ran the arm program on x86? Therefore, the arm busybox is run directly on my amdcpu. The magic thing is that the arm's busybox is actually running. Why? Install a qemu-arm-static package. After installing this package, you can directly run the arm program. This package registers binfmt support in the kernel and supports
Not long ago, I compiled a busybox on the arm platform. I'm curious about what kind of error information would happen if I ran the arm program on x86? So I run the arm busybox directly on my amd cpu. The magic thing is that the arm's busybox is actually running.
Why?
Install a qemu-arm-static package. After installing this package, you can directly run the arm program. This package registers binfmt support in the kernel and can run armel binary files on the x86 platform.
Static qemu-arm binary that enables to use arm chroots
The static version of teh qemu-arm binary registers automatically
The binfmt-support setup in the kernel, enabling the execution of armel
Binaries on x86 hosts. The package also has des a script to generate armel
Chroots.
/.
/Usr
/Usr/bin
/Usr/bin/qemu-arm-static
/Usr/bin/build-arm-chroot
/Usr/share
/Usr/share/binfmts
/Usr/share/binfmts/arm
/Usr/share/doc
/Usr/share/doc/qemu-arm-static
/Usr/share/doc/qemu-arm-static/copyright
/Usr/share/doc/qemu-arm-static/changelog.Debian.gz
/Etc
/Etc/sysctl. d
/Etc/sysctl. d/qemu-arm-static.sysctl.conf