Debian powerpc with QEMU user-mode emulation
1.5K
qemu-debootstrap --verbose --arch=powerpc --variant=buildd --include=gdb,vim-tiny,less jessie rootfs-debian-powerpc http://ftp.jp.debian.org/debian/
$ sudo docker run --rm -i -t inaz2/debian-powerpc /bin/bash
root@1c0c0460fc9f:/# uname -a
Linux 1c0c0460fc9f 3.19.0-25-generic #26~14.04.1-Ubuntu SMP Fri Jul 24 21:16:20 UTC 2015 ppc GNU/Linux
root@1c0c0460fc9f:/# 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@1c0c0460fc9f:/# objdump -d /bin/bash | head
/bin/bash: file format elf32-powerpc
Disassembly of section .init:
100182b4 <_init>:
100182b4: 94 21 ff f0 stwu r1,-16(r1)
100182b8: 7c 08 02 a6 mflr r0
100182bc: 90 01 00 14 stw r0,20(r1)
root@1c0c0460fc9f:/# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 1.7 0.5 4138336 10276 ? Ss 10:40 0:00 /usr/bin/qemu-ppc-static /bin/bash
root 11 0.0 0.4 4138336 8556 ? R+ 09:51 0:00 /usr/bin/qemu-ppc-static /bin/ps aux
root@1c0c0460fc9f:/# exit
Content type
Image
Digest
sha256:ce867ddf1…
Size
130 MB
Last updated
almost 11 years ago
docker pull inaz2/debian-powerpc