Re: [PATCH v4] riscv: Make SiFive HiFive Unleashed board boot again

2020-07-24 Thread Rick Chen
Hi Bin > From: Bin Meng [mailto:bmeng...@gmail.com] > Sent: Friday, July 24, 2020 11:26 AM > To: Leo Yu-Chi Liang(梁育齊); Rick Jian-Zhi Chen(陳建志) > Cc: U-Boot Mailing List > Subject: Re: [PATCH v4] riscv: Make SiFive HiFive Unleashed board boot again > > Hi Rick, > > On T

Re: [PATCH v4] riscv: Make SiFive HiFive Unleashed board boot again

2020-07-23 Thread Bin Meng
Hi Rick, On Tue, Jul 21, 2020 at 4:30 PM Leo Liang wrote: > > On Sun, Jul 19, 2020 at 11:17:07PM -0700, Bin Meng wrote: > > From: Bin Meng > > > > Commit 40686c394e53 ("riscv: Clean up IPI initialization code") > > caused U-Boot failed to boot on SiFive HiFive Unleashed board. > > > > The codes

Re: [PATCH v4] riscv: Make SiFive HiFive Unleashed board boot again

2020-07-21 Thread Leo Liang
On Sun, Jul 19, 2020 at 11:17:07PM -0700, Bin Meng wrote: > From: Bin Meng > > Commit 40686c394e53 ("riscv: Clean up IPI initialization code") > caused U-Boot failed to boot on SiFive HiFive Unleashed board. > > The codes inside arch_cpu_init_dm() may call U-Boot timer APIs > before the call to

Re: [PATCH v4] riscv: Make SiFive HiFive Unleashed board boot again

2020-07-19 Thread Bin Meng
Hi Rick, On Mon, Jul 20, 2020 at 2:18 PM Bin Meng wrote: > > From: Bin Meng > > Commit 40686c394e53 ("riscv: Clean up IPI initialization code") > caused U-Boot failed to boot on SiFive HiFive Unleashed board. > > The codes inside arch_cpu_init_dm() may call U-Boot timer APIs > before the call to

[PATCH v4] riscv: Make SiFive HiFive Unleashed board boot again

2020-07-19 Thread Bin Meng
From: Bin Meng Commit 40686c394e53 ("riscv: Clean up IPI initialization code") caused U-Boot failed to boot on SiFive HiFive Unleashed board. The codes inside arch_cpu_init_dm() may call U-Boot timer APIs before the call to riscv_init_ipi(). At that time the timer register base (e.g.: the SiFive