Debian armhf with QEMU user-mode emulation
1.1K
qemu-debootstrap --verbose --arch=armhf --variant=buildd --include=gdb,vim-tiny,less jessie rootfs-debian-armhf http://ftp.jp.debian.org/debian/
$ sudo docker run --rm -i -t inaz2/debian-armhf /bin/bash
root@fc4617e98470:/# uname -a
Linux fc4617e98470 3.19.0-25-generic #26~14.04.1-Ubuntu SMP Fri Jul 24 21:16:20 UTC 2015 armv7l GNU/Linux
root@fc4617e98470:/# 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@fc4617e98470:/# objdump -d /bin/bash | head
/bin/bash: file format elf32-littlearm
Disassembly of section .init:
0002830c <_init>:
2830c: e92d4008 push {r3, lr}
28310: eb0009f6 bl 2aaf0 <_start+0x30>
28314: e8bd8008 pop {r3, pc}
root@fc4617e98470:/# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 2.3 0.5 4137488 10664 ? Ss 10:37 0:00 /usr/bin/qemu-arm-static /bin/bash
root 10 0.0 0.4 4137488 8248 ? R+ 09:51 0:00 /usr/bin/qemu-arm-static /bin/ps aux
root@fc4617e98470:/# exit
Content type
Image
Digest
sha256:910d1ea8a…
Size
117.4 MB
Last updated
almost 11 years ago
docker pull inaz2/debian-armhf