2c2ddfaaf45fb2b5734ca8954bcc11239292e27e
[openwrt/staging/chunkeey.git] / target / linux / gemini / patches-4.19 / 0023-ARM-dts-gemini-Mount-root-from-mtdblock3.patch
1 From b40cd2116ea0ba3584db12ab9dab7e02dd1e3333 Mon Sep 17 00:00:00 2001
2 From: Linus Walleij <linus.walleij@linaro.org>
3 Date: Fri, 12 Jul 2019 22:59:39 +0200
4 Subject: [PATCH 2/2] ARM: dts: gemini: Mount root from mtdblock3
5
6 The third mtdblock device named "Application" is where we
7 want to mount our root filesystem.
8
9 Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 ---
11 arch/arm/boot/dts/gemini-nas4220b.dts | 2 +-
12 arch/arm/boot/dts/gemini-sl93512r.dts | 2 +-
13 2 files changed, 2 insertions(+), 2 deletions(-)
14
15 --- a/arch/arm/boot/dts/gemini-nas4220b.dts
16 +++ b/arch/arm/boot/dts/gemini-nas4220b.dts
17 @@ -20,7 +20,7 @@
18 };
19
20 chosen {
21 - bootargs = "console=ttyS0,19200n8";
22 + bootargs = "console=ttyS0,19200n8 root=/dev/mtdblock3 rw rootfstype=squashfs,jffs2 rootwait";
23 stdout-path = &uart0;
24 };
25
26 --- a/arch/arm/boot/dts/gemini-sl93512r.dts
27 +++ b/arch/arm/boot/dts/gemini-sl93512r.dts
28 @@ -24,7 +24,7 @@
29 };
30
31 chosen {
32 - bootargs = "console=ttyS0,19200n8 root=/dev/sda1 rw rootwait";
33 + bootargs = "console=ttyS0,19200n8 root=/dev/mtdblock3 rw rootfstype=squashfs,jffs2 rootwait";
34 stdout-path = &uart0;
35 };
36