From patchwork Tue Jul 23 15:24:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Pisati X-Patchwork-Id: 1135748 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=canonical.com Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45tMkJ73r2z9sBt; Wed, 24 Jul 2019 01:25:44 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1hpwfa-0005st-6K; Tue, 23 Jul 2019 15:25:38 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.86_2) (envelope-from ) id 1hpwfZ-0005sg-EV for kernel-team@lists.ubuntu.com; Tue, 23 Jul 2019 15:25:37 +0000 Received: from 1.general.ppisati.uk.vpn ([10.172.193.134] helo=canonical.com) by youngberry.canonical.com with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.76) (envelope-from ) id 1hpwes-0001Pt-Rz for kernel-team@lists.ubuntu.com; Tue, 23 Jul 2019 15:24:54 +0000 From: Paolo Pisati To: kernel-team@lists.ubuntu.com Subject: [PATCH v2] Initrd modules: fbdev/hdmi out support for psplash Date: Tue, 23 Jul 2019 17:24:54 +0200 Message-Id: <1563895494-4790-2-git-send-email-paolo.pisati@canonical.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1563895494-4790-1-git-send-email-paolo.pisati@canonical.com> References: <1563895494-4790-1-git-send-email-paolo.pisati@canonical.com> X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://launchpad.net/bugs/1837209 Signed-off-by: Paolo Pisati Acked-by: Stefan Bader --- Makefile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/Makefile b/Makefile index c468f2d..b2c5ea5 100644 --- a/Makefile +++ b/Makefile @@ -61,6 +61,26 @@ Pin-Priority: 700 endef export APTPREF +define RASPIFBKMODS +sysimgblt +sysfillrect +syscopyarea +fb_sys_fops +drm +drm_kms_helper +vc4 +cec +snd +snd_soc_core +snd_compress +ac97_bus +snd_pcm_dmaengine +snd_pcm +snd_timer +snd_bcm2835 +endef +export RASPIFBKMODS + versioncheck: KIMGDEB = $(shell chroot chroot apt-cache depends $(KERNELDEB) | awk '/$(KERNELPRE)/ {print $$2}') install : KVERS = $(shell ls -1 chroot/boot/vmlinuz-*| tail -1 |sed 's/^.*vmlinuz-//;s/.efi.signed$$//') @@ -99,6 +119,10 @@ all: echo "COMPRESS=lzma" >chroot/etc/initramfs-tools/conf.d/ubuntu-core.conf # LP1794279: vc4-kms-v3d and hardware accelerated framebuffer support echo "i2c-bcm2708" > chroot/etc/initramfs-tools/modules + # LP1837209: fbdev / hdmi out support for psplash + if [ "$(KERNEL)" = "linux-image-raspi2" ]; then \ + echo "$${RASPIFBKMODS}" >> chroot/etc/initramfs-tools/modules; \ + fi if [ "$(DPKG_ARCH)" = "amd64" ]; then \ echo "nvme" >> chroot/etc/initramfs-tools/modules; \ echo "usbhid" >> chroot/etc/initramfs-tools/modules; \