[U-Boot] NS16550 Register structure

Pedanekar, Hemant hemantp at ti.com
Thu Jan 21 12:58:33 CET 2010


Hi Detlev,

There is no abort on ARM and also nothing gets to the console when UART register is accessed.

Do you think fixing this outside uart driver is possible? Maybe overriding UART register structure declaration or using some compiler magic? Please suggest.


Thanks
-
Hemant
 

> -----Original Message-----
> From: Detlev Zundel [mailto:dzu at denx.de]
> Sent: Tuesday, January 19, 2010 6:34 PM
> To: Pedanekar, Hemant
> Cc: Wolfgang Denk; u-boot at lists.denx.de
> Subject: Re: [U-Boot] NS16550 Register structure
> 
> Hi Hemant,
> 
> > Only 32-bit access is supported for UART MMRs on DM6467 and hence need
> > to use STR/LDR instead of STRB/LDRB.
> 
> Argh.  Why do hw people always think software can fix anything?  So out
> of interest - do you get a bus fault or what?  Maybe we can fixup such
> non-aligned accesses outside of the serial driver?
> 
> I'm really reluctant to topple over an infratstructure working on _many_
> differenty hardware architectures and platforms only for one special
> case which may be considered to be buggy hardware...
> 
> Cheers
>   Detlev
> 
> --
> While  the list of  different methods is not  endless, it is certainly
> pretty long, with new ones being dreamed up all the time. Fortunately,
> space limitations prevent us from looking at all of them.
>                                             -- Andrew S. Tanenbaum
> --
> DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de


More information about the U-Boot mailing list