eMMC 5.0 on u-boot-fslc-2014

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

eMMC 5.0 on u-boot-fslc-2014

1,325件の閲覧回数
vipulkumar
Contributor III

Hi,

I am using customized imx6 Solo based board. My board is having e-MMC 5.0 from Kingston (EMMC 08G-W325-X01U) . I booted my board from the imx_usb_loader. In the u-boot logs, I got the message that e-mmc init failed.

U-Boot 2014.01 (Dec 23 2016 - 16:29:03)

CPU:   Freescale i.MX6SOLO rev1.3 at 792 MHz
Reset cause: POR
Board: wayu_fiob
I2C:   ready
DRAM:  1 GiB
MMC:   1
FSL_SDHC: 0
MMC init failed
Using default environment

No panel detected: default to NLT-WXGA
Display: NLT-WXGA (1280x800)
In:    serial
Out:   serial
Err:   serial
Net:   FEC [PRIME]
Hit any key to stop autoboot:  0
=>
=>
=>
=>
=>
$ mmcinfo


Device: FSL_SDHC
Manufacturer ID: 0
OEM: 0
Name: Tran Speed: 0
Rd Block Len: 0
MMC version 0.0
High Capacity: Yes
Capacity: 0 Bytes
Bus Width: 1-bit
=>

On kernel, e-mmc is working fine by changing the ext_csd.rev from 6 to 7 in drivers/mmc/core/mmc.c.

I have the following question:

1. Is u-boot-fslc-2014 supports e-MMC 5.0 ? If yes, what are the changes are required in u-boot ? If no, then how will u-boot recognise e-MMC 5.0 ? As I read that, i.MX6 supports e-MMC <= 4.4.

ラベル(4)
タグ(3)
0 件の賞賛
返信
2 返答(返信)

819件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Vipul

U-Boot 2014.01 is old version and nxp bsps did not use it,

please try for example uboot-imx_v2014.04

http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/?h=imx_v2014.04_3.14.28_1.0.0_ga

Processor works with e-MMC 5.0 too, as it backward compatible with e-MMC 4.4

for debugging one can use uboot/cmd/mmc.c

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

0 件の賞賛
返信

819件の閲覧回数
vipulkumar
Contributor III

After some debugging, I found that mmc_init() function is getting failed with error -19.

#define TIMEOUT                 -19

CPU:   Freescale i.MX6SOLO rev1.3 at 792 MHz
Reset cause: POR
I2C:   ready
DRAM:  1 GiB
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
mmc_init mmc->init_in_progress 0
mmc_init mmc_complete_init -19
mmc_init err -19
*******MMC init failed
Using default environment

No panel detected: default to NLT-WXGA
Display: NLT-WXGA (1280x800)
In:    serial
Out:   serial
Err:   serial
Net:   FEC [PRIME]

eMMC is connected on usdhc4 and the data width is 8 bits.

0 件の賞賛
返信