board: design based on SABRESDP demo
CPU:IMX6DL
eMMC: connect to SD4, 8GBytes
description and question:
1. board#1:download OK at each time;
2. board#2: download OK at the firsrt time, but failed all the time when download again, compare the log, find line 236\324\327,355 are different, final error is about vfat, what is the root cause and how to resolve it?
Original Attachment has been moved to: fail-20170401.txt.zip
Original Attachment has been moved to: OK-20170329.txt.zip
share the experience about fixing this issue, hope to be helpful,
1. adjust the drive strength of eMMC signals in /arch/arm/boot/dts/*.dtsi, the issue is also happen;
2. Reduce the speed of accessing eMMC, but don't useful for this issue, /drivers/mmc/host/sdhci-esdhc-imx.c, change the function "esdhc_pltfm_get_max_clock" return value to restrict the speed;
3. Relayout the PCB, older version based on demo board, DDR use T-mode layout, but the demo board is not enough, the PCB layout should be more careful according to guidline-<<IMX6DQ6SDLHDG, Hardware Development Guide for i.MX 6Quad, 6Dual, 6DualLite, 6Solo Families of Applications Processors>> and <<HW_Design_Checking_List_for_i.MX6DQP6DQ6SDL_Rev3.1>>, after doing this, the three new boards is OK.
Hi Wu
one can tweak drive strength eMMC signals and run ddr test for
finding more optimized ddr settings
https://community.freescale.com/docs/DOC-105652
Also one can consider eMMC quality issue, bad soldering and damage,
one can try to replace it on other part.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Igor,
thanks for support. DDR stress test from 350M to 400M is OK, and the eMMC chip has been replaced, the issue is already same, next step I want to change the drive strength, could you share with related examples or guidelines?
"Push" error, file="C:\project\pilot\DR\board\6000017-DISP BD\fimrware\mfgtools\Profiles\KTSystem\OS Firmware\files\rootfs.tar.bz2"