Files
linuxkit/Dockerfile.armhf
Mindy Preston 554eb6ba26 fix qemu invocation for arm kernel
Download the correct dtb from debian when making a kernel and use it
when invoking qemu-system-arm.  Also, provide additional serial
parameters.
2016-01-14 14:23:57 +00:00

12 lines
440 B
Docker

FROM ubuntu:15.10
COPY alpine/initrd-arm.img .
COPY alpine/kernel/zImage .
COPY alpine/kernel/dtb .
RUN apt-get update && apt-get install -y qemu-system-arm
RUN gzip -9 initrd-arm.img
ENTRYPOINT [ "qemu-system-arm", "-machine", "vexpress-a15", "-cpu", "cortex-a15", "-no-reboot", "-serial", "stdio", "-kernel", "zImage", "-initrd", "initrd-arm.img.gz", "-dtb", "dtb", "-m", "256", "-append", "console=ttyAMA0,38400n8", "-vnc", "none" ]