Skip to content
Snippets Groups Projects
  1. Sep 09, 2015
  2. Sep 08, 2015
  3. Sep 07, 2015
  4. Aug 17, 2015
  5. Aug 16, 2015
  6. Jul 24, 2015
  7. Jul 14, 2015
  8. Jul 08, 2015
  9. Jul 07, 2015
    • Rafał Miłecki's avatar
      Revert "Revert "nvram: increase NVRAM size to 64 KiB"" · 4014ba37
      Rafał Miłecki authored
      
      This reverts commit r45579.
      
      With the latest change r46251 ("nvram: fix "Segmentation fault" caused
      by setting memory out of buffer") nvram utility shouldn't crash anymore.
      
      It was tested on 3 brcm47xx devices:
      1) Unknown with 0x10000 NVRAM size (0x8000 offset)
      2) Linksys E1000 V2.1 with 0x10000 (0x8000 offset)
      3) Linksys WRT300N V1 with 0x10000 (0x8000 offset)
      
      And 3 bcm53xx devices:
      1) Buffalo WZR-600DHP2 with 0x160000 NVRAM size
      2) Buffalo WZR-1750DHP with 0x10000 NVRAM size
      3) Netgear R6250 V1 with 0x180000 NVRAM size
      (all using 0 offset)
      
      This is an important change as it allows reading whole NVRAM. This may
      critical when reading some basic configuration (e.g. switch ports).
      
      Signed-off-by: default avatarRafał Miłecki <zajec5@gmail.com>
      
      SVN-Revision: 46253
      4014ba37
    • Rafał Miłecki's avatar
      nvram: fix "Segmentation fault" caused by setting memory out of buffer · 9f158499
      Rafał Miłecki authored
      
      Some MTD partitions with NVRAM have content starting in the middle. In
      such case offset is set and nvram_header returns pointer to the middle.
      It means we have to respect offset when calculating remaining space.
      
      By the way use real MTD partition size (nvram_part_size variable) as we
      may want to bump NVRAM_SPACE in the (very near) future.
      
      Signed-off-by: default avatarRafał Miłecki <zajec5@gmail.com>
      
      SVN-Revision: 46251
      9f158499
  10. Jun 24, 2015
  11. Jun 23, 2015
  12. Jun 22, 2015
  13. Jun 20, 2015
  14. Jun 18, 2015
  15. Jun 14, 2015
  16. May 24, 2015
  17. May 23, 2015
  18. Apr 24, 2015
  19. Apr 22, 2015
  20. Apr 19, 2015
  21. Apr 17, 2015
  22. Apr 14, 2015
  23. Apr 12, 2015
  24. Apr 11, 2015
Loading