From 4ea0b3d2ed152f0f248dbd2f564857693f473875 Mon Sep 17 00:00:00 2001 From: Vladimir Barinov Date: Mon, 8 Jan 2018 15:44:41 +0300 Subject: RDRIVE: set console to serial0 alias This avoid adding extra line in /etc/securetty for RDRIVE, since first serial device was SCIF2 (ttySC0) and the SCIF1 is second (ttySC1). This patch removes tty on SCIF2 and enbles only SCIF1 console. Hene it is possible to use common ULCB rootfs without changing of securetty. --- .../0040-arm64-dts-renesas-add-ADAS-boards.patch | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'meta-rcar-gen3-adas') diff --git a/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0040-arm64-dts-renesas-add-ADAS-boards.patch b/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0040-arm64-dts-renesas-add-ADAS-boards.patch index c692768..8603c0b 100644 --- a/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0040-arm64-dts-renesas-add-ADAS-boards.patch +++ b/meta-rcar-gen3-adas/recipes-kernel/linux/linux-renesas/0040-arm64-dts-renesas-add-ADAS-boards.patch @@ -6526,7 +6526,7 @@ new file mode 100644 index 0000000..d50ff7a --- /dev/null +++ b/arch/arm64/boot/dts/renesas/r8a7795-es1-h3ulcb-had.dtsi -@@ -0,0 +1,225 @@ +@@ -0,0 +1,221 @@ +/* + * Device Tree Source for the H3ULCB.HAD board on r8a7795 ES1.x + * @@ -6549,15 +6549,11 @@ index 0000000..d50ff7a + model = "Renesas H3ULCB.HAD board based on r8a7795"; + + aliases { -+ serial1 = &scif1; ++ serial0 = &scif1; + spi1 = &spi0_gpio; + spi2 = &spi1_gpio; + }; + -+ chosen { -+ stdout-path = "serial1:115200n8"; -+ }; -+ + spi0_gpio: spi_gpio@0 { + compatible = "spi-gpio"; + num-chipselects = <1>; @@ -8076,7 +8072,7 @@ new file mode 100644 index 0000000..4a00426 --- /dev/null +++ b/arch/arm64/boot/dts/renesas/r8a7795-h3ulcb-had.dtsi -@@ -0,0 +1,219 @@ +@@ -0,0 +1,215 @@ +/* + * Device Tree Source for the H3ULCB.HAD board on r8a7795 + * @@ -8099,15 +8095,11 @@ index 0000000..4a00426 + model = "Renesas H3ULCB.HAD board based on r8a7795"; + + aliases { -+ serial1 = &scif1; ++ serial0 = &scif1; + spi1 = &spi0_gpio; + spi2 = &spi1_gpio; + }; + -+ chosen { -+ stdout-path = "serial1:115200n8"; -+ }; -+ + spi0_gpio: spi_gpio@0 { + compatible = "spi-gpio"; + num-chipselects = <1>; -- cgit 1.2.3-korg