Commit Graph

457 Commits (3f73c49ad50fd287e688963bc6bd857e479f3731)

Author SHA1 Message Date
Gabor Juhos 4cda300019 firmware-utils/mktplinkfw: add support for the TL-MR3420 v1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23137 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-27 14:54:02 +00:00
Gabor Juhos 64a74c52e0 firmware-utils/mktplinkfw: add support for the TL-WR841N v7
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23133 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-27 14:53:51 +00:00
Jo-Philipp Wich b6bac9b907 [tools] mtd-utils: revert r23075
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23076 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-15 23:50:31 +00:00
Jo-Philipp Wich 7b30153bd9 [tools] mtd-utils: do not rely on host kernel headers, redefine the integer types instead (#7950)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23075 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-15 22:45:54 +00:00
Jo-Philipp Wich 940f4bb307 [package] revert r23048 for now until Darwin compile issues have been sorted out (#7934)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23057 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-13 18:50:41 +00:00
Alexandros C. Couloumbis a1044e4906 tools/mtd-utils: update to version git-20100912
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23048 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-13 07:39:44 +00:00
Felix Fietkau 607146b4f2 fix build error in tools on darwin on newer macs (patch by dirtyfreebooter)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-05 16:16:59 +00:00
Michael Büsch ef67285052 Zcomax device firmware tool endianness fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22885 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-04 05:40:56 +00:00
Gabor Juhos 42a913f817 tools/firmware-utils: new tool for the Zcomax devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22883 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-03 18:14:40 +00:00
Felix Fietkau e3b691c96c add a command for printing a cleaned up make target database - will be used to analyze package dependencies at some point
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22871 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-01 17:51:36 +00:00
Andy Boyett e78e58e4de [tools] qemu: add dependency on libuuid
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22757 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-22 09:16:49 +00:00
Andy Boyett 9d6ca18739 [tools] qemu: fix build failure on some systems. Closes #7767
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-21 17:02:09 +00:00
Andy Boyett 461fc7d3a9 [tools] quilt: needs autoconf
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-14 22:58:55 +00:00
Florian Fainelli 0a46a65d59 [tools] update wrt350nv2 builder to v2.3 (#7580)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22579 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-10 15:19:06 +00:00
Andy Boyett df7283d7f0 [tools] qemu: build qemu-img for packaging vmdk and vdi images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22552 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-09 04:22:34 +00:00
Hauke Mehrtens c9d8571734 brcm47xx: Add new image generation and fix leds/reset button on WNR834B V2
Thank you realopty for the patch.
tools/firmware-utils/src/mkchkimg.c is from http://www.myopenrouter.com/download/10611/mkchkimg/

This closes #7702.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22516 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-06 20:21:32 +00:00
Jo-Philipp Wich 02d0ada4d2 [tools] sed: fix compilation on FreeBSD/AMD64
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22499 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-06 00:19:34 +00:00
Hauke Mehrtens 43aabdf185 mostly revert commit r22396
CFE does not boot images generated with these checksums because of 
wrong checksum.

After flashing then with tftp to my Asus wl500-GPv1 the following messages 
are show:
Null Rescue Flag.
Boot program checksum is invalid
Hello!! Enter Rescue Mode: (Check error)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22418 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-30 21:19:49 +00:00
Michael Büsch ff71f10390 firmware-utils/trx: Endianness fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22414 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-29 18:14:10 +00:00
Hauke Mehrtens 4dbe40188f firmware-utils: The option -F was not detected.
This was missing in r22396

This fixes build of brcm47xx


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22398 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-27 18:16:32 +00:00
Alexandros C. Couloumbis 369fae1a4c tools/quilt: fix openSUSE/patch-2.6.1.81 issue (closes #7635)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22397 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-27 17:21:30 +00:00
Markus Wigge 520b6d0ce0 fix CRC32 calculation for sysupgrade
* reduce image size for CRC calculation by fs_mark size

sysupgrade sometimes failed for me and I noticed that it was due
to incorrect CRC values in trx-header after performing it.
It seems that the fs_mark was completely included in the calculation
and that it was nevertheless modified by sysupgrade while appending
the jffs data.
This only occurs for the first boot after sysupgrade as the flashmap
driver recalculates the CRC to an even smaller area when it boots.



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22396 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-27 15:37:37 +00:00
Jo-Philipp Wich 5cc9f1ca06 [tools] squashfs4: fix compilation on FreeBSD
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22347 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-22 03:09:10 +00:00
Jo-Philipp Wich 1f704a6e49 [tools] yaffs2: fix compilation on FreeBSD
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-22 02:59:14 +00:00
Jo-Philipp Wich ed24f5548a [tools] mkimage: fix compilation on FreeBSD
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22344 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-22 02:43:44 +00:00
Felix Fietkau 3031cf083a squashfs4: backport an upstream change to fix the file mode check to allow setuid/setgid binaries (thx, ermo) - fixes #7653
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22334 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-21 17:31:16 +00:00
Gabor Juhos 61c81bfbe9 tools/firmware-utils: enhance mktplinkfw utility
Attached patch enhances the mktplinkfw utility:
1. existing firmware files in TP-Link format can now be inspected, showing eg. the used offsets
2. optionally the kernel and rootfs parts can be extracted (saves calculations for dd)
3. when generating firmwares, kernel entry point, load address and rootfs offset can be overwritten (for experienced users)

Patch-by: Pieter "Fate" Hollants <pieter@hollants.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22169 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-13 16:51:59 +00:00
Gabor Juhos b76444287b firmware-utils/mktplinkfw: add support for the TL-WA901ND
Patch-by: Pieter "Fate" Hollants <pieter@hollants.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 14:49:04 +00:00
Markus Wigge 785ebf7bf3 preset stable and try* flags for TRX2 headers
* changed addpattern.c to preset the stable and try flags used in TRXv2 images
to dupe CFE and pretend a stable image.
* changed trx.c to calculate TRXv2 CRC with stable and try flags set to 0xFF
like CFE does on startup
* fixed compile warnings in trx.c by explicit casting



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22012 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 10:40:22 +00:00
Markus Wigge 54ffe62ded fixed trx version to handling
I forgot to write the right trx version to the actual header...


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21986 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-28 17:35:20 +00:00
Florian Fainelli e2ca235a69 [tools] remove whitespaces in imagetag tool
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-20 11:58:40 +00:00
Florian Fainelli fa8999e464 Revert r21806 there are no users of it yet
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21808 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-14 21:49:03 +00:00
Florian Fainelli b39b1b61a9 [tools] add hcsmakeimage, for cable modems/routers based on bcm33xx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21806 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-14 21:47:21 +00:00
Florian Fainelli 0be9ece4bc [tools] fix mktitanimg segfault on 64-bits hosts (#7443)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-12 18:10:01 +00:00
Florian Fainelli efe0f8bd76 [tools] add mktitanimg to create Titan (AR7-based) images (#6632)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21689 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-06 19:16:43 +00:00
Felix Fietkau b7fae73a93 libelf: get rid of CRLF encoding in the makefile (thx, danimo)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21663 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-03 00:44:49 +00:00
Felix Fietkau 55de6aeeb9 get rid of CRLF encoding in various files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21462 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-16 00:20:17 +00:00
Gabor Juhos 2923f9f5a6 firmware-utils/mkzynfw: add support for the NBG460N board
Adding NBG460N/550N/550NH boards to mkzynfw.

Signed-off-by: Michael Kurz <michi.kurz@googlemail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21446 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-14 09:20:36 +00:00
Gabor Juhos 3574cdbc0a firmware-utils/mkzynfw: don't use next_offset twice (closes #7273)
The test if a file can fit in an image considers the current offset
twice. So a image that would fit is too big.

Thanks-to: Michael Kurz <michi.kurz@googlemail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21445 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-14 09:20:34 +00:00
Felix Fietkau 262cd87b5b mkimage fails to build on some systems if sed is not installed, add a dependency to fix parallel build issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21210 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-27 21:57:32 +00:00
Gabor Juhos ff8218d3a3 tools/firmware-utils: add size check to the mkplanexfw tool
Also pad the image to a 64K boundary.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21174 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-26 18:28:07 +00:00
Alexandros C. Couloumbis a7b74ea0ec tools: update gmp to 4.3.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21147 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-24 20:11:08 +00:00
Alexandros C. Couloumbis e3d7298718 tools: update quilt to 0.48
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21146 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-24 19:54:53 +00:00
Alexandros C. Couloumbis 016d4161e6 tools: update cloog to 0.15.9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21071 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-21 17:21:29 +00:00
Florian Fainelli 919f5d8ee5 [toolchain] fix graphite options with gcc-4.5, add libelf for LTO, fix mbsd_multi patch, patch from Bernhard Loos
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21046 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-20 16:18:08 +00:00
Alexandros C. Couloumbis bf4dbc7f29 add gcc-4.5.0 preliminary support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21033 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-19 15:43:08 +00:00
Felix Fietkau 3c36c484cd mtd-utils: remove bogus include statement to make it more portable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20853 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-14 10:50:33 +00:00
Nicolas Thill f46b3d70d3 [cleanup] remove 'svn:executable' property
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20831 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-12 17:08:57 +00:00
Alexandros C. Couloumbis 9328c2cecf add jffs2/lzma support (not activated by default yet)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20828 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-12 13:14:42 +00:00
Florian Fainelli 9b32abb33e [brcm63xx] flashmap and image generation: reduced union bcm_tag to a single struct
combining the elements so that it is no longer necessary to create an openwrt-only
tagid and tagcrc, and elimate the tagid detection and switch statements which
made dealing with imagetags overly complicated, especially since the logic would
need analogs in all code that touched the imagetag. Patch from cshore.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-01 21:20:43 +00:00
Florian Fainelli dc3662326e [brcm63xx] move bcm_tag.h out of the flashmap patch so that user-land tools can re-use it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20548 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-28 18:11:06 +00:00
Gabor Juhos 567def1d7f firmware-utils/trx: add relative offset parameter
* will be used for the WRT160NL board
 * patch by Bernhard Loos
 * note: rejected parts has been fixed


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20522 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-27 17:38:26 +00:00
Florian Fainelli b92d712175 [tools] revert r18760 since it prevents people from building working eva images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20437 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-26 10:12:30 +00:00
Markus Wigge 6af0d9e549 added support for wrt54g3gv2-vf and new trx header format
- hacked addpattern due to changes in header format
 - added "-5" to addpattern, some 0xFF are needed for trx2 header
   "-4" broke CRC checking in CFE
 - hacked trx.c due to new header format version
 - added target to create trx-V2 images

the flashmap driver possibly needs to be customized.



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20433 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-25 19:34:49 +00:00
Florian Fainelli 878447cc75 [tools] fix file creation mode, thanks rtz
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20293 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-18 23:35:12 +00:00
Felix Fietkau ff7379f7e8 sstrip: fix a section length corruption bug (patch from #6847)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20154 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-12 00:35:36 +00:00
Gabor Juhos 991cc2f274 mktplinkfw: add option to strip padding from the end of the image
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20120 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-10 17:41:50 +00:00
Gabor Juhos be8c626c20 mktplinkfw: fix help string, and remove duplicated option
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20067 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-08 17:35:07 +00:00
Felix Fietkau f575d6afc0 mkimage: fix spurious build errors caused by its braindead build system
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20065 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-08 17:17:46 +00:00
Felix Fietkau 81aeef8907 mtd-utils: do not try to compile in support for ubifs ioctls and extended flags - some linux distros do not support this
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19846 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-24 23:02:38 +00:00
Gabor Juhos 7419011330 firmware-utils/mktplinkfw: add board definitions for TL-WR941ND v4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-19 11:52:30 +00:00
Travis Kemen 1f39116fad [tools/wrt350nv2-builder] Update to v2.2
fixed checksum byte calculation for other versions than 0x2019
fixed rare problem with padsize
updated info to stock firmware 2.00.20
fixed typos

Signed off by: Matthias Buecher <mail@maddes.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19683 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-17 02:18:13 +00:00
Travis Kemen 21a25fd0e3 [tools/wrt350nv2-builder] Update to v2.1
Stays closer to the stock firmware by using wrt350n.bin for the
created image.
Adds the possibility to create the image in two separate steps (-b / -z).
Makefiles now support the possibility to include a u-boot image for a
100%-stock-like image.

Signed off by: Matthias Buecher <mail@maddes.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19596 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-12 01:40:57 +00:00
Imre Kaloz 98d6f0382b with no users left, remove support for 2.6.21
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19578 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-11 08:37:57 +00:00
Jo-Philipp Wich ea35e3e4c9 [tools] firmware-utils: unify cc and cc2 macros, simplifies Makefile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19487 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-01 01:56:02 +00:00
Jo-Philipp Wich e402bf7a8e [tools] firmware-utils: copy bcm_tag.h to src/ and get rid of cc3 macro, fixes imagetag compilation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19485 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-01 01:17:46 +00:00
Felix Fietkau 3b76a00882 mtd-utils: refresh the cygwin_fixes patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19159 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-16 00:11:47 +00:00
Felix Fietkau 0d97feeb2b mtd-utils: fix compile on mac os x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19158 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-16 00:11:43 +00:00
Felix Fietkau df366bdeb2 libuuid: only build the static variant - fixes compile on mac os x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19157 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-16 00:11:38 +00:00
Lars-Peter Clausen d540b178bf mtd-utils depends on libuuid
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19117 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-13 13:14:35 +00:00
Lars-Peter Clausen 8b84a711d8 Fix libuuid header location and reenable building of mkfs.ubifs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19113 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-13 05:21:50 +00:00
Lars-Peter Clausen 8b14d2df0c mtd-utils: Don't include lzo headers aswell...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19107 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-11 16:15:52 +00:00
Florian Fainelli 9a1aa9d6c9 [tools] do not build nor install mkfs.ubifs until we have it fixed
(#6483)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19106 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-11 15:40:45 +00:00
Lars-Peter Clausen a2a1c84aa8 Add libuuid Makefile. Oops...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19105 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-11 11:18:26 +00:00
Lars-Peter Clausen 01b610be12 mtd-utils: Disable lzo for mkfs.ubifs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19104 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-11 11:04:30 +00:00
Lars-Peter Clausen fbc1a0f4c1 Add libuuid hosttool package. It's needed in order to build mkfs.ubifs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19103 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-11 11:02:54 +00:00
Lars-Peter Clausen fdd8341f4a [tools] mtd-utils: Build mkfs.ubifs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19096 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-11 01:04:15 +00:00
Felix Fietkau 770dbf115e mkimage: fix compile errors on non-glibc systems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19095 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-10 18:42:12 +00:00
Imre Kaloz 1fde8606d9 [tools/mkimage]: upgrade and build from the u-boot source
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19091 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-10 15:57:43 +00:00
Nicolas Thill 86397e38b5 [tools] mpfr: add missing MD5SUM
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19060 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-07 02:07:51 +00:00
Florian Fainelli b7de1fb876 [tools] make mtd-utils compile correctly on cygwin
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19039 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-05 11:06:16 +00:00
Imre Kaloz 3d7ea17c07 remove handling of older unsupported kernels
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18955 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-27 21:54:09 +00:00
Gabor Juhos e80ae1b19a ar71xx: add support for the TL-WR841N v1.5 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-22 19:31:28 +00:00
Felix Fietkau f7ebcedcc2 wrt350nv2-builder: increase path limit from 64 bytes to 256 bytes, as 64 bytes may not be enough. suggested by maddes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18794 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-16 13:47:47 +00:00
Felix Fietkau 6599c8df66 add a hacked up version of upslug2 which is able to flash a wrt350nv2 in recovery mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18765 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-12 02:00:50 +00:00
Felix Fietkau a1d28a0f3c wrt350nv2-builder: fix a small off-by-one error (thx, mb)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18764 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-12 01:01:42 +00:00
Felix Fietkau a314fb6741 fix portability issues and other minor bugs in the wrt350nv2 image builder
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18762 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-12 00:44:15 +00:00
Felix Fietkau 4e4178d716 add wrt350n v2 image building code from #5970 (thx, maddes)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18761 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-12 00:44:03 +00:00
Michael Büsch 25c6342957 lzma2eva: Endianness fixes.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18760 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-11 23:50:51 +00:00
Gabor Juhos 9828d89496 ar71xx: TL-WR1043ND support cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18697 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-08 12:46:30 +00:00
Gabor Juhos 00c14fd865 ar71xx: preliminary support for the TL-WR1043ND
Adds board support for the TP-Link TL-WR1043ND Based on the Atheros AP81 platform.
Presently the RTL8366RB switch support is missing due to no driver.
The ethernet works with 5 ports@1Gbit but is missing vlan support.

Hope Ive done this right, First time submiting a patch.

Signed-off-by: Andrew Tarabaras <andrew@advancedtechnologies.com.au>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18696 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-08 12:46:25 +00:00
Gabor Juhos 593b3bbb81 tools: build old squashfs tools for ar71xx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18596 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-29 09:33:50 +00:00
Gabor Juhos 1c396a22fd ar71xx: create images for the WNDR3700, which can be flashed via the factory web interface
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-28 09:28:25 +00:00
Gabor Juhos b601f71cb5 firmware-utils: add WNDR3700 image fixing tool (thanks to Anael Orlinski)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-28 08:25:53 +00:00
Florian Fainelli 73f764c59d [tools] update automake to 1.10, fixes #6022
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18527 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-24 21:17:20 +00:00
Felix Fietkau 65859fa5d9 mkfwimage: add support for the XM layout (bullet/rocket/nano M)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18448 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-18 18:10:24 +00:00
Felix Fietkau 3dfc0a8b36 mklibs: fix missing __pack_f symbol in uclibc after relink
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18438 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-17 04:36:07 +00:00
Imre Kaloz 0d69f2bb5e make the lzma version kernel version dependent, and only build the one we do need
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18426 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-15 20:25:29 +00:00
Gabor Juhos e8da3793a2 ar71xx: increase max size of RouterStation and RouterStation Pro firmware images
Thanks to riskable! (closes #5860)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18410 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-13 17:11:23 +00:00
Felix Fietkau 0f822c3de4 gcc: add a config option for using the gcc graphite framework (disabled by default)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18403 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-12 13:42:07 +00:00
Imre Kaloz 0834cc4088 powerpc: use the in-kernel dtc compiler
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18374 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-11 13:44:12 +00:00
Felix Fietkau 78b006e0f0 Don't build gmp and mpfr when using external toolchains (based on patch from #6035)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18310 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-05 11:16:20 +00:00
Felix Fietkau 7e7a567b14 squashfs4: use our lzma props settings again instead of the defaults (smaller images on arm/mips)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18273 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-02 14:52:15 +00:00
Felix Fietkau 5133678e0d squashfs4: refresh the cygwin patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18272 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-02 14:52:09 +00:00
Felix Fietkau 61de09c5af squashfs4: fix build breakage
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18271 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-02 14:52:03 +00:00
Imre Kaloz 760d3bef1c sync mksquashfs4 with the CVS code to generate LZMA images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18268 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-02 09:52:54 +00:00
Felix Fietkau 976b48b654 add cloog and ppl to the tools build for the graphite framework in gcc 4.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18264 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-02 00:47:21 +00:00
Gabor Juhos b6318c8ae6 ar71xx: add preliminary support for the TL-WR841ND v5 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18226 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-30 12:26:25 +00:00
Felix Fietkau d711594a60 mklibs: use -Wl,--gc-sections when relinking - currently only saves a few bytes, maybe more in the future
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18123 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-22 16:54:18 +00:00
Felix Fietkau df959c2ac1 mklibs: preserve the uclibc init symbol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18085 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-19 23:26:05 +00:00
Felix Fietkau e496f76ecb mklibs: handle duplicate symbols properly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18084 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-19 23:26:00 +00:00
Felix Fietkau 46f8cbd71e mklibs: fix crashes on nonexistant sections in readelf (thx, justus)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18083 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-19 23:25:42 +00:00
Felix Fietkau 9ec02c25df gmp: upgrade to 4.3.1 and fix compile on 64-bit mac os x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17717 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-25 09:28:26 +00:00
Felix Fietkau 4b309e4561 mklibs: fix libpthread link error (#5851)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17639 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-20 12:51:48 +00:00
Matteo Croce 0854958b63 fix error in mksquashfs4 when data can't be compressed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17585 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-15 09:01:27 +00:00
Felix Fietkau a76fe21fd2 firmware-utils: raise the default trx image size limit for something more appropriate for devices with 8M flash
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17537 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-07 13:55:02 +00:00
Florian Fainelli fdc851f1fa [tools] build fixes for squashfs4 on cygwin
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17430 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-27 19:47:13 +00:00
Florian Fainelli 09dba2abc8 [tools] fix quilt installation on all platforms
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17405 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-26 07:55:31 +00:00
Florian Fainelli 86e0066eb6 [tools] make quilt installation work on cygwin
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17398 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-25 14:55:18 +00:00
Florian Fainelli 8cb99934a4 [tools] update mpfr to 2.4.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17334 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-20 16:08:52 +00:00
Florian Fainelli fddacb3a51 [tools] disable mpfr tests compilation, slightly speeds up the build process
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17295 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-17 14:51:32 +00:00
Florian Fainelli 1c49507d80 [brcm63xx] add support for the Pirelli AG226G board (#5337)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17190 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-09 10:19:47 +00:00
Felix Fietkau 065b224a91 mklibs: do not touch libraries that cannot be rebuilt
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17172 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-08 02:24:59 +00:00
Felix Fietkau 3a0b1d7c4a upgrade mklibs to 0.1.29 - fixes runtime errors in mklibs-readelf
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17171 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-08 02:24:54 +00:00
Felix Fietkau 46a68465c0 mklibs: do not fail on unresolved symbols, but print warnings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17170 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-08 02:24:49 +00:00
Florian Fainelli af3bb3507e [tools] fix mklibs compilation failures on stdio.h not being included
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17164 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-07 10:31:27 +00:00
Felix Fietkau bc041781a0 add mklibs (based on a patch by florian) in preparation for optional library symbol stripping
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17154 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-07 00:07:18 +00:00
Gabor Juhos 89839845e0 [tools] firmware-utils/addpattern: add support for the WRT160NL
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17140 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-06 09:15:05 +00:00
Florian Fainelli 5a3823f418 [tools] revert r17022, this is not the way to do this
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17023 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-26 18:13:03 +00:00
Florian Fainelli d5a89db714 [tools] override sed configuration to work with FreeBSD (#4531)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-26 18:09:20 +00:00
Gabor Juhos 31083d5f9e [tools] firmware-utils: add new tool for the wrt400n (based on a patch by Sandeep Mistry <sandeep.mistry at gmail.com>)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16792 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-12 08:59:18 +00:00
Gabor Juhos 346ca391ed [ar71xx] increase size of the kernel partition on the TL-WR[789]41N boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16785 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-11 17:20:46 +00:00
Gabor Juhos e111b2d68b [tools] firmware-utils/mktplinkfw: add option for combined images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16742 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-08 08:17:26 +00:00
Gabor Juhos 754e89b442 [tools] firmware-utils/mktplinkfw: add board definitions for TL-WR741ND v1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16740 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-07 19:45:33 +00:00
Florian Fainelli 7d7ed4e8a3 [tools] fix segfault when using the maxlen argument (#4359)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16641 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-01 14:58:15 +00:00
Gabor Juhos c328f90581 [tools] firmware-utils: add a tool to compute crc value for the 5gxi firmware
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16557 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-25 09:41:06 +00:00
Gabor Juhos 9a2d1d7128 [tools] firmware-utils/mkcsysimg: minor bugfix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-25 09:39:30 +00:00
Gabor Juhos 33cd0e99eb [tools] firmware-utils/mkcsysimg: add signature for the 5GXi board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16551 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-24 16:44:30 +00:00
Gabor Juhos 4240b7c838 [tools] firmware-utils: add a file {en,de}cryption tool, based on the PC1 encryption algrithm
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16550 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-24 16:35:38 +00:00
Florian Fainelli e951c62e47 [brcm63xx] add imagetag support for BT Voyager 2500V, patch from Daniel Dickinson (#5364)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16506 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-18 15:00:32 +00:00
Felix Fietkau 157a4ab646 firmware-utils: add a small utility for generating nand flash images with ecc info
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-14 20:42:28 +00:00
Felix Fietkau 5eee701769 add ubinize to the mtd-utils build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16457 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-14 20:42:23 +00:00
Felix Fietkau 9cf81b33a2 upgrade to a more recent version of mtd-utils - preparation for adding UBI support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-14 20:42:12 +00:00
Florian Fainelli 2670ed1229 The attached patch adds building of firmware
images for more routers based on the brcm63xx chipset.

Signed-Off By: Daniel Dickinson <crazycshore@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16396 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-10 08:24:13 +00:00
Florian Fainelli 3339e02ed8 [brcm63xx] rework imagetag firmware generator and MTD partition parser to accomodate with all known
imagetag versions from Broadcom and vendors, patch from Daniel Dickinson (fixes #4987).


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16393 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-09 08:04:52 +00:00
Gabor Juhos 988e7d96da [ar71xx] build firmware image for the MZK-W300NH board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16342 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-04 19:14:46 +00:00
Florian Fainelli 15316b2ab2 [tools] port lzmp that is packaged by debian, build it, but do not install it yet
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-01 20:31:49 +00:00
Ralph Hempel 1541d79b6a [tools] fix download url
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16226 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-31 10:07:35 +00:00
Felix Fietkau 13f27757b6 add missing dependency
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16096 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-26 19:11:56 +00:00
Felix Fietkau 50aaed285f split stampfiles for STAGING_DIR and STAGING_DIR_HOST preparation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16095 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-26 19:11:52 +00:00