Re: [U-Boot] [PATCH v1] arm: mxs: make startup code thumb compatible

2018-04-19 Thread Christoph Müllner
> On 19.04.2018, at 10:33, Marek Vasut wrote: > > On 04/19/2018 10:02 AM, klaus.go...@theobroma-systems.com wrote: >> >>> On 18.04.2018, at 22:02, Marek Vasut wrote: >>> >>> On 04/18/2018 06:25 PM, Klaus Goger wrote: When building the mxs platform in thumb mode gcc generates code using >

Re: [U-Boot] [PATCH v1] arm: mxs: make startup code thumb compatible

2018-04-19 Thread Marek Vasut
On 04/19/2018 10:02 AM, klaus.go...@theobroma-systems.com wrote: > >> On 18.04.2018, at 22:02, Marek Vasut wrote: >> >> On 04/18/2018 06:25 PM, Klaus Goger wrote: >>> When building the mxs platform in thumb mode gcc generates code using >>> the intra procedure call scratch register (ip/r12) for t

Re: [U-Boot] [PATCH v1] arm: mxs: make startup code thumb compatible

2018-04-19 Thread klaus . goger
> On 18.04.2018, at 22:02, Marek Vasut wrote: > > On 04/18/2018 06:25 PM, Klaus Goger wrote: >> When building the mxs platform in thumb mode gcc generates code using >> the intra procedure call scratch register (ip/r12) for the calling the >> lowlevel_init function. This modifies the lr in flush

Re: [U-Boot] [PATCH v1] arm: mxs: make startup code thumb compatible

2018-04-18 Thread Marek Vasut
On 04/18/2018 06:25 PM, Klaus Goger wrote: > When building the mxs platform in thumb mode gcc generates code using > the intra procedure call scratch register (ip/r12) for the calling the > lowlevel_init function. This modifies the lr in flush_dcache which > causes u-boot proper to end in an endles

[U-Boot] [PATCH v1] arm: mxs: make startup code thumb compatible

2018-04-18 Thread Klaus Goger
When building the mxs platform in thumb mode gcc generates code using the intra procedure call scratch register (ip/r12) for the calling the lowlevel_init function. This modifies the lr in flush_dcache which causes u-boot proper to end in an endless loop. 40002334: e1a0c00emov ip