Commit Graph

447 Commits (d88fc86fca4763300279cf558d603a7718fb7631)

Author SHA1 Message Date
Jo-Philipp Wich 8e4f381a66 turn util-macros into tools/xorg-macros host build, provides global xorg m4 macros
SVN-Revision: 24452
2010-12-10 20:23:48 +00:00
Gabor Juhos 912a140b19 firmware-utils/mktplinkfw: add support for the TL-MR3220 v1
SVN-Revision: 24438
2010-12-10 17:57:43 +00:00
Jo-Philipp Wich 8f591af937 automake: rework patch; only skip when the directories does not exist, this preserves error cases like missing access permissions
SVN-Revision: 24427
2010-12-10 16:10:07 +00:00
Jo-Philipp Wich 127c395a0e automake: use symlinks instead of hardlinks to link aclocal versions
SVN-Revision: 24425
2010-12-10 16:03:27 +00:00
Jo-Philipp Wich 94c3f4ab4d automake: skip over not existing m4 macro directories, don't fail
SVN-Revision: 24424
2010-12-10 16:01:33 +00:00
Felix Fietkau 48dcb640d8 make $(STAGING_DIR)/host/share/aclocal a symlink to $(STAGING_DIR_HOST)/share/aclocal
SVN-Revision: 24422
2010-12-10 15:20:44 +00:00
Jo-Philipp Wich 339295d309 revert r24406
SVN-Revision: 24415
2010-12-10 12:58:15 +00:00
Jo-Philipp Wich 7da7badd3e revert r24407, its already packaged in the xorg feed
SVN-Revision: 24409
2010-12-10 10:44:58 +00:00
Jo-Philipp Wich 96dff60461 package xorg-macros
SVN-Revision: 24407
2010-12-10 10:01:45 +00:00
Jo-Philipp Wich 2104af77e3 pkg-config: install pkg.m4 to aclocal/
SVN-Revision: 24406
2010-12-10 09:35:16 +00:00
Alexandros C. Couloumbis 72cf52b1d8 tools/mpfr: update to version 3.0.0
SVN-Revision: 24382
2010-12-09 13:31:57 +00:00
Alexandros C. Couloumbis 5c203f76d6 tools/mpc: update to version 0.8.2
SVN-Revision: 24381
2010-12-09 13:30:30 +00:00
Alexandros C. Couloumbis 2a3dde2cac tools/gmp: update to version 5.0.1
SVN-Revision: 24380
2010-12-09 13:28:57 +00:00
Alexandros C. Couloumbis 8f143af3ff tools/cloog: update to version 0.15.10
SVN-Revision: 24378
2010-12-09 12:21:36 +00:00
Alexandros C. Couloumbis 421e6d83ce tools/ccache: update to version 3.1.3
SVN-Revision: 24377
2010-12-09 12:12:40 +00:00
Alexandros C. Couloumbis 276ef23e4d tools/automake: add symbolic links upto version 1.11.1
SVN-Revision: 24287
2010-12-06 17:38:09 +00:00
Alexandros C. Couloumbis 163c424187 tools/mklibs: revert r24282
SVN-Revision: 24283
2010-12-06 13:21:09 +00:00
Alexandros C. Couloumbis be47a78299 tools/mklibs: update to version 0.1.30
SVN-Revision: 24282
2010-12-06 12:32:04 +00:00
Alexandros C. Couloumbis 00c9674f71 tools/bison: update to version 2.4.3
SVN-Revision: 24281
2010-12-06 12:21:08 +00:00
Alexandros C. Couloumbis d7b81def38 tools/m4: update to version 1.4.15
SVN-Revision: 24280
2010-12-06 12:16:40 +00:00
Alexandros C. Couloumbis e3a95a6320 tools/autoconf: update to version 2.68
SVN-Revision: 24279
2010-12-06 12:14:50 +00:00
Alexandros C. Couloumbis d5aecceacd tools/automake: update to version 1.11.1
SVN-Revision: 24278
2010-12-06 12:11:47 +00:00
Hauke Mehrtens 41b3383499 brcm47xx: Add edimax PS1208mfg support
Thank you clemvangelis for the patches. (closes #7672)

SVN-Revision: 24217
2010-12-02 21:27:54 +00:00
Alexandros C. Couloumbis 0d69a941a2 tools/pkg-config: update to version 0.25
SVN-Revision: 24146
2010-11-25 18:56:19 +00:00
Alexandros C. Couloumbis 721a005dc2 tools/e2fsprogs: fix freebsd compile issue
SVN-Revision: 24130
2010-11-24 14:00:36 +00:00
Alexandros C. Couloumbis 8a5b26afd1 tools/mtd-utils: update to mtd-utils-20101124
SVN-Revision: 24129
2010-11-24 12:05:06 +00:00
Alexandros C. Couloumbis 65a07aa7cf tools/e2fsprogs: update to e2fsprogs-1.41.12
SVN-Revision: 24128
2010-11-24 11:59:51 +00:00
Felix Fietkau 233c6672a9 e2fsprogs: fix libuuid installation
SVN-Revision: 24106
2010-11-22 21:56:15 +00:00
Felix Fietkau 5b2df455f0 e2fsprogs: clean up the makefile and install libuuid
SVN-Revision: 24091
2010-11-22 14:26:06 +00:00
Imre Kaloz 5ea6194ab0 remove 2.6.25 support
SVN-Revision: 24089
2010-11-22 13:43:32 +00:00
Imre Kaloz 49a0179e21 add e2fsprogs to tools and use that instead of libuuid
SVN-Revision: 24078
2010-11-22 11:26:45 +00:00
Daniel Dickinson eadb5c84fa imagetag: Significantly updated brcm63xx imagetag writing tool. * Rewrote commandline parsing code using gengetopt - We now get long options - We have more options including use of the info section for board information (e.g. to add the same boardid but different GPIOs on different routers) * Added back the ability to write stock images (this is useful, for example, when copying the firmware from the in-memory flash, and then being able to create an image that will let you revert to/test stock firmware * Fixed copying of CRCs to use memcpy instead of strncpy (strncpy stops at 0) * Added ability to use all sections of the imagetag, including custom magic signatures (e.g. for the Telsey router I'm adding soon), info sections, and reserved sections * Added putting the router type (as defined in the image generating Makefile) into the info1 section and the filesystem type in the info2 section. This will be used by mtd (when I add the code) to return the name of image used to flash this router. (As requested by Jo, as well as being useful for same boardid different board scenario described above).
SVN-Revision: 24011
2010-11-16 06:46:53 +00:00
Daniel Dickinson 6cd4575153 brcm63xx: imagetag: Fixed occaisonal wrong CRC in image due to using strncpy to copy the CRC into the imagetag. strncpy stops copying after a 00 byte, memcpy doesn't.
SVN-Revision: 24000
2010-11-15 04:08:09 +00:00
Alexandros C. Couloumbis 4ec905f3c9 target/linux/orion: create subtargets (closes #8154)
SVN-Revision: 23883
2010-11-04 22:10:11 +00:00
Michael Büsch 676520cf65 ensure an empty BUILD_DIR variable is passed down u-boot's makefile
SVN-Revision: 23832
2010-11-03 18:26:26 +00:00
Felix Fietkau 731877c5d9 add a stripped down (and portable) version of flock to the host tools
SVN-Revision: 23707
2010-10-29 13:39:18 +00:00
Alexandros C. Couloumbis 585850eafb tools/mtd-utils: add two upstream patches
SVN-Revision: 23453
2010-10-15 07:52:37 +00:00
Jo-Philipp Wich 002fde670f quilt: pass PATH and FIND to configure (FreeBSD compatibility)
SVN-Revision: 23288
2010-10-07 11:33:54 +00:00
Jo-Philipp Wich b826e42476 reenable squashfs4 for ar71xx, it needs both old and new
SVN-Revision: 23281
2010-10-06 22:34:35 +00:00
Jo-Philipp Wich 3341e1ece7 ipkg-utils: don't fail if conffiles do not exist, resolve them instead and silently skip not existing files. This prepares support for sysupgrade hints using to build the keepfile list. Subsequent commits will rely on this feature - a rebuild of tools/ipkg-utils is necessary!
SVN-Revision: 23256
2010-10-05 19:18:15 +00:00
Imre Kaloz 7fa8ba095b Toto, we don't support Linux 2.4 anymore..
SVN-Revision: 23245
2010-10-05 14:15:46 +00:00
Imre Kaloz 968a0c1ddb simplify old squashfs/lzma selection
SVN-Revision: 23244
2010-10-05 14:14:12 +00:00
Alexandros C. Couloumbis c74849709f tools/sed: update to sed-4.2.1 (also tested on FreeBSD/AMD64)
SVN-Revision: 23241
2010-10-05 13:51:54 +00:00
Jo-Philipp Wich 3d44120515 mtd-utils: refresh patches again
SVN-Revision: 23194
2010-10-03 12:15:04 +00:00
Alexandros C. Couloumbis 3c67143588 tools/mtd-utils: fix build issue under freebsd. update to latest git tree. (thanks loswillios & larsc)
SVN-Revision: 23193
2010-10-03 12:03:21 +00:00
Alexandros C. Couloumbis e70493a812 tools/mtd-utils: kill 132-revert-zlib-cleanup.patch. it's wrong.
SVN-Revision: 23192
2010-10-03 11:12:36 +00:00
Lars-Peter Clausen be8b1b4d03 libuuid: Use libuuid from util-linux-ng instead of e2fsprogs
SVN-Revision: 23189
2010-10-02 23:18:46 +00:00
Jo-Philipp Wich 4e8f4e1d39 mtd-utils: refresh patches
SVN-Revision: 23179
2010-10-02 16:42:57 +00:00
Jo-Philipp Wich f70671c153 tools/mtd-utils: fix compilation on OS X
SVN-Revision: 23176
2010-10-02 10:18:34 +00:00
Alexandros C. Couloumbis 930031c5d1 tools/mtd-utils: update to mtd-utils-20101001, fix FreeBSD (and hopefully Darwin) build issues.
SVN-Revision: 23169
2010-10-01 16:39:08 +00:00
Gabor Juhos 1d855c0890 firmware-utils/mktplinkfw: add support for the TL-MR3420 v1
SVN-Revision: 23137
2010-09-27 14:54:02 +00:00
Gabor Juhos 142fb3e229 firmware-utils/mktplinkfw: add support for the TL-WR841N v7
SVN-Revision: 23133
2010-09-27 14:53:51 +00:00
Jo-Philipp Wich 78222ff9dc mtd-utils: revert r23075
SVN-Revision: 23076
2010-09-15 23:50:31 +00:00
Jo-Philipp Wich 297f110b2c mtd-utils: do not rely on host kernel headers, redefine the integer types instead (#7950)
SVN-Revision: 23075
2010-09-15 22:45:54 +00:00
Jo-Philipp Wich 97a286cb62 revert r23048 for now until Darwin compile issues have been sorted out (#7934)
SVN-Revision: 23057
2010-09-13 18:50:41 +00:00
Alexandros C. Couloumbis 432cb15bd1 tools/mtd-utils: update to version git-20100912
SVN-Revision: 23048
2010-09-13 07:39:44 +00:00
Felix Fietkau 392888845c fix build error in tools on darwin on newer macs (patch by dirtyfreebooter)
SVN-Revision: 22934
2010-09-05 16:16:59 +00:00
Michael Büsch f40f0c001e Zcomax device firmware tool endianness fix
SVN-Revision: 22885
2010-09-04 05:40:56 +00:00
Gabor Juhos 7bf8159991 tools/firmware-utils: new tool for the Zcomax devices
SVN-Revision: 22883
2010-09-03 18:14:40 +00:00
Felix Fietkau 00d1e599d7 add a command for printing a cleaned up make target database - will be used to analyze package dependencies at some point
SVN-Revision: 22871
2010-09-01 17:51:36 +00:00
Andy Boyett 9638e84966 qemu: add dependency on libuuid
SVN-Revision: 22757
2010-08-22 09:16:49 +00:00
Andy Boyett 6e2f8d7eec qemu: fix build failure on some systems. Closes #7767
SVN-Revision: 22751
2010-08-21 17:02:09 +00:00
Andy Boyett bb662f4f32 quilt: needs autoconf
SVN-Revision: 22652
2010-08-14 22:58:55 +00:00
Florian Fainelli 4bc034f07c update wrt350nv2 builder to v2.3 (#7580)
SVN-Revision: 22579
2010-08-10 15:19:06 +00:00
Andy Boyett ff43518669 qemu: build qemu-img for packaging vmdk and vdi images
SVN-Revision: 22552
2010-08-09 04:22:34 +00:00
Hauke Mehrtens 7640f89045 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.

SVN-Revision: 22516
2010-08-06 20:21:32 +00:00
Jo-Philipp Wich f45be33f17 sed: fix compilation on FreeBSD/AMD64
SVN-Revision: 22499
2010-08-06 00:19:34 +00:00
Hauke Mehrtens da7493d8f9 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)

SVN-Revision: 22418
2010-07-30 21:19:49 +00:00
Michael Büsch 02549b0448 firmware-utils/trx: Endianness fixes
SVN-Revision: 22414
2010-07-29 18:14:10 +00:00
Hauke Mehrtens 233294722c firmware-utils: The option -F was not detected. This was missing in r22396
This fixes build of brcm47xx

SVN-Revision: 22398
2010-07-27 18:16:32 +00:00
Alexandros C. Couloumbis d83a959719 tools/quilt: fix openSUSE/patch-2.6.1.81 issue (closes #7635)
SVN-Revision: 22397
2010-07-27 17:21:30 +00:00
Markus Wigge 7a052dc799 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.

SVN-Revision: 22396
2010-07-27 15:37:37 +00:00
Jo-Philipp Wich f8c3ebc7c6 squashfs4: fix compilation on FreeBSD
SVN-Revision: 22347
2010-07-22 03:09:10 +00:00
Jo-Philipp Wich 26a6539a2e yaffs2: fix compilation on FreeBSD
SVN-Revision: 22345
2010-07-22 02:59:14 +00:00
Jo-Philipp Wich 4ad8aa543d mkimage: fix compilation on FreeBSD
SVN-Revision: 22344
2010-07-22 02:43:44 +00:00
Felix Fietkau 67b4181c8a squashfs4: backport an upstream change to fix the file mode check to allow setuid/setgid binaries (thx, ermo) - fixes #7653
SVN-Revision: 22334
2010-07-21 17:31:16 +00:00
Gabor Juhos a06400d432 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>

SVN-Revision: 22169
2010-07-13 16:51:59 +00:00
Gabor Juhos 48e579a536 firmware-utils/mktplinkfw: add support for the TL-WA901ND
Patch-by: Pieter "Fate" Hollants <pieter@hollants.com>

SVN-Revision: 22015
2010-07-01 14:49:04 +00:00
Markus Wigge 642a6e1a51 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

SVN-Revision: 22012
2010-07-01 10:40:22 +00:00
Markus Wigge 67416b62d7 fixed trx version to handling
I forgot to write the right trx version to the actual header...

SVN-Revision: 21986
2010-06-28 17:35:20 +00:00
Florian Fainelli e79f259abf remove whitespaces in imagetag tool
SVN-Revision: 21848
2010-06-20 11:58:40 +00:00
Florian Fainelli 39fa664f99 Revert r21806 there are no users of it yet
SVN-Revision: 21808
2010-06-14 21:49:03 +00:00
Florian Fainelli 3a332f39de add hcsmakeimage, for cable modems/routers based on bcm33xx
SVN-Revision: 21806
2010-06-14 21:47:21 +00:00
Florian Fainelli 5ec4eabfcb fix mktitanimg segfault on 64-bits hosts (#7443)
SVN-Revision: 21767
2010-06-12 18:10:01 +00:00
Florian Fainelli 04a4638910 add mktitanimg to create Titan (AR7-based) images (#6632)
SVN-Revision: 21689
2010-06-06 19:16:43 +00:00
Gabor Juhos 01d8285e47 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>

SVN-Revision: 21446
2010-05-14 09:20:36 +00:00
Gabor Juhos 8976d8f2ad 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>

SVN-Revision: 21445
2010-05-14 09:20:34 +00:00
Felix Fietkau ea5b74da62 mkimage fails to build on some systems if sed is not installed, add a dependency to fix parallel build issues
SVN-Revision: 21210
2010-04-27 21:57:32 +00:00
Gabor Juhos edac7e5a63 tools/firmware-utils: add size check to the mkplanexfw tool
Also pad the image to a 64K boundary.

SVN-Revision: 21174
2010-04-26 18:28:07 +00:00
Alexandros C. Couloumbis 5134195d40 tools: update gmp to 4.3.2
SVN-Revision: 21147
2010-04-24 20:11:08 +00:00
Alexandros C. Couloumbis 0d36c3fd37 tools: update quilt to 0.48
SVN-Revision: 21146
2010-04-24 19:54:53 +00:00
Alexandros C. Couloumbis bfe71b159a tools: update cloog to 0.15.9
SVN-Revision: 21071
2010-04-21 17:21:29 +00:00
Florian Fainelli 8ca51dc6f1 fix graphite options with gcc-4.5, add libelf for LTO, fix mbsd_multi patch, patch from Bernhard Loos
SVN-Revision: 21046
2010-04-20 16:18:08 +00:00
Alexandros C. Couloumbis 6d59a298e8 add gcc-4.5.0 preliminary support
SVN-Revision: 21033
2010-04-19 15:43:08 +00:00
Felix Fietkau 01ca56639c mtd-utils: remove bogus include statement to make it more portable
SVN-Revision: 20853
2010-04-14 10:50:33 +00:00
Nicolas Thill 0946764732 remove 'svn:executable' property
SVN-Revision: 20831
2010-04-12 17:08:57 +00:00
Alexandros C. Couloumbis c2c88d315f add jffs2/lzma support (not activated by default yet)
SVN-Revision: 20828
2010-04-12 13:14:42 +00:00
Florian Fainelli 2a4fb82289 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.
SVN-Revision: 20652
2010-04-01 21:20:43 +00:00
Florian Fainelli dad85cddac move bcm_tag.h out of the flashmap patch so that user-land tools can re-use it
SVN-Revision: 20548
2010-03-28 18:11:06 +00:00
Gabor Juhos 585198518e firmware-utils/trx: add relative offset parameter
* will be used for the WRT160NL board
 * patch by Bernhard Loos
 * note: rejected parts has been fixed

SVN-Revision: 20522
2010-03-27 17:38:26 +00:00