v7-M: Fixing XIP when the kernel is in ROM

Maxime Coquelin mcoquelin.stm32 at gmail.com
Tue Oct 27 13:25:11 PDT 2015


2015-10-27 17:03 GMT+01:00 Maxime Coquelin <maxime.coquelin at st.com>:
> Hi Ezequiel,
>
> On 10/27/2015 04:35 PM, Ezequiel Garcia wrote:
>>>
>>> >>>The temporary stack is allocated in the .text.init section
>>> >>>and so this doesn't work when the kernel is executing from ROM.
>>
>> >>
>> >>If sp isn't used, how does it break you setup?
>
> STM32 machine works fine with XIP from internal flash memory, so as Uwe, I'm
> surprised it solves your problem.
>
> I will have a try with your patch later today.

Just tested, and confirm it works with (and without) your patch in XIP on STM32.

Regards,
Maxime



More information about the linux-arm-kernel mailing list