mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 17:01: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>
55 lines
1.4 KiB
Diff
55 lines
1.4 KiB
Diff
From 0e733f5af628210f372585e431504a7024e7b571 Mon Sep 17 00:00:00 2001
|
|
From: Linus Walleij <linus.walleij@linaro.org>
|
|
Date: Sun, 4 Dec 2022 20:02:29 +0100
|
|
Subject: [PATCH 26/29] ARM: dts: gemini: wbd111: Use RedBoot partion parser
|
|
|
|
This is clearly a RedBoot partitioned device with 0x20000
|
|
sized erase blocks.
|
|
|
|
Link: https://lore.kernel.org/r/20221204190230.3345590-2-linus.walleij@linaro.org
|
|
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
|
|
---
|
|
--- a/arch/arm/boot/dts/gemini-wbd111.dts
|
|
+++ b/arch/arm/boot/dts/gemini-wbd111.dts
|
|
@@ -86,36 +86,11 @@
|
|
status = "okay";
|
|
/* 8MB of flash */
|
|
reg = <0x30000000 0x00800000>;
|
|
- #address-cells = <1>;
|
|
- #size-cells = <1>;
|
|
|
|
- partition@0 {
|
|
- label = "RedBoot";
|
|
- reg = <0x00000000 0x00020000>;
|
|
- read-only;
|
|
- };
|
|
- partition@20000 {
|
|
- label = "kernel";
|
|
- reg = <0x00020000 0x00100000>;
|
|
- };
|
|
- partition@120000 {
|
|
- label = "rootfs";
|
|
- reg = <0x00120000 0x006a0000>;
|
|
- };
|
|
- partition@7c0000 {
|
|
- label = "VCTL";
|
|
- reg = <0x007c0000 0x00010000>;
|
|
- read-only;
|
|
- };
|
|
- partition@7d0000 {
|
|
- label = "cfg";
|
|
- reg = <0x007d0000 0x00010000>;
|
|
- read-only;
|
|
- };
|
|
- partition@7e0000 {
|
|
- label = "FIS";
|
|
- reg = <0x007e0000 0x00010000>;
|
|
- read-only;
|
|
+ partitions {
|
|
+ compatible = "redboot-fis";
|
|
+ /* Eraseblock at 0x7e0000 */
|
|
+ fis-index-block = <0x3f>;
|
|
};
|
|
};
|
|
|