• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: mmcinit fails with "No MMC card found" after psu failure. Damaged SheevaPlug?  (Read 2365 times)
isma.deandres
Newbie
*

Karma: 0
Posts: 2


View Profile
« on: August 13, 2010, 02:56:15 AM »

Hi!

    I was using Sheevaplug booting from a SD (Ultimate SDHC Class 6 8GB) without any kind of problem for 5 months. Recently Sheevaplugs starts rebooting frequently and finally it died of psu failure (the famous one). I opened it, remove the old one and conect an external power supply of 2A and 5v. After that when Sheevaplug tries to boot I get the following error: "No MMC card found". mmcinit fails with that error!

for details:

Quote
         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|
 ** MARVELL BOARD: SHEEVA PLUG LE

U-Boot 1.1.4 (Dec 27 2009 - 22:03:21) Marvell version: 3.4.27

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CFEE0

Soc: 88F6281 A0 (DDR2)
CPU running @ 1200Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size 256MB
DRAM CS[1] base 0x10000000   size 256MB
DRAM Total size 512MB  16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:512 MB
Flash:  0 kB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0 [PRIME]
Hit any key to stop autoboot:  3     2     1     0
cmd timeout, status : 0810
xfer mode : 0000
No MMC card found
card too busy
mmc_block_read: mmc read block cmd fails
mmc block read error
bad MBR sector signature 0x0000
** Bad partition 1 **
card too busy
mmc_block_read: mmc read block cmd fails
mmc block read error
bad MBR sector signature 0x0000
** Bad partition 1 **
## Booting image at 00800000 ...
Bad Magic Number
Marvell>>

After that I taked the SD card and get into my desktop and it works! the card can be read without problems! So, I backup it formatted it  and tried to reinstall Debian but again the same failure in the mmcinit. I had reinstalled all the sheevaplug with the unbricking procedure (with Ubuntu jaunty after a few minutes I get segmentation fault but after that it seems that Sheevaplug is reinstalled ok) and after that again the same error of mmcinit.

My uboot version is "3.4.27-pingo". In the jtag message appears 3.4.27 but when I execute "version" I get "3.4.27-pingo".

I tried to install into a USB but in the middle of the process sheevaplug suddenly restarts!

Is my sheevaplug physically damaged?

My environmental variables are these:

Quote
Marvell>> printenv

baudrate=115200
loads_echo=0
rootpath=/mnt/ARM_FS/
netmask=255.255.0.0
CASset=min
MALLOC_len=1
ethprime=egiga0
ethmtu=1500
usb0Mode=host
nandEcc=1bit
ethact=egiga0
serverip=10.10.0.2
ipaddr=10.10.0.1
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
yuk_ethaddr=00:00:00:EE:51:81
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
ethaddr=00:50:43:01:CA:76
bootargs_env=bootargs console=ttyS0,115200 root=/dev/mmcblk0p2
arcNumber=2097
cesvcid=ULULULULULULPPULULULULULDA
console=console=ttyS0,115200
run_diag=no
bootargs_console=console=ttyS0,115200
bootargs_root=root=/dev/mmcblk0p2
bootcmd_mmc=mmcinit; ext2load mmc 0:1 0x01100000 /uInitrd; ext2load mmc 0:1 0x00800000 /uImage
bootcmd=setenv bootargs $(bootargs_console) $(bootargs_root); run bootcmd_mmc; bootm 0x00800000 0x01100000
stdin=serial
stdout=serial
stderr=serial
mainlineLinux=no
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
bootdelay=3
disaMvPnp=no
enaAutoRecovery=yes
pcieTune=no
bootargs=console=ttyS0,115200 root=/dev/mmcblk0p2

Environment size: 1423/131068 bytes
Marvell>>

Thanks a lot!

Isma.
      /  \
Logged

tylernt
Jr. Member
**

Karma: 2
Posts: 56


View Profile
« Reply #1 on: August 13, 2010, 09:47:50 AM »

First, I would try a different PS -- the one you are using may be faulty, or a little out of spec (voltage a little too high or too low).

Assuming you have a known good PS, though...

I believe MMC cards run at 3.3v. It's possible the failed power supply damaged the 5-3.3v DC-DC converter on the Sheeva mainboard which leads to MMC failures. Possibly even segfaults/reboots could be due to damaged DC-DC converter(s) as a lot of components like RAM, CPU etc run at less than 5v.

I wonder if it would be possible to probe around on the board with a multimeter to see what some of the voltages are, if any of the leads or traces are exposed enough.
Logged

isma.deandres
Newbie
*

Karma: 0
Posts: 2


View Profile
« Reply #2 on: August 15, 2010, 11:55:54 PM »

Hi tylernt!

                I will check it! Voltage pins a 3, 4 and 6 isnīt?



Thank you tylernt!  Grin

Isma.
      /  \
Logged

Pages: [1]
Print
Jump to: