Commit Graph

496 Commits (2d2fa7b6ed77163f501ef8fd89e9b4c14f361257)

Author SHA1 Message Date
Hauke Mehrtens 1f71cdebe0 firmware-utils: fix build on big endian systems
This closes #9446


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27255 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-21 21:13:58 +00:00
Gabor Juhos 591e4c3352 tools/firmware-utils: fix buffalo csum calculation
Also print an error message if decryption fails.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27167 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-13 08:12:41 +00:00
Gabor Juhos d472510430 tools/firmware-utils: add support for hd_id tag into mkdniimg
Signed-off-by: Mark Mentovai <mark@moxienet.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27052 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:24 +00:00
Gabor Juhos 37ae50ee24 tools/firmware-utils: add buffalo specific fw tools
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27050 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:21 +00:00
John Crispin d5449e1acc [tools]
* adds mkelfimage



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26918 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-17 10:33:46 +00:00
Florian Fainelli 8615c287a1 bcm63xx: Add firmware helpers for T-Home Speedport W 303V
Add two helpers for generating correctly tagged images for the T-Home
Speedport W 303V Typ B as well as xor'd ones as required by CFE.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26877 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-11 13:34:05 +00:00
Jo-Philipp Wich 5506e60734 [PATCH] quilt: fix building with dash
`test x == x` gives a syntax error with dash (standard in Debian).
The modified patch reflects the current upstream:
http://git.savannah.gnu.org/cgit/quilt.git/commit/?id=38df0b210c3df67f3e784af92232ae1946b98ecd


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26804 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-02 12:53:32 +00:00
Daniel Dickinson b2ae50ed27 bcm63xx: Move the OpenWrt rootfs length field
Dual image capable CFEs store an image sequence at the same place as
currently OpenWrt stores the actual rootfs length, so it will get
overwritten when flashing through such a CFE.

To prevent this from happening, move the rootfs length field to the next
four bytes, thus completely using the reserved1 field.

Since the reserved1 field is now completely in use, it does not make sense
to allow it to be set from the imagetag utility, so remove the option.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-15 12:18:25 +00:00
Jo-Philipp Wich 94920b0e8a [tools] ipkg-utils: use (g)stat instead of "du -b" to find package size, fixes Darwin compat (#9214)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26642 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-13 13:26:26 +00:00
Jo-Philipp Wich 5cf0e4f471 missing-macros: add GTKDOC_REBASE macro needed by some newer packages
Signed-off-by: Jochen Friedrich <jochen@scram.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26620 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 20:19:52 +00:00
Hauke Mehrtens 51633f949d firmware-utils: fix endianness bugs in firmware generation program.
Should make it work on big endian systems again, I do not have such a system.

This closes #9093.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26543 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-09 15:06:01 +00:00
Felix Fietkau ffaa47c172 make the build system a bit more silent without V=99
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26460 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-04 00:54:37 +00:00
Hauke Mehrtens 6fe32943b3 m4: update to version 1.4.16
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-03 13:19:54 +00:00
Hauke Mehrtens 04fbc89331 xz: update to version 5.0.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26438 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-03 13:19:16 +00:00
Felix Fietkau 5895d8fd56 lzma-old: do not install $(STAGING_DIR_HOST)/bin/lzma
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26423 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-03 01:02:03 +00:00
Felix Fietkau 4613220875 tools/squashfs4: update to version 4.2 (adds support for xz compression)
Based on a patch by Jonas Gorski

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26422 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-03 01:02:00 +00:00
Alexandros C. Couloumbis 1693ec0bb2 tools/cmake: update to version 2.8.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26283 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-24 11:27:07 +00:00
Jo-Philipp Wich dd11dfcc3f [tools] ipkg-utils: utilize the tar -p flag to preserve permissions (#7667)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26258 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-21 17:36:50 +00:00
Gabor Juhos f3d20a6c69 firmware-utils/mktplinkfw: add support for the TP-Link TL-WA901ND v2 board
Patch-by: Jonathan Benett <jbscience87@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-13 15:08:29 +00:00
Alexandros C. Couloumbis 53519e5503 tools/xz: add some upstream patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26018 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-10 18:41:33 +00:00
Jo-Philipp Wich daee4aa5f2 [tools] package xfce-macros, required for autoreconf in xfce4 packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25974 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-09 14:44:23 +00:00
Jo-Philipp Wich 020319a7cc [tools] bison: fix compilation with stub intl header
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25869 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-04 20:37:15 +00:00
Alexandros C. Couloumbis 51ae2b31e5 tools/xz: update to version 5.0.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25847 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-03 10:26:11 +00:00
Felix Fietkau 84b78edf81 mklibs: fix some long standing libpthread symbol link issues, mostly related to weak function overrides between libgcc, libc and libpthread
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25795 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-28 18:17:02 +00:00
Felix Fietkau 57b134349f mklibs: properly fix library linking - the relinking in some instances used static libraries instead of shared ones with the same name, that led to some nasty symbol conflicts and pic issues. fix this by always using the full path to the libraries and also fix the libc vs libpthread linking order
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25793 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-28 16:17:04 +00:00
Felix Fietkau 2ab935a3a0 tools/e2fsprogs: move uuid/uuid.h into a subdirectory, it conflicts with a system header file with the same name on darwin
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25598 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-20 03:25:56 +00:00
Felix Fietkau 228dd030c0 squashfs4: make the lzma parameters configurable, and change the defaults for slightly improved compression on mips (mostly unchanged on other architectures)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25530 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-13 19:59:02 +00:00
Hauke Mehrtens a11783f9d6 brcm47xx: fix error when build firmware on x86_64 host (closes #7672)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-12 13:17:47 +00:00
Imre Kaloz 599f1671cc [tools/wrt350nv2-builder]: the url isn't valid for some time
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25463 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-11 14:03:04 +00:00
Jo-Philipp Wich 768a905d0c [tools] libtool: fix misspelled procedure name...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25351 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-03 20:34:34 +00:00
Felix Fietkau b0ee5554e3 tools/mpc: add dependency on mpfr
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25279 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-01 16:21:46 +00:00
Felix Fietkau 42f0435331 add tools/cmake
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25264 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-31 20:15:57 +00:00
Michael Büsch 390ce6b4b6 Add missing XAW macros
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25159 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-27 19:52:36 +00:00
Imre Kaloz c82aa42db6 cleanup toolchain version handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25148 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-27 13:55:00 +00:00
Jo-Philipp Wich c07b1ff9d2 [tools] remove bogus qemu dependency
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-17 05:58:40 +00:00
Jo-Philipp Wich 5a89b069c8 tools/ipkg-utils: calculate installed size from embedded data.tar.gz, makes opkg space checking more precise
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25021 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-16 22:16:49 +00:00
Jo-Philipp Wich 2703d41901 [tools] mklibs: import missing symbol workaround from Freetz project (#7590)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24984 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-14 10:49:41 +00:00
Gabor Juhos 619a487ff3 firmware-utils/mkdniimg: don't use NA region by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24981 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-14 10:37:09 +00:00
Gabor Juhos 1222152a82 firmware-utils/wndr3700: allow to specify image magic via command line
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24980 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-14 10:37:04 +00:00
Alexandros C. Couloumbis 9c1e174ded tools/mkimage: fix r24887
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24890 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-03 14:27:53 +00:00
Alexandros C. Couloumbis ba26e4c4db tools/qemu: fix FreeBSD compile issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24888 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-03 12:59:43 +00:00
Alexandros C. Couloumbis 0f02b1885e tools/mkimage: fix compilation on FreeBSD
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24887 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-03 12:30:19 +00:00
Jo-Philipp Wich c97b524b65 [tools] missing-macros: add as-unaligned-access.m4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24878 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-02 01:23:44 +00:00
Jo-Philipp Wich aec2bdb65a [tools] missing-macros: add as-compiler-flag.m4 and as-version.m4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24877 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-02 01:14:45 +00:00
Jo-Philipp Wich b9a0138f59 [tools] revert r24851, it breaks compilation on many hosts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24866 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-01 15:51:12 +00:00
Hauke Mehrtens 91c00969b4 tools: add some missing dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24865 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-01 15:18:57 +00:00
Felix Fietkau 167332ea2e tools/mkimage: remove the broken portability patch, it is no longer necessary with the new version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24857 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-30 15:48:32 +00:00
Alexandros C. Couloumbis 9ac43f0eb1 tools/e2fsprogs: update to version 1.41.14
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-29 17:38:48 +00:00
Jo-Philipp Wich 58361fdf99 [tools] missing-macros: add as-ac-expand.m4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24846 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-29 09:39:09 +00:00
Daniel Dickinson ec103967cb Added OpenWRT-specific field to imagetag so that we can record the real root length, so that when the CRC fixup is applied and the root length is recorded as zero we can still calculate the rootfs mtd partition size.
Signed-off-by: Daniel Dickinson <daniel@cshore.neomailbox.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24838 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-26 04:18:13 +00:00