+++ Matthew Gretton-Dann [2013-10-17 11:31 +0100]:
Hi,
On 16 October 2013 11:45, Zhou Zhu zzhu3@marvell.com wrote:
Hi, We are working on userspace aarch64 and aarch32 apps and we are trying to run 32/64 mode app simultaneously. Is there any multi-arch support for mixed rootfs (has linkers/libs of both arm and arm64)?
It is possible to run both AArch32 (arm) and AArch64 (arm64) applications under an arm64 kernel.
What is not possible is for an AArch32 user-space program to use an AArch64 user-space library (or any combination like this).
So if you want to run 32-bit user-space programs you need to have installed all the 32-bit user-space libraries as well.
Which is done for you by the dependency system on Ubuntu and Debian using multiarch. https://wiki.debian.org/Multiarch/HOWTO
And Ubuntu Saucy now has lots of arm64 packages you can use: http://ports.ubuntu.com/dists/saucy/main/binary-arm64/
So you should be able to debootstrap an arm64 image and add armhf binaries to it, or vice versa.
I've not actually tried that so I don't know how well it works. There may still be important bits missing.
Wookey