Re: [U-Boot] [PATCH 0/3] rockchip: Use the standard debug UART on rockchip

2015-12-13 Thread hl
Hi Simon. Thank you for updating this series patch, i have verified it in evb-rk3036 board, it worked. On 14/12/15 12:36, Simon Glass wrote: The RK3036 has only 8KB of RAM available for SPL. At present it uses its own debug UART code. By allowing the ns16550 driver to provide a debug UA

Re: [U-Boot] [PATCH] mmc: implement mmc power on write protect function

2015-12-13 Thread hl
Hi Simon, Thanks for reviewing, i have upload a new patch to fix your comment. On 11/12/15 11:20, Simon Glass wrote: Hi Lin, On 3 December 2015 at 01:34, Lin Huang wrote: set the mmc specific addresss and range as power on write protection, and can't earse and write this range if you ena

Re: [U-Boot] [PATCH 1/2] rockchip: add CONFIG_SPL_ROCKCHIP_SERIAL

2015-11-30 Thread hl
Hi Simon, On 27/11/15 11:37, Simon Glass wrote: Hi Lin, On 26 November 2015 at 19:35, Simon Glass wrote: Hi Lin, On 19 November 2015 at 22:58, Lin Huang wrote: we can use this config to disable rockchip serial driver in SPL stage, since some rockchip soc sram size is small(rk3036 etc), so

Re: [U-Boot] [PATCH v6 00/23] Bring up rk3036 uboot

2015-11-20 Thread hl
Hi Simon, On 20/11/15 04:05, Simon Glass wrote: Hi Tom, On 19 November 2015 at 09:28, Tom Rini wrote: On Thu, Nov 19, 2015 at 07:24:45AM -0700, Simon Glass wrote: +Tom Hi Lin, On 18 November 2015 at 22:49, hl wrote: Hi Simon, On 19/11/15 12:44, Simon Glass wrote: Hi Lin, On 17

Re: [U-Boot] [PATCH v6 00/23] Bring up rk3036 uboot

2015-11-19 Thread hl
Hi Simon, On 19/11/15 22:24, Simon Glass wrote: +Tom Hi Lin, On 18 November 2015 at 22:49, hl wrote: Hi Simon, On 19/11/15 12:44, Simon Glass wrote: Hi Lin, On 17 November 2015 at 18:19, hl wrote: Hi Simon, On 18/11/15 01:38, Simon Glass wrote: Hi Lin, On 16 November 2015 at 23

Re: [U-Boot] [PATCH v6 00/23] Bring up rk3036 uboot

2015-11-18 Thread hl
Hi Simon, On 19/11/15 12:44, Simon Glass wrote: Hi Lin, On 17 November 2015 at 18:19, hl wrote: Hi Simon, On 18/11/15 01:38, Simon Glass wrote: Hi Lin, On 16 November 2015 at 23:20, Lin Huang wrote: This series patch bring up rk3036 uboot, since rk3036 only 4K size SRAM for SPL, so

Re: [U-Boot] [PATCH v6 00/23] Bring up rk3036 uboot

2015-11-17 Thread hl
Hi Simon, On 18/11/15 01:38, Simon Glass wrote: Hi Lin, On 16 November 2015 at 23:20, Lin Huang wrote: This series patch bring up rk3036 uboot, since rk3036 only 4K size SRAM for SPL, so in SPL stage only support timer, uart, sdram driver, and back to bootrom when finish ddr initial, and boo

Re: [U-Boot] [PATCH v5 12/21] rockchip: rk3036: Add pinctrl driver

2015-11-15 Thread hl
Hi Ariel, On 14/11/15 07:54, Ariel D'Alessandro wrote: Hi Lin, El 10/11/15 a las 07:24, Lin Huang escribió: Add a driver which support pin multiplexing setup for rk3036 Signed-off-by: Lin Huang Acked-by: Simon Glass --- Changes in v1: - clean copyright announcement Changes in v2: None Chang

Re: [U-Boot] [PATCH v5 00/21] Bring up rk3036 uboot

