From a7451a2206eabb1c8f64fd104a5a6834f9c0cc71 Mon Sep 17 00:00:00 2001 From: Justin Cormack Date: Mon, 7 Nov 2016 16:07:03 +0000 Subject: [PATCH 1/2] Disable EFI framebuffer Azure only uses the Hyper-V framebuffer, so we should not need this. Simplify setup for graphics options we are not using. Signed-off-by: Justin Cormack --- alpine/kernel/kernel_config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alpine/kernel/kernel_config b/alpine/kernel/kernel_config index 4e39f896c..b5568d1f8 100644 --- a/alpine/kernel/kernel_config +++ b/alpine/kernel/kernel_config @@ -2308,7 +2308,7 @@ CONFIG_FB_DEFERRED_IO=y # CONFIG_FB_VGA16 is not set # CONFIG_FB_UVESA is not set CONFIG_FB_VESA=y -CONFIG_FB_EFI=y +# CONFIG_FB_EFI is not set # CONFIG_FB_N411 is not set # CONFIG_FB_HGA is not set # CONFIG_FB_OPENCORES is not set From 0f04ceaf40592a4ae2ebd6223607a362beb7720b Mon Sep 17 00:00:00 2001 From: Simon Ferquel Date: Mon, 14 Nov 2016 08:53:29 -0500 Subject: [PATCH 2/2] Setting kernel boot parametters recommended for Azure/HyperV Signed-off-by: Simon Ferquel --- alpine/Dockerfile.efi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alpine/Dockerfile.efi b/alpine/Dockerfile.efi index 55887f60d..b5ae1a798 100644 --- a/alpine/Dockerfile.efi +++ b/alpine/Dockerfile.efi @@ -9,7 +9,7 @@ COPY kernel/x86_64/vmlinuz64 ./ # Create a EFI boot file with kernel and initrd. From: # https://github.com/haraldh/mkrescue-uefi/blob/master/mkrescue-uefi.sh RUN cp /usr/lib/gummiboot/linuxx64.efi.stub . && \ - echo "earlyprintk=serial console=ttyS0 mobyplatform=windows" > cmdline.txt && \ + echo "earlyprintk=ttyS0,115200 console=ttyS0,115200 mobyplatform=windows rootdelay=300" > cmdline.txt && \ objcopy \ --add-section .osrel=/etc/os-release --change-section-vma .osrel=0x20000 \ --add-section .cmdline=./cmdline.txt --change-section-vma .cmdline=0x30000 \