gemini: Generate padded kernel+rootfs images for DIR-685
[openwrt/openwrt.git] / target / linux / gemini / patches-4.19 / 0020-ARM-dts-Augment-DIR-685-partition-table-for-OpenWrt.patch
1 From 854934b0ce8e758ce581f5ddbc30e618ab46fbdb 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 arch/arm/boot/dts/gemini-dlink-dir-685.dts | 5 +++--
13 1 file changed, 3 insertions(+), 2 deletions(-)
14
15 diff --git a/arch/arm/boot/dts/gemini-dlink-dir-685.dts b/arch/arm/boot/dts/gemini-dlink-dir-685.dts
16 index 50ff65d95f26..7db30cc9d189 100644
17 --- a/arch/arm/boot/dts/gemini-dlink-dir-685.dts
18 +++ b/arch/arm/boot/dts/gemini-dlink-dir-685.dts
19 @@ -20,7 +20,7 @@
20 };
21
22 chosen {
23 - bootargs = "console=ttyS0,19200n8 root=/dev/sda1 rw rootwait consoleblank=300";
24 + bootargs = "console=ttyS0,19200n8 consoleblank=300";
25 stdout-path = "uart0:19200n8";
26 };
27
28 @@ -286,7 +286,8 @@
29 * this is called "upgrade" on the vendor system.
30 */
31 partition@40000 {
32 - label = "upgrade";
33 + compatible = "wrg";
34 + label = "firmware";
35 reg = <0x00040000 0x01f40000>;
36 read-only;
37 };
38 --
39 2.20.1
40