Custom Board Based on IMX6QP-SABRESD,EMMC 5.1 Problem,Linux3.14.52

cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Board Based on IMX6QP-SABRESD,EMMC 5.1 Problem,Linux3.14.52

359 Views
zhaotao
Contributor I

1, While Boot OS form EMMC(5.1) ,get following error

mmc3: Timeout waiting for hardware interrupt.

mmcblk3: error -110 transferring data, sector 1758208, nr 192, cmd response 0x900, card status 0xb00

...

2,When OS logged in, I test the file read ,write, compare as below:

root@freescale ~$ cp /home/rootfs_1119.tar ./rootfs_1119.tar-1

root@freescale ~$ cp /home/rootfs_1119.tar ./rootfs_1119.tar-2

root@freescale ~$ cp /home/rootfs_1119.tar ./rootfs_1119.tar-3

root@freescale ~$ diff rootfs_1119.tar rootfs_1119.tar-1     

Files rootfs_1119.tar and rootfs_1119.tar-1 differ

root@freescale ~$ diff rootfs_1119.tar rootfs_1119.tar-2

Files rootfs_1119.tar and rootfs_1119.tar-2 differ

????

.....

3, My custom board device tree is given

   On custom board, We use EIM bus, i2c-2 bus, EMMC (3 and 4, connected with SD card and EMMC respectively), and the rest (hdmi, audio, lvds, PMIC )are not used and tailored.

Device tree configuration:/*

4, Board Log information form UBOOT to OS is given

5, I also try to slow down the EMMC clock form 49500000 to 32000000, the Problem exists, not because the emmc data rate too high?

Some suggestions for help ,thanks...

0 Kudos
2 Replies

144 Views
zhaotao
Contributor I

Hi igor,

Thanks, although these two cases problem like similar. I try but

1,For iomux step, because my Linux version is 3.14.52, I can not find the

/arch/arm/plat-mxc/include/mach/iomux-mx6q.h and in the board .h file in kernel-3.0.35-4.1.0/arch/arm/mach-mx6/board_myboard.h

files mentioned above in the 3.14.52 imx kernel source.

However, my device tree do the same thing

pinctrl_usdhc4: usdhc4grp {

 fsl,pins = <

MX6QDL_PAD_SD4_CMD__SD4_CMD 0x17059

MX6QDL_PAD_SD4_CLK__SD4_CLK  0x10059

MX6QDL_PAD_SD4_DAT0__SD4_DATA00x17059

MX6QDL_PAD_SD4_DAT1__SD4_DATA10x17059

MX6QDL_PAD_SD4_DAT2__SD4_DATA20x17059

MX6QDL_PAD_SD4_DAT3__SD4_DATA30x17059

MX6QDL_PAD_SD4_DAT4__SD4_DATA40x17059

MX6QDL_PAD_SD4_DAT5__SD4_DATA50x17059

MX6QDL_PAD_SD4_DAT6__SD4_DATA60x17059

MX6QDL_PAD_SD4_DAT7__SD4_DATA70x17059

 >;

  };

2, for menuconfig step, I can not find 

[*] MX6 clk settings for smooth UI transtion from bootloader to kerne

But like this

[*]Freescale i.MX family->Freescale i.MX support---> ] Enable MXC debug board(for 3-stack)   

*** i.MX51 machines: ***

 [*] Support i.MX51 platforms from device tree 

 [ ] Support MX51 BABBAGE platforms   

 [*] Support Eukrea CPUIMX51SD module

  Baseboard (Eukrea MBIMXSD development board)  --->

*** Device tree only ***

 [*] i.MX50 support

 [*] i.MX53 support

 [*] i.MX6 Quad/DualLite support

 [*] i.MX6 SoloLite support

 [*] i.MX6 SoloX support

 [*] i.MX6 UltraLite support

 [*] i.MX7 Dual support 

3, by the way , my EMMC is 5.1, 16GB, sandisk products, a little different from the reference board IMX6QP-SABRESD. 

waiting for suggestions...

Best regards

zhao tao

0 Kudos

144 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Zhao

this may be similar issue as described on

eMMC 8GB to 4GB - crash on linux (yocto) boot 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos