dear engineers,
i can run linux on stm32f429 mcu without any problem, but it failed on Cortex-M MCU in stm32mp157 board.
After many hours i realize:
error happens in below function
void __meminit __free_pages_bootmem(struct page *page, unsigned int order)
Anyone else had a similar problem? how you resolved it?
Shall i change any register address in kernel? (i think Everything is the same in cortex-M4 and stm32f429).
Best regards
Mahsa said:i can run linux on stm32f429 mcu
Really?!
That sounds rather unlikely!
Did you mean uCLinux, perhaps?
electronics.stackexchange.com/.../19243
stm32mp157 has a Cortex-A core - that should be OK for Linux. Surely, ST provides a distribution for use with it ?
Mahsa said:i think Everything is the same in cortex-M4 and stm32f429
Err, no: "Cortex-M4" is just a processor core; "stm32f429" is a complete microcontroller implementation.
community.arm.com/.../158950
It would be nice, telling us also that you did ask the very same question in an ST forum and give a link.
Of course , why not?
https://community.st.com/s/question/0D53W000006HpGMSA0/i-would-like-to-run-linux-on-cortexm-mcu-in-stm32mp157ev-but-i-dont-know-whats-wrong
Mahsa said: why not?
indeed - why didn't you?
saves duplication & time-wasting!