[U-Boot] Linux 4.9 on cortex-M4 STM32F429-disc1

Hi,
I'm stuck since days with this problem, Linux don't boot.
My board flash start 0x0800 0000 2MB. My board external RAM start at 0xD000 0000 8MB. I have a Linux 4.9, near the default stm32f2_defconfig. U-BOOT at 0x0800 0000. DTB at 0x0804 0000. XIP kernel at 0x0806 0000.
I just have "Starting kernel..." on last message.
I tried to add a LED toggle on the kernel start (arch/arm/boot/compressed/head.S) and it's not called. Same asm code run fine with u-boot on init.
more details here: http://stackoverflow.com/questions/41321971/running-linux-4-9-on-cortex-m4-s...
If you have any clues, any idea, don't hesitate, I'm desperate.

Sorry guys, I found the problem.
the XIP_PHYS_ADDR was wrong, it's 0x08060040 not 0x08060000, i forgot the 64bytes header!!!
Thanks anyway for your work, fabulous!!! Love you guys!!! Merry Christmas!!
2016-12-26 18:52 GMT+01:00 Steven VALSESIA steven.valsesia@gmail.com:
Hi,
I'm stuck since days with this problem, Linux don't boot.
My board flash start 0x0800 0000 2MB. My board external RAM start at 0xD000 0000 8MB. I have a Linux 4.9, near the default stm32f2_defconfig. U-BOOT at 0x0800 0000. DTB at 0x0804 0000. XIP kernel at 0x0806 0000.
I just have "Starting kernel..." on last message.
I tried to add a LED toggle on the kernel start (arch/arm/boot/compressed/head.S) and it's not called. Same asm code run fine with u-boot on init.
more details here: http://stackoverflow.com/questions/41321971/running- linux-4-9-on-cortex-m4-stm32f4-29i-disc1
If you have any clues, any idea, don't hesitate, I'm desperate.
participants (1)
-
Steven VALSESIA