From 7a7d871cc1e0a0c5d217ea4a2bca4f4a76e5a9c9 Mon Sep 17 00:00:00 2001 From: Zdzisław Krajewski Date: Mon, 10 Jul 2017 18:15:27 +0200 Subject: linux-raspberrypi: Add option for disabling rpi boot logo. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by Zdzisław Krajewski --- docs/extra-build-config.md | 6 ++++++ recipes-kernel/linux/linux-raspberrypi.inc | 3 +++ 2 files changed, 9 insertions(+) diff --git a/docs/extra-build-config.md b/docs/extra-build-config.md index 365c490..8d4f897 100644 --- a/docs/extra-build-config.md +++ b/docs/extra-build-config.md @@ -95,6 +95,12 @@ this variable in local.conf: ENABLE_KGDB = "1" +## Disable rpi boot logo + +To disable rpi boot logo, set this variable in local.conf: + + DISABLE_RPI_BOOT_LOGO = "1" + ## Boot to U-Boot To have u-boot load kernel image, set in your local.conf: diff --git a/recipes-kernel/linux/linux-raspberrypi.inc b/recipes-kernel/linux/linux-raspberrypi.inc index f79aacb..f336490 100644 --- a/recipes-kernel/linux/linux-raspberrypi.inc +++ b/recipes-kernel/linux/linux-raspberrypi.inc @@ -23,6 +23,9 @@ CMDLINE ?= "dwc_otg.lpm_enable=0 console=serial0,115200 root=/dev/mmcblk0p2 root # Add the kernel debugger over console kernel command line option if enabled CMDLINE_append = ' ${@base_conditional("ENABLE_KGDB", "1", "kgdboc=serial0,115200", "", d)}' +# Disable rpi logo on boot +CMDLINE_append += ' ${@base_conditional("DISABLE_RPI_BOOT_LOGO", "1", "logo.nologo", "", d)}' + UDEV_GE_141 ?= "1" KERNEL_MODULE_AUTOLOAD += "${@bb.utils.contains("MACHINE_FEATURES", "pitft28r", "stmpe-ts", "", d)}" -- cgit v1.2.3-54-g00ecf