Hi Suravee,
[...]
+ chosen {
+ linux,stdout-path = "console=ttyAMA0,115200 earlycon=pl011,0xe1010000";
The stdout-path property should just be a path to the UART node. It's
not a direct replacement for /chosen/bootargs.
This should be (assuming you fix up the label above):
stdout-path = &serial0;
That will give us earlycon if "earlycon" (with no arguments) is provided
on the command line, and should set up that UART as the console. There's
no need for the "linux," prefix now either.
Unfortuantely, I believe that the UART rate will get changed when the
real PL011 driver registers, unless the rate is explicitly provided on
the command line. It might be worth looking into retaining the
configured rate somehow indepentent of bootargs (unless overriden).
Thanks,
Mark.