cancel
Showing results for 
Search instead for 
Did you mean: 

STM32MP151CAA3 boot from NAND flash via FMC

RBerk.1
Associate III

Hi,

We are in a new project (first time with embedded Linux and device tree's in general) and i want to config my device (STM32MP151CAA3 on a custom board) to boot from FMC NAND flash (MT29F8G08ABACAH4-IT:) and i am having some trouble with the device tree configuration.

i am following the guidelines from the ST wiki regarding this: https://wiki.st.com/stm32mpu/wiki/FMC_device_tree_configuration.

The base settings i understand and the wiki refers to the following boot configuration settings (which refer to ONFI settings again)

https://wiki.st.com/stm32mpu/wiki/STM32_MPU_ROM_code_overview#Flash_memory_boot 

From here i don't understand how to add the ONFI data to the ROM code, do i need to add these settings in the device tree somewhere or are these settings uploaded via CubeProgrammer.

I also don't know if i need to add the necessary partitions on the NAND flash to the device tree or not.

The 'STM32 MPU ROM code ' page refers to the MPU flash mapping page which explains the necessary partitions, do i need to add these partitions to the kernel and u-boot device tree's?

https://wiki.stmicroelectronics.cn/stm32mpu/index.php?title=STM32_MPU_Flash_mapping&oldid=75203 

 

All help is appreciated.

Kind regards,

Richard

 

0 REPLIES 0