ARM: dts: socfpga: use stdout-path for chosen node
PATCH 1/1 ARM: dts: socfpga: use stdout-path for chosen node
Use stdout-path dts property for kernel console.
There were two socfpga boards left not using stdout-path:
socrates and vining. Make sure they match the other boards.
--- arch/arm/boot/dts/socfpga_cyclone5_socrates.dts | 3 ++- arch/arm/boot/dts/socfpga_cyclone5_vining_fpga.dts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-)
arch/arm/boot/dts/socfpga_cyclone5_socrates.dts +2 -1
@@ -22,7 +22,8 @@ compatible = "ebv,socrates", "altr,socfpga-cyclone5", "altr,socfpga"; chosen { - bootargs = "console=ttyS0,115200"; + bootargs = "earlyprintk"; + stdout-path = "serial0:115200n8"; }; memory@0 {
arch/arm/boot/dts/socfpga_cyclone5_vining_fpga.dts +2 -1
@@ -54,7 +54,8 @@ compatible = "samtec,vining", "altr,socfpga-cyclone5", "altr,socfpga"; chosen { - bootargs = "console=ttyS0,115200"; + bootargs = "earlyprintk"; + stdout-path = "serial0:115200n8"; }; memory@0 {
Signature · 1 line
2.17.1
Quoted 30 lines · Simon Goldschmidt
Use stdout-path dts property for kernel console.
There were two socfpga boards left not using stdout-path:
socrates and vining. Make sure they match the other boards.Signed-off-by Simon Goldschmidt <[email protected]>--- arch/arm/boot/dts/socfpga_cyclone5_socrates.dts | 3 ++- arch/arm/boot/dts/socfpga_cyclone5_vining_fpga.dts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-)arch/arm/boot/dts/socfpga_cyclone5_socrates.dts +2
-1@@ -22,7 +22,8 @@ compatible = "ebv,socrates", "altr,socfpga-cyclone5", "altr,socfpga"; chosen { - bootargs = "console=ttyS0,115200"; + bootargs = "earlyprintk"; + stdout-path = "serial0:115200n8"; }; memory@0 {arch/arm/boot/dts/socfpga_cyclone5_vining_fpga.dts +0
-0
arch/arm/boot/dts/socfpga_cyclone5_vining_fpga.dts line 57
Quoted 5 lines
arch/arm/boot/dts/socfpga_cyclone5_vining_fpga.dts +1
-1@@ -54,7 +54,8 @@ compatible = "samtec,vining", "altr,socfpga-cyclone5", "altr,socfpga"; chosen { - bootargs = "console=ttyS0,115200"; + bootargs = "earlyprintk";
Why this earlyprintk ?
Quoted 5 lines
arch/arm/boot/dts/socfpga_cyclone5_vining_fpga.dts +1
-0+ stdout-path = "serial0:115200n8"; }; memory@0 {
Signature · 2 lines
Best regards, Marek Vasut
Quoted 34 lines · Marek Vasut
Quoted 32 lines · Simon Goldschmidt
Use stdout-path dts property for kernel console.
There were two socfpga boards left not using stdout-path:
socrates and vining. Make sure they match the other boards.Signed-off-by Simon Goldschmidt <[email protected]>--- arch/arm/boot/dts/socfpga_cyclone5_socrates.dts | 3 ++- arch/arm/boot/dts/socfpga_cyclone5_vining_fpga.dts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-)arch/arm/boot/dts/socfpga_cyclone5_socrates.dts +2
-1@@ -22,7 +22,8 @@ compatible = "ebv,socrates", "altr,socfpga-cyclone5", "altr,socfpga"; chosen { - bootargs = "console=ttyS0,115200"; + bootargs = "earlyprintk"; + stdout-path = "serial0:115200n8"; }; memory@0 {arch/arm/boot/dts/socfpga_cyclone5_vining_fpga.dts +0
-0@@ -54,7 +54,8 @@ compatible = "samtec,vining", "altr,socfpga-cyclone5", "altr,socfpga";
Quoted 5 lines
arch/arm/boot/dts/socfpga_cyclone5_vining_fpga.dts line 57
Quoted 3 lines
arch/arm/boot/dts/socfpga_cyclone5_vining_fpga.dts +1
-1chosen { - bootargs = "console=ttyS0,115200"; + bootargs = "earlyprintk";Why this earlyprintk ?
The reason is Dinh added that to all socfpga boards in his commit [1] and I wanted the remaining two boards to be the same.
Best Regards,
Simon
Quoted 11 lines
arch/arm/boot/dts/socfpga_cyclone5_vining_fpga.dts line 61
Quoted 6 lines
arch/arm/boot/dts/socfpga_cyclone5_vining_fpga.dts +1
-0+ stdout-path = "serial0:115200n8"; }; memory@0 {--
Best regards,
Marek Vasut
Quoted 35 lines · Simon Goldschmidt
Quoted 34 lines · Marek Vasut
Quoted 32 lines · Simon Goldschmidt
Use stdout-path dts property for kernel console.
There were two socfpga boards left not using stdout-path:
socrates and vining. Make sure they match the other boards.Signed-off-by Simon Goldschmidt <[email protected]>--- arch/arm/boot/dts/socfpga_cyclone5_socrates.dts | 3 ++- arch/arm/boot/dts/socfpga_cyclone5_vining_fpga.dts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-)arch/arm/boot/dts/socfpga_cyclone5_socrates.dts +2
-1@@ -22,7 +22,8 @@ compatible = "ebv,socrates", "altr,socfpga-cyclone5", "altr,socfpga"; chosen { - bootargs = "console=ttyS0,115200"; + bootargs = "earlyprintk"; + stdout-path = "serial0:115200n8"; }; memory@0 {arch/arm/boot/dts/socfpga_cyclone5_vining_fpga.dts +0
-0@@ -54,7 +54,8 @@ compatible = "samtec,vining", "altr,socfpga-cyclone5", "altr,socfpga";
Quoted 8 lines
Quoted 5 lines
arch/arm/boot/dts/socfpga_cyclone5_vining_fpga.dts line 57
Quoted 3 lines
arch/arm/boot/dts/socfpga_cyclone5_vining_fpga.dts +1
-1chosen { - bootargs = "console=ttyS0,115200"; + bootargs = "earlyprintk";Why this earlyprintk ?
The reason is Dinh added that to all socfpga boards in his commit [1] and I wanted the remaining two boards to be the same.
Isn't earlyprintk mostly a debugging aid ?
Signature · 2 lines
Best regards, Marek Vasut
Quoted 41 lines · Marek Vasut
Quoted 40 lines · Simon Goldschmidt
Quoted 38 lines · Marek Vasut
Quoted 30 lines · Simon Goldschmidt
Use stdout-path dts property for kernel console.
There were two socfpga boards left not using stdout-path:
socrates and vining. Make sure they match the other boards.Signed-off-by Simon Goldschmidt <[email protected]>--- arch/arm/boot/dts/socfpga_cyclone5_socrates.dts | 3 ++- arch/arm/boot/dts/socfpga_cyclone5_vining_fpga.dts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-)arch/arm/boot/dts/socfpga_cyclone5_socrates.dts +2
-1@@ -22,7 +22,8 @@ compatible = "ebv,socrates", "altr,socfpga-cyclone5", "altr,socfpga"; chosen { - bootargs = "console=ttyS0,115200"; + bootargs = "earlyprintk"; + stdout-path = "serial0:115200n8"; }; memory@0 {arch/arm/boot/dts/socfpga_cyclone5_vining_fpga.dts +0
-0arch/arm/boot/dts/socfpga_cyclone5_vining_fpga.dts line 57
Quoted 5 lines
arch/arm/boot/dts/socfpga_cyclone5_vining_fpga.dts +1
-1@@ -54,7 +54,8 @@ compatible = "samtec,vining", "altr,socfpga-cyclone5", "altr,socfpga"; chosen { - bootargs = "console=ttyS0,115200"; + bootargs = "earlyprintk";Why this earlyprintk ?
Quoted 4 lines
Quoted 2 lines
The reason is Dinh added that to all socfpga boards in his commit [1] and I wanted the remaining two boards to be the same.
Isn't earlyprintk mostly a debugging aid ?
Indeed.
And the modern way is "earlycon", not "earlyprintk".
Gr{oetje,eeting}s,
Geert
Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
Dinh Nguyen
AppliedQuoted 10 lines · Simon Goldschmidt
Use stdout-path dts property for kernel console.
There were two socfpga boards left not using stdout-path:
socrates and vining. Make sure they match the other boards.Signed-off-by Simon Goldschmidt <[email protected]>--- arch/arm/boot/dts/socfpga_cyclone5_socrates.dts | 3 ++- arch/arm/boot/dts/socfpga_cyclone5_vining_fpga.dts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-)
Applied!
Thanks,
Dinh