kirkwood: backport fix Ctera C200 V1 ubi part name to 6.1
authorPawel Dembicki <paweldembicki@gmail.com>
Fri, 8 Dec 2023 08:32:41 +0000 (09:32 +0100)
committerChristian Lamparter <chunkeey@gmail.com>
Fri, 15 Dec 2023 16:59:35 +0000 (17:59 +0100)
From the original Patch:
|In 749237967a12 downstream dts was replaced with upstream accepted
|patch. But in upstream version last partition was called "rootfs"
|instead "ubi". OpenWrt require "ubi" label for ubi rootfs.
|This patch restore proper label.
|
|Fixes: 749237967a12 ("kirkwood: Replace dtses with upstream accepted")
|
|Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
(patch  updated to include 6.1, dropped label properties)
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
target/linux/kirkwood/patches-6.1/114-ctera-c-200-v1.patch

index 23922b8d883b56c557be43961208accf9751bdd1..eb62e1a5ed43f032711c45fff4fe9e32c39f2cce 100644 (file)
                };
  
                led-3 {
-@@ -94,13 +104,15 @@
+@@ -94,13 +104,13 @@
                        gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
                };
  
 -              led-4 {
 +              led_status_red: led-4 {
-+                      label = "red:status";
                        function = LED_FUNCTION_STATUS;
                        color = <LED_COLOR_ID_RED>;
                        gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
  
 -              led-5 {
 +              led_status_green: led-5 {
-+                      label = "green:status";
                        function = LED_FUNCTION_STATUS;
                        color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
+@@ -240,7 +250,7 @@
+       };
+       partition@7a00000 {
+-              label = "rootfs";
++              label = "ubi";
+               reg = <0x7a00000 0x8600000>;
+       };
+ };