Re: [U-Boot] [PATCH v9 3/9] clk: sifive: Sync-up DT bindings header with upstream Linux

2019-07-18 Thread Rick Chen
> > From: Anup Patel [mailto:anup.pa...@wdc.com] > > Sent: Tuesday, June 25, 2019 2:31 PM > > To: Rick Jian-Zhi Chen(陳建志); Bin Meng; Lukas Auer; Simon Glass > > Cc: Ramon Fried; Joe Hershberger; Palmer Dabbelt; Paul Walmsley; Troy > > Benjegerdes; Atish Patra; Alistair Francis; U-Boot Mailing

Re: [U-Boot] [PATCH v9 2/9] clk: sifive: Sync-up WRPLL library with upstream Linux

2019-07-18 Thread Rick Chen
> > From: Anup Patel [mailto:anup.pa...@wdc.com] > > Sent: Tuesday, June 25, 2019 2:31 PM > > To: Rick Jian-Zhi Chen(陳建志); Bin Meng; Lukas Auer; Simon Glass > > Cc: Ramon Fried; Joe Hershberger; Palmer Dabbelt; Paul Walmsley; Troy > > Benjegerdes; Atish Patra; Alistair Francis; U-Boot Mailing

Re: [U-Boot] [PATCH v9 1/9] clk: sifive: Factor-out PLL library as separate module

2019-07-18 Thread Rick Chen
> > From: Anup Patel [mailto:anup.pa...@wdc.com] > > Sent: Tuesday, June 25, 2019 2:31 PM > > To: Rick Jian-Zhi Chen(陳建志); Bin Meng; Lukas Auer; Simon Glass > > Cc: Ramon Fried; Joe Hershberger; Palmer Dabbelt; Paul Walmsley; Troy > > Benjegerdes; Atish Patra; Alistair Francis; U-Boot Mailing

Re: [U-Boot] SiFive clock driver changes for U-Boot 2019.10

2019-07-18 Thread Rick Chen
Hi Anup > > On Thu, Jul 18, 2019 at 11:38 AM Rick Chen wrote: > > > > Hi Anup > > > > > > > > Hi Rick, > > > > > > On Thu, Jul 18, 2019 at 8:27 AM Rick Chen wrote: > > > > > > > > Hi Anup > >

Re: [U-Boot] [PATCH] riscv: tools: Fix prelink-riscv to work on big endian hosts

2019-07-18 Thread Rick Chen
rt big endian RISC-V targets as well, the calls to le*_to_cpu > need to be replaced with macros target*_to_cpu defined by prelink-riscv.c, and > prelink-riscv.inc included four times (32le, 64le, 32be, 32be) instead of two. > > Signed-off-by: Marcus Comstedt > Cc: Rick Chen > ---

Re: [U-Boot] SiFive clock driver changes for U-Boot 2019.10

