El 2016-02-12 14:36, Dirk Müller escribió:
Hi Oscar,
Looking at the full log I see that the problem may be that the mmc
module is
not loaded. I unpacked the initram and there are some modules, but I
don't
know which one is for the imx6 platform:
I believe that would be sdhci-esdhc-imx.ko (which is missing).
Well, that file (an others) are included in the initram:
(none):/lib/modules/4.4.0-3-default/kernel/drivers # find mmc -name
*imx*
mmc/host/sdhci-esdhc-imx.ko
Can I set a debug flag or something to see why the modules are not
being
loading?
yes, kiwidebug=1 passed to the command line (e.g. by editing the
boot.script and recompiling it into the boot.scr) will give you a
shell once it failed, from there you can debug further.
Thanks, i didn't know that option. It could be nice if the firstboot
had that option by default. That way it would be easier to debug boot
problems.
Unfortunately, manually loading the mmc module does not solve the
problem. The module is correctly loaded and the reader seems to be
recognized, but the card is not (tried another card with the same
result):
(none):/lib/modules/4.4.0-3-default/kernel/drivers/mmc/host # modprobe
sdhci-esdhc-imx
[ 418.121862] sdhci: Secure Digital Host Controller Interface driver
[ 418.128108] sdhci: Copyright(c) Pierre Ossman
[ 418.133722] sdhci-pltfm: SDHCI platform and OF driver helper
[ 418.141531] /soc/aips-bus@02100000/usdhc@02198000: voltage-ranges
unspecified
[ 418.148717] sdhci-esdhc-imx 2198000.usdhc: could not get ultra high
speed state, work on normal mode
[ 418.158235] sdhci-esdhc-imx 2198000.usdhc: No vmmc regulator found
[ 418.164540] sdhci-esdhc-imx 2198000.usdhc: No vqmmc regulator found
[ 418.204572] mmc0: SDHCI controller on 2198000.usdhc [2198000.usdhc]
using ADMA
[ 418.215337] imx-gpc 20dc000.gpc: failed to get pu regulator: -517
(none):/lib/modules/4.4.0-3-default/kernel/drivers/mmc/host # [
418.257316] mmc0: host does not support reading read-only switch,
assuming write-enable
[ 418.271478] mmc0: new high speed SDHC card at address 0007
Greetings,
Dirk
Thanks!
--
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]