mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-05-05 13:42:35 +00:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user