public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom <Tom.Rix@windriver.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 5/6] ZOOM2 Add serial support.
Date: Fri, 08 May 2009 15:16:45 -0500	[thread overview]
Message-ID: <4A04932D.90900@windriver.com> (raw)
In-Reply-To: <20090508193643.GB28925@game.jcrosoft.org>

Jean-Christophe PLAGNIOL-VILLARD wrote:
> On 16:28 Thu 07 May     , Tom Rix wrote:
>   
>> Zoom2 serial is in general supplied by one of the 4 UARTS on the debug board.
>> The default serial is from the USB connector on left side of the debug board.
>> The USB connector will produce 2 of the 4 UARTS.  On your host pick the first
>> enumeration.
>>
>> The serial port set up is the same with Zoom1.
>> Baud rate 115200, 8 bit data, no parity, 1 stop bit, no flow.
>>
>> The kernel bootargs are
>> console=ttyS3,115200n8
>>
>> Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
>> ---
>>  board/omap3/zoom2/Makefile       |    3 +-
>>  board/omap3/zoom2/zoom2.c        |   35 ++++++++++
>>  board/omap3/zoom2/zoom2_serial.c |  130 ++++++++++++++++++++++++++++++++++++++
>>  board/omap3/zoom2/zoom2_serial.h |   75 ++++++++++++++++++++++
>>  common/serial.c                  |    2 +
>>  drivers/serial/ns16550.c         |    4 +-
>>  include/configs/omap3_zoom2.h    |   26 ++++----
>>  include/serial.h                 |    7 ++
>>  8 files changed, 266 insertions(+), 16 deletions(-)
>>  create mode 100644 board/omap3/zoom2/zoom2_serial.c
>>  create mode 100644 board/omap3/zoom2/zoom2_serial.h
>>
>> diff --git a/board/omap3/zoom2/Makefile b/board/omap3/zoom2/Makefile
>> index b8fa5a7..d27990c 100644
>> --- a/board/omap3/zoom2/Makefile
>> +++ b/board/omap3/zoom2/Makefile
>> @@ -26,7 +26,8 @@ include $(TOPDIR)/config.mk
>>  LIB	= $(obj)lib$(BOARD).a
>>  
>>  COBJS	:= zoom2.o \
>> -	debug_board.o
>> +	debug_board.o \
>> +	zoom2_serial.o
>>  
>>  SRCS	:= $(COBJS:.o=.c)
>>  OBJS	:= $(addprefix $(obj),$(COBJS))
>> diff --git a/board/omap3/zoom2/zoom2.c b/board/omap3/zoom2/zoom2.c
>> index 0700c56..dd0086c 100644
>> --- a/board/omap3/zoom2/zoom2.c
>> +++ b/board/omap3/zoom2/zoom2.c
>> @@ -30,10 +30,29 @@
>>   */
>>  #include <common.h>
>>  #include <asm/io.h>
>> +#include <asm/arch/mem.h>
>>  #include <asm/arch/mux.h>
>>  #include <asm/arch/sys_proto.h>
>>  #include <asm/mach-types.h>
>>  #include "zoom2.h"
>> +#include "zoom2_serial.h"
>> +
>> +/*
>> + * This the the zoom2, board specific, gpmc configuration for the
>> + * quad uart on the debug board.   The more general gpmc configurations
>> + * are setup at the cpu level in cpu/arm_cortexa8/omap3/mem.c
>> + */
>> +extern void enable_gpmc_config(u32 *gpmc_config, gpmc_csx_t *gpmc_cs_base,
>> +			       u32 base, u32 size);
>> +
>> +static u32 gpmc_serial_TL16CP754C[GPMC_MAX_REG] = {
>> +	0x00011000,
>> +	0x001F1F01,
>> +	0x00080803,
>> +	0x1D091D09,
>> +	0x041D1F1F,
>> +	0x1D0904C4, 0
>> +};
>>  
>>     
> Any chance to have comment at least about these value?
>   
Sorry. I was given these numbers. I asked and did not get a reply.
I will ask again.

> Best Regards,
> J.
>   

  reply	other threads:[~2009-05-08 20:16 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-07 21:28 [U-Boot] [PATCH 1/6] OMAP Consolidate common u-boot.lds to cpu layer Tom Rix
2009-05-07 21:28 ` [U-Boot] [PATCH 2/6] ZOOM2 Add initial support for Zoom2 Tom Rix
2009-05-07 21:28   ` [U-Boot] [PATCH 3/6] OMAP3 Port kernel omap gpio interface Tom Rix
2009-05-07 21:28     ` [U-Boot] [PATCH 4/6] ZOOM2 Add support for debug board detection Tom Rix
2009-05-07 21:28       ` [U-Boot] [PATCH 5/6] ZOOM2 Add serial support Tom Rix
2009-05-07 21:28         ` [U-Boot] [PATCH 6/6] ZOOM2 Add led support Tom Rix
2009-05-08 19:37           ` Jean-Christophe PLAGNIOL-VILLARD
2009-05-08 19:36         ` [U-Boot] [PATCH 5/6] ZOOM2 Add serial support Jean-Christophe PLAGNIOL-VILLARD
2009-05-08 20:16           ` Tom [this message]
2009-05-15 21:16           ` Tom
2009-05-16 10:25             ` Jean-Christophe PLAGNIOL-VILLARD
2009-05-16 11:39               ` Tom
2009-05-08 17:00     ` [U-Boot] [PATCH 3/6] OMAP3 Port kernel omap gpio interface Jean-Christophe PLAGNIOL-VILLARD
2009-05-08 17:48       ` Tom
2009-05-08 16:56   ` [U-Boot] [PATCH 2/6] ZOOM2 Add initial support for Zoom2 Jean-Christophe PLAGNIOL-VILLARD
2009-05-08 16:55 ` [U-Boot] [PATCH 1/6] OMAP Consolidate common u-boot.lds to cpu layer Jean-Christophe PLAGNIOL-VILLARD

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=4A04932D.90900@windriver.com \
    --to=tom.rix@windriver.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