Error while flashing custom linux image on emmc

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

Error while flashing custom linux image on emmc

857 Views
purvi_billore1
Contributor III

Hello,

I have made custom linux image for custom board with iMX-6 processor through yocto for sd-card and for emmc; when I flashed image on sd-card through dd-command it is properly flashed and running.

Now, when I tried to flash the image on emmc through dd-command it is throwing the below error:

 

CPU: 2 PID: 94 Comm: mmcqd/3 Tainted: G O 3.14.61-fslc+g327d5c9 #4
task: a84f1b00 ti: a8524000 task.ti: a8524000
PC is at ext4_finish_bio+0xc0/0x230
LR is at ext4_finish_bio+0xec/0x230
pc : [<8016c9e8>] lr : [<8016ca14>] psr: a0010093
sp : a8525da8 ip : 00000000 fp : 0000004a
r10: ab814a40 r9 : 82069b84 r8 : 00001000
r7 : 00000000 r6 : 00000000 r5 : a75e9800 r4 : 00000000
r3 : 00000001 r2 : 00000001 r1 : a7009800 r0 : 00000000
Flags: NzCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment kernel
Control: 10c53c7d Table: 389f004a DAC: 00000015
Process mmcqd/3 (pid: 94, stack limit = 0xa8524238)
Stack: (0xa8525da8 to 0xa8526000)
5da0: 00000001 00010013 a8524000 a982c280 80a13e04 800189f4
5dc0: ac060100 8001cca8 80a792c0 80ac9740 ac060100 a849ab60 00000037 a982c280
5de0: a97d1578 00080000 a97cc2a0 00000000 00000000 00000000 00000000 8016ceec
5e00: a849ab60 00000037 800194ac 80a15a18 a97cc2a0 00080000 122e8001 00000000
5e20: 00000000 a982c280 00080000 00080000 a97cc2a0 00000000 00000000 8027d268
5e40: a84d6950 804beba4 00000000 a97cc2a0 a97cc2a0 00000000 00000000 a84d694c
5e60: 00000000 a84d6810 a97cc380 8027d584 a97cc2a0 a97cc2a0 a84d7000 00000000
5e80: a84d694c 8027d8ec a84d6a58 a97cc2a0 a84d6808 a84d6400 a84d694c 804bb8e0
5ea0: a86f3be0 00000000 a84d6800 00000000 00000000 a86f3be0 a97cc380 a8520e00
5ec0: a84d7000 00000001 00000001 00000000 a9796b60 a84d6400 a84d6808 a97cc380
5ee0: a8524000 a84d6800 a84d6800 a84d6810 122e8001 804bbdc0 00080000 a84d7000
5f00: a84d7000 a829d800 a8524000 00000000 00000001 a84d6810 a84d7000 a84d6808
5f20: 122e8001 a84d7000 a8524000 00000000 00000001 a84d6810 a9796b60 804bd3dc
5f40: a84f1b00 00000000 a8553d00 a84d6808 804bd340 00000000 00000000 00000000
5f60: 00000000 8004de0c b7effaff 00000000 9be67def a84d6808 00000000 00000000
5f80: a8525f80 a8525f80 00000000 00000000 a8525f90 a8525f90 a8525fac a8553d00
5fa0: 8004dd40 00000000 00000000 8000e4c0 00000000 00000000 00000000 00000000
5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
5fe0: 00000000 00000000 00000000 00000000 00000013 00000000 fffdf3db 79ebedbc
[<8016c9e8>] (ext4_finish_bio) from [<8016ceec>] (ext4_end_bio+0x5c/0x12c)
[<8016ceec>] (ext4_end_bio) from [<8027d268>] (blk_update_request+0xa4/0x3ac)
[<8027d268>] (blk_update_request) from [<8027d584>] (blk_update_bidi_request+0x14/0x70)
[<8027d584>] (blk_update_bidi_request) from [<8027d8ec>] (blk_end_bidi_request+0x14/0x48)
[<8027d8ec>] (blk_end_bidi_request) from [<804bb8e0>] (mmc_blk_issue_rw_rq+0x798/0xa48)
[<804bb8e0>] (mmc_blk_issue_rw_rq) from [<804bbdc0>] (mmc_blk_issue_rq+0x230/0x514)
[<804bbdc0>] (mmc_blk_issue_rq) from [<804bd3dc>] (mmc_queue_thread+0x9c/0x150)
[<804bd3dc>] (mmc_queue_thread) from [<8004de0c>] (kthread+0xcc/0xe4)
[<8004de0c>] (kthread) from [<8000e4c0>] (ret_from_fork+0x14/0x34)
Code: 12877001 e5944004 e1550004 0a00001d (e594301c)
---[ end trace 67fd1f1b1a8f9c83 ]---
note: mmcqd/3[94] exited with preempt_count 1

Can someone tell me where could be the problem is !!!!

Labels (3)
Tags (2)
0 Kudos
1 Reply

749 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello Purvi,

Apparently your eMMC is damage or Please try the DDR Stress Test : perhaps memory re-calibration is needed.

 

https://community.nxp.com/docs/DOC-105652 

Regards