cancel
Showing results for 
Search instead for 
Did you mean: 

How do we write read and erase the QSPI memory(NOR flash) in Stm32mp157a Uboot?

Sindhu Vadde
Associate III

Hi,

We are using Stm32mp157a processor and uboot2018.11 version.We have QSPI interface to NOR flash. We want to write,Read and erase the Data in Qspi Memory(i.e,Nor flash).We want to boot the image from Nor flash,How can we do that ?

Thanks in Advance.

1 ACCEPTED SOLUTION

Accepted Solutions
Kevin HUBER
ST Employee

Hello @Sindhu Vadde​ ,

The boot from a NOR flash is supported. This wiki page explains this mode for the ROM: https://wiki.st.com/stm32mpu/wiki/STM32MP15_ROM_code_overview#Boot_from_serial_NOR

Then you can find the environment variable to set to U-boot here: https://wiki.st.com/stm32mpu/wiki/U-Boot_overview#U-Boot_environment_variables

Do not hesitate to read the wiki, a lot of information are on it.

Regards,

Kevin

In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

View solution in original post

1 REPLY 1
Kevin HUBER
ST Employee

Hello @Sindhu Vadde​ ,

The boot from a NOR flash is supported. This wiki page explains this mode for the ROM: https://wiki.st.com/stm32mpu/wiki/STM32MP15_ROM_code_overview#Boot_from_serial_NOR

Then you can find the environment variable to set to U-boot here: https://wiki.st.com/stm32mpu/wiki/U-Boot_overview#U-Boot_environment_variables

Do not hesitate to read the wiki, a lot of information are on it.

Regards,

Kevin

In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.