<br><br>On Friday, February 26, 2016, <<a href="mailto:victorascroft@gmail.com">victorascroft@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
On 16-02-26 00:55:40, Woody Wu wrote:<br>
> Hi,<br>
><br>
> It seems, at least in 4.4.2 kernel, earlyprintk parameter supports<br>
> something like 's3c24xx,<addr>'. But I dont know where to find out the addr<br>
> value of the first uart port on my *s3c2416* based board. Can someone<br>
> please tell me?<br>
><br>
> Also, I desire to know if the earlycon parameter supports the Samsung<br>
> S3C24xx uarts, if so, what should the value of the parameter look like?<br>
<br>
Have a look in the documentation here<br>
<a href="https://www.kernel.org/doc/Documentation/kernel-parameters.txt" target="_blank">https://www.kernel.org/doc/Documentation/kernel-parameters.txt</a><br>
<br>
The kernels kernel-parameter.txt documentation file lists the supported drivers.<br>
<br>
Generally the UART0 port is used for debugging but I guess there is<br>
no such hard and fast rule.<br>
<br>
For your particular board, you can check which UART port is used<br>
as the debug serial console and then get the address for the concerned<br>
UART by checking the relevant dtsi file in<br>
arch/arm/boot/dts/s3c24xx.dtsi or perhaps one of the exynosX.dtsi files?<br>
<br>
UART0 port seems to have address of 0x50000000?<br>
<br>
Regards,<br>
Sanchayan.</blockquote><div><br></div><div>Thanks for you pointing me to the dtsi files, very informational ! And, yes, the uart0 address os 0x50000000 and I has made it work via 'earlyprintk=serial,0x50000000,115200'. By the way, is this a physical address or mmap-ed address? </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
><br>
> Thank in advance,<br>
><br>
> -woody<br>
><br>
><br>
> --<br>
> Life is the only flaw in an otherwise perfect nonexistence<br>
> -- Schopenhauer<br>
><br>
> woody<br>
> public key at <a href="http://subkeys.pgp.net:11371" target="_blank">http://subkeys.pgp.net:11371</a> (<a href="javascript:;" onclick="_e(event, 'cvml', 'narkewoody@gmail.com')">narkewoody@gmail.com</a>)<br>
<br>
> _______________________________________________<br>
> Kernelnewbies mailing list<br>
> <a href="javascript:;" onclick="_e(event, 'cvml', 'Kernelnewbies@kernelnewbies.org')">Kernelnewbies@kernelnewbies.org</a><br>
> <a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
<br>
</blockquote><br><br>-- <br>Life is the only flaw in an otherwise perfect nonexistence<br> -- Schopenhauer<br><br>woody<br>public key at <a href="http://subkeys.pgp.net:11371">http://subkeys.pgp.net:11371</a> (<a href="mailto:narkewoody@gmail.com">narkewoody@gmail.com</a>)<br><br><br>