From: Ian Campbell Subject: Re: [PATCH] xen/arm: add OMAP5432 UART support for early_printk Date: Thu, 27 Jun 2013 09:22:43 +0100 Message-ID: <1372321363.28443.14.camel@zakaz.uk.xensource.com> References: <1372317602-24810-1-git-send-email-baozich@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1372317602-24810-1-git-send-email-baozich@gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Chen Baozi Cc: Bamvor Jian Zhang , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Thu, 2013-06-27 at 15:20 +0800, Chen Baozi wrote: > To enable it, add "CONFIG_EARLY_PRINTK := omap5432" to Config.mk >From the register offsets this looks like it might be a somewhat 8250 compatible UART logic block? Bamvor also implemented a driver for an 8250 like device on the sun6i[0]. Rather than having multiple drivers for similar platforms I asked him to produce a single configurable 8250 driver. Perhaps you could work together to make sure this works for you both? Thanks, Ian. [0] see "xen/arm: introduce Allwinner sun6i SOC basic support" <1370004814-30686-3-git-send-email-bjzhang@suse.com>. > +ifeq ($(CONFIG_EARLY_PRINTK), omap5432) > +EARLY_PRINTK_INC := omap > +EARLY_PRINTK_INIT_UART := y Does your bootloader not setup the UART? Preferably we would simply inherit that setup (avoids more code and mismatched baud rate etc). Ian.