ARM: dts: sun6i: Add serial0 alias and stdout-path to a31s-primo81.dts
Subsystems (2)
PATCH 1/1 ARM: dts: sun6i: Add serial0 alias and stdout-path to a31s-primo81.dts
u-boot uses the kernel as the canonical source for its sunxi dts files and u-boot needs these.
--- arch/arm/boot/dts/sun6i-a31s-primo81.dts | 8 ++++++++ 1 file changed, 8 insertions(+)
arch/arm/boot/dts/sun6i-a31s-primo81.dts +8 -0
@@ -53,6 +53,14 @@ / { model = "MSI Primo81 tablet"; compatible = "msi,primo81", "allwinner,sun6i-a31s"; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; }; &cpu0 {
Signature · 1 line
2.7.2
PATCH 1/1 ARM: dts: sun6i: Add serial0 alias and stdout-path to a31s-primo81.dts
Quoted 4 lines · Hans de Goede
u-boot uses the kernel as the canonical source for its sunxi dts files and u-boot needs these.
Signed-off-by Hans de Goede <[email protected]>
Maxime Ripard
AppliedPATCH 1/1 ARM: dts: sun6i: Add serial0 alias and stdout-path to a31s-primo81.dts
Quoted 7 lines · Chen-Yu Tsai
Quoted 4 lines · Hans de Goede
u-boot uses the kernel as the canonical source for its sunxi dts files and u-boot needs these.
Signed-off-by Hans de Goede <[email protected]>Acked-by Chen-Yu Tsai <[email protected]>
Queued, thanks!
Maxime
Signature · 10 lines
Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160318/3e95778f/attachment-0001.sig>
Hi,
Quoted 10 lines · Maxime Ripard
Quoted 7 lines · Chen-Yu Tsai
Quoted 4 lines · Hans de Goede
u-boot uses the kernel as the canonical source for its sunxi dts files and u-boot needs these.
Signed-off-by Hans de Goede <[email protected]>Acked-by Chen-Yu Tsai <[email protected]>Queued, thanks!
I just got an of-list mail from Karsten Merker that you nacked the addition if this during the initial submission, because there are no accessible uart test pads on this tablet.
In that case the proper fix would be to change the u-boot defconfig to have:
# CONFIG_REQUIRE_SERIAL_CONSOLE is not set
Which will stop u-boot from panicking (with nowhere to print the panic msg) when it has no stdout-path.
Can you unqueue this one until we've figured out what the best fix is ?
Thanks & Regards,
Hans
Quoted 18 lines · Hans de Goede
Hi,
Quoted 10 lines · Maxime Ripard
Quoted 7 lines · Chen-Yu Tsai
Quoted 4 lines · Hans de Goede
u-boot uses the kernel as the canonical source for its sunxi dts files and u-boot needs these.
Signed-off-by Hans de Goede <[email protected]>Acked-by Chen-Yu Tsai <[email protected]>Queued, thanks!
I just got an of-list mail from Karsten Merker that you nacked the addition if this during the initial submission, because there are no accessible uart test pads on this tablet.
Quoted 8 lines
In that case the proper fix would be to change the u-boot defconfig to have:
#
CONFIG_REQUIRE_SERIAL_CONSOLEis not setWhich will stop u-boot from panicking (with nowhere to print the panic msg) when it has no stdout-path.
Can you unqueue this one until we've figured out what the best fix is ?
Done, thanks!
Maxime
Signature · 10 lines
Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20160321/1933a8a8/attachment.sig>