MMC slots on MS7724
Can someone with an MS7724 ecovec board confirm something for me? When the board is powered on, are the two MMC slot LED power indicators lit? The LEDs are right off the back left corner of the slots. On my board only one LED lights up and only blinks sporadically. I can't get the board to recognize any SD cards at all and I suspect the hardware may be faulty.
Thanks
Bill
Dear Bill
Quoted 6 lines
Can someone with an MS7724 ecovec board confirm something for me? When the board is powered on, are the two MMC slot LED power indicators lit? The LEDs are right off the back left corner of the slots. On my board only one LED lights up and only blinks sporadically. I can't get the board to recognize any SD cards at all and I suspect the hardware may be faulty.
I asked about this to Ecovec hardware engineer.
when power on, LED status are
LED13: right up
LED12: right off
To enable "eMMC boot" on CN12 slot,
card power are applied to LED13 by hardware.
# current ecovec user manual (table 3.4.5.1) # show you wrong infomation. sorry.
You can control it by PTB[7] and PTB[6].
Best regards
--
Kuninori Morimoto
Quoted 5 lines · Bill Traynor
Can someone with an MS7724 ecovec board confirm something for me? When the board is powered on, are the two MMC slot LED power indicators lit? The LEDs are right off the back left corner of the slots. On my board only one LED lights up and only blinks sporadically. I can't get the board to recognize any SD cards at all and I suspect the hardware may be faulty.
I recognize the case with one LED blinking. For me I think it was caused by a mismatch in between the kernel configuration and the dip switch settings. If you still have problems then please post your kernel configure and I will give it a try.
Cheers,
/ magnus
Quoted 16 lines · Kuninori Morimoto
Dear Bill
Quoted 7 lines
Can someone with an MS7724 ecovec board confirm something for me? When the board is powered on, are the two MMC slot LED power indicators lit? The LEDs are right off the back left corner of the slots. On my board only one LED lights up and only blinks sporadically. I can't get the board to recognize any SD cards at all and I suspect the hardware may be faulty.
I asked about this to Ecovec hardware engineer.
when power on, LED status are
LED13: right up
LED12: right off
Quoted 8 lines
To enable "eMMC boot" on CN12 slot,
card power are applied to LED13 by hardware.# current ecovec user manual (table 3.4.5.1) # show you wrong infomation. sorry.You can control it by PTB[7] and PTB[6].
Thanks, after changing DS-2[6] to ON and DS-2[7] to OFF, dmesg reports the following on insertion of a card in the SD/MMC slot (SDHI1):
mmc1: new SDHC card at address 1234
mmcblk0: mmc1:1234 SA04G 3.68 GiB
mmcblk0: p1
Oddly, the Android demo still reports no SD card though. I'll try a few more things to try to get that working.
Quoted 9 lines
Best regards
--
Kuninori Morimoto--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 8 lines · Magnus Damm
Quoted 6 lines · Bill Traynor
Can someone with an MS7724 ecovec board confirm something for me? When the board is powered on, are the two MMC slot LED power indicators lit? The LEDs are right off the back left corner of the slots. On my board only one LED lights up and only blinks sporadically. I can't get the board to recognize any SD cards at all and I suspect the hardware may be faulty.
Quoted 5 lines
I recognize the case with one LED blinking. For me I think it was caused by a mismatch in between the kernel configuration and the dip switch settings. If you still have problems then please post your kernel configure and I will give it a try.
I'm using the latest ecovec24_defconfig in Paul's git tree.
The blinking LED has stopped when DP2[6] is set to ON, and DP2[7] is set to off. This also enables the top SD slot on the board (CN12).
I've yet to get the bottom slot to show any life. The user manual seems to indicate (Section 4.4) that slot usage is an OR situation setup with the DIP switches, that is one can use the MMC interface OR the SD interface but not both.
"MMC/ MMC plus/ SD card slot of CN12 is a multi slot that can insert MMC /MMC plus card and SD card. MMC/ MMC plus card or the SD card interface is selected by setting dip switch DS2-[7:6]."
dmesg does report the following:
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
mmc0 at 0xa4ce0000 irq 100
mmc1 at 0xa4cf0000 irq 23
So given that the top slot works now for me, getting the bottom slot to work isn't critical. But I'll continue to poke at it.
Quoted 8 lines
Cheers,
/ magnus
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Dear Bill
Quoted 9 lines
Thanks, after changing DS-2[6] to ON and DS-2[7] to OFF, dmesg reports the following on insertion of a card in the SD/MMC slot (SDHI1):
mmc1: new SDHC card at address 1234
mmcblk0: mmc1:1234 SA04G 3.68 GiB
mmcblk0: p1Oddly, the Android demo still reports no SD card though. I'll try a few more things to try to get that working.
OK. I asked about Ecovec Android to expert. I guess you got Android demo from Renesas OSS site. correct ?
At first, we didn't check CN12 slot for Android demo. We used CN11 slot.
Please check "mount" command.
Does your card mounted ?
If not, please check
/system/etc/vold.conf
meybe your conf show you "mmc0"
but your card is in "mmc1" now
Quoted 1 line
I'm using the latest
ecovec24_defconfigin Paul's git tree.
Hmm..
When you compile kernel for Android, above defconfig is not enough. Android setting is needed.
I wounder which kernel are you using ?
Android needs special kernel patches.
Please check here
https://oss.renesas.com/modules/download/index.php?cidf
Best regards
--
Kuninori Morimoto
Morimoto - san, Bill,
Quoted 39 lines
Dear Bill
Quoted 9 lines
Thanks, after changing DS-2[6] to ON and DS-2[7] to OFF, dmesg reports the following on insertion of a card in the SD/MMC slot (SDHI1):
mmc1: new SDHC card at address 1234
mmcblk0: mmc1:1234 SA04G 3.68 GiB
mmcblk0: p1Oddly, the Android demo still reports no SD card though. I'll try a few more things to try to get that working.
OK. I asked about Ecovec Android to expert. I guess you got Android demo from Renesas OSS site. correct ?
At first, we didn't check CN12 slot for Android demo. We used CN11 slot.
Please check "mount" command.
Does your card mounted ?If not, please check
/system/etc/vold.confmeybe your conf show you "mmc0"
but your card is in "mmc1" nowQuoted 1 line
I'm using the latest
ecovec24_defconfigin Paul's git tree.Hmm..
When you compile kernel for Android, above defconfig is not enough. Android setting is needed.I wounder which kernel are you using ?
Android needs special kernel patches.
Quoted 7 lines
Please check here
https://oss.renesas.com/modules/download/index.php?cidfBest regards
--
Kuninori Morimoto
Don't forget that DS2:6 and DS2:7 are only associated with CN12 (and LED13),
If DS2:6 = ON and DS2:7 = Off, SDHI peripheral is connected to CN12, if DS2:6 = OFF DS2:7 = ON, MMCIF peripheral is connected to CN12. DS2:4 has to be on for the SDHI peripheral to be connected to CN11, if DS2:4 is off, MSIOF peripheral is connected to CN11 (MSIOF is used for MMC via SPI).
LED 12 is associated with CN11.
Regards
Jeremy Baker
This message is intended only for the use of the addressee(s) and may
contain confidential and/or legally privileged information.
If you are not the intended recipient, you are hereby notified that
any dissemination of this email (including any attachments thereto)
is strictly prohibited. If you have received this email in
error, please notify the sender immediately by telephone or email
and permanently destroy the original without making any copy.
Please note that any material and advice from this mail is provided
free of charge and shall be used as an example for demonstration
purposes only.
RENESAS MAKES NO WARRANTIES THAT THEIR USAGE WILL NOT INFRINGE ANY
INTELLECTUAL PROPERTY RIGHTS (E.G. PATENTS, COPYRIGHTS).
RENESAS CANNOT GUARANTEE BUG FREE OPERATION AND THE RECIPIENT WILL USE
AND/OR DISTRIBUTE IT ONLY AT HIS OWN RISK. IN NO EVENT SHALL
RENESAS BE LIABLE FOR ANY DAMAGE.
This communication with Renesas Electronics Europe Ltd does not amend
any written agreement in place.
Thank you.
Renesas Electronics Europe Ltd, Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, UK. Registered in England & Wales under Registered No. 04586709.
Hi Bill,
Quoted 14 lines · Bill Traynor
Quoted 13 lines · Magnus Damm
Quoted 9 lines · Bill Traynor
Can someone with an MS7724 ecovec board confirm something for me? When the
board is powered on, are the two MMC slot LED power indicators lit? The LEDs are right off the back left corner of the slots. On my board only one
LED lights up and only blinks sporadically. I can't get the board to recognize any SD cards at all and I suspect the hardware may be faulty.
Quoted 7 lines
Quoted 5 lines
I recognize the case with one LED blinking. For me I think it was caused by a mismatch in between the kernel configuration and the dip switch settings. If you still have problems then please post your kernel configure and I will give it a try.
I'm using the latest
ecovec24_defconfigin Paul's git tree.
The ecovec defconfig seems to have the MMCIF driver disabled. Feel free to try CONFIG_MMC_SH_MMCIF=y.
The MMC stuff on Ecovec is like a big maze. On the hardware side you have an external bus switch controlled by dip switches. Inside the SoC you can select between MMCIF or SDHI for one of the slots. On top of that you can use MSIOF for MMC-over-SPI.
The hardware setting need to be reflected by the kernel configuration. I recommend you to browse through the platform device comments in arch/sh/boards/mach-ecovec24/setup.c
Cheers,
/ magnus