Second SD card on RPi3 CM3 with Ubuntu Core 18

Hello

I’m having some issues enabling the SD card (pins 22-27) using the official Ubuntu Core 18 image on a RPi3 Compute Module 3. I’ve also tested this on a Ubuntu Core 16 image and it works there.

Added this line to config.txt:

dtoverlay=sdio,poll_once=off

dmesg reports:

[    4.062885] sdhci: Secure Digital Host Controller Interface driver
[    4.062888] sdhci: Copyright(c) Pierre Ossman
[    4.063074] mmc-bcm2835 3f300000.sdio: could not get clk, deferring probe
[    4.063288] sdhost-bcm2835 3f202000.mmc: could not get clk, deferring probe
[    4.063344] Error: Driver 'sdhost-bcm2835' is already registered, aborting...
[    4.063353] sdhci-pltfm: SDHCI platform and OF driver helper
[    4.134639] mmc-bcm2835 3f300000.sdio: mmc_debug:0 mmc_debug2:0
[    4.134645] mmc-bcm2835 3f300000.sdio: DMA channel allocated
[    4.171639] sdhost: log_buf @ d033dd8b (fa047000)
[    4.239344] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)

Any clues?

KInd regards

Still having issues with this, should I try to get the RPi tools on Ubuntu Core to debug this problem?

Kind regards

Sounds like a kernel issue, perhaps @ppisati can help out here ?

(otherwise, please file a bug to get his attention, the snap is built from the official linux-raspi2 ubuntu source:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi2/+filebug )

Trying to pick this up again

Launchpad issue is here, not that there’s any movement on it…

For the record I’m using pi-kernel with track 18-cm3.

@ppisati can you give some insight?

Kind regards