Re: [U-Boot] [PATCH v5 1/4] riscv: Add kconfig option to run U-Boot in S-mode

2018-11-30 Thread Anup Patel
On Fri, Nov 30, 2018 at 12:34 PM Rick Chen wrote: > > Anup Patel 於 2018年11月27日 週二 下午8:38寫道: > > > > On Tue, Nov 27, 2018 at 4:17 PM Alexander Graf wrote: > > > > > > > > > > > > On 27.11.18 07:52, Anup Patel wrote: > > > > On Tue, Nov 27, 2018 at 12:09 PM Rick Chen wrote: > > > >> > > > Su

Re: [U-Boot] [PATCH v5 1/4] riscv: Add kconfig option to run U-Boot in S-mode

2018-11-29 Thread Rick Chen
Anup Patel 於 2018年11月27日 週二 下午8:38寫道: > > On Tue, Nov 27, 2018 at 4:17 PM Alexander Graf wrote: > > > > > > > > On 27.11.18 07:52, Anup Patel wrote: > > > On Tue, Nov 27, 2018 at 12:09 PM Rick Chen wrote: > > >> > > Subject: [PATCH v5 1/4] riscv: Add kconfig option to run U-Boot in > > >>>

Re: [U-Boot] [PATCH v5 1/4] riscv: Add kconfig option to run U-Boot in S-mode

2018-11-27 Thread Anup Patel
On Tue, Nov 27, 2018 at 4:17 PM Alexander Graf wrote: > > > > On 27.11.18 07:52, Anup Patel wrote: > > On Tue, Nov 27, 2018 at 12:09 PM Rick Chen wrote: > >> > Subject: [PATCH v5 1/4] riscv: Add kconfig option to run U-Boot in S-mode > > This patch adds kconfig option RISCV_SMODE t

Re: [U-Boot] [PATCH v5 1/4] riscv: Add kconfig option to run U-Boot in S-mode

2018-11-27 Thread Alexander Graf
On 27.11.18 07:52, Anup Patel wrote: > On Tue, Nov 27, 2018 at 12:09 PM Rick Chen wrote: >> Subject: [PATCH v5 1/4] riscv: Add kconfig option to run U-Boot in S-mode This patch adds kconfig option RISCV_SMODE to run U-Boot in S-mode. When this opition is enabled we use

Re: [U-Boot] [PATCH v5 1/4] riscv: Add kconfig option to run U-Boot in S-mode

2018-11-26 Thread Anup Patel
On Tue, Nov 27, 2018 at 12:09 PM Rick Chen wrote: > > > > Subject: [PATCH v5 1/4] riscv: Add kconfig option to run U-Boot in S-mode > > > > > > This patch adds kconfig option RISCV_SMODE to run U-Boot in S-mode. When > > > this > > > opition is enabled we use s CSRs instead of m CSRs. > > > > > >

Re: [U-Boot] [PATCH v5 1/4] riscv: Add kconfig option to run U-Boot in S-mode

2018-11-26 Thread Rick Chen
> > Subject: [PATCH v5 1/4] riscv: Add kconfig option to run U-Boot in S-mode > > > > This patch adds kconfig option RISCV_SMODE to run U-Boot in S-mode. When > > this > > opition is enabled we use s CSRs instead of m CSRs. > > > > It is important to note that there is no equivalent S-mode CSR for

[U-Boot] [PATCH v5 1/4] riscv: Add kconfig option to run U-Boot in S-mode

2018-11-26 Thread Anup Patel
This patch adds kconfig option RISCV_SMODE to run U-Boot in S-mode. When this opition is enabled we use s CSRs instead of m CSRs. It is important to note that there is no equivalent S-mode CSR for misa and mhartid CSRs so we expect M-mode runtime firmware (BBL or equivalent) to emulate misa and mh