[x86] change default kernel to 2.6.32.8, remove block2mtd patch until it is fixed
[openwrt.git] / target / linux / orion / patches / 100-openwrt_partition_map.patch
1 --- a/arch/arm/mach-orion5x/wrt350n-v2-setup.c
2 +++ b/arch/arm/mach-orion5x/wrt350n-v2-setup.c
3 @@ -58,11 +58,11 @@ static struct mtd_partition wrt350n_v2_nor_flash_partitions
4 {
5 .name = "kernel",
6 .offset = 0x00000000,
7 - .size = 0x00760000,
8 + .size = 0x00100000, // change to kernel mtd size here (1/3)
9 }, {
10 .name = "rootfs",
11 - .offset = 0x001a0000,
12 + .offset = 0x00100000, // change to kernel mtd size here (2/3)
13 - .size = 0x005c0000,
14 + .size = 0x00650000, // adopt to kernel mtd size here (3/3) = 0x00750000 - <kernel mtd size>
15 }, {
16 .name = "lang",
17 .offset = 0x00760000,
18 @@ -75,6 +79,14 @@ static struct mtd_partition wrt350n_v2_nor_flash_partitions
19 .name = "u-boot",
20 .offset = 0x007c0000,
21 .size = 0x00040000,
22 + }, {
23 + .name = "eRcOmM_do_not_touch",
24 + .offset = 0x00750000,
25 + .size = 0x00010000, // erasesize
26 + }, {
27 + .name = "image", // for sysupgrade
28 + .offset = 0x00000000,
29 + .size = 0x00750000,
30 },
31 };
32
This page took 0.045609 seconds and 5 git commands to generate.