aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/orion/patches-4.9/101-wnr854t_partition_map.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2017-10-24 17:46:02 -0700
committerFlorian Fainelli <f.fainelli@gmail.com>2017-10-24 18:39:17 -0700
commit124cf53c872dbaf2212db6cd3e7446f0fa35a63f (patch)
tree781a138f401eba675992914e4a0a9f81f641b4b6 /target/linux/orion/patches-4.9/101-wnr854t_partition_map.patch
parent474391573bbd9720a58b6fcd725896f85113e4ec (diff)
downloadupstream-124cf53c872dbaf2212db6cd3e7446f0fa35a63f.tar.gz
upstream-124cf53c872dbaf2212db6cd3e7446f0fa35a63f.tar.bz2
upstream-124cf53c872dbaf2212db6cd3e7446f0fa35a63f.zip
orion: Add support for 4.9 kernel
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'target/linux/orion/patches-4.9/101-wnr854t_partition_map.patch')
-rw-r--r--target/linux/orion/patches-4.9/101-wnr854t_partition_map.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/target/linux/orion/patches-4.9/101-wnr854t_partition_map.patch b/target/linux/orion/patches-4.9/101-wnr854t_partition_map.patch
new file mode 100644
index 0000000000..881cfb773e
--- /dev/null
+++ b/target/linux/orion/patches-4.9/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,
+ },
+ };
+