public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: hl <hl@rock-chips.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v4 14/20] rockchip: add early uart driver
Date: Tue, 10 Nov 2015 08:44:46 +0800	[thread overview]
Message-ID: <56413DFE.4010305@rock-chips.com> (raw)
In-Reply-To: <CAPnjgZ3wCLm40HU1wvZPp1ZSyQq+_DCDi6XTsEGfd9SJ_wJFgw@mail.gmail.com>

Hi Simon,

On 10/11/15 04:24, Simon Glass wrote:
> Hi Lin,
>
> On 9 November 2015 at 00:02, Lin Huang <hl@rock-chips.com> wrote:
>> add early uart driver so we can print debug message in
>> SPL stage
>>
>> Signed-off-by: Lin Huang <hl@rock-chips.com>
>> ---
>> Changes in v1: None
>> Changes in v2: None
>> Changes in v3:
>> - pass uart base address to rk_uart_init() function
>> Changes in v4: None
>>
>>   arch/arm/include/asm/arch-rockchip/uart.h | 44 ++++++++++++++++++++++++
>>   arch/arm/mach-rockchip/Makefile           |  1 +
>>   arch/arm/mach-rockchip/rk_early_print.c   | 56 +++++++++++++++++++++++++++++++
>>   3 files changed, 101 insertions(+)
>>   create mode 100644 arch/arm/include/asm/arch-rockchip/uart.h
>>   create mode 100644 arch/arm/mach-rockchip/rk_early_print.c
>>
> Can you instead use the DEBUG_UART feature? It should already be
> supported for Rockchip if you enable that option and provide the
> settings,
     but it should support fdt I want to use DEBUG_UART feature, but i 
disable it in SPL since
     rk3036 sram size, so i implentment a uart driver, so we can use 
debug uart in SPL.
>
> Regards,
> Simon
>
>
>

-- 
Lin Huang

  reply	other threads:[~2015-11-10  0:44 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-09  8:02 [U-Boot] [PATCH v4 00/20] Bring up rk3036 uboot Lin Huang
2015-11-09  8:02 ` [U-Boot] [PATCH v4 01/20] rockchip: add timer driver Lin Huang
2015-11-09  8:02 ` [U-Boot] [PATCH v4 02/20] rockchip: move SYS_MALLOC_F_LEN to rk3288 own Kconfig Lin Huang
2015-11-09 20:23   ` Simon Glass
2015-11-09  8:02 ` [U-Boot] [PATCH v4 03/20] rockchip: rename board-spl.c to rk3288-board-spl.c Lin Huang
2015-11-09 20:23   ` Simon Glass
2015-11-09  8:02 ` [U-Boot] [PATCH v4 04/20] rockchip: add config decide whether to build common.c Lin Huang
2015-11-09 20:24   ` Simon Glass
2015-11-09  8:02 ` [U-Boot] [PATCH v4 05/20] dm: core: Add SPL Kconfig for REGMAP and SYSCON Lin Huang
2015-11-09 20:23   ` Simon Glass
2015-11-09  8:02 ` [U-Boot] [PATCH v4 06/20] rockchip: serial driver support rk3036 Lin Huang
2015-11-09 20:23   ` Simon Glass
2015-11-09  8:02 ` [U-Boot] [PATCH v4 07/20] rockchip: Bring in RK3036 device tree file includes and bindings Lin Huang
2015-11-09 20:23   ` Simon Glass
2015-11-09  8:02 ` [U-Boot] [PATCH v4 08/20] rockchip: rk3036: Add clock driver Lin Huang
2015-11-09 20:23   ` Simon Glass
2015-11-09  8:02 ` [U-Boot] [PATCH v4 09/20] rockchip: rk3036: Add header files for GRF Lin Huang
2015-11-09 20:23   ` Simon Glass
2015-11-09  8:02 ` [U-Boot] [PATCH v4 10/20] rockchip: rk3036: Add Soc reset driver Lin Huang
2015-11-09 20:23   ` Simon Glass
2015-11-09  8:02 ` [U-Boot] [PATCH v4 11/20] rockchip: rk3036: Add a simple syscon driver Lin Huang
2015-11-09 20:23   ` Simon Glass
2015-11-09  8:02 ` [U-Boot] [PATCH v4 12/20] rockchip: rk3036: Add pinctrl driver Lin Huang
2015-11-09 20:23   ` Simon Glass
2015-11-09  8:02 ` [U-Boot] [PATCH v4 13/20] rockchip: Add an rk3036 MMC driver Lin Huang
2015-11-09 20:23   ` Simon Glass
2015-11-10  1:02     ` hl
2015-11-09  8:02 ` [U-Boot] [PATCH v4 14/20] rockchip: add early uart driver Lin Huang
2015-11-09 20:24   ` Simon Glass
2015-11-10  0:44     ` hl [this message]
2015-11-09  8:02 ` [U-Boot] [PATCH v4 15/20] rockchip: add rk3036 sdram driver Lin Huang
2015-11-09 20:24   ` Simon Glass
2015-11-09  8:02 ` [U-Boot] [PATCH v4 16/20] rockchip: rk3036: Add core Soc start-up code Lin Huang
2015-11-09 20:24   ` Simon Glass
2015-11-09  8:02 ` [U-Boot] [PATCH v4 17/20] rockchip: Add basic support for evb-rk3036 board Lin Huang
2015-11-09 20:24   ` Simon Glass
2015-11-09  8:02 ` [U-Boot] [PATCH v4 18/20] rockchip: Add max init size & chip tag configs Lin Huang
2015-11-09 20:24   ` Simon Glass
2015-11-09  8:02 ` [U-Boot] [PATCH v4 19/20] rockchip: Add support for rk's second level loader Lin Huang
2015-11-09 20:24   ` Simon Glass
2015-11-09  8:02 ` [U-Boot] [PATCH v4 20/20] rockchip: doc: show packet rk3036 uboot image Lin Huang
2015-11-09 20:24   ` Simon Glass
2015-11-10  0:36     ` hl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56413DFE.4010305@rock-chips.com \
    --to=hl@rock-chips.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox