aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/orion/patches-4.4/101-wnr854t_partition_map.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2016-11-29 17:09:56 -0800
committerFelix Fietkau <nbd@nbd.name>2016-12-04 11:41:51 +0100
commitda5155b1a5f3f6c042b18944f1718dbbe03b74fa (patch)
treeffe356b9c5224a1c70d88d13d48dc9ad1b0898ac /target/linux/orion/patches-4.4/101-wnr854t_partition_map.patch
parentcec7e661e7a7e30de00607df5772510b30eb5dad (diff)
downloadupstream-da5155b1a5f3f6c042b18944f1718dbbe03b74fa.tar.gz
upstream-da5155b1a5f3f6c042b18944f1718dbbe03b74fa.tar.bz2
upstream-da5155b1a5f3f6c042b18944f1718dbbe03b74fa.zip
orion: Add support for 4.4 kernel
Patches and configuration apply just fine on the Marvell Orion target. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'target/linux/orion/patches-4.4/101-wnr854t_partition_map.patch')
-rw-r--r--target/linux/orion/patches-4.4/101-wnr854t_partition_map.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/target/linux/orion/patches-4.4/101-wnr854t_partition_map.patch b/target/linux/orion/patches-4.4/101-wnr854t_partition_map.patch
new file mode 100644
index 0000000000..881cfb773e
--- /dev/null
+++ b/target/linux/orion/patches-4.4/101-wnr854t_partition_map.patch
@@ -0,0 +1,25 @@
+--- a/arch/arm/mach-orion5x/wnr854t-setup.c
++++ b/arch/arm/mach-orion5x/wnr854t-setup.c
+@@ -57,15 +57,19 @@ static struct mtd_partition wnr854t_nor_
+ {
+ .name = "kernel",
+ .offset = 0x00000000,
+- .size = 0x00100000,
++ .size = 0x00140000,
+ }, {
+ .name = "rootfs",
+- .offset = 0x00100000,
+- .size = 0x00660000,
++ .offset = 0x00140000,
++ .size = 0x00620000,
+ }, {
+ .name = "uboot",
+ .offset = 0x00760000,
+ .size = 0x00040000,
++ }, {
++ .name = "image", // for sysupgrade
++ .offset = 0x00000000,
++ .size = 0x00760000,
+ },
+ };
+