mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 14:13:16 +00:00
37 lines
1.1 KiB
Diff
37 lines
1.1 KiB
Diff
|
From b40cd2116ea0ba3584db12ab9dab7e02dd1e3333 Mon Sep 17 00:00:00 2001
|
||
|
From: Linus Walleij <linus.walleij@linaro.org>
|
||
|
Date: Fri, 12 Jul 2019 22:59:39 +0200
|
||
|
Subject: [PATCH 2/2] ARM: dts: gemini: Mount root from mtdblock3
|
||
|
|
||
|
The third mtdblock device named "Application" is where we
|
||
|
want to mount our root filesystem.
|
||
|
|
||
|
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
|
||
|
---
|
||
|
arch/arm/boot/dts/gemini-nas4220b.dts | 2 +-
|
||
|
arch/arm/boot/dts/gemini-sl93512r.dts | 2 +-
|
||
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
||
|
|
||
|
--- a/arch/arm/boot/dts/gemini-nas4220b.dts
|
||
|
+++ b/arch/arm/boot/dts/gemini-nas4220b.dts
|
||
|
@@ -20,7 +20,7 @@
|
||
|
};
|
||
|
|
||
|
chosen {
|
||
|
- bootargs = "console=ttyS0,19200n8";
|
||
|
+ bootargs = "console=ttyS0,19200n8 root=/dev/mtdblock3 rw rootfstype=squashfs,jffs2 rootwait";
|
||
|
stdout-path = &uart0;
|
||
|
};
|
||
|
|
||
|
--- a/arch/arm/boot/dts/gemini-sl93512r.dts
|
||
|
+++ b/arch/arm/boot/dts/gemini-sl93512r.dts
|
||
|
@@ -24,7 +24,7 @@
|
||
|
};
|
||
|
|
||
|
chosen {
|
||
|
- bootargs = "console=ttyS0,19200n8 root=/dev/sda1 rw rootwait";
|
||
|
+ bootargs = "console=ttyS0,19200n8 root=/dev/mtdblock3 rw rootfstype=squashfs,jffs2 rootwait";
|
||
|
stdout-path = &uart0;
|
||
|
};
|
||
|
|