diff mbox series

[v2] Initrd modules: fbdev/hdmi out support for psplash

Message ID 1563895494-4790-2-git-send-email-paolo.pisati@canonical.com
State New
Headers show
Series [v2] Initrd modules: fbdev/hdmi out support for psplash | expand

Commit Message

Paolo Pisati July 23, 2019, 3:24 p.m. UTC
BugLink: https://launchpad.net/bugs/1837209

Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
---
 Makefile | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

Comments

Stefan Bader July 24, 2019, 6:40 a.m. UTC | #1
On 23.07.19 17:24, Paolo Pisati wrote:
> BugLink: https://launchpad.net/bugs/1837209
> 
> Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
> ---
>  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; \
>
Stefan Bader Aug. 12, 2019, 12:12 p.m. UTC | #2
That was iirc replaced by a different approach.

-Stefan

On 23.07.19 17:24, Paolo Pisati wrote:
> BugLink: https://launchpad.net/bugs/1837209
> 
> Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
> ---
>  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; \
>
diff mbox series

Patch

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; \