cancel
Showing results for 
Search instead for 
Did you mean: 

STM32MP157AAC, custom board with SD card

IFade
Associate

SDMMC is on the board, pinout of SD differs from Evaluation board by SDMMC1_D2 pin (PE6 instead of PC10). Using STM32Cube I generated dts files for u-boot and tf-a for new SD pinout

What should I do next?

Best regards

2 REPLIES 2
OL'He.1
Associate III

Well, use the generated DTS files, I guess?

So check out the sources, change the relevant files with the ones you have generated, rebuild and test.

Agree, this is not done in 2 hours!

Hello, thank you for reply!

I used this article https://wiki.st.com/stm32mpu/wiki/How_to_compile_the_device_tree_with_the_Developer_Package and generated tf-a.stm32 and u-boot.stm32 files with my custom config.

I tried to flash partition tf-a.stm32 (because this will be a first partition for trusted package) via STM_Programmer_CLI, so I connected to the target but the processor doesn't respond when I tried to download tf-a partition

As I understand initially we have to initialize periphery such as USART for terminal output and SD card driver to correctly read image from SD card =) The question is - where is located a code with this INITIAL driver settings for the MPU which initialize SD card drivers?

Best regards