#
82e1688f |
|
08-Jul-2015 |
Rafał Miłecki <zajec5@gmail.com> |
nvram: get rid of NVRAM_SPACE Now we support NVRAM whatever its size is. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46262 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
d88e5cfd |
|
07-Jul-2015 |
Rafał Miłecki <zajec5@gmail.com> |
nvram: fix "Segmentation fault" caused by setting memory out of buffer 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: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46251 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
388ae4d9 |
|
24-Apr-2015 |
Rafał Miłecki <zajec5@gmail.com> |
nvram: fix regression in finding NVRAM beginning The loop was giving up too early as it never expected NVRAM smaller than 0x10000. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45578 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
41b471d2 |
|
22-Apr-2015 |
Rafał Miłecki <zajec5@gmail.com> |
nvram: refuse to open NVRAM for writing if it's too big to be handled Otherwise writing anything will result in loosing data. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45565 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
41ba6344 |
|
22-Apr-2015 |
Rafał Miłecki <zajec5@gmail.com> |
nvram: drop check for WGT634U using /proc/diag/model We don't have broadcom-diag for months or years now and the correct solution is to simply don't have "nvram" partition on WGT634U anyway. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45564 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
0ad2cd00 |
|
22-Apr-2015 |
Rafał Miłecki <zajec5@gmail.com> |
nvram: use correct variable name for MTD partition size Sytax of /proc/mtd is following: dev: size erasesize name which means that sscanf "mtd%d: %08x" reads size, not erasesize. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45563 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
f73ca80b |
|
22-Apr-2015 |
Rafał Miłecki <zajec5@gmail.com> |
nvram: drop support for ancient /dev/mtdblock/%d Path /dev/mtdblock%d is used for years now. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45562 3c298f89-4303-0410-b956-a3cf2f4a3e73
|
#
f1b4824c |
|
21-Jun-2013 |
John Crispin <blogic@openwrt.org> |
packages: clean up the package folder Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37007 3c298f89-4303-0410-b956-a3cf2f4a3e73
|