aboutsummaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* [tools/firmware-utils] imagetag: Significantly updated brcm63xx imagetag ↵Daniel Dickinson2010-11-165-219/+1781
| | | | | | | | | | | | | | | | | | | | | | | | | | 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). git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24011 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] brcm63xx: imagetag: Fixed occaisonal wrong CRC in image due to using ↵Daniel Dickinson2010-11-151-2/+2
| | | | | | strncpy to copy the CRC into the imagetag. strncpy stops copying after a 00 byte, memcpy doesn't. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24000 3c298f89-4303-0410-b956-a3cf2f4a3e73
* target/linux/orion: create subtargets (closes #8154)Alexandros C. Couloumbis2010-11-041-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23883 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ensure an empty BUILD_DIR variable is passed down u-boot's makefileMichael Büsch2010-11-031-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23832 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add a stripped down (and portable) version of flock to the host toolsFelix Fietkau2010-10-293-1/+348
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23707 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/mtd-utils: add two upstream patchesAlexandros C. Couloumbis2010-10-152-0/+193
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23453 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] quilt: pass PATH and FIND to configure (FreeBSD compatibility)Jo-Philipp Wich2010-10-071-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23288 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] reenable squashfs4 for ar71xx, it needs both old and newJo-Philipp Wich2010-10-061-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23281 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] ipkg-utils: don't fail if conffiles do not exist, resolve them ↵Jo-Philipp Wich2010-10-051-0/+23
| | | | | | | | | | 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! git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23256 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Toto, we don't support Linux 2.4 anymore..Imre Kaloz2010-10-051-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23245 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools]: simplify old squashfs/lzma selectionImre Kaloz2010-10-051-4/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23244 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/sed: update to sed-4.2.1 (also tested on FreeBSD/AMD64)Alexandros C. Couloumbis2010-10-052-17/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23241 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] mtd-utils: refresh patches againJo-Philipp Wich2010-10-032-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23194 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/mtd-utils: fix build issue under freebsd. update to latest git tree. ↵Alexandros C. Couloumbis2010-10-031-6/+6
| | | | | | (thanks loswillios & larsc) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23193 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/mtd-utils: kill 132-revert-zlib-cleanup.patch. it's wrong.Alexandros C. Couloumbis2010-10-031-210/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23192 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] libuuid: Use libuuid from util-linux-ng instead of e2fsprogsLars-Peter Clausen2010-10-022-2009/+52
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23189 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] mtd-utils: refresh patchesJo-Philipp Wich2010-10-025-60/+56
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23179 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/mtd-utils: fix compilation on OS XJo-Philipp Wich2010-10-021-10/+10
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23176 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/mtd-utils: update to mtd-utils-20101001, fix FreeBSD (and hopefully ↵Alexandros C. Couloumbis2010-10-0110-56/+293
| | | | | | Darwin) build issues. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23169 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils/mktplinkfw: add support for the TL-MR3420 v1Gabor Juhos2010-09-271-0/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23137 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils/mktplinkfw: add support for the TL-WR841N v7Gabor Juhos2010-09-271-0/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23133 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] mtd-utils: revert r23075Jo-Philipp Wich2010-09-152-38/+39
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23076 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] mtd-utils: do not rely on host kernel headers, redefine the integer ↵Jo-Philipp Wich2010-09-152-39/+38
| | | | | | types instead (#7950) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23075 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] revert r23048 for now until Darwin compile issues have been sorted ↵Jo-Philipp Wich2010-09-136-47/+43
| | | | | | out (#7934) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23057 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/mtd-utils: update to version git-20100912Alexandros C. Couloumbis2010-09-136-43/+47
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23048 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix build error in tools on darwin on newer macs (patch by dirtyfreebooter)Felix Fietkau2010-09-054-20/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22934 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Zcomax device firmware tool endianness fixMichael Büsch2010-09-041-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22885 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/firmware-utils: new tool for the Zcomax devicesGabor Juhos2010-09-032-0/+409
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22883 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add a command for printing a cleaned up make target database - will be used ↵Felix Fietkau2010-09-011-0/+2
| | | | | | to analyze package dependencies at some point git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22871 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] qemu: add dependency on libuuidAndy Boyett2010-08-221-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22757 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] qemu: fix build failure on some systems. Closes #7767Andy Boyett2010-08-211-4/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22751 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] quilt: needs autoconfAndy Boyett2010-08-141-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22652 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] update wrt350nv2 builder to v2.3 (#7580)Florian Fainelli2010-08-102-17/+49
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22579 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] qemu: build qemu-img for packaging vmdk and vdi imagesAndy Boyett2010-08-092-0/+42
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22552 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: Add new image generation and fix leds/reset button on WNR834B V2Hauke Mehrtens2010-08-062-0/+328
| | | | | | | | | | 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
* [tools] sed: fix compilation on FreeBSD/AMD64Jo-Philipp Wich2010-08-061-0/+12
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22499 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mostly revert commit r22396Hauke Mehrtens2010-07-301-1/+1
| | | | | | | | | | | | | | 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
* firmware-utils/trx: Endianness fixesMichael Büsch2010-07-291-4/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22414 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils: The option -F was not detected.Hauke Mehrtens2010-07-271-1/+1
| | | | | | | | | 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
* tools/quilt: fix openSUSE/patch-2.6.1.81 issue (closes #7635)Alexandros C. Couloumbis2010-07-272-0/+12
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22397 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix CRC32 calculation for sysupgradeMarkus Wigge2010-07-271-3/+5
| | | | | | | | | | | | | | | | * 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
* [tools] squashfs4: fix compilation on FreeBSDJo-Philipp Wich2010-07-221-0/+10
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22347 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] yaffs2: fix compilation on FreeBSDJo-Philipp Wich2010-07-221-0/+11
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22345 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] mkimage: fix compilation on FreeBSDJo-Philipp Wich2010-07-221-1/+16
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22344 3c298f89-4303-0410-b956-a3cf2f4a3e73
* squashfs4: backport an upstream change to fix the file mode check to allow ↵Felix Fietkau2010-07-211-0/+11
| | | | | | setuid/setgid binaries (thx, ermo) - fixes #7653 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22334 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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