Debian armel with QEMU user-mode emulation
1.2K
qemu-debootstrap --verbose --arch=armel --variant=buildd --include=gdb,vim-tiny,less jessie rootfs-debian-armel http://ftp.jp.debian.org/debian/
$ sudo docker run --rm -i -t inaz2/debian-armel /bin/bash
root@528c07abf100:/# uname -a
Linux 528c07abf100 3.19.0-25-generic #26~14.04.1-Ubuntu SMP Fri Jul 24 21:16:20 UTC 2015 armv7l GNU/Linux
root@528c07abf100:/# gcc --version
gcc (Debian 4.9.2-10) 4.9.2
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
root@528c07abf100:/# objdump -d /bin/bash | head
/bin/bash: file format elf32-littlearm
Disassembly of section .init:
000282fc <_init>:
282fc: e92d4008 push {r3, lr}
28300: eb000c39 bl 2b3ec <_start+0x3c>
28304: e8bd4008 pop {r3, lr}
root@528c07abf100:/# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 1.6 0.5 4137520 10248 ? Ss 10:33 0:00 /usr/bin/qemu-arm-static /bin/bash
root 10 0.0 0.3 4137520 6632 ? R+ 09:51 0:00 /usr/bin/qemu-arm-static /bin/ps aux
root@528c07abf100:/# exit
Content type
Image
Digest
sha256:1ecb4edf9…
Size
118.6 MB
Last updated
almost 11 years ago
docker pull inaz2/debian-armel