Very strange bug

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Very strange bug

523 Views
AlekseyP_
Contributor I

Hi All,

I try to work with imx28evk. I use kernel and rootfs from EVK. Loading kernel via tftp, connecting to rootfs via nfs. And if kernel is loaded EVK resets after SD card insertion.

If SD card is initially inserted EVK works normal but reset occurs after ejection and insertion SD.

Google can't help.

Any Ideas, any assumptions are welcome...

B.R.

Tags (2)
0 Kudos
1 Reply

458 Views
GiuseppePagano
Contributor I

Hi,

I have never seen this kind of situation, but I can suggest you to start debugging from CARD DETECT routine.

In linux kernel linux-2.6.35.3 CARD DETECT is done polling host controller, if you have the possibility to recompile kernel source you can try to bypass this check, to see when reset happens (file drivers/mmc/host/mxs-mmc.c) .

Maybe problems can be generated from  power pin of MMC (file arch/arm/mach-mx28/device.c)

Do you see board reset also at u-boot level, if you insert SD in that moment ?

Giuseppe

0 Kudos