2019-07-18 Thread Rick Chen
Hi Anup > > Hi Rick, > > On Thu, Jul 18, 2019 at 8:27 AM Rick Chen wrote: > > > > Hi Anup > > > > > > > > Hi Tom > > > > > > > Sent: Thursday, July 18, 2019 1:00 AM > > > > To: Simon Glass; Rick Jian-Zhi Chen(

Re: [U-Boot] [PATCH 2/2] riscv: Access CSRs using CSR numbers

2019-07-17 Thread Rick Chen
efine CSR_HPMCOUNTER15 0xc0f > > -#define CSR_HPMCOUNTER16 0xc10 > > -#define CSR_HPMCOUNTER17 0xc11 > > -#define CSR_HPMCOUNTER18 0xc12 > > -#define CSR_HPMCOUNTER19 0xc13 > > -#define CSR_HPMCOUNTER20 0xc14 > > -#define CSR_HPMCOUNTER21 0xc15 > > -#define CSR_HPMCOUNTER22 0xc16 > > -#define CSR_HPMCOUNTER23 0xc17 > > -#define CSR_HPMCOUNTER24 0xc18 > > -#define CSR_HPMCOUNTER25 0xc19 > > -#define CSR_HPMCOUNTER26 0xc1a > > -#define CSR_HPMCOUNTER27 0xc1b > > -#define CSR_HPMCOUNTER28 0xc1c > > -#define CSR_HPMCOUNTER29 0xc1d > > -#define CSR_HPMCOUNTER30 0xc1e > > -#define CSR_HPMCOUNTER31 0xc1f > > -#define CSR_CYCLEH 0xc80 > > -#define CSR_TIMEH0xc81 > > -#define CSR_INSTRETH 0xc82 > > -#define CSR_HPMCOUNTER3H 0xc83 > > -#define CSR_HPMCOUNTER4H 0xc84 > > -#define CSR_HPMCOUNTER5H 0xc85 > > -#define CSR_HPMCOUNTER6H 0xc86 > > -#define CSR_HPMCOUNTER7H 0xc87 > > -#define CSR_HPMCOUNTER8H 0xc88 > > -#define CSR_HPMCOUNTER9H 0xc89 > > -#define CSR_HPMCOUNTER10H0xc8a > > -#define CSR_HPMCOUNTER11H0xc8b > > -#define CSR_HPMCOUNTER12H0xc8c > > -#define CSR_HPMCOUNTER13H0xc8d > > -#define CSR_HPMCOUNTER14H0xc8e > > -#define CSR_HPMCOUNTER15H0xc8f > > -#define CSR_HPMCOUNTER16H0xc90 > > -#define CSR_HPMCOUNTER17H0xc91 > > -#define CSR_HPMCOUNTER18H0xc92 > > -#define CSR_HPMCOUNTER19H0xc93 > > -#define CSR_HPMCOUNTER20H0xc94 > > -#define CSR_HPMCOUNTER21H0xc95 > > -#define CSR_HPMCOUNTER22H0xc96 > > -#define CSR_HPMCOUNTER23H0xc97 > > -#define CSR_HPMCOUNTER24H0xc98 > > -#define CSR_HPMCOUNTER25H0xc99 > > -#define CSR_HPMCOUNTER26H0xc9a > > -#define CSR_HPMCOUNTER27H0xc9b > > -#define CSR_HPMCOUNTER28H0xc9c > > -#define CSR_HPMCOUNTER29H0xc9d > > -#define CSR_HPMCOUNTER30H0xc9e > > -#define CSR_HPMCOUNTER31H0xc9f > > - > > -#define CSR_MVENDORID0xf11 > > -#define CSR_MARCHID 0xf12 > > -#define CSR_MIMPID 0xf13 > > -#define CSR_MHARTID 0xf14 > > - > > #endif /* __riscv */ > > > > #endif /* RISCV_CSR_ENCODING_H */ Reviewed-by: Rick Chen > > -- > > 2.7.4 > ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH 1/2] riscv: Sync csr.h with Linux kernel v5.2

2019-07-17 Thread Rick Chen
++ > > arch/riscv/include/asm/csr.h | 62 > > +--- > > 2 files changed, 114 insertions(+), 16 deletions(-) create mode > > 100644 arch/riscv/include/asm/asm.h > > > > > > Ping? LGTM. Reviewed-by: Rick Che

Re: [U-Boot] SiFive clock driver changes for U-Boot 2019.10

2019-07-17 Thread Rick Chen
Hi Anup > > Hi Tom > > > Sent: Thursday, July 18, 2019 1:00 AM > > To: Simon Glass; Rick Jian-Zhi Chen(陳建志) > > Cc: Anup Patel; Atish Patra; U-Boot Mailing List > > Subject: Re: SiFive clock driver changes for U-Boot 2019.10 > > > > On Wed, Jul 17, 2019 at 10:44:23AM -0600, Simon Glass wrote: > >

Re: [U-Boot] SiFive clock driver changes for U-Boot 2019.10

2019-07-17 Thread Rick Chen
Hi Tom > Sent: Thursday, July 18, 2019 1:00 AM > To: Simon Glass; Rick Jian-Zhi Chen(陳建志) > Cc: Anup Patel; Atish Patra; U-Boot Mailing List > Subject: Re: SiFive clock driver changes for U-Boot 2019.10 > > On Wed, Jul 17, 2019 at 10:44:23AM -0600, Simon Glass wrote: > > Hi, > > > > On Wed, 17

Re: [U-Boot] [PATCH v2 1/7] dm: cache: Add enable and disable ops for cache uclass

2019-07-17 Thread Rick Chen
Hi Bin > > On Tue, Jul 9, 2019 at 5:33 PM Andes wrote: > > > > From: Rick Chen > > > > The L2 cache will be enabled in init flow of dm cache > > driver when it detect L2 node in dtb. > > > > When U-Boot jump to Linux Kernel, the disable ops wil

Re: [U-Boot] [PATCH v2 2/7] dm: cache: add v5l2 cache controller driver

2019-07-17 Thread Rick Chen
Hi Bin > > On Tue, Jul 9, 2019 at 5:34 PM Andes wrote: > > > > From: Rick Chen > > > > Add a v5l2 cache controller driver that is usually found on > > Andes RISC-V ae350 platform. It will parse the cache settings > > from the dtb. > > > &g

Re: [U-Boot] [PATCH v2 5/7] riscv: cache: Flush L2 cache before jump to linux

2019-07-17 Thread Rick Chen
Hi Bin > > On Tue, Jul 9, 2019 at 5:34 PM Andes wrote: > > > > From: Rick Chen > > > > Flush and disable cache in cleanup_before_linux() > > which will be called before jump to linux. > > > > The sequence will be preferred as below: >

Re: [U-Boot] [ANNOUNCEMENT] Switching to gitlab.denx.de

2019-07-01 Thread Rick Chen
Hi Wolfgang > Hello everybody, > > I wrote: > > > as discussed before, we want to switch from the old git server to more > > powerful soft- and hardware. We will move the U-Boot master > > repository and all custodian repositories to gitlab. > ... > > The switch will take place as follows: > >

Re: [U-Boot] [PATCH 1/6] dm: cache: add v5l2 cache controller driver

2019-06-12 Thread Rick Chen
Hi Bin > > Hi Rick, > > On Mon, Jun 10, 2019 at 10:26 AM Rick Chen wrote: > > > > Hi Lukas > > > > > > > > Hi Rick, > > > > > > On Wed, 2019-06-05 at 16:58 +0800, Rick Chen wrote: > > > > Hi Bin > > > >

Re: [U-Boot] [PATCH 1/6] dm: cache: add v5l2 cache controller driver

2019-06-09 Thread Rick Chen
Hi Lukas > > Hi Rick, > > On Wed, 2019-06-05 at 16:58 +0800, Rick Chen wrote: > > Hi Bin > > > > Bin Meng 於 2019年6月4日 週二 上午10:48寫道: > > > Hi Rick, > > > > > > On Tue, May 28, 2019 at 5:44 PM Andes wrote: > > > > From: Rick Che

Re: [U-Boot] Uboot send pull request

2019-06-05 Thread Rick Chen
estore before returning from trap handler > riscv: Return to previous privilege level after trap handling > riscv: Adjust the _exit_trap() position to come before handle_trap() > riscv: Save boot hart id to the global data > riscv: bootm: Change to use boot_ha

Re: [U-Boot] [PATCH 1/2] riscv: qemu: Enable PCI host ECAM generic driver

2019-06-05 Thread Rick Chen
Hi Bin Bin Meng 於 2019年6月5日 週三 下午5:29寫道: > > Hi Rick, > > On Wed, Jun 5, 2019 at 1:55 PM Rick Chen wrote: > > > > Hi Bin > > > > Bin Meng 於 2019年6月4日 週二 下午2:27寫道: > > > > > > Hi Rick, > > > > > > On Tue, Jun

Re: [U-Boot] [PATCH 6/6] riscv: ax25: use CCTL to flush d-cache

2019-06-05 Thread Rick Chen
Hi Bin > > Hi Rick, > > On Tue, May 28, 2019 at 5:45 PM Andes wrote: > > > > From: Rick Chen > > > > Use CCTL command to do d-cache write back and invalidate > > instead of fence. > > > > Signed-off-by: Rick Chen > > Cc:

Re: [U-Boot] [PATCH 5/6] riscv: dts: move out AE350 L2 node from cpus node

2019-06-05 Thread Rick Chen
Hi Bin Bin Meng 於 2019年6月4日 週二 上午10:48寫道: > > Hi Rick, > > On Tue, May 28, 2019 at 5:44 PM Andes wrote: > > > > From: Rick Chen > > > > When L2 node exists inside cpus node, uclass_get_device > > can not parse L2 node successfully. So move it outsid

Re: [U-Boot] [PATCH 3/6] riscv: ae350: add imply v5l2 cache controller

2019-06-05 Thread Rick Chen
Hi Bin > > Hi Rick, > > On Tue, May 28, 2019 at 5:44 PM Andes wrote: > > > > From: Rick Chen > > > > Select the v5l2 UCLASS_CACHE driver for AE350. > > > > Signed-off-by: Rick Chen > > Cc: Greentime Hu > > --- > > board/A

Re: [U-Boot] [PATCH 4/6] riscv: cache: Flush L2 cache before jump to linux

2019-06-05 Thread Rick Chen
Hi Bin > > Hi Rick, > > On Tue, May 28, 2019 at 5:44 PM Andes wrote: > > > > From: Rick Chen > > > > Flush and disable cache in cleanup_before_linux() > > which will be called before jump to linux. > > > > The sequence will be preferred

Re: [U-Boot] [PATCH 2/6] riscv: ae350: use the v5l2 driver to configure the cache

2019-06-05 Thread Rick Chen
Hi Bin Bin Meng 於 2019年6月4日 週二 上午10:48寫道: > > Hi Rick, > > On Tue, May 28, 2019 at 5:44 PM Andes wrote: > > > > From: Rick Chen > > > > Find the UCLASS_CACHE driver to configure the cache controller's > > settings. > > > > Signed-off-b

Re: [U-Boot] [PATCH 2/6] riscv: ae350: use the v5l2 driver to configure the cache

2019-06-05 Thread Rick Chen
Bin Meng 於 2019年6月4日 週二 上午10:48寫道: > > Hi Rick, > > On Tue, May 28, 2019 at 5:44 PM Andes wrote: > > > > From: Rick Chen > > > > Find the UCLASS_CACHE driver to configure the cache controller's > > settings. > > > > Signed-off-by: Rick Ch

Re: [U-Boot] [PATCH 1/6] dm: cache: add v5l2 cache controller driver

2019-06-05 Thread Rick Chen
Hi Bin Bin Meng 於 2019年6月4日 週二 上午10:48寫道: > > Hi Rick, > > On Tue, May 28, 2019 at 5:44 PM Andes wrote: > > > > From: Rick Chen > > > > Add a v5l2 cache controller driver that is usually found on > > Andes RISC-V ae350 platform. It will

Re: [U-Boot] [PATCH 1/2] riscv: qemu: Enable PCI host ECAM generic driver

2019-06-04 Thread Rick Chen
Hi Bin Bin Meng 於 2019年6月4日 週二 下午2:27寫道: > > Hi Rick, > > On Tue, Jun 4, 2019 at 1:35 PM Rick Chen wrote: > > > > > > > > Hi BIn > > > > > > > Hi Rick, > > > > > > > > On Mon, May 27, 2019 at 4:40 PM Auer, Luka

Re: [U-Boot] [RFC PATCH 1/1] riscv: increase the environment size for the qemu-riscv platform to 128kB

2019-06-03 Thread Rick Chen
> From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Bin Meng > Sent: Wednesday, May 08, 2019 9:39 PM > To: Karsten Merker > Cc: U-Boot Mailing List > Subject: Re: [U-Boot] [RFC PATCH 1/1] riscv: increase the environment size for > the qemu-riscv platform to 128kB > > On Mon, May 6,

Re: [U-Boot] [PATCH v4] riscv: Add Microchip MPFS Icicle board support

2019-06-03 Thread Rick Chen
> From: Auer, Lukas [mailto:lukas.a...@aisec.fraunhofer.de] > Sent: Saturday, June 01, 2019 12:13 AM > To: padmarao.beg...@microchip.com; u-boot@lists.denx.de > Cc: Rick Jian-Zhi Chen(陳建志); cyril.j...@microchip.com; > bmeng...@gmail.com; anup.pa...@wdc.com; lewis.ha...@microchip.com > Subject: Re:

Re: [U-Boot] [PATCH 1/2] riscv: qemu: Enable PCI host ECAM generic driver

2019-06-03 Thread Rick Chen
> > Hi BIn > > > Hi Rick, > > > > On Mon, May 27, 2019 at 4:40 PM Auer, Lukas > > wrote: > > > > > > On Wed, 2019-05-15 at 08:42 -0700, Bin Meng wrote: > > > > QEMU 4.0.0 'virt' target integrates a generic ECAM PCI host. > > > > Enable the driver for it. > > > > > > > > Signed-off-by: Bin Meng >

Re: [U-Boot] [PATCH 1/2] riscv: qemu: Enable PCI host ECAM generic driver

2019-06-03 Thread Rick Chen
Hi BIn > Hi Rick, > > On Mon, May 27, 2019 at 4:40 PM Auer, Lukas > wrote: > > > > On Wed, 2019-05-15 at 08:42 -0700, Bin Meng wrote: > > > QEMU 4.0.0 'virt' target integrates a generic ECAM PCI host. > > > Enable the driver for it. > > > > > > Signed-off-by: Bin Meng > > > --- > > > > > >

Re: [U-Boot] Hart lottery and CONFIG_XIP

2019-06-03 Thread Rick Chen
Troy, > > > > > > On Mon, Jun 3, 2019 at 9:19 PM Troy Benjegerdes > > > wrote: > > >> > > >> > > >> > > >>> On Jun 2, 2019, at 9:22 PM, Rick Chen wrote: > > >>> > > >>> Hi Troy > > &

Re: [U-Boot] Question about cfi flash driver can not work well in cacheable region !

2019-06-03 Thread Rick Chen
Hi Stefan Stefan Roese 於 2019年6月3日 週一 下午9:05寫道: > > Hi Rick, > > On 03.06.19 11:27, Rick Chen wrote: > > Hi Stefan and other seniors > > > > I encounter some problems about cfi flash driver. > > And hope you can give some comments to resolve it. > > Fo

[U-Boot] Question about cfi flash driver can not work well in cacheable region !

2019-06-03 Thread Rick Chen
Hi Stefan and other seniors I encounter some problems about cfi flash driver. And hope you can give some comments to resolve it. Followings are the flash verification status and descriptions : When I verify cfi flash which it's address base is in cacheable region (0x8800) and cache is

Re: [U-Boot] [PATCH 1/2] riscv: set CONFIG_SYS_BOOTM_LEN to SZ_64M

2019-05-08 Thread Rick Chen
> Subject: Re: [U-Boot] [PATCH 1/2] riscv: set CONFIG_SYS_BOOTM_LEN to > SZ_64M > > On Tue, Apr 9, 2019 at 8:30 PM David Abdurachmanov > wrote: > > > > After updating Fedora/RISCV kernel to 5.1-rc3+ the size increased > > above the current threshold. Looking into HiKey, Dragonboards, etc. > >

Re: [U-Boot] [PATCH 2/2] riscv: qemu-riscv.h: define CONFIG_PREBOOT (enables extlinux)

2019-05-08 Thread Rick Chen
> Subject: Re: [PATCH 2/2] riscv: qemu-riscv.h: define CONFIG_PREBOOT (enables > extlinux) > > On Fri, Apr 12, 2019 at 12:38 AM Auer, Lukas > wrote: > > > > On Thu, 2019-04-11 at 14:51 +0200, David Abdurachmanov wrote: > > > On Thu, Apr 11, 2019 at 2:41 PM Auer, Lukas > > > wrote: > > > > + Bin

Re: [U-Boot] [v5 PATCH] RISCV: image: Add booti support

2019-05-08 Thread Rick Chen
> From: Marek Vasut [mailto:marek.va...@gmail.com] > Sent: Tuesday, May 07, 2019 9:11 AM > To: Atish Patra; u-boot@lists.denx.de > Cc: Tom Rini; Karsten Merker; Alexander Graf; Alex Kiernan; Anup Patel; Bin > Meng; Heinrich Schuchardt; Joe Hershberger; Lukas Auer; Michal Simek; Rick > Jian-Zhi

Re: [U-Boot] [PATCH v5 6/6] riscv: configs: add ae350_rv[32|64]_xip_defconfig to MAINTAINERS

2019-05-08 Thread Rick Chen
Hi Bin Bin Meng 於 2019年5月9日 週四 上午10:21寫道: > > Hi Rick, > > On Thu, May 9, 2019 at 10:01 AM Rick Chen wrote: > > > > Hi Bin > > > > Bin Meng 於 2019年5月9日 週四 上午9:32寫道: > > > > > > Hi Rick, > > > > > > On T

Re: [U-Boot] [PATCH v5 6/6] riscv: configs: add ae350_rv[32|64]_xip_defconfig to MAINTAINERS

2019-05-08 Thread Rick Chen
Hi Bin Bin Meng 於 2019年5月9日 週四 上午9:32寫道: > > Hi Rick, > > On Thu, May 9, 2019 at 9:30 AM Andes wrote: > > > > From: Rick Chen > > > > This patch will fix Travis failure item as below: > > https://travis-ci.org/rickchen36/u-boot-riscv/jobs/529605196 >

Re: [U-Boot] [PATCH v3 3/4] riscv: prior_stage_fdt_address should only be used when OF_PRIOR_STAGE is enabled

2019-04-29 Thread Rick Chen
Hi lukas Auer, Lukas 於 2019年4月29日 週一 下午7:55寫道: > > Hi Rick, > > On Mon, 2019-04-29 at 15:44 +0800, Andes wrote: > > From: Rick Chen > > > > This patch will fix prior_stage_fdt_address write failure problem, when > > AE350 boots from flash.

Re: [U-Boot] [PATCH v2 3/4] riscv: prior_stage_fdt_address should only be used when OF_PRIOR_STAGE is enabled

2019-04-28 Thread Rick Chen
Auer, Lukas 於 2019年4月26日 週五 上午4:58寫道: > > On Thu, 2019-04-25 at 09:00 +0800, Rick Chen wrote: > > Bin Meng 於 2019年4月24日 週三 下午3:02寫道: > > > On Wed, Apr 24, 2019 at 2:38 PM Andes wrote: > > > > From: Rick Chen > > > > > > > > This pat

Re: [U-Boot] [PATCH v2 2/4] riscv: configs: Support AE350 SMP booting from flash flow

2019-04-28 Thread Rick Chen
Hi Lukas Auer, Lukas 於 2019年4月26日 週五 上午4:56寫道: > > Hi Rick, > > On Wed, 2019-04-24 at 14:33 +0800, Andes wrote: > > From: Rick Chen > > > > Add two defconfigs to support AE350 SMP booting from flash. > > > > Signed-off-by: Rick Chen

Re: [U-Boot] [PATCH v2 1/4] riscv: hart_lottery and available harts features can be selectable

2019-04-28 Thread Rick Chen
Hi Lukas Auer, Lukas 於 2019年4月26日 週五 上午4:55寫道: > > Hi Rick, > > Bin already included excellent feedback, I have just one more small nit > below. > > On Wed, 2019-04-24 at 14:33 +0800, Andes wrote: > > From: Rick Chen > > > > In smp flow these two f

Re: [U-Boot] [PATCH] riscv: qemu: Use correct SYS_TEXT_BASE for S-mode on 32bit system

2019-04-28 Thread Rick Chen
Hi Karsten > From: Karsten Merker [mailto:mer...@debian.org] > Sent: Friday, April 26, 2019 5:35 PM > To: Rick Jian-Zhi Chen(陳建志) > Cc: Anup Patel; Bin Meng; Lukas Auer; Tom Rini; U-Boot Mailing List; Palmer > Dabbelt > Subject: Re: [U-Boot] [PATCH] riscv: qemu: Use correct SYS_TEXT_BASE for >

Re: [U-Boot] [PATCH v2 4/4] riscv: configs: AE350 will use CONFIG_OF_PRIOR_STAGE when booting from ram

2019-04-24 Thread Rick Chen
HI Bin Bin Meng 於 2019年4月24日 週三 下午3:02寫道: > > On Wed, Apr 24, 2019 at 2:38 PM Andes wrote: > > > > From: Rick Chen > > > > When AE350 was booting from ram, use CONFIG_OF_PRIOR_STAGE instead > > was -> is OK > > > of CONFIG_OF_BOARD. > &

Re: [U-Boot] [PATCH v2 3/4] riscv: prior_stage_fdt_address should only be used when OF_PRIOR_STAGE is enabled

2019-04-24 Thread Rick Chen
Bin Meng 於 2019年4月24日 週三 下午3:02寫道: > > On Wed, Apr 24, 2019 at 2:38 PM Andes wrote: > > > > From: Rick Chen > > > > This patch will fix prior_stage_fdt_address write failure problem, when > > AE350 was booting from flash. > > was -> is OK

Re: [U-Boot] [PATCH v2 1/4] riscv: hart_lottery and available harts features can be selectable

2019-04-24 Thread Rick Chen
Bin Meng 於 2019年4月24日 週三 下午3:02寫道: > > Hi Rick, > > On Wed, Apr 24, 2019 at 2:37 PM Andes wrote: > > > > From: Rick Chen > > > > I would write the commit title and message as: > > riscv: Introduce CONFIG_XIP to support booting from flash > > When

Re: [U-Boot] [PATCH 0/4] AE350 support SMP boot from flash

2019-04-24 Thread Rick Chen
Hi Lukas Auer, Lukas 於 2019年4月25日 週四 上午5:18寫道: > > Hi Rick, > > On Wed, 2019-04-24 at 09:35 +0800, Rick Chen wrote: > > Hi Lukas > > > > Auer, Lukas 於 2019年4月24日 週三 上午3:58寫道: > > > Hi Rick, > > > > > > On Tue, 2019-0

Re: [U-Boot] [PATCH 1/4] riscv: hart_lottery and available harts feature can be seletable

2019-04-23 Thread Rick Chen
Hi Bin Bin Meng 於 2019年4月23日 週二 下午8:19寫道: > > On Tue, Apr 23, 2019 at 8:14 PM Bin Meng wrote: > > > > Hi Rick, > > > > On Tue, Apr 23, 2019 at 1:47 PM Andes wrote: > > > > > > From: Rick Chen > > > > > > > typo in the comm

Re: [U-Boot] [PATCH 4/4] riscv: configs: AE350 will use OF_PRIOR_STAGE when boot from ram

2019-04-23 Thread Rick Chen
Hi Bin Bin Meng 於 2019年4月23日 週二 下午8:14寫道: > > Hi Rick, > > On Tue, Apr 23, 2019 at 1:47 PM Andes wrote: > > > > From: Rick Chen > > > > nits in the commit title: boot->booting OK > > > When AE350 was booting from ram, use OF_PRIOR_STAG

Re: [U-Boot] [PATCH 3/4] riscv: prior_stage_fdt_address only be used when OF_PRIOR_STAGE is enable

2019-04-23 Thread Rick Chen
Hi Bin Bin Meng 於 2019年4月23日 週二 下午8:14寫道: > > Hi Rick, > > On Tue, Apr 23, 2019 at 1:47 PM Andes wrote: > > > > From: Rick Chen > > > > commit title should read: prior_stage_fdt_address should only be used > when OF_PRIOR_STAGE is enabled OK > >

Re: [U-Boot] [PATCH 2/4] riscv: configs: Support AE350 SMP boot from flash flow

2019-04-23 Thread Rick Chen
Hi Bin Bin Meng 於 2019年4月23日 週二 下午8:14寫道: > > Hi Rick, > > On Tue, Apr 23, 2019 at 1:47 PM Andes wrote: > > > > From: Rick Chen > > nits in the commit title: boot->booting OK > > > > > Add two defconfig to support AE350 SMP boot fro

Re: [U-Boot] [PATCH 0/4] AE350 support SMP boot from flash

2019-04-23 Thread Rick Chen
Hi Lukas Auer, Lukas 於 2019年4月24日 週三 上午3:58寫道: > > Hi Rick, > > On Tue, 2019-04-23 at 13:42 +0800, Andes wrote: > > From: Rick Chen > > > > In current RISC-V SMP flow, AE350 will encounter the the write > > failure problem since hart_lottery and available_h

Re: [U-Boot] [PATCH 1/9] riscv: ax25: Create a simple-bus driver for the soc node

2019-04-10 Thread Rick Chen
Hi Lukas Auer, Lukas 於 2019年4月10日 週三 下午5:21寫道: > > Hi Rick, > > On Wed, 2019-04-10 at 17:05 +0800, Rick Chen wrote: > > Hi Bin and Lukas > > > > Bin Meng 於 2019年3月21日 週四 下午5:17寫道: > > > Hi Rick, > > > > > > On Thu, Mar 21, 2019 at 5:00 P

Re: [U-Boot] [PATCH 1/9] riscv: ax25: Create a simple-bus driver for the soc node

2019-04-10 Thread Rick Chen
Hi Bin and Lukas Bin Meng 於 2019年3月21日 週四 下午5:17寫道: > > Hi Rick, > > On Thu, Mar 21, 2019 at 5:00 PM Rick Chen wrote: > > > > Bin Meng 於 2019年3月21日 週四 下午4:49寫道: > > > > > > Hi Rick, > > > > > > On Thu, Mar 21, 2019 at 4:27 PM Rick Che

Re: [U-Boot] [PATCH v3 0/7] AE350 SMP support RISC-V

2019-04-07 Thread Rick Chen
Hi Bin Bin Meng 於 2019年4月4日 週四 下午9:49寫道: > > Hi Rick, > > On Wed, Apr 3, 2019 at 9:37 AM Rick Chen wrote: > > > > Hi Bin and Lukas > > > > Rick Chen 於 2019年4月2日 週二 上午9:22寫道: > > > > > > Hi Bin > > > > > > Bin Meng 於 2019年

Re: [U-Boot] [PATCH v3 0/7] AE350 SMP support RISC-V

2019-04-02 Thread Rick Chen
Hi Bin and Lukas Rick Chen 於 2019年4月2日 週二 上午9:22寫道: > > Hi Bin > > Bin Meng 於 2019年4月1日 週一 下午5:01寫道: > > > > Hi Rick, > > > > On Mon, Apr 1, 2019 at 4:29 PM Andes wrote: > > > > > > From: Rick Chen > > > > > &g

Re: [U-Boot] [PATCH v3 3/7] riscv: ae350: disable ATCPIT100 timer

2019-04-01 Thread Rick Chen
Hi Lukas Auer, Lukas 於 2019年4月1日 週一 下午5:13寫道: > > Hi Rick, > > On Mon, 2019-04-01 at 16:24 +0800, Andes wrote: > > From: Rick Chen > > > > Disable ATCPIT100 SoC timer and replace by PLMT. > > > > Signed-off-by: Rick Chen > > Cc: Greentime Hu

Re: [U-Boot] [PATCH v3 1/7] riscv: Add a SYSCON driver for Andestech's PLIC

2019-04-01 Thread Rick Chen
Hi Lukas >Auer, Lukas 於 2019年4月1日 週一 下午5:08寫道: > > Hi Rick, > > On Mon, 2019-04-01 at 16:24 +0800, Andes wrote: > > From: Rick Chen > > > > The Platform-Level Interrupt Controller (PLIC) > > block holds memory-mapped claim and pending registers

Re: [U-Boot] [PATCH v3 2/7] riscv: Add a SYSCON driver for Andestech's PLMT

2019-04-01 Thread Rick Chen
Hi Lukas Auer, Lukas 於 2019年4月1日 週一 下午5:09寫道: > > Hi Rick, > > On Mon, 2019-04-01 at 16:24 +0800, Andes wrote: > > From: Rick Chen > > > > The platform-Level Machine Timer (PLMT) block > > holds memory-mapped mtime register associated > > with

Re: [U-Boot] [PATCH v3 0/7] AE350 SMP support RISC-V

2019-04-01 Thread Rick Chen
Hi Bin Bin Meng 於 2019年4月1日 週一 下午5:01寫道: > > Hi Rick, > > On Mon, Apr 1, 2019 at 4:29 PM Andes wrote: > > > > From: Rick Chen > > > > Changes in v3: > > Patch 1 > > - Rename plic_init() as enable_ipi() > > - Remove PLIC_BASE_GET() from e

Re: [U-Boot] [PATCH v2 1/7] riscv: Add a SYSCON driver for Andestech's PLIC

2019-03-31 Thread Rick Chen
Hi Bin Bin Meng 於 2019年3月29日 週五 下午5:20寫道: > > Hi Rick, > > On Mon, Mar 25, 2019 at 3:39 PM Andes wrote: > > > > From: Rick Chen > > > > The Platform-Level Interrupt Controller(PLIC) > > nits: it should have a space before (PLIC) OK > > > bl

Re: [U-Boot] [PATCH v2 2/7] riscv: Add a SYSCON driver for Andestech's PLMT

2019-03-31 Thread Rick Chen
Hi Bin Bin Meng 於 2019年3月29日 週五 下午5:22寫道: > > On Mon, Mar 25, 2019 at 3:39 PM Andes wrote: > > > > From: Rick Chen > > > > The platform-Level Machine Timer(PLMT) block > > nits: should have a space before (PLMT) OK > > > holds memory-mapped

Re: [U-Boot] [PATCH v2 6/7] riscv: dts: ae350 support SMP

2019-03-31 Thread Rick Chen
Hi Bin Bin Meng 於 2019年3月29日 週五 下午5:34寫道: > > Two more comments regarding ae350_64.dts > > On Mon, Mar 25, 2019 at 3:40 PM Andes wrote: > > > > From: Rick Chen > > > > Signed-off-by: Rick Chen > > Cc: Greentime Hu >

Re: [U-Boot] [PATCH 8/9] riscv: dts: ae350 support SMP.

2019-03-21 Thread Rick Chen
Bin Meng 於 2019年3月21日 週四 下午6:12寫道: > > Hi Rick, > > On Thu, Mar 21, 2019 at 5:37 PM Rick Chen wrote: > > > > Bin Meng 於 2019年3月21日 週四 下午5:15寫道: > > > > > > Hi Rick, > > > > > > On Thu, Mar 21, 2019 at 4:51 PM Rick Chen wrote: > >

Re: [U-Boot] [PATCH 8/9] riscv: dts: ae350 support SMP.

2019-03-21 Thread Rick Chen
Bin Meng 於 2019年3月21日 週四 下午5:15寫道: > > Hi Rick, > > On Thu, Mar 21, 2019 at 4:51 PM Rick Chen wrote: > > > > Hi Bin > > > > Bin Meng 於 2019年3月20日 週三 下午3:22寫道: > > > > > > Hi Rick, > > > > > > On Tue, Mar 19, 2019 at 5:13 PM

Re: [U-Boot] [PATCH 1/9] riscv: ax25: Create a simple-bus driver for the soc node

2019-03-21 Thread Rick Chen
Bin Meng 於 2019年3月21日 週四 下午4:49寫道: > > Hi Rick, > > On Thu, Mar 21, 2019 at 4:27 PM Rick Chen wrote: > > > > Hi Bin > > > > Bin Meng 於 2019年3月21日 週四 下午3:01寫道: > > > > > > Hi Rick, > > > > > > On Thu, Mar 21, 2019 at 2:49

Re: [U-Boot] [PATCH 8/9] riscv: dts: ae350 support SMP.

2019-03-21 Thread Rick Chen
Hi Bin Bin Meng 於 2019年3月20日 週三 下午3:22寫道: > > Hi Rick, > > On Tue, Mar 19, 2019 at 5:13 PM Andes wrote: > > > > From: Rick Chen > > > > nits: remove the ending period in the commit title. OK. I will remove it. > > > Signed-off-by: Rick Chen >

Re: [U-Boot] [PATCH 7/9] riscv: ax25: Andes specific cache shall only support in M-mode.

2019-03-21 Thread Rick Chen
Hi Bin Bin Meng 於 2019年3月20日 週三 下午3:22寫道: > > Hi Rick, > > On Tue, Mar 19, 2019 at 5:12 PM Andes wrote: > > > > From: Rick Chen > > > > nits: remove the ending period in the commit title OK I will remove it. Thanks for review. Rick > > > Limit

Re: [U-Boot] [PATCH 3/9] riscv: Add a SYSCON driver for Andestech's PLMT

2019-03-21 Thread Rick Chen
Hi Bin Bin Meng 於 2019年3月20日 週三 下午3:22寫道: > > Hi Rick, > > On Tue, Mar 19, 2019 at 5:12 PM Andes wrote: > > > > From: Rick Chen > > > > The platform-Level Machine Timer(PLMT) block > > holds memory-mapped mtime register associated > >

Re: [U-Boot] [PATCH 2/9] riscv: Add a SYSCON driver for Andestech's PLIC

2019-03-21 Thread Rick Chen
Bin Meng 於 2019年3月21日 週四 下午3:32寫道: > > Hi Rick, > > On Thu, Mar 21, 2019 at 3:04 PM Rick Chen wrote: > > > > Hi Bin > > > > Bin Meng 於 2019年3月20日 週三 下午3:22寫道: > > > > > > Hi Rick, > > > > > > On Tu

Re: [U-Boot] [PATCH 1/9] riscv: ax25: Create a simple-bus driver for the soc node

2019-03-21 Thread Rick Chen
Hi Bin Bin Meng 於 2019年3月21日 週四 下午3:01寫道: > > Hi Rick, > > On Thu, Mar 21, 2019 at 2:49 PM Rick Chen wrote: > > > > Hi Bin > > > > Bin Meng 於 2019年3月20日 週三 下午3:22寫道: > > > > > > Hi Rick, > > > > > > On Tu

Re: [U-Boot] [PATCH 2/9] riscv: Add a SYSCON driver for Andestech's PLIC

2019-03-21 Thread Rick Chen
Hi Bin Bin Meng 於 2019年3月20日 週三 下午3:22寫道: > > Hi Rick, > > On Tue, Mar 19, 2019 at 5:12 PM Andes wrote: > > > > From: Rick Chen > > > > The Platform-Level Interrupt Controller(PLIC) > > block holds memory-mapped claim and pending registers > > a

Re: [U-Boot] [PATCH 1/9] riscv: ax25: Create a simple-bus driver for the soc node

2019-03-21 Thread Rick Chen
Hi Bin Bin Meng 於 2019年3月20日 週三 下午3:22寫道: > > Hi Rick, > > On Tue, Mar 19, 2019 at 5:11 PM Andes wrote: > > > > From: Rick Chen > > > > To enumerate devices on the /soc/ node, create a "simple-bus" > > driver to match "andestech

Re: [U-Boot] [PATCH v3 05/11] riscv: save hart ID in register tp instead of s0

2019-03-17 Thread Rick Chen
v tp, a0 > > mv s1, a1 > > > > la t0, trap_entry > > @@ -64,7 +64,7 @@ call_board_init_f_0: > > jal board_init_f_init_reserve > > > > /* save the boot hart id to global_data */ > > - SREGs0, GD_BOOT_HART(gp) > > + SREGtp, GD_BOOT_HART(gp) > > > > /* Enable cache */ > > jal icache_enable Reviewed-by: Rick Chen ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH v2 7/9] riscv: do not rely on hart ID passed by previous boot stage

