linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Debug UART for arm64 ?
@ 2015-09-26  6:24 Masahiro Yamada
  2015-09-26  7:02 ` Leo Yan
  0 siblings, 1 reply; 3+ messages in thread
From: Masahiro Yamada @ 2015-09-26  6:24 UTC (permalink / raw)
  To: linux-arm-kernel

Hi.


Forgive me if I am asking a silly question.


I will have to port ARM64 Linux on our new SoC.
This is my first work on ARM64 Linux,
so I have no experience with it yet.

When I worked on ARM32 Linux porting for the first time,
lowlevel-debug UART (CONFIG_DEBUG_LL) was very useful for me.

With my quick search under arch/arm64/ directory,
I could not find an equivalent one for ARM64.


Is debug UART available for ARM64?
Or, is there any other recommended easy-to-use debug facility
when something like a JTAG-debugger is unavailable.




-- 
Best Regards
Masahiro Yamada

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Debug UART for arm64 ?
  2015-09-26  6:24 Debug UART for arm64 ? Masahiro Yamada
@ 2015-09-26  7:02 ` Leo Yan
  2015-09-27  7:49   ` Masahiro Yamada
  0 siblings, 1 reply; 3+ messages in thread
From: Leo Yan @ 2015-09-26  7:02 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

On Sat, Sep 26, 2015 at 03:24:35PM +0900, Masahiro Yamada wrote:
> Forgive me if I am asking a silly question.
> 
> 
> I will have to port ARM64 Linux on our new SoC.
> This is my first work on ARM64 Linux,
> so I have no experience with it yet.
> 
> When I worked on ARM32 Linux porting for the first time,
> lowlevel-debug UART (CONFIG_DEBUG_LL) was very useful for me.
> 
> With my quick search under arch/arm64/ directory,
> I could not find an equivalent one for ARM64.
> 
> 
> Is debug UART available for ARM64?
> Or, is there any other recommended easy-to-use debug facility
> when something like a JTAG-debugger is unavailable.

drivers/tty/serial/earlycon.c is like what you are looking for.

Thanks,
Leo Yan

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Debug UART for arm64 ?
  2015-09-26  7:02 ` Leo Yan
@ 2015-09-27  7:49   ` Masahiro Yamada
  0 siblings, 0 replies; 3+ messages in thread
From: Masahiro Yamada @ 2015-09-27  7:49 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Leo,


2015-09-26 16:02 GMT+09:00 Leo Yan <leo.yan@linaro.org>:
> Hi,
>
> On Sat, Sep 26, 2015 at 03:24:35PM +0900, Masahiro Yamada wrote:
>> Forgive me if I am asking a silly question.
>>
>>
>> I will have to port ARM64 Linux on our new SoC.
>> This is my first work on ARM64 Linux,
>> so I have no experience with it yet.
>>
>> When I worked on ARM32 Linux porting for the first time,
>> lowlevel-debug UART (CONFIG_DEBUG_LL) was very useful for me.
>>
>> With my quick search under arch/arm64/ directory,
>> I could not find an equivalent one for ARM64.
>>
>>
>> Is debug UART available for ARM64?
>> Or, is there any other recommended easy-to-use debug facility
>> when something like a JTAG-debugger is unavailable.
>
> drivers/tty/serial/earlycon.c is like what you are looking for.


I will try this.

Thanks!




-- 
Best Regards
Masahiro Yamada

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-09-27  7:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-26  6:24 Debug UART for arm64 ? Masahiro Yamada
2015-09-26  7:02 ` Leo Yan
2015-09-27  7:49   ` Masahiro Yamada

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).