2015-11-15 Thread hl
Hi Simon, On 14/11/15 02:14, Simon Glass wrote: Hi Lin, On 10 November 2015 at 03:24, Lin Huang wrote: This series patch bring up rk3036 uboot, since rk3036 only 4K size SRAM for SPL, so in SPL stage only support timer, uart, sdram driver, and back to bootrom when finish ddr initial, and boot

Re: [U-Boot] [PATCH v5 01/21] rockchip: add timer driver

2015-11-11 Thread hl
Hi Ben, On 12/11/15 10:04, Ben Chan wrote: On Tue, Nov 10, 2015 at 2:24 AM, Lin Huang wrote: some rockchip soc will not include lib/timer.c in SPL stage, so implement timer driver for some soc can use us delay function in SPL. Signed-off-by: Lin Huang Acked-by: Simon Glass --- Changes in v1

Re: [U-Boot] [PATCH v4 13/20] rockchip: Add an rk3036 MMC driver

2015-11-09 Thread hl
Hi Simon, On 10/11/15 04:23, Simon Glass wrote: Hi Lin, On 9 November 2015 at 00:02, Lin Huang wrote: rk3036 mmc driver is similar to dw_mmc, but use external dma, this patch implment fifo mode, need to do dma mode in future. What is the plan to merge this driver with the dwmmc one? Also the

Re: [U-Boot] [PATCH v4 14/20] rockchip: add early uart driver

2015-11-09 Thread hl
Hi Simon, On 10/11/15 04:24, Simon Glass wrote: Hi Lin, On 9 November 2015 at 00:02, Lin Huang wrote: add early uart driver so we can print debug message in SPL stage Signed-off-by: Lin Huang --- Changes in v1: None Changes in v2: None Changes in v3: - pass uart base address to rk_uart_init

Re: [U-Boot] [PATCH v4 20/20] rockchip: doc: show packet rk3036 uboot image

2015-11-09 Thread hl
Hi Simon, On 10/11/15 04:24, Simon Glass wrote: Hi Lin, On 9 November 2015 at 00:02, Lin Huang wrote: show how to packet rk3036 uboot image and boot from SD Signed-off-by: Lin Huang --- Changes in v1: None Changes in v2: None Changes in v3: None Changes in v4: - fix some spell error doc

Re: [U-Boot] [PATCH v3 02/17] rockchip: move SYS_MALLOC_F_LEN to rk3288 own Kconfig

2015-11-08 Thread hl
Hi Simon, On 09/11/15 12:46, Simon Glass wrote: Hi Lin, On 8 November 2015 at 18:59, hl wrote: Hi Simon, On 06/11/15 20:08, Simon Glass wrote: Hi, On 6 November 2015 at 01:33, Lin Huang wrote: since different rockchip SOC have different size of SRAM, So the size SYS_MALLOC_F_LEN may

Re: [U-Boot] [PATCH v3 02/17] rockchip: move SYS_MALLOC_F_LEN to rk3288 own Kconfig

2015-11-08 Thread hl
Hi Simon, On 06/11/15 20:08, Simon Glass wrote: Hi, On 6 November 2015 at 01:33, Lin Huang wrote: since different rockchip SOC have different size of SRAM, So the size SYS_MALLOC_F_LEN may different, so move this config to rk3288 own Kconfig Signed-off-by: Lin Huang --- Changes in v1: None

Re: [U-Boot] [RESEND PATCH v3 15/20] rockchip: add rk3036 sdram driver

2015-11-08 Thread hl
Hi Simon, On 07/11/15 07:58, Simon Glass wrote: Hi Lin, On 6 November 2015 at 01:53, Lin Huang wrote: add rk3036 sdram driver so we can set up sdram in SPL Signed-off-by: Lin Huang --- Changes in v1: None Changes in v2: None Changes in v3: fix some code style error arch/arm/include/asm

Re: [U-Boot] [PATCH v2 16/17] rockchip: rk3036: Add core Soc start-up code

2015-11-06 Thread hl
Hi On 06/11/15 17:11, Sjoerd Simons wrote: On Wed, 2015-11-04 at 20:53 +0800, Lin Huang wrote: rk3036 only 4K size SRAM for SPL, so only support timer, uart, sdram driver in SPL stage, when finish initial sdram, back to bootrom. Signed-off-by: Lin Huang diff --git a/arch/arm/mach-rockch

