I've just started switching to Linux kernel version 4.9.83 (via armv7-multiplatform from Robert C. Nelson). I had been using the 4.4.80 kernel. Updating the tag and patch set went well, and it started building right away. But, when I load it onto my board and try to boot, I'm getting a new MMC error:
[ 1.356062] mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using DMA
[ 1.436059] mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using DMA
[ 1.468819] mmc0: power class selection to bus width 8 ddr 4 failed
[ 1.479870] mmc0: error -110 whilst initialising MMC card
[ 1.546064] mmc2: SDHCI controller on 2198000.usdhc [2198000.usdhc] using DMA
[ 1.698156] mmc2: queuing unknown CIS tuple 0x01 (3 bytes)
[ 1.725635] mmc2: queuing unknown CIS tuple 0x1a (5 bytes)
[ 1.767939] mmc2: queuing unknown CIS tuple 0x1b (8 bytes)
[ 1.778593] mmc0: power class selection to bus width 8 ddr 4 failed
[ 1.788570] mmc2: queuing unknown CIS tuple 0x14 (0 bytes)
[ 1.809067] mmc0: error -110 whilst initialising MMC card
[ 1.828199] mmc2: queuing unknown CIS tuple 0x80 (1 bytes)
[ 1.852984] mmc2: queuing unknown CIS tuple 0x81 (1 bytes)
[ 1.866895] mmc2: queuing unknown CIS tuple 0x82 (1 bytes)
[ 1.879443] mmc2: new high speed SDIO card at address 0001
[ 1.889723] Waiting for root device /dev/mmcblk0p7...
[ 2.021716] mmc0: power class selection to bus width 8 ddr 4 failed
[ 2.028137] mmc0: error -110 whilst initialising MMC card
[ 2.240301] mmc0: power class selection to bus width 8 ddr 4 failed
[ 2.246710] mmc0: error -110 whilst initialising MMC card
I'm using exactly the same DTS file that I had been using, and I've had no issues with the MMC to date. The usdhc1 node in the device tree is attached:
&usdhc1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usdhc1>;
bus-width = <8>;
non-removable;
no-1-8-v;
status = "okay";
};
based on the kernel output, it looks like it might be an issue with the bus width parameter, but I don't know why this would change between kernel versions. Specifically, this message seems to be the smoking gun:
[ 1.778593] mmc0: power class selection to bus width 8 ddr 4 failed
This is on a custom board with an 8-bit EMMC interface wired to the SD1 port. Partial schematics are available if that helps.
Thanks in advance for any help!!