[SRU][Bionic/raspi2][PATCH] UBUNTU: [Config] Remove upstream mmc modules

Adam Smith blondesaluki at gmail.com
Mon Apr 16 09:49:32 UTC 2018


Buglink: https://bugs.launchpad.net/bugs/1762835

The Bionic Linux-raspi2 kernel has both the upstream and downstream pi
mmc modules enabled. Running the latest server image users can see
this error in dmesg:

Error: Driver 'sdhost-bcm2835' is already registered, aborting...

Due to this error the pi server image is failing a testcase on the iso
tracker.  It is also not clear to users what mmc modules are in use.

The attached patch removes the upstream mmc modules from the kernel config.


Signed-off-by: Adam Smith blondesaluki at gmail.com

---


diff -uprN a/debian.raspi2/config/config.common.ubuntu
b/debian.raspi2/config/config.common.ubuntu
--- a/debian.raspi2/config/config.common.ubuntu 2018-04-11
21:52:48.000000000 +0000
+++ b/debian.raspi2/config/config.common.ubuntu 2018-04-11
22:50:17.215569046 +0000
@@ -3456,7 +3456,7 @@ CONFIG_MMA9553=m
 CONFIG_MMC=y
 CONFIG_MMC35240=m
 CONFIG_MMC_ARMMMCI=y
-CONFIG_MMC_BCM2835=y
+# CONFIG_MMC_BCM2835 is not set
 CONFIG_MMC_BCM2835_DMA=y
 CONFIG_MMC_BCM2835_MMC=y
 CONFIG_MMC_BCM2835_PIO_DMA_BARRIER=2
@@ -3474,7 +3474,7 @@ CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_CADENCE=m
 CONFIG_MMC_SDHCI_F_SDH30=m
 CONFIG_MMC_SDHCI_IO_ACCESSORS=y
-CONFIG_MMC_SDHCI_IPROC=m
+# CONFIG_MMC_SDHCI_IPROC is not set
 CONFIG_MMC_SDHCI_OF_ARASAN=m
 CONFIG_MMC_SDHCI_OF_AT91=m
 # CONFIG_MMC_SDHCI_OMAP is not set




More information about the kernel-team mailing list