cancel
Showing results for 
Search instead for 
Did you mean: 

U-Boot doesn't detect eMMC on SDMMC1

fu42
Visitor

Hello,

I have a custom board based on STM32MP257F-EV1 but with an eMMC (4 bits) connected on SDMM1.

I have modify CubeMX configuration accordingly:

fu42_0-1739551076505.png

 

I have also modify the device tree to declare the eMMC on SDMMC1:

&sdmmc1 {
	pinctrl-names = "default", "opendrain", "sleep";
	pinctrl-0 = <&sdmmc1_pins_mx>;
	pinctrl-1 = <&sdmmc1_opendrain_pins_mx>;
	pinctrl-2 = <&sdmmc1_sleep_pins_mx>;
	status = "okay";

	/* USER CODE BEGIN sdmmc1 */
	non-removable;
	no-sd;
	no-sdio;
	st,neg-edge;
	bus-width = <4>;
	vmmc-supply = <&scmi_vdd_emmc>;
	vqmmc-supply = <&scmi_vddio2>;
	mmc-ddr-1_8v;
	mmc-hs200-1_8v;
	/* USER CODE END sdmmc1 */
};

 

After booting the board using the USB interface, U-Boot doesn't find the eMMC.

mmc rescan: gives nothing

mmc list: no answer

And to further error.

 

Any clues on what's happening here ?

0 REPLIES 0