Re: [U-Boot] [PATCH v1 01/12] rockchip: define SUPPORT_SPL and SPL config in RK3288 config

2015-10-26 Thread hl
Hi Simon, On 26/10/15 12:12, Simon Glass wrote: Hi, On Oct 22, 2015 7:22 PM, "hl" <mailto:h...@rock-chips.com>> wrote: > > Hi Simon, > > > On 23/10/15 09:04, Simon Glass wrote: >> >> Hi Eddie, >> >> On 22 October 2015 at 18:54, Eddie

Re: [U-Boot] [PATCH v1 12/12] rockchip: Add basic support for evb-rk3036 board

2015-10-22 Thread hl
Hi Simon, On 23/10/15 09:34, Simon Glass wrote: Hi, On 22 October 2015 at 19:27, hl wrote: Hi Simon, On 22/10/15 22:08, Simon Glass wrote: On 20 October 2015 at 20:37, Lin Huang wrote: This add some basic files required to allow the board to dispaly serial message and can run command

Re: [U-Boot] [PATCH v1 01/12] rockchip: define SUPPORT_SPL and SPL config in RK3288 config

2015-10-22 Thread hl
Hi Simon, On 23/10/15 09:04, Simon Glass wrote: Hi Eddie, On 22 October 2015 at 18:54, Eddie Cai wrote: Hi Simon 2015-10-23 0:30 GMT+08:00 Simon Glass : Hi Eddie, On 22 October 2015 at 10:01, Eddie Cai wrote: Hi Simon 2015-10-22 22:07 GMT+08:00 Simon Glass : Hi Lin, On 20 October 2015

Re: [U-Boot] [PATCH v1 12/12] rockchip: Add basic support for evb-rk3036 board

2015-10-22 Thread hl
Hi Simon, On 22/10/15 22:08, Simon Glass wrote: On 20 October 2015 at 20:37, Lin Huang wrote: This add some basic files required to allow the board to dispaly serial message and can run command(mmc info etc) Signed-off-by: Lin Huang --- Changes in v1: - clean copyright announcement arch/a

Re: [U-Boot] [PATCH v1 10/12] rockchip: Add an rk3036 MMC driver

2015-10-22 Thread hl
Hi Simon, On 22/10/15 22:08, Simon Glass wrote: Hi Lin, On 20 October 2015 at 20:37, Lin Huang wrote: rk3036 mmc driver is similar to dw_mmc, but use external dma, this patch implment fifo mode, need to do dma mode in future. Signed-off-by: Lin Huang --- Changes in v1: - clean copyright an

Re: [U-Boot] [PATCH v1 01/12] rockchip: define SUPPORT_SPL and SPL config in RK3288 config

2015-10-22 Thread hl
Hi Simon, On 22/10/15 22:07, Simon Glass wrote: Hi Lin, On 20 October 2015 at 20:37, Lin Huang wrote: it may not use SPL in other rockchip SOC, so move SUPPORT_SPL and SPL config to rk3288 configuration. Signed-off-by: Lin Huang --- Changes in v1: None arch/arm/Kconfig | 2

Re: [U-Boot] [PATCH v1 03/12] rockchip: serial driver support rk3036

2015-10-22 Thread hl
Hi Simon, On 22/10/15 22:07, Simon Glass wrote: Hi Lin, On 20 October 2015 at 20:37, Lin Huang wrote: Signed-off-by: Lin Huang --- Changes in v1: None drivers/serial/serial_rockchip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/serial/serial_rockchip.c b/d

Re: [U-Boot] [PATCH v1 05/12] rockchip: rk3036: Add clock driver

2015-10-22 Thread hl
Hi Simon, On 22/10/15 22:07, Simon Glass wrote: Hi Lin, On 20 October 2015 at 20:37, Lin Huang wrote: Add a driver for setting up and modifying the various PLLs, peripheral clocks and mmc clocks on RK3036 Signed-off-by: Lin Huang --- Changes in v1: - clean copyright announcement arch/ar