From mboxrd@z Thu Jan 1 00:00:00 1970 From: maxime.coquelin@st.com (Maxime Coquelin) Date: Tue, 27 Oct 2015 17:03:31 +0100 Subject: v7-M: Fixing XIP when the kernel is in ROM In-Reply-To: References: <20151026012710.GA17365@laptop> <20151026080537.GW4931@pengutronix.de> Message-ID: <562FA053.6010208@st.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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. Regards, Maxime