mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 01:11:14 +00:00
58acb1dd2c
This adds a bunch of patches for the v6.1 Gemini kernel. For v5.15 this was down to a single upstream patch, but for kernel v6.2 I reworked the USB code for FOTG210, so instead of carrying over the half-baked and incomplete patch from v5.15 I just backported all the v6.2 patches, 31 in total, as it creates full device USB mode for e.g. D-Link DNS-313. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
35 lines
1.1 KiB
Diff
35 lines
1.1 KiB
Diff
From 36ee838bf83c01cff7cb47c7b07be278d2950ac0 Mon Sep 17 00:00:00 2001
|
|
From: Linus Walleij <linus.walleij@linaro.org>
|
|
Date: Mon, 11 Mar 2019 15:44:29 +0100
|
|
Subject: [PATCH 2/2] ARM: dts: Augment DIR-685 partition table for OpenWrt
|
|
|
|
Rename the firmware partition so that the firmware MTD
|
|
splitter will do its job, drop the rootfs arguments as
|
|
the MTD splitter will set this up automatically.
|
|
|
|
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
|
|
---
|
|
--- a/arch/arm/boot/dts/gemini-dlink-dir-685.dts
|
|
+++ b/arch/arm/boot/dts/gemini-dlink-dir-685.dts
|
|
@@ -20,7 +20,7 @@
|
|
};
|
|
|
|
chosen {
|
|
- bootargs = "console=ttyS0,19200n8 root=/dev/sda1 rw rootwait consoleblank=300";
|
|
+ bootargs = "console=ttyS0,19200n8 consoleblank=300";
|
|
stdout-path = "uart0:19200n8";
|
|
};
|
|
|
|
@@ -317,9 +317,9 @@
|
|
* this is called "upgrade" on the vendor system.
|
|
*/
|
|
partition@40000 {
|
|
- label = "upgrade";
|
|
+ compatible = "wrg";
|
|
+ label = "firmware";
|
|
reg = <0x00040000 0x01f40000>;
|
|
- read-only;
|
|
};
|
|
/* RGDB, Residental Gateway Database? */
|
|
partition@1f80000 {
|