Re: [U-Boot] [PATCH] arm: re-implement proper ISB instruction for ARMv7-A

2016-07-31 Thread Ziyuan Xu
On 2016年07月31日 22:27, Tom Rini wrote: On Sun, Jul 31, 2016 at 11:59:19AM +0800, Ziyuan Xu wrote: Hi Tom, On 2016年07月29日 09:12, Tom Rini wrote: On Fri, Jul 29, 2016 at 09:06:29AM +0800, Ziyuan Xu wrote: Hi Tom, On 2016年07月29日 08:34, Tom Rini wrote: On Fri, Jul 29, 2016 at 07:34:09AM +0800

Re: [U-Boot] [PATCH] arm: re-implement proper ISB instruction for ARMv7-A

2016-07-31 Thread Tom Rini
On Sun, Jul 31, 2016 at 11:59:19AM +0800, Ziyuan Xu wrote: > Hi Tom, > > > On 2016年07月29日 09:12, Tom Rini wrote: > >On Fri, Jul 29, 2016 at 09:06:29AM +0800, Ziyuan Xu wrote: > >>Hi Tom, > >> > >>On 2016年07月29日 08:34, Tom Rini wrote: > >>>On Fri, Jul 29, 2016 at 07:34:09AM +0800, Ziyuan Xu wrote:

Re: [U-Boot] [PATCH] arm: re-implement proper ISB instruction for ARMv7-A

2016-07-30 Thread Ziyuan Xu
Hi Tom, On 2016年07月29日 09:12, Tom Rini wrote: On Fri, Jul 29, 2016 at 09:06:29AM +0800, Ziyuan Xu wrote: Hi Tom, On 2016年07月29日 08:34, Tom Rini wrote: On Fri, Jul 29, 2016 at 07:34:09AM +0800, Ziyuan Xu wrote: Hi Tom, On 2016年07月29日 06:15, Tom Rini wrote: On Thu, Jul 28, 2016 at 07:03:17P

Re: [U-Boot] [PATCH] arm: re-implement proper ISB instruction for ARMv7-A

2016-07-28 Thread Ziyuan Xu
On 2016年07月29日 09:12, Tom Rini wrote: On Fri, Jul 29, 2016 at 09:06:29AM +0800, Ziyuan Xu wrote: Hi Tom, On 2016年07月29日 08:34, Tom Rini wrote: On Fri, Jul 29, 2016 at 07:34:09AM +0800, Ziyuan Xu wrote: Hi Tom, On 2016年07月29日 06:15, Tom Rini wrote: On Thu, Jul 28, 2016 at 07:03:17PM +0800,

Re: [U-Boot] [PATCH] arm: re-implement proper ISB instruction for ARMv7-A

2016-07-28 Thread Tom Rini
On Fri, Jul 29, 2016 at 09:06:29AM +0800, Ziyuan Xu wrote: > Hi Tom, > > On 2016年07月29日 08:34, Tom Rini wrote: > >On Fri, Jul 29, 2016 at 07:34:09AM +0800, Ziyuan Xu wrote: > >>Hi Tom, > >> > >>On 2016年07月29日 06:15, Tom Rini wrote: > >>>On Thu, Jul 28, 2016 at 07:03:17PM +0800, Chen-Yu Tsai wrote:

Re: [U-Boot] [PATCH] arm: re-implement proper ISB instruction for ARMv7-A

2016-07-28 Thread Ziyuan Xu
Hi Tom, On 2016年07月29日 08:34, Tom Rini wrote: On Fri, Jul 29, 2016 at 07:34:09AM +0800, Ziyuan Xu wrote: Hi Tom, On 2016年07月29日 06:15, Tom Rini wrote: On Thu, Jul 28, 2016 at 07:03:17PM +0800, Chen-Yu Tsai wrote: Hi, On Thu, Jul 28, 2016 at 6:13 PM, Ziyuan Xu wrote: For ARMv7-A architectu

Re: [U-Boot] [PATCH] arm: re-implement proper ISB instruction for ARMv7-A

2016-07-28 Thread Tom Rini
On Fri, Jul 29, 2016 at 07:34:09AM +0800, Ziyuan Xu wrote: > Hi Tom, > > On 2016年07月29日 06:15, Tom Rini wrote: > >On Thu, Jul 28, 2016 at 07:03:17PM +0800, Chen-Yu Tsai wrote: > >>Hi, > >> > >>On Thu, Jul 28, 2016 at 6:13 PM, Ziyuan Xu wrote: > >>>For ARMv7-A architecture, the valid ISB instructi

