mmc not detected on AT91SAM9263 board
with marvel chip 88w8686.
i compiled the linux kernel 2.6.30 with patches from AT91. kernel is booting
up from data flash. I am not seeing the 'mmc' getting mounted while kernel
bootup. also I don't see 'eth1' device when I run "ifconfig -a" command. I
am thinking that I can map my wireless ethernet port to the 'eth1' device.
correct me if I am wrong.
please let me know how do I debug to bring the Wifi board up?
find below the configuration tags for 'mmc' and 'sdio' in .config file of
the linux kernel.
*"MMC" configuration in .config file*
# MMC/SD/SDIO Card Drivers
# MMC/SD/SDIO Host Controller Drivers
# CONFIG_MMC_SDHCI is not set
# CONFIG_MEMSTICK is not set
# CONFIG_ACCESSIBILITY is not set
# CONFIG_NEW_LEDS is not set
# CONFIG_RTC_DEBUG is not set
*LIBERTAS configuration in .config file*
# Wireless LAN
# CONFIG_STRIP is not set
# CONFIG_LIBERTAS_DEBUG is not set
# CONFIG_HOSTAP is not set
suse auto wrote:
> i compiled the linux kernel 2.6.30 with patches from AT91. kernel is
> booting up from data flash. I am not seeing the 'mmc' getting mounted
> while kernel bootup.
Do you have the device? Can you compile the mmc support as a module,
and then load it and see what the drivers tell you?
It's not going to get mounted automatically unless you either have
it in your fstab, or you have the hotplug system configured correctly,
and that runs in user space, so that'd be after the boot process.
If I remember it well MMC detection does not work quite well during bootup IF
* SPI is activated.
* ALSA is configured as a module.
Try this in your kernel conf to see if this solves your problem (it
worked for me in 2.6.28 and 2.6.29, but I haven't tested 2.6.30 yet).
José María Súnico wrote:
> If I remember it well MMC detection does not work quite well during
> bootup IF
> * SPI is activated.
> * ALSA is configured as a module.
This is definitely a problem on the 261-EK, but I looked at the Linux
source for the 263-EK and didn't see the same issues. I haven't traced
the pins used for each, though, the problem with the 261 is that there
was some pin sharing between MMC and SPI0 that needed some careful
coding to keep separate, and the Linux driver model didn't have an easy
way to honor that.
I tried with SPI enabled but was of no use. i did not find ALSA option in
the kernel config file. I have inserted the wifi sdio card to the mmc
interface. note that there is a 8MB data flash connected to other mmc
interface and is detected on power-on-reset. do you think there may be any
jumper settings that is required to be changed on the SAM9263-EK board to
enable mmc1 interface?
On Thu, Nov 19, 2009 at 1:32 AM, Dan Lyke wrote:
> On Wed, 18 Nov 2009 19:08:47 +0100
> JosMar Sico > wrote:
> > If I remember it well MMC detection does not work quite well during
> > bootup IF
> > * SPI is activated.
> > * ALSA is configured as a module.
> This is definitely a problem on the 261-EK, but I looked at the Linux
> source for the 263-EK and didn't see the same issues. I haven't traced
> the pins used for each, though, the problem with the 261 is that there
> was some pin sharing between MMC and SPI0 that needed some careful
> coding to keep separate, and the Linux driver model didn't have an easy
> way to honor that.