Skip to contentSkip to conversation

ARM emulation

Qemu-devel Brad Campbell 2 participants 3 messages Jun 29, 2004

lore
Share & tools
lore
#0 lore raw

I was wondering.

I have a full Debian ARM chroot on my laptop that I NFS mount from my iPAQ to do serious compilation work.

If I compiled a static ARM version of chroot, would I be able to use it with qemu to chroot into this environment?

I'll probably have a crack at it in the next couple of days, but I just thought I'd ask in case anyone had done anything similar.

Regards,
Brad

#1 lore raw
Quoted 2 lines · Brad Campbell

If I compiled a static ARM version of chroot, would I be able to use it with qemu to chroot into this environment?

I've got a debian ARM install running in a chroot jail on my Athlon. I compiled a static version of qemu-arm and used the binfmt_misc stuff to get it working. You'll need to put qemu-arm inside the chroot because binfmt_misc works relative to the chroot root path. You don't need an ARM version of chroot.

Jim

#2 lore raw
Quoted 7 lines · Jim Hawkins
Quoted 2 lines · Brad Campbell

If I compiled a static ARM version of chroot, would I be able to use it with qemu to chroot into this environment?

Quoted 5 lines

I've got a debian ARM install running in a chroot jail on my Athlon. I compiled a static version of qemu-arm and used the binfmt_misc stuff to get it working. You'll need to put qemu-arm inside the chroot because binfmt_misc works relative to the chroot root path. You don't need an ARM version of chroot.

Thanks Jim, that was exactly the advice I was after.

Regards,
Brad