Re: [PATCH] cmd: go: Flush cache before jumping to app/image

2020-02-12 Thread Stefan
Hi Mauro, On 12.02.20 14:50, Mauro Condarelli wrote: Hi Stefan, On 2/12/20 2:22 PM, Stefan wrote: Hi Mauro, On 12.02.20 14:09, Mauro Condarelli wrote: Hi Daniel, Hi Stefan, I'll test this ASAP, but, in the meantime, please have a look at the strange (and perhaps related) code in arch/mips/m

Re: [PATCH] cmd: go: Flush cache before jumping to app/image

2020-02-12 Thread Mauro Condarelli
Hi Stefan, On 2/12/20 2:22 PM, Stefan wrote: > Hi Mauro, > > On 12.02.20 14:09, Mauro Condarelli wrote: >> Hi Daniel, >> Hi Stefan, >> >> I'll test this ASAP, but, in the meantime, please have a look at the >> strange (and perhaps related) code in arch/mips/mach-mtmips/cpu.c > > You are most likel

Re: [PATCH] cmd: go: Flush cache before jumping to app/image

2020-02-12 Thread Stefan
Hi Mauro, On 12.02.20 14:09, Mauro Condarelli wrote: Hi Daniel, Hi Stefan, I'll test this ASAP, but, in the meantime, please have a look at the strange (and perhaps related) code in arch/mips/mach-mtmips/cpu.c You are most likely referring to the code in last_stage_init() that also deals with

Re: [PATCH] cmd: go: Flush cache before jumping to app/image

2020-02-12 Thread Stefan
Hi Daniel, On 12.02.20 14:00, Daniel Schwierzeck wrote: On Wed, Feb 12, 2020 at 1:21 PM Stefan Roese wrote: It has been noticed on MT7628/88 platforms, that booting the RAM image does not work reliably. Sometimes it works and sometimes not. Debugging showed that this "might" be a cache relate

Re: [PATCH] cmd: go: Flush cache before jumping to app/image

2020-02-12 Thread Mauro Condarelli
Hi Daniel, Hi Stefan, I'll test this ASAP, but, in the meantime, please have a look at the strange (and perhaps related) code in arch/mips/mach-mtmips/cpu.c Regards Mauro On 2/12/20 2:00 PM, Daniel Schwierzeck wrote: > On Wed, Feb 12, 2020 at 1:21 PM Stefan Roese wrote: >> It has been noticed o

Re: [PATCH] cmd: go: Flush cache before jumping to app/image

2020-02-12 Thread Daniel Schwierzeck
On Wed, Feb 12, 2020 at 1:21 PM Stefan Roese wrote: > > It has been noticed on MT7628/88 platforms, that booting the RAM image > does not work reliably. Sometimes it works and sometimes not. Debugging > showed that this "might" be a cache related issue as very strange > errors occured (output corr

[PATCH] cmd: go: Flush cache before jumping to app/image

2020-02-12 Thread Stefan Roese
It has been noticed on MT7628/88 platforms, that booting the RAM image does not work reliably. Sometimes it works and sometimes not. Debugging showed that this "might" be a cache related issue as very strange errors occured (output corrupted etc). This patch adds a cache flush for the complete SDR