Re: [U-Boot] [PATCH] arm: re-implement proper ISB instruction for ARMv7-A

2016-07-28 Thread Ziyuan Xu
Hi Tom, On 2016年07月29日 06:15, Tom Rini wrote: On Thu, Jul 28, 2016 at 07:03:17PM +0800, Chen-Yu Tsai wrote: Hi, On Thu, Jul 28, 2016 at 6:13 PM, Ziyuan Xu wrote: For ARMv7-A architecture, the valid ISB instruction is asm volatile("isb"). This patch fixes the U-Boot was stuck in invalidate_d

Re: [U-Boot] [PATCH] arm: re-implement proper ISB instruction for ARMv7-A

2016-07-28 Thread Tom Rini
On Thu, Jul 28, 2016 at 06:13:26PM +0800, Ziyuan Xu wrote: ` > For ARMv7-A architecture, the valid ISB instruction is asm volatile("isb"). > > This patch fixes the U-Boot was stuck in invalidate_dcache_all() before > booting linux kernel, which occurred on rk3288-base development board > such as e

Re: [U-Boot] [PATCH] arm: re-implement proper ISB instruction for ARMv7-A

2016-07-28 Thread Tom Rini
On Thu, Jul 28, 2016 at 07:03:17PM +0800, Chen-Yu Tsai wrote: > Hi, > > On Thu, Jul 28, 2016 at 6:13 PM, Ziyuan Xu wrote: > > For ARMv7-A architecture, the valid ISB instruction is asm volatile("isb"). > > > > This patch fixes the U-Boot was stuck in invalidate_dcache_all() before > > booting lin

Re: [U-Boot] [PATCH] arm: re-implement proper ISB instruction for ARMv7-A

2016-07-28 Thread Sandy Patterson
Ziyuan, I tested this patch and it works for me with the current u-boot.git/master. Re the EFI support. The problem was that when you compile in efi_runtime.c it breaks booting the kernel. Probably rubbing the caching system the wrong way. With this patch we are able to boot the kernel with the E

Re: [U-Boot] [PATCH] arm: re-implement proper ISB instruction for ARMv7-A

2016-07-28 Thread Ziyuan Xu
Hi Alexander, On 2016年07月28日 18:39, Alexander Graf wrote: On 07/28/2016 12:13 PM, Ziyuan Xu wrote: For ARMv7-A architecture, the valid ISB instruction is asm volatile("isb"). This patch fixes the U-Boot was stuck in invalidate_dcache_all() before booting linux kernel, which occurred on rk3288

Re: [U-Boot] [PATCH] arm: re-implement proper ISB instruction for ARMv7-A

2016-07-28 Thread Ziyuan Xu
Hi, On 2016年07月28日 19:03, Chen-Yu Tsai wrote: Hi, On Thu, Jul 28, 2016 at 6:13 PM, Ziyuan Xu wrote: For ARMv7-A architecture, the valid ISB instruction is asm volatile("isb"). This patch fixes the U-Boot was stuck in invalidate_dcache_all() before booting linux kernel, which occurred on rk32

Re: [U-Boot] [PATCH] arm: re-implement proper ISB instruction for ARMv7-A

2016-07-28 Thread Chen-Yu Tsai
Hi, On Thu, Jul 28, 2016 at 6:13 PM, Ziyuan Xu wrote: > For ARMv7-A architecture, the valid ISB instruction is asm volatile("isb"). > > This patch fixes the U-Boot was stuck in invalidate_dcache_all() before > booting linux kernel, which occurred on rk3288-base development board > such as evb-rk3

Re: [U-Boot] [PATCH] arm: re-implement proper ISB instruction for ARMv7-A

2016-07-28 Thread Alexander Graf
On 07/28/2016 12:13 PM, Ziyuan Xu wrote: For ARMv7-A architecture, the valid ISB instruction is asm volatile("isb"). This patch fixes the U-Boot was stuck in invalidate_dcache_all() before booting linux kernel, which occurred on rk3288-base development board such as evb-rk3288, rock2-rk3288. And