summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZdzisław Krajewski <zdzichucb@gmail.com>2017-07-10 18:15:27 +0200
committerAndrei Gherzan <andrei@gherzan.com>2017-09-01 11:14:19 +0100
commit7a7d871cc1e0a0c5d217ea4a2bca4f4a76e5a9c9 (patch)
tree2809a26cd30d7129a391d732edb6bbfd6d0b7c84
parent88478c38744e6a57361b438095fee1d808690a00 (diff)
downloadmeta-raspberrypi-7a7d871cc1e0a0c5d217ea4a2bca4f4a76e5a9c9.tar.gz
linux-raspberrypi: Add option for disabling rpi boot logo.
Signed-off-by Zdzisław Krajewski <zdzichucb@gmail.com>
-rw-r--r--docs/extra-build-config.md6
-rw-r--r--recipes-kernel/linux/linux-raspberrypi.inc3
2 files changed, 9 insertions, 0 deletions
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:
95 95
96 ENABLE_KGDB = "1" 96 ENABLE_KGDB = "1"
97 97
98## Disable rpi boot logo
99
100To disable rpi boot logo, set this variable in local.conf:
101
102 DISABLE_RPI_BOOT_LOGO = "1"
103
98## Boot to U-Boot 104## Boot to U-Boot
99 105
100To have u-boot load kernel image, set in your local.conf: 106To 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
23# Add the kernel debugger over console kernel command line option if enabled 23# Add the kernel debugger over console kernel command line option if enabled
24CMDLINE_append = ' ${@base_conditional("ENABLE_KGDB", "1", "kgdboc=serial0,115200", "", d)}' 24CMDLINE_append = ' ${@base_conditional("ENABLE_KGDB", "1", "kgdboc=serial0,115200", "", d)}'
25 25
26# Disable rpi logo on boot
27CMDLINE_append += ' ${@base_conditional("DISABLE_RPI_BOOT_LOGO", "1", "logo.nologo", "", d)}'
28
26UDEV_GE_141 ?= "1" 29UDEV_GE_141 ?= "1"
27 30
28KERNEL_MODULE_AUTOLOAD += "${@bb.utils.contains("MACHINE_FEATURES", "pitft28r", "stmpe-ts", "", d)}" 31KERNEL_MODULE_AUTOLOAD += "${@bb.utils.contains("MACHINE_FEATURES", "pitft28r", "stmpe-ts", "", d)}"