Control: retitle -1 Pls. consider raspi-related configs for 5.10
Control: tags -1 + patch
Control: block 968181 by 977441

Dear Debian kernel maintainers,
CC: the Debian ARM list,

Could you consider enabling the following kernel compilation
options for Raspberry Pi 3&4 series for kernel 5.10?
The patch is against latest package source at salsa.debian.org.

--- debian/config/arm64/config-orig     2020-12-16 09:46:18.645380333 +0900
+++ debian/config/arm64/config  2020-12-16 10:22:17.998897582 +0900
@@ -424,6 +424,11 @@
 ## file: drivers/gpu/drm/vc4/Kconfig
 ##
 CONFIG_DRM_VC4=m
+CONFIG_DRM_VC4_HDMI_CEC=y
+CONFIG_DRM_V3D=m
+CONFIG_BCM_VIDEOCORE=m
+CONFIG_BCM2835_VCHIQ=m
+CONFIG_BCM2835_VCHIQ_MMAL=m
 
 ##
 ## file: drivers/gpu/host1x/Kconfig
@@ -443,6 +448,7 @@
 CONFIG_SENSORS_PWM_FAN=m
 CONFIG_SENSORS_SL28CPLD=m
 CONFIG_SENSORS_XGENE=m
+CONFIG_SENSORS_RASPBERRYPI_HWMON=m
 
 ##
 ## file: drivers/hwspinlock/Kconfig
@@ -1006,6 +1012,7 @@
 CONFIG_PINCTRL_AMD=y
 CONFIG_PINCTRL_SINGLE=y
 CONFIG_PINCTRL_MAX77620=y
+CONFIG_PINCTRL_BCM2835=y
 
 ##
 ## file: drivers/pinctrl/qcom/Kconfig
@@ -1093,6 +1100,7 @@
 ## file: drivers/reset/Kconfig
 ##
 CONFIG_RESET_CONTROLLER=y
+CONFIG_RESET_RASPBERRYPI=m
 
 ##
 ## file: drivers/rpmsg/Kconfig
@@ -1136,6 +1144,7 @@
 ## file: drivers/soc/bcm/Kconfig
 ##
 CONFIG_RASPBERRYPI_POWER=y
+CONFIG_BCM2835_POWER=y
 
 ##
 ## file: drivers/soc/fsl/Kconfig


I have already built a Debian package with the above options
from the latest master branch source on salsa.debian.org, and observed
the following on RPi4:

(1) CONFIG_DRM_V3D has no effect, as
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977441#18

(2) HDMI display resolution can become 4K and fixing an important bug
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=968188

(3) /dev/dri/render* does not appear unlike

https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1880125/comments/14
https://bugs.launchpad.net/ubuntu/+source/linux-raspi2/+bug/1850876/comments/33

GPU/DRM acceleration remains unusable on RPi4, and bug 968181
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=968181
remains open. 968181 seems blocked by 977441.

(4) My built Debian kernel 5.10.1 can boot from my usb mass storage device
ID 04bb:0168 I-O Data Device, Inc. I-O DATA HDPH-UT
but cannot access the root filesystem... My USB MSD mergenally worked
with Debian kernel 5.9.* and can compile the Debian kernel package.
My USB MSD  requires periodical reset by the Debian kernel 5.9.*,
which suggests this MSD is buggy... I ordered a faster SSD-based USB MSD.

(5) Raspberry Pi Wireless cannot be used by my built Debian kernel 5.10.1.
The wirelss has worked perfectly with Debian kernel 5.7--5.9.

I will see what will happen with a Debian kernel package 5.10*
both with and without proposed patch, and report it back,
when it arrives in experimental or unstable.

Bes regards, Ryutaroh Matsumoto

Reply via email to