aboutsummaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* tools/firmware-utils: enhance mktplinkfw utilityGabor Juhos2010-07-131-9/+278
| | | | | | | | | | | | 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
* firmware-utils/mktplinkfw: add support for the TL-WA901NDGabor Juhos2010-07-011-0/+9
| | | | | | | Patch-by: Pieter "Fate" Hollants <pieter@hollants.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22015 3c298f89-4303-0410-b956-a3cf2f4a3e73
* preset stable and try* flags for TRX2 headersMarkus Wigge2010-07-012-4/+22
| | | | | | | | | | | | * 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
* fixed trx version to handlingMarkus Wigge2010-06-281-1/+1
| | | | | | | 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
* [tools] remove whitespaces in imagetag toolFlorian Fainelli2010-06-201-7/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21848 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert r21806 there are no users of it yetFlorian Fainelli2010-06-144-513/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21808 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] add hcsmakeimage, for cable modems/routers based on bcm33xxFlorian Fainelli2010-06-144-0/+513
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21806 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] fix mktitanimg segfault on 64-bits hosts (#7443)Florian Fainelli2010-06-121-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21767 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] add mktitanimg to create Titan (AR7-based) images (#6632)Florian Fainelli2010-06-063-0/+1211
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21689 3c298f89-4303-0410-b956-a3cf2f4a3e73
* libelf: get rid of CRLF encoding in the makefile (thx, danimo)Felix Fietkau2010-06-031-49/+49
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21663 3c298f89-4303-0410-b956-a3cf2f4a3e73
* get rid of CRLF encoding in various filesFelix Fietkau2010-05-161-204/+204
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21462 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils/mkzynfw: add support for the NBG460N boardGabor Juhos2010-05-142-0/+20
| | | | | | | | | 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
* firmware-utils/mkzynfw: don't use next_offset twice (closes #7273)Gabor Juhos2010-05-141-1/+1
| | | | | | | | | | 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
* mkimage fails to build on some systems if sed is not installed, add a ↵Felix Fietkau2010-04-271-0/+1
| | | | | | dependency to fix parallel build issues git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21210 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/firmware-utils: add size check to the mkplanexfw toolGabor Juhos2010-04-261-4/+11
| | | | | | | Also pad the image to a 64K boundary. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21174 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: update gmp to 4.3.2Alexandros C. Couloumbis2010-04-241-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21147 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: update quilt to 0.48Alexandros C. Couloumbis2010-04-241-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21146 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: update cloog to 0.15.9Alexandros C. Couloumbis2010-04-211-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21071 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [toolchain] fix graphite options with gcc-4.5, add libelf for LTO, fix ↵Florian Fainelli2010-04-202-7/+55
| | | | | | mbsd_multi patch, patch from Bernhard Loos git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21046 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add gcc-4.5.0 preliminary supportAlexandros C. Couloumbis2010-04-194-8/+53
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21033 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd-utils: remove bogus include statement to make it more portableFelix Fietkau2010-04-141-2/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20853 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [cleanup] remove 'svn:executable' propertyNicolas Thill2010-04-121-0/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20831 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add jffs2/lzma support (not activated by default yet)Alexandros C. Couloumbis2010-04-121-0/+5031
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20828 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm63xx] flashmap and image generation: reduced union bcm_tag to a single ↵Florian Fainelli2010-04-011-246/+80
| | | | | | | | | | | 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
* [brcm63xx] move bcm_tag.h out of the flashmap patch so that user-land tools ↵Florian Fainelli2010-03-281-178/+1
| | | | | | can re-use it git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20548 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils/trx: add relative offset parameterGabor Juhos2010-03-271-2/+22
| | | | | | | | | * 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
* [tools] revert r18760 since it prevents people from building working eva imagesFlorian Fainelli2010-03-261-88/+26
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20437 3c298f89-4303-0410-b956-a3cf2f4a3e73
* added support for wrt54g3gv2-vf and new trx header formatMarkus Wigge2010-03-252-14/+50
| | | | | | | | | | | | | | - 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
* [tools] fix file creation mode, thanks rtzFlorian Fainelli2010-03-181-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20293 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sstrip: fix a section length corruption bug (patch from #6847)Felix Fietkau2010-03-121-2/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20154 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mktplinkfw: add option to strip padding from the end of the imageGabor Juhos2010-03-101-3/+15
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20120 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mktplinkfw: fix help string, and remove duplicated optionGabor Juhos2010-03-081-5/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20067 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mkimage: fix spurious build errors caused by its braindead build systemFelix Fietkau2010-03-081-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20065 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd-utils: do not try to compile in support for ubifs ioctls and extended ↵Felix Fietkau2010-02-242-5/+5
| | | | | | flags - some linux distros do not support this git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19846 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils/mktplinkfw: add board definitions for TL-WR941ND v4Gabor Juhos2010-02-191-0/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19748 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools/wrt350nv2-builder] Update to v2.2Travis Kemen2010-02-172-23/+32
| | | | | | | | | | | 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
* [tools/wrt350nv2-builder] Update to v2.1Travis Kemen2010-02-122-98/+118
| | | | | | | | | | | | 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
* with no users left, remove support for 2.6.21Imre Kaloz2010-02-111-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19578 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] firmware-utils: unify cc and cc2 macros, simplifies MakefileJo-Philipp Wich2010-02-011-9/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19487 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] firmware-utils: copy bcm_tag.h to src/ and get rid of cc3 macro, ↵Jo-Philipp Wich2010-02-012-5/+179
| | | | | | fixes imagetag compilation git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19485 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd-utils: refresh the cygwin_fixes patchFelix Fietkau2010-01-161-33/+24
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19159 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd-utils: fix compile on mac os xFelix Fietkau2010-01-164-1/+121
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19158 3c298f89-4303-0410-b956-a3cf2f4a3e73
* libuuid: only build the static variant - fixes compile on mac os xFelix Fietkau2010-01-161-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19157 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd-utils depends on libuuidLars-Peter Clausen2010-01-131-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19117 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Fix libuuid header location and reenable building of mkfs.ubifsLars-Peter Clausen2010-01-132-5/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19113 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd-utils: Don't include lzo headers aswell...Lars-Peter Clausen2010-01-111-4/+14
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19107 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] do not build nor install mkfs.ubifs until we have it fixedFlorian Fainelli2010-01-111-5/+1
| | | | | | (#6483) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19106 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add libuuid Makefile. Oops...Lars-Peter Clausen2010-01-111-0/+50
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19105 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd-utils: Disable lzo for mkfs.ubifsLars-Peter Clausen2010-01-111-0/+79
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19104 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add libuuid hosttool package. It's needed in order to build mkfs.ubifsLars-Peter Clausen2010-01-112-1/+1995
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19103 3c298f89-4303-0410-b956-a3cf2f4a3e73