Hi,all
we have a problem with boot on emmc,when I use mfgtool(linux 3.14.52) to download the image ,the ternimal logged as followed:
sdhci: Tuning procedure failed, falling back to fixed sampling clock
mmc3: tuning execution failed
mmc3: error -5 whilst initialising MMC card
mmc3: BKOPS_EN bit is not set
mmc3: tuning execution failed
mmc3: error -5 whilst initialising MMC card
can anyone have the same problem?
Hi jingyang
tuning is used for emmc v.4.5, 5.0, one can check if signal levels
are 1.8V and complies with datasheet sect.4.12.5.4 HS200 Mode Timing
i.MX6SX Datasheet
https://www.nxp.com/docs/en/data-sheet/IMX6SXCEC.pdf
Signal shape may be tweaked changing pad settings in pinctrl_usdhc4_1_200mhz
linux/arch/arm/boot/dts/imx6sx-sdb-emmc.dts
linux-imx.git - i.MX Linux Kernel
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi,igor
thanks for your answer,the board now can recognize the emmc(in sd4),but the download cannot be finished ,it stoped at "cpu id is 0",there are some message:
mmc3: new HS200 MMC card at address 0001
mmcblk3: mmc3:0001 P1XXXX 7.20 GiB
mmcblk3boot0: mmc3:0001 P1XXXX partition 1 2.00 MiB
mmcblk3boot1: mmc3:0001 P1XXXX partition 2 2.00 MiB
mmcblk3rpmb: mmc3:0001 P1XXXX partition 3 128 KiB
mmcblk3: unknown partition table
mmcblk3boot1: unknown partition table
mmcblk3boot0: unknown partition table
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
TCP: cubic registered
NET: Registered protocol family 10
sit: IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
Key type dns_resolver registered
cpu cpu0: dev_pm_opp_get_opp_count: device OPP not found (-19)
Registering SWP/SWPB emulation handler
SWBST: disabling
usb_otg1_vbus: disabling
VCC_SD3: disabling
regulator-dummy: disabling
imx mcc test is registered.
Number of LUNs=8
Mass Storage Function, version: 2009/09/11
LUN: removable file: (no medium)
Number of LUNs=1
LUN: removable file: (no medium)
Number of LUNs=1
g_mass_storage gadget: Mass Storage Gadget, version: 2009/09/11
g_mass_storage gadget: g_mass_storage ready
snvs_rtc 20cc034.snvs-rtc-lp: setting system clock to 1970-01-01 00:00:00 UTC (0)
ALSA device list:
No soundcards found.
Freeing unused kernel memory: 380K (808bd000 - 8091c000)
Starting UTP
uuc 0.5 [built Dec 3 2015 08:26:46]
UTP: Waiting for device to appear
UTP: file/device node /dev/utp already exists
cpu_id is 0
Hi jingyang
please check that usb_id is floating or high.
Best regards
igor
Hi,igor
I check that the usb_id is floating,and the voltage is 3.3V,is there any possibility which cause the download process stopped at "cpu_id is 0"?
Hi jingyang, the problem is that, when I burn image on imx6q-sabresd using MFGtools, but it stop here:
Freeing unused kernel memory: 296K (80bdf000 - 80c29000)
Starting UTP
mknod: /dev/tty0: File exists
ln: /etc/mtab: File exists
disable turn off display
Starting udev
udevd[158]: starting version 182
uuc 0.4 [built Apr 5 2014 08:45:57]
UTP: Waiting for device to appear
UTP: file/device node /dev/utp already exists
cpu_id is 0
I have no idea about this, can u give me some help ? :smileyhappy:
我之前遇到这个问题是硬件问题,把OTG电路里面的某个电阻拆掉了,这个硬件工程师处理的,我问他,他完全忘了,不好意思哈
在firmware里面放原版内核,在files里面放新编译的内核,应该可以烧进去
jingyang xie
邮箱:17702710280@163.com
|
签名由 网易邮箱大师 定制
您好,刚刚尝试了一下,串口输出内容如下:
首先是原版的firmware所有文件:
......
mmc2: unrecognised EXT_CSD revision 7
mmc2: error -22 whilst initialising MMC card
mmc2: unrecognised EXT_CSD revision 7
mmc2: error -22 whilst initialising MMC card
Galcore version 4.6.9.9754
mmc2: unrecognised EXT_CSD revisio
你不是说原版的可以下进去吗?
jingyang xie
邮箱:17702710280@163.com
|
签名由 网易邮箱大师 定制
你是用mfgtool下载的吗?
jingyang xie
邮箱:17702710280@163.com
|
签名由 网易邮箱大师 定制