This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3358: AM3358

Part Number: AM3358

Hello:

Excuse me, there is an am335x board with dual emmc, the sdk used is the kernel of version 07.03 L5.4.106, but when it is started with the serial port, mmc0 cannot be recognized when the file is written, but mmc1 can be recognized; when it is replaced with mmc1 to start When, mmc0 can be identified. May I ask why mmc0 cannot be recognized when the serial port is started? The configurations of the two device trees are the same. Can you give relevant suggestions?

Best Regards,

Gary

  • Hi Gary,

    when it is replaced with mmc1 to start When, mmc0 can be identified.

    By "replaced", do you mean boot from mmc0 or mmc1 in either case? or something else?

    Please attach the board DTS showing how both MMC are configured. Also attach the kernel boot log please.

  • Hello, the device tree is as follows:

    &mmc1 {
    status = "okay";
    vmmc-supply = <&vmmcsd_fixed>;
    bus-width = <8>;
    pinctrl-names = "default";
    pinctrl-0 = <&emmc1_pins>;
    ti,non-removable;
    ti,needs-special-reset;
    //cd-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>;
    };
    
    &mmc2 {
    status = "okay";
    pinctrl-names = "default";
    pinctrl-0 = <&emmc2_pins>;
    bus-width = <8>;
    ti,non-removable;
    ti,needs-special-reset;
    vmmc-supply = <&vmmcsd_fixed>;
    // no-sd;
    // no-sdio;
    vmmc-supply = <&ldo4_reg>;
    // mmc-pwrseq = <&ldo4_reg>;
    };

    When the startup log serial port is started, mmc0 is not displayed, and when mmc1 is started, mmc0 is displayed. In addition, it was found that mmc1 did not recognize mmc0 when it was started for the first time, but it could be recognized when mmc1 was started for the second time, and then it could be recognized all the time.

    Regards,

    Gary

  • Hi Gary,

    I still don't understand what "started" or "displayed" is. Do you have any log showing the problem?