Re: [U-Boot] [PATCH v2 1/2] arm: make arm926ejs startup code thumb compatible

2018-04-21 Thread Christoph Müllner
> On 21 Apr 2018, at 15:10, Måns Rullgård wrote: > > Klaus Goger > writes: > >> 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. T

Re: [U-Boot] [PATCH v2 1/2] arm: make arm926ejs startup code thumb compatible

2018-04-21 Thread Måns Rullgård
Klaus Goger writes: > 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:

Re: [U-Boot] [PATCH v2 1/2] arm: make arm926ejs startup code thumb compatible

2018-04-20 Thread klaus . goger
> On 20.04.2018, at 23:55, Marek Vasut wrote: > > On 04/20/2018 09:51 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 flus

Re: [U-Boot] [PATCH v2 1/2] arm: make arm926ejs startup code thumb compatible

2018-04-20 Thread Marek Vasut
On 04/20/2018 09:51 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 v2 1/2] arm: make arm926ejs startup code thumb compatible

2018-04-20 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