I am curious about the feasibility of running old ARM32-Linux programs on AARCH64-Linux machines and I conducted some experiments:
(All binary files including busybox in the ramdisk are statically compiled.)
Result:
line 1: syntax error: unexpected word (expecting ")")
Is there suggestion or expertise to solve the issue above?
Thank you moonbutt74. You had provided an useful clue for me to seek the solution to that issue.
To enable the support of running ARM32-Linux programs on AARCH64 kernel, the option in the kernel should be selected:
Userspace binary formats ---> Kernel support for 32-bit EL0
recompile the kernel by running make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu-
run the recompiled kernel with ramdisk and qemu-system-aarch64.
the "Hello, World!" programs in (ARM32 and AARCH64) can be executed successfully !!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.