"Subrahmanya, Chaithrika" <chaithr...@ti.com> writes:

>> -----Original Message-----
>> From: davinci-linux-open-source-boun...@linux.davincidsp.com
>> [mailto:davinci-linux-open-source-boun...@linux.davincidsp.com] On Behalf
>> Of Subrahmanya, Chaithrika
>> Sent: Monday, January 12, 2009 5:14 PM
>> To: Kevin Hilman; davinci-linux-open-source@linux.davincidsp.com
>> Subject: RE: davinci git updated to v2.6.28
>> 
>> > -----Original Message-----
>> > From: davinci-linux-open-source-
>> > bounces+sudhakar.raj=ti....@linux.davincidsp.com [mailto:davinci-linux-
>> > open-source-bounces+sudhakar.raj=ti....@linux.davincidsp.com] On Behalf
>> Of
>> > Kevin Hilman
>> > Sent: Saturday, January 10, 2009 1:28 PM
>> > To: davinci-linux-open-source@linux.davincidsp.com
>> > Subject: Re: davinci git updated to v2.6.28
>> >
>> > Kevin Hilman <khil...@deeprootsystems.com> writes:
>> >
>> > > DaVinci git has been sync'd with the upstream (omap) tree at
>> > > v2.6.28.  Boot tested a single kernel (davinci_all_defconfig) on
>> > > dm6446, dm355 and dm6467.
>> >
>> > FYI...
>> >
>> > I boot tested on dm6467, but I just now noticed that when using
>> > CONFIG_DEBUG_LL on dm6467 I'm back to getting garbage out the serial
>> > port.  dm355 and dm6446 work fine with CONFIG_DEBUG_LL.
>> >
>> > I haven't yet debugged this further.
>> 
>> This is due to the byte access of UART through the macros in
>> arch/arm/include/asm/hardware/debug-8250.S file. On changing the
>> instructions to
>> 'ldr' and 'str' from 'ldrb' and 'strb' respectively, the debug messages
>> are output.
>> 
>
> 'DM646x requires 32-bit access to UART unlike other DaVinci SoCs'.
> The changes made to arch/arm/include/asm/hardware/debug-8250.S file
> was just to test and a better way to override this behavior is still
> being looked into.

My thoughts...

I think we are going to need a way to create 'stub' assembly functions
that are overwritten at runtime with the device specific ones.

We will need this this low-level debug UART code but also for the
interrupt entry macro with the addition of the CPINTC of the omapl1x.

Kevin


_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to