MFG Tool Failed

cancel
Showing results for 
Search instead for 
Did you mean: 

MFG Tool Failed

Jump to solution
670 Views
wei-fonglin
Contributor II

Hi All,

We made a custom i.MX6q board. We found kernel was crashed when we used  IMX6_L3.10.53_MFG_TOOL to flash our board.


CPU : i.mx6q 1.2 GHZ

Memory : MT29PZZZ4D4BKESK-18

Software : L3.10.53_1.1.0ga

eMMC :  hynix H5TC2G63FFR



The debug output and MFGTool.log are as attachments.


I'd appreciate any advice to solve this problem. Thanks.


 

Original Attachment has been moved to: MfgTool.log.zip

Original Attachment has been moved to: Log.txt.zip

Labels (2)
Tags (3)
0 Kudos
1 Solution
65 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Wei-Fong

there are some errors in Log.txt:

Err1: mmc0: unrecognised EXT_CSD revision 6 -

this is caused by usage eMMC revision > 4.4, one can try

patch below (change card->ext_csd.rev > 5 to more number

and rebuild MFG Tool firmware)

file ../drivers/mmc/core/mmc.c :

mmc_read_ext_csd(struct mmc_card *card, u8 *ext_csd)

    }

    card->ext_csd.rev = ext_csd[EXT_CSD_REV];

-    if (card->ext_csd.rev > 5) {

+    /* workaround: support emmc 4.5 cards to work at emmc 4.4 mode */

+    if (card->ext_csd.rev > 6) {

        printk(KERN_ERR "%s: unrecognised EXT_CSD revision %d\n",

            mmc_hostname(card->host), card->ext_csd.rev);

Err2: pfuze100-regulator: probe of 1-0008 failed with error -5

this is caused by absence of PMIC or improper communication with it:

please check it

Err3: Unable to handle kernel NULL pointer dereference at virtual address 00000000

this may be  caused by Err1 and improper DDR settings: please try DDR test

and find proper DDR settings (update them in uboot/..flash_header.S and

rebuild MFG Tool firmware)

https://community.freescale.com/docs/DOC-96412

MX6Q with LPDDR2 bring-up hints:

MX6Q+LPDDR2(32bit) boot issue

Note MX6Q CPU@1.2GHZ, does not support LDO bypass mode

(by default, the LDO bypass is enabled).

Check that one uses  zImage-imx6q-sabresd-ldo.dtb, refer to

attached file p.3 for ldo kernel configuration.

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
1 Reply
66 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Wei-Fong

there are some errors in Log.txt:

Err1: mmc0: unrecognised EXT_CSD revision 6 -

this is caused by usage eMMC revision > 4.4, one can try

patch below (change card->ext_csd.rev > 5 to more number

and rebuild MFG Tool firmware)

file ../drivers/mmc/core/mmc.c :

mmc_read_ext_csd(struct mmc_card *card, u8 *ext_csd)

    }

    card->ext_csd.rev = ext_csd[EXT_CSD_REV];

-    if (card->ext_csd.rev > 5) {

+    /* workaround: support emmc 4.5 cards to work at emmc 4.4 mode */

+    if (card->ext_csd.rev > 6) {

        printk(KERN_ERR "%s: unrecognised EXT_CSD revision %d\n",

            mmc_hostname(card->host), card->ext_csd.rev);

Err2: pfuze100-regulator: probe of 1-0008 failed with error -5

this is caused by absence of PMIC or improper communication with it:

please check it

Err3: Unable to handle kernel NULL pointer dereference at virtual address 00000000

this may be  caused by Err1 and improper DDR settings: please try DDR test

and find proper DDR settings (update them in uboot/..flash_header.S and

rebuild MFG Tool firmware)

https://community.freescale.com/docs/DOC-96412

MX6Q with LPDDR2 bring-up hints:

MX6Q+LPDDR2(32bit) boot issue

Note MX6Q CPU@1.2GHZ, does not support LDO bypass mode

(by default, the LDO bypass is enabled).

Check that one uses  zImage-imx6q-sabresd-ldo.dtb, refer to

attached file p.3 for ldo kernel configuration.

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos