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.
This commit is contained in:
Mindy Preston
2016-01-14 14:23:57 +00:00
parent c29135c18a
commit 55bfabc8f2
3 changed files with 4 additions and 1 deletions

View File

@@ -26,6 +26,7 @@ RUN apt-get update && apt-get -y upgrade && apt-get -y install \
gcc-arm-linux-gnueabihf
ADD https://www.kernel.org/pub/linux/kernel/v4.x/linux-${KERNEL_VERSION}.tar.xz .
ADD https://d-i.debian.org/daily-images/armhf/daily/device-tree/vexpress-v2p-ca15-tc1.dtb /dtb
RUN cat linux-${KERNEL_VERSION}.tar.xz | tar --absolute-names -xJ && mv /linux-${KERNEL_VERSION} /linux