Rafał Miłecki
63bb07b28c
Revert "nvram: increase NVRAM size to 64 KiB"
...
This reverts commit ff84c27a281bc19df19bc62ee8688cca5586f6e3.
This tool has really broken size handling (many values hardcoded), it
crashes right now in case of NVRAM not filling whole MTD partition.
Conflicts:
package/utils/nvram/src/nvram.h
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45579
2015-04-24 15:38:38 +00:00
Rafał Miłecki
97a0e165a6
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>
SVN-Revision: 45578
2015-04-24 14:28:57 +00:00
Rafał Miłecki
7e3272f422
nvram: increase NVRAM size to 64 KiB
...
For years Broadcom devices use 64 KiB NVRAM partition size and some of
them indeed have it filled in more than 50%. This change allows handling
whole NVRAM e.g. on Netgear WNDR4500 and Netgear R8000.
The same fix was applied to kernel in upstream commit 6ab7c29.
Reported-by: Hante Meuleman <meuleman@broadcom.com>
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45566
2015-04-22 19:07:24 +00:00
Rafał Miłecki
3931288caa
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>
SVN-Revision: 45565
2015-04-22 19:07:19 +00:00
Rafał Miłecki
d94fb398f6
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>
SVN-Revision: 45564
2015-04-22 19:07:12 +00:00
Rafał Miłecki
0c4c05f0e7
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>
SVN-Revision: 45563
2015-04-22 19:07:06 +00:00
Rafał Miłecki
615fef1ab8
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>
SVN-Revision: 45562
2015-04-22 19:06:58 +00:00
Felix Fietkau
5199a23165
lua: link library with -Bsymbolic-functions
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45509
2015-04-19 18:33:13 +00:00
Felix Fietkau
0d031aecdf
busybox: fix an ash regression in handling local variables
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45471
2015-04-17 00:01:29 +00:00
Rafał Miłecki
8b1b857948
otrx: support for creating simple TRX files
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45444
2015-04-14 20:50:53 +00:00
Rafał Miłecki
3cb8bf44e6
otrx: change command line API to start with a mode
...
This will allow adding more modes without options conflict.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45443
2015-04-14 20:50:46 +00:00
Rafał Miłecki
0bd2710512
otrx: use %zd to fix printf format warnings
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45436
2015-04-14 16:16:11 +00:00
Rafał Miłecki
834e60c4f1
otrx: check TRX length read from header to avoid Segmentation fault
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45433
2015-04-14 12:18:57 +00:00
Rafał Miłecki
cd4fd05648
otrx: include byteswap.h to fix compilation with musl
...
Fixes #19470
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45430
2015-04-14 11:10:14 +00:00
Rafał Miłecki
ab6462dd56
otrx: support for extracting partitions
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45390
2015-04-12 11:46:11 +00:00
Felix Fietkau
2de97cbfea
busybox: enable BUSYBOX_DEFAULT_FEATURE_TOUCH_SUSV3 by default, dnsmasq relies on it
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45384
2015-04-11 19:34:45 +00:00
Felix Fietkau
c99d9afff3
busybox: fix regression in handling non-existant find path arguments ( #19439 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45321
2015-04-09 08:02:33 +00:00
Rafał Miłecki
71e6325ab8
otrx: new package with tiny app verifying TRX images
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45315
2015-04-09 05:21:55 +00:00
Felix Fietkau
c31df6e995
busybox: update to version 1.23.2
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45272
2015-04-04 17:52:02 +00:00
Nicolas Thill
1fe3836fbc
e2fsprogs: add conffiles section
...
Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 45242
2015-04-02 14:53:12 +00:00
Nicolas Thill
275df67b6c
ugps: add conffiles section, fix config file perms
...
Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 45240
2015-04-02 14:53:00 +00:00
John Crispin
04da950450
usbmode: update data files
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 45219
2015-04-01 13:36:58 +00:00
Felix Fietkau
0b0315a1f2
px5g-standalone: change PKG_NAME to avoid directory conflict with px5g
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45126
2015-03-29 06:03:02 +00:00
Felix Fietkau
4cca061066
fbtest: remove bogus #include
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45106
2015-03-29 04:28:29 +00:00
Felix Fietkau
7c29c15073
e2fsprogs: enable parallel build
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45101
2015-03-29 02:16:21 +00:00
Felix Fietkau
5441f56685
fuse: add missing include lines, fixes musl build
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45076
2015-03-28 10:19:18 +00:00
Felix Fietkau
262ebee943
e2fsprogs: update to the latest version, fixes musl build failure
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45075
2015-03-28 10:19:10 +00:00
John Crispin
b1e19ee445
lua: fix eglibc reference
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 45013
2015-03-26 10:58:52 +00:00
Nicolas Thill
a96fe7d228
util-linux: replace spaces with tabs
...
Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 44938
2015-03-22 12:37:33 +00:00
Nicolas Thill
81ff0511df
packages: more (e)glibc fixes after r44701
...
_GNU_SOURCE has been declared "deprecated" in favor of _DEFAULT_SOURCE in glibc
Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 44843
2015-03-16 12:32:22 +00:00
Felix Fietkau
808c460250
toolchain: remove leftovers from old llvm-gcc experiments
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44783
2015-03-15 12:03:01 +00:00
John Crispin
45c34eec46
BusyBox: Netcat 1.10 compatibility require server option
...
Netcat 1.10 compatibility require server options
1.10 compatibility without server option
produce error "NO OPT l!" and completely not function
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
SVN-Revision: 44746
2015-03-13 08:38:56 +00:00
John Crispin
eff1859f8e
busybox: Minor fix for glibc 2.21 compatibility
...
Signed-off-by: Jeff Waugh <jdub@bethesignal.org>
SVN-Revision: 44700
2015-03-12 19:50:23 +00:00
Nicolas Thill
ba887275ca
util-linux: fix pkgconfig files
...
Upstream choose to not rely on configure.ac and recursively expand paths in pkgconfig files at make time,
leading to absolute /usr/include & /usr/lib in there... And we don't want that when cross-compiling...
Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 44627
2015-03-09 02:02:50 +00:00
Nicolas Thill
4b8ebb5d50
packages: remove uneeded PKG_BUILD_DIR overrides
...
Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 44498
2015-02-22 01:31:21 +00:00
Nicolas Thill
afccff9f33
util-linux: disable rpath
...
Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 44395
2015-02-11 11:31:01 +00:00
Jo-Philipp Wich
5f65074523
busybox: fix build on FreeBSD 10.1
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44284
2015-02-05 23:32:17 +00:00
Jo-Philipp Wich
119b90759b
util-linux: only enable curses support if required
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44236
2015-02-01 13:11:17 +00:00
Jo-Philipp Wich
542b6c30e5
fix subject in generated certificates
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 44149
2015-01-25 23:33:49 +00:00
Nicolas Thill
a46965888a
fuse: update to 2.9.3
...
Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 43941
2015-01-11 22:15:03 +00:00
Felix Fietkau
ee41729e64
e2fsprogs: bump release
...
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
SVN-Revision: 43849
2015-01-05 13:03:33 +00:00
Felix Fietkau
a0489c884e
e2fsprogs: package dumpe2fs, e2freefrag, filefrag, debugfs
...
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
SVN-Revision: 43848
2015-01-05 13:03:26 +00:00
Felix Fietkau
c0611b45a9
e2fsprogs: symlink e2fsck to fsck.ext{2, 3, 4}, and tune2fs to findfs
...
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
SVN-Revision: 43847
2015-01-05 13:03:20 +00:00
Steven Barth
84f49d3597
util-linux: fix packaging issues
...
Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
Tested-by: Gergely Kiss <mail.gery@gmail.com>
SVN-Revision: 43828
2015-01-05 10:11:28 +00:00
Felix Fietkau
7d6a749278
ubi-utils: add mirror md5sum
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43761
2014-12-22 14:32:41 +00:00
Felix Fietkau
0f51d48c0e
nvram: remove libnvram.so, it is unused and incompatible to the broadcom API anyway
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43698
2014-12-13 23:58:35 +00:00
Jo-Philipp Wich
5472898c0c
busybox: include config files relative to the main Config.in ( #18522 )
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 43653
2014-12-12 12:33:34 +00:00
John Crispin
f76755da3f
packages: fix typo in OpenWrt name
...
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
SVN-Revision: 43542
2014-12-07 16:53:30 +00:00
John Crispin
951866a8eb
e2fsprogs: add InstallDev section to Makefile
...
btrfs-progs is using libext2fs, so headers and libs need to be staged
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 43537
2014-12-07 16:52:50 +00:00
John Crispin
70c3a60947
util-linux: fix more missing dependencies introduced by r43459
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43478
2014-12-01 16:50:43 +00:00