2019-03-12 Thread Rick Chen
egister a0 with the hart ID from the mhartid CSR to avoid possible > > problems on > > RISC-V processors with a boot ROM that does not handle this task. > > > > Suggested-by: Rick Chen > > Signed-off-by: Lukas Auer > > --- > > > > Changes in v2: > >

Re: [U-Boot] [PATCH 5/7] riscv: add support for multi-hart systems

2019-03-11 Thread Rick Chen
Hi Lukas Auer, Lukas 於 2019年3月11日 週一 上午2:12寫道: > > On Sun, 2019-03-10 at 20:24 +0530, Anup Patel wrote: > > On Sun, Mar 10, 2019 at 7:28 PM Auer, Lukas > > wrote: > > > Hi Rick, > > > > > > On Thu, 2019-03-07 at 17:30 +0800, Rick Chen wrote: > >

Re: [U-Boot] [PATCH 5/7] riscv: add support for multi-hart systems

2019-03-07 Thread Rick Chen
Hi Lukas > > From: Lukas Auer [mailto:lukas.a...@aisec.fraunhofer.de] > > Sent: Tuesday, February 12, 2019 6:14 AM > > To: u-boot@lists.denx.de > > Cc: Atish Patra; Anup Patel; Bin Meng; Andreas Schwab; Palmer Dabbelt; > > Alexander Graf; Lukas Auer; Anup Patel; Rick Jian-Zhi Chen(陳建志); Baruch >

Re: [U-Boot] SiFive FU540 U-Boot patches,

2019-02-26 Thread Rick Chen
Hi Anup Anup Patel 於 2019年2月26日 週二 下午7:55寫道: > > On Mon, Feb 25, 2019 at 12:50 PM Rick Chen wrote: > > > > Hi Anup > > > > Anup Patel 於 2019年2月25日 週一 上午11:28寫道: > > > > > > On Mon, Feb 25, 2019 at 7:50 AM Rick Chen wrote: > > > > >

Re: [U-Boot] SiFive FU540 U-Boot patches,

2019-02-24 Thread Rick Chen
Hi Anup Anup Patel 於 2019年2月25日 週一 上午11:28寫道: > > On Mon, Feb 25, 2019 at 7:50 AM Rick Chen wrote: > > > > Hi Anup > > > > Rick Chen 於 2019年2月22日 週五 下午12:05寫道: > > > > > > Hi Anup > > > > > > Anup Patel 於 2019年2月21日 週四 下午5:57寫

Re: [U-Boot] SiFive FU540 U-Boot patches,

2019-02-24 Thread Rick Chen
Hi Anup Rick Chen 於 2019年2月22日 週五 下午12:05寫道: > > Hi Anup > > Anup Patel 於 2019年2月21日 週四 下午5:57寫道: > > > > > On Thu, Feb 21, 2019 at 11:31 AM Bin Meng wrote: > > > > > > On Thu, Feb 21, 2019 at 12:48 PM Anup Patel wrote: > > > > > >

Re: [U-Boot] SiFive FU540 U-Boot patches,

2019-02-21 Thread Rick Chen
Hi Anup Anup Patel 於 2019年2月21日 週四 下午5:57寫道: > > On Thu, Feb 21, 2019 at 11:31 AM Bin Meng wrote: > > > > On Thu, Feb 21, 2019 at 12:48 PM Anup Patel wrote: > > > > > > Hi Rick, > > > > > > On Fri, Feb 15, 2019 at 10:19 AM Rick Chen wro

Re: [U-Boot] [PATCH 1/7] riscv: add infrastructure for calling functions on other harts

2019-02-17 Thread Rick Chen
up Patel wrote: > > > > -Original Message- > > > > From: Lukas Auer [mailto:lukas.a...@aisec.fraunhofer.de] > > > > Sent: Tuesday, February 12, 2019 3:44 AM > > > > To: u-boot@lists.denx.de > > > > Cc: Atish Patra ; Anup Patel

Re: [U-Boot] [PATCH 5/7] riscv: add support for multi-hart systems

2019-02-14 Thread Rick Chen
Hi Lukas > > From: Lukas Auer [mailto:lukas.a...@aisec.fraunhofer.de] > > Sent: Tuesday, February 12, 2019 6:14 AM > > To: u-boot@lists.denx.de > > Cc: Atish Patra; Anup Patel; Bin Meng; Andreas Schwab; Palmer Dabbelt; > > Alexander Graf; Lukas Auer; Anup Patel; Rick Jian-Zhi Chen(陳建志); Baruch >

Re: [U-Boot] [PATCH v3 5/5] doc: device-tree-bindings: switch from spi-flash to jedec, spi-nor

2019-01-21 Thread Rick Chen
;; > > flash@0 { > > - compatible = "spi-flash"; > > + compatible = "jedec,spi-nor"; > > spi-max-frequency = <5000>; > > reg = <0>

Re: [U-Boot] [PATCH v3 2/5] dts: switch spi-flash to jedec, spi-nor compatible

2019-01-21 Thread Rick Chen
y: Neil Armstrong > > Acked-by: Stefan Roese > > Reviewed-by: Simon Goldschmidt > > --- for nds32 and riscv > > arch/nds32/dts/ae3xx.dts | 2 +- > > arch/riscv/dts/ae350_32.dts | 2 +- > > arch/riscv/dts/ae350_64.dts | 2 +- Reviewed-by: Rick Chen ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH v2 3/7] riscv: use invalidate/flush_*cache_range functions in cache.c

2019-01-03 Thread Rick Chen
@@ -40,8 +40,8 @@ void cache_flush(void) > > > > void flush_cache(unsigned long addr, unsigned long size) { > > - invalidate_icache_all(); > > - flush_dcache_all(); > > + invalidate_icache_range(addr, addr + size); > > + flush_dcache_range(addr, addr + size); > > } > > > > __weak void icache_enable(void) > > -- Reviewed-by: Rick Chen ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH v2 2/7] riscv: move the AX25-specific implementation of flush_dcache_all

2019-01-03 Thread Rick Chen
start, unsigned long end) > > + > > +__weak void flush_dcache_range(unsigned long start, unsigned long end) > > { > > - flush_dcache_all(); > > } > > > > void invalidate_icache_range(unsigned long start, unsigned long end) @@ > > -29,9 > > +28,8 @@ void invalidate_icache_range(unsigned long start, unsigned long > > end) > > invalidate_icache_all(); > > } > > > > -void invalidate_dcache_range(unsigned long start, unsigned long end) > > +__weak void invalidate_dcache_range(unsigned long start, unsigned long > > +end) > > { > > - flush_dcache_all(); > > } > > > > void cache_flush(void) > > -- Reviewed-by: Rick Chen ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH 2/6] riscv: remove invalid dcache flush implementation

2019-01-03 Thread Rick Chen
Hi Lukas Auer, Lukas 於 2019年1月4日 週五 上午8:40寫道: > > Hi Rick, > > On Thu, 2019-01-03 at 08:48 +0800, Rick Chen wrote: > > Hi Lukas > > > > Auer, Lukas 於 2019年1月2日 週三 下午8:22寫道: > > > Hi Rick, > > > > > > On Wed, 2019-01-02 at 10:54 +0800, R

Re: [U-Boot] [PATCH 2/6] riscv: remove invalid dcache flush implementation

2019-01-02 Thread Rick Chen
Hi Lukas Auer, Lukas 於 2019年1月2日 週三 下午8:22寫道: > > Hi Rick, > > On Wed, 2019-01-02 at 10:54 +0800, Rick Chen wrote: > > Hi Lukas > > > > > > From: Lukas Auer [mailto:lukas.a...@aisec.fraunhofer.de] > > > > Sent: Monday, December 31, 2018 2:28 AM &

Re: [U-Boot] [PATCH 2/6] riscv: remove invalid dcache flush implementation

2019-01-01 Thread Rick Chen
Hi Lukas > > From: Lukas Auer [mailto:lukas.a...@aisec.fraunhofer.de] > > Sent: Monday, December 31, 2018 2:28 AM > > To: u-boot@lists.denx.de > > Cc: Anup Patel; Lukas Auer; Rick Jian-Zhi Chen(陳建志); Bin Meng; Greentime Hu > > Subject: [PATCH 2/6] riscv: remove invalid dcache flush implementation

Re: [U-Boot] [PATCH v3 2/3] MAINTAINERS: Sync for ax25-ae350 rename

2018-12-17 Thread Rick Chen
Hi Bin Bin Meng 於 2018年12月18日 週二 上午10:50寫道: > > Hi Rick, > > On Tue, Dec 18, 2018 at 10:23 AM Rick Chen wrote: > > > > Hi Bin > > > > Bin Meng 於 2018年12月18日 週二 上午10:12寫道: > > > > > > Hi Rick, > > > > > > On Tu

Re: [U-Boot] [PATCH v3 2/3] MAINTAINERS: Sync for ax25-ae350 rename

2018-12-17 Thread Rick Chen
Hi Bin Bin Meng 於 2018年12月18日 週二 上午10:12寫道: > > Hi Rick, > > On Tue, Dec 18, 2018 at 9:51 AM Andes wrote: > > > > From: Rick Chen > > > > Rename > > a25-ae350_32_defconfig as ae350_rv32_defconfig > > ax25-ae350_64_defconfig as ae350_rv64_de

Re: [U-Boot] [PATCH v2 0/2] SiFive UART support

2018-12-16 Thread Rick Chen
Hi Anup Anup Patel 於 2018年12月17日 週一 下午12:15寫道: > > On Mon, Dec 17, 2018 at 7:21 AM Rick Chen wrote: > > > > Hi Anup > > > > > > From: Anup Patel [mailto:a...@brainfault.org] > > > > Sent: Friday, December 14, 2018 5:23 PM > > > >

Re: [U-Boot] [PATCH] riscv: configs: Rename ax25-ae350 defconfig

2018-12-16 Thread Rick Chen
Hi Bin Bin Meng 於 2018年12月17日 週一 上午11:32寫道: > > Hi Rick, > > On Mon, Dec 17, 2018 at 11:21 AM Andes wrote: > > > > From: Rick Chen > > > > Remove cpu name from the defconfig naming. > > Because other cpus maybe run on AE350 platform. > &g

Re: [U-Boot] [PATCH v2 0/2] SiFive UART support

2018-12-16 Thread Rick Chen
Hi Anup > > From: Anup Patel [mailto:a...@brainfault.org] > > Sent: Friday, December 14, 2018 5:23 PM > > To: Rick Jian-Zhi Chen(陳建志); Bin Meng; Lukas Auer > > Cc: Alexander Graf; Palmer Dabbelt; Atish Patra; Christoph Hellwig; U-Boot > > Mailing List > > Subject: Re: [PATCH v2 0/2] SiFive UART

Re: [U-Boot] [PATCH v5 00/25] riscv: Adding RISC-V CPU and timer driver

2018-12-14 Thread Rick Chen
Hi Bin > > From: Bin Meng [mailto:bmeng...@gmail.com] > > Sent: Friday, December 14, 2018 9:22 AM > > To: Rick Jian-Zhi Chen(陳建志); Simon Glass; Lukas Auer; Anup Patel; U-Boot > > Mailing List > > Subject: Re: [PATCH v5 00/25] riscv: Adding RISC-V CPU and timer driver > > > > Hi Rick, > > > > On

Re: [U-Boot] [PATCH v5 06/25] riscv: ax25: Hide the ax25-specific Kconfig option

2018-12-12 Thread Rick Chen
t; > "andi %0, t1, 0x01\n\t" > > @@ -81,7 +81,7 @@ int dcache_status(void) { > > int ret = 0; > > > > -#ifdef CONFIG_RISCV_NDS > > +#ifdef CONFIG_RISCV_NDS_CACHE > > asm volatile ( > > "csrr t1, mcache_ctl\n\t" > > "andi %0, t1, 0x02\n\t" > > diff --git a/board/AndesTech/ax25-ae350/Kconfig > > b/board/AndesTech/ax25-ae350/Kconfig > > index bb69ea3..44cb302 100644 > > --- a/board/AndesTech/ax25-ae350/Kconfig > > +++ b/board/AndesTech/ax25-ae350/Kconfig > > @@ -21,4 +21,8 @@ config ENV_SIZE > > config ENV_OFFSET > > default 0x14 if ENV_IS_IN_SPI_FLASH > > > > +config BOARD_SPECIFIC_OPTIONS # dummy > > + def_bool y > > + select RISCV_NDS > > + > > endif Reviewed-by: Rick Chen > > -- > > 2.7.4 > ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH v2 06/20] riscv: ax25: Hide the ax25-specific Kconfig option

2018-12-12 Thread Rick Chen
Hi Bin Bin Meng 於 2018年12月12日 週三 下午10:16寫道: > > Hi Rick, > > On Wed, Dec 12, 2018 at 5:56 PM Rick Chen wrote: > > > > Bin Meng 於 2018年12月12日 週三 下午5:37寫道: > > > > > > Hi Rick, > > > > > > On Wed, Dec 12, 2018 at 5:02 PM Rick Chen wro

Re: [U-Boot] policy regarding unused code

2018-12-12 Thread Rick Chen
> > From: Jean-Jacques Hiblot [mailto:jjhib...@ti.com] > > Sent: Wednesday, December 12, 2018 8:00 PM > > To: Tom Rini > > Cc: U-Boot; Rick Jian-Zhi Chen(陳建志) > > Subject: Re: [U-Boot] policy regarding unused code > > > > Tom, Rick, > > > > On 11/12/2018 19:17, Tom Rini wrote: > > > On Tue, Dec

Re: [U-Boot] [PATCH v2 06/20] riscv: ax25: Hide the ax25-specific Kconfig option

2018-12-12 Thread Rick Chen
Bin Meng 於 2018年12月12日 週三 下午5:37寫道: > > Hi Rick, > > On Wed, Dec 12, 2018 at 5:02 PM Rick Chen wrote: > > > > Hi Bin > > > > Bin Meng 於 2018年12月11日 週二 下午3:17寫道: > > > > > > Hi Rick, > > > > > > On Tue, Dec 11, 2018 at 3:06

<    1   2   3   4   5   6   7   8   >