101-wnr854t_partition_map.patch 563 B

12345678910111213141516171819202122232425
  1. --- a/arch/arm/mach-orion5x/wnr854t-setup.c
  2. +++ b/arch/arm/mach-orion5x/wnr854t-setup.c
  3. @@ -57,15 +57,19 @@ static struct mtd_partition wnr854t_nor_
  4. {
  5. .name = "kernel",
  6. .offset = 0x00000000,
  7. - .size = 0x00100000,
  8. + .size = 0x00140000,
  9. }, {
  10. .name = "rootfs",
  11. - .offset = 0x00100000,
  12. - .size = 0x00660000,
  13. + .offset = 0x00140000,
  14. + .size = 0x00620000,
  15. }, {
  16. .name = "uboot",
  17. .offset = 0x00760000,
  18. .size = 0x00040000,
  19. + }, {
  20. + .name = "image", // for sysupgrade
  21. + .offset = 0x00000000,
  22. + .size = 0x00760000,
  23. },
  24. };