IMX8MM Android10 SD Boot failure state LOCK

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

IMX8MM Android10 SD Boot failure state LOCK

Jump to solution
3,058 Views
jianfeichang
Contributor IV

hello,I use imx8mm android10,I only modified the SD card pins,uboot-imx/arch/arm/dts/imx8mm-evk.dts:

  • 369 &usdhc2 {
  • 370     pinctrl-names = "default", "state_100mhz", "state_200mhz";
  • 371     pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>;
  • 372     pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>;
  • 373     pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>;
  • 374     //cd-gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
  • 375     cd-gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;//add cjf                      
  • 376     bus-width = <4>;
  • 377     vmmc-supply = <&reg_usdhc2_vmmc>;
  • 378     status = "okay";
  • 379 };After compiling uboot, burn the image to the SD card:sudo ./fsl-sdcard-partition.sh -f imx8mm /dev/sdb
  • 6$A`]78{_`(X)B6{][)$91V.png

     uboot Boot failure:

  • U-Boot 2020.04-dirty (Dec 07 2020 - 17:51:27 +0800)

    CPU: i.MX8MMQ rev1.0 1800 MHz (running at 1200 MHz)
    CPU: Commercial temperature grade (0C to 95C) at 50C
    Reset cause: POR
    Model: NXP i.MX8MM EVK board
    DRAM: 2 GiB
    tcpc_init: Can't find device id=0x52
    setup_typec: tcpc port2 init failed, err=-19
    tcpc_init: Can't find device id=0x50
    setup_typec: tcpc port1 init failed, err=-19
    MMC: FSL_SDHC: 1, FSL_SDHC: 2
    Loading Environment from MMC... Run CMD11 1.8V switch
    *** Warning - bad CRC, using default environment

    [*]-Video Link 0Can't find cec device id=0x3c
    fail to probe panel device adv7535@3d
    failed to get any video link display timings
    probe video device failed, ret -22

    [0] lcdif@32e00000, video
    [1] mipi_dsi@32e10000, video_bridge
    [2] adv7535@3d, panel
    Can't find cec device id=0x3c
    fail to probe panel device adv7535@3d
    failed to get any video link display timings
    probe video device failed, ret -22
    In: serial
    Out: serial
    Err: serial

    BuildInfo:
    - ATF 0263634
    - U-Boot 2020.04-dirty

    flash target is MMC:1
    Net:
    Error: ethernet@30be0000 address not set.

    Error: ethernet@30be0000 address not set.
    No ethernet found.

    Fastboot: Normal
    Normal Boot
    Hit any key to stop autoboot: 0
    avb_slot_verify.c:772: ERROR: vbmeta_a: Error loading vbmeta data.
    verify FAIL, state: LOCK

  • What should I do?
Labels (1)
0 Kudos
1 Solution
3,015 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

The controller connected to the SDcard slot is set to work with Wi-Fi expansion card in Android10.0.0_2.5.0 demo image, it does not support to access SDcard.

so basically, if the dtbo image support Wi-Fi expansion card, then the images cannot boot up from SD card.

View solution in original post

0 Kudos
9 Replies
3,049 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Could you tell us are you using the reference board or the board you design by yourself? And which andorid10 are you using?

0 Kudos
3,029 Views
jianfeichang
Contributor IV

Now I have the same problem with the official image,emmc is ok,Sd card prompts lock error。android-10.0.0_2.5.0_image_8mmevk.tar.gz  imx8mm lpddr4 sd 32G EMMC16G。

android 9 is ok。linux 4.14.98 is ok。emmc and sd。

One more question:

Burn the image using uuu_imx_android_flash.bat,windows7/10 and ubuntu,There will be temporary files that cannot be deleted automatically and need to be manually deleted。 C:\Users\cjf\AppData\Local\Temp ,ubuntu ls /tmp/

0 Kudos
3,016 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

The controller connected to the SDcard slot is set to work with Wi-Fi expansion card in Android10.0.0_2.5.0 demo image, it does not support to access SDcard.

so basically, if the dtbo image support Wi-Fi expansion card, then the images cannot boot up from SD card.

0 Kudos
3,045 Views
jianfeichang
Contributor IV

I used my own design board, referring to the IMX8mm EVK LPDDR4。it is android-10.0.0_2.5.0_image_8mmevk.tar.gz,Just a change in the SD card pin。

0 Kudos
3,013 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

This android-10.0.0_2.3.0 version should be work. You can have a try.

0 Kudos
3,009 Views
jianfeichang
Contributor IV

hello

I want to use Android10_2.5.0,My wifi card is AP6255 BCM43455,How do I modify an dtbo image?Get rid of its own wifi card?

0 Kudos
3,003 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

You can not use the demo images supply in our website, it's for the reference board.

0 Kudos
3,007 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

You need to download the source and porting your wifi to your board.

0 Kudos
2,998 Views
jianfeichang
Contributor IV

Thank you. Can I remove the official wifi card?

0 Kudos