99e0d2731da48867f657243b732ba66a41b9523e
[openwrt/openwrt.git] / target / linux / gemini / patches-6.1 / 300-ARM-dts-Augment-DIR-685-partition-table-for-OpenWrt.patch
1 From 36ee838bf83c01cff7cb47c7b07be278d2950ac0 Mon Sep 17 00:00:00 2001
2 From: Linus Walleij <linus.walleij@linaro.org>
3 Date: Mon, 11 Mar 2019 15:44:29 +0100
4 Subject: [PATCH 2/2] ARM: dts: Augment DIR-685 partition table for OpenWrt
5
6 Rename the firmware partition so that the firmware MTD
7 splitter will do its job, drop the rootfs arguments as
8 the MTD splitter will set this up automatically.
9
10 Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
11 ---
12 --- a/arch/arm/boot/dts/gemini-dlink-dir-685.dts
13 +++ b/arch/arm/boot/dts/gemini-dlink-dir-685.dts
14 @@ -20,7 +20,7 @@
15 };
16
17 chosen {
18 - bootargs = "console=ttyS0,19200n8 root=/dev/sda1 rw rootwait consoleblank=300";
19 + bootargs = "console=ttyS0,19200n8 consoleblank=300";
20 stdout-path = "uart0:19200n8";
21 };
22
23 @@ -317,9 +317,9 @@
24 * this is called "upgrade" on the vendor system.
25 */
26 partition@40000 {
27 - label = "upgrade";
28 + compatible = "wrg";
29 + label = "firmware";
30 reg = <0x00040000 0x01f40000>;
31 - read-only;
32 };
33 /* RGDB, Residental Gateway Database? */
34 partition@1f80000 {