mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 15:56:49 +00:00
fix sitecom firmware partition size, patch from Bernhard Loos
SVN-Revision: 21309
This commit is contained in:
parent
573b0d82b5
commit
5423050c98
@ -612,7 +612,7 @@
|
|||||||
+
|
+
|
||||||
+ rdc_flash_parts[0].name = "firmware";
|
+ rdc_flash_parts[0].name = "firmware";
|
||||||
+ rdc_flash_parts[0].offset = 0x8000;
|
+ rdc_flash_parts[0].offset = 0x8000;
|
||||||
+ rdc_flash_parts[0].size = 0x3F0000;
|
+ rdc_flash_parts[0].size = 0x3F0000 - 0x8000;
|
||||||
+ rdc_flash_parts[1].name = "config";
|
+ rdc_flash_parts[1].name = "config";
|
||||||
+ rdc_flash_parts[1].offset = 0;
|
+ rdc_flash_parts[1].offset = 0;
|
||||||
+ rdc_flash_parts[1].size = 0x8000;
|
+ rdc_flash_parts[1].size = 0x8000;
|
||||||
|
@ -340,7 +340,7 @@
|
|||||||
+
|
+
|
||||||
+ rdc_flash_parts[0].name = "firmware";
|
+ rdc_flash_parts[0].name = "firmware";
|
||||||
+ rdc_flash_parts[0].offset = 0x0;
|
+ rdc_flash_parts[0].offset = 0x0;
|
||||||
+ rdc_flash_parts[0].size = 0x3E0000;
|
+ rdc_flash_parts[0].size = 0x3E0000 - 0x8000;
|
||||||
+ rdc_flash_parts[1].name = "rootfs";
|
+ rdc_flash_parts[1].name = "rootfs";
|
||||||
+ rdc_flash_parts[1].offset = header.kernelsz + sizeof(header);
|
+ rdc_flash_parts[1].offset = header.kernelsz + sizeof(header);
|
||||||
+ rdc_flash_parts[1].size = rdc_flash_parts[0].size - rdc_flash_parts[1].offset;
|
+ rdc_flash_parts[1].size = rdc_flash_parts[0].size - rdc_flash_parts[1].offset;
|
||||||
|
Loading…
Reference in New Issue
Block a user