Fixes compile on my Arch Linux system, as unistd.h is needed for ::close().
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 31315
This is needed when compiling with GCC >= 4.7.0 since it doesn't implicitly include 'unistd.h' anymore (needed e.g. for file operations in this particular case)
- Thanks to Luka Perkov
SVN-Revision: 31259
This patch has not been tested on freebsd. File block/sheepdog.c has
been changed and the patch does no longer apply. Anyone with freebsd who
could test this?
All my other patches regarding the tools upgrade were tested on linux
x64 and produce a working image. Once submitted patches get applied I
will upgrade the remaining tools...
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>
SVN-Revision: 31175
This updates mtd-utils in tools:
100-optional_lzo.patch and 101-ubifs-optional_lzo.patch
are now uneeded as a WITHOUT_LZO flag is provided by the
upstream sources. All remaining patches are refreshed
for the new version.
135-mkubifs_optional_lzo.patch was created to respect
WITHOUT_LZO also in mkubifs.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 30769
While the disadvantage is less available flash space, it's easy and
safe to flash without opening the device.
Going back to the original firmware is also possible.
This patch add two firmware utilities, mkbrncmdline and mkbrnboot.
mkbrncmdline patches the uncompressed kernel so the registeres a0 to
a3 are initialized and the memory size is passed in.
mkbrnboot takes the lzma compressed kernel and squashfs images and
creates a firmware image that can be flashed using the BRN-BOOT
recovery kernel, which is booted by holding both buttons when
powering up the device and will listen on http://192.168.2.1.
The firmware file from bin/lantiq/ to use is
openwrt-lantiq-danube-ARV4525PW-BRNDTW502-brnImage
The BRN-BOOT recovery kernel does size-check the image, so if it's
too big to fit into flash it will complain accordingly.
A second patch is needed to make the wired network interface work
since there is no u-boot to pre-initialise it.
Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
SVN-Revision: 30532