summaryrefslogtreecommitdiff
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* imagetag: Significantly updated brcm63xx imagetag writing tool. * Rewrote ↵Daniel Dickinson2010-11-165-219/+1781
| | | | | | 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
* brcm63xx: imagetag: Fixed occaisonal wrong CRC in image due to using strncpy ↵Daniel Dickinson2010-11-151-2/+2
| | | | | | to copy the CRC into the imagetag. strncpy stops copying after a 00 byte, memcpy doesn't. SVN-Revision: 24000
* target/linux/orion: create subtargets (closes #8154)Alexandros C. Couloumbis2010-11-041-2/+2
| | | | SVN-Revision: 23883
* ensure an empty BUILD_DIR variable is passed down u-boot's makefileMichael Büsch2010-11-031-1/+1
| | | | SVN-Revision: 23832
* add a stripped down (and portable) version of flock to the host toolsFelix Fietkau2010-10-293-1/+348
| | | | SVN-Revision: 23707
* tools/mtd-utils: add two upstream patchesAlexandros C. Couloumbis2010-10-152-0/+193
| | | | SVN-Revision: 23453
* quilt: pass PATH and FIND to configure (FreeBSD compatibility)Jo-Philipp Wich2010-10-071-0/+4
| | | | SVN-Revision: 23288
* reenable squashfs4 for ar71xx, it needs both old and newJo-Philipp Wich2010-10-061-1/+2
| | | | SVN-Revision: 23281
* ipkg-utils: don't fail if conffiles do not exist, resolve them instead and ↵Jo-Philipp Wich2010-10-051-0/+23
| | | | | | 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
* Toto, we don't support Linux 2.4 anymore..Imre Kaloz2010-10-051-1/+1
| | | | SVN-Revision: 23245
* simplify old squashfs/lzma selectionImre Kaloz2010-10-051-4/+1
| | | | SVN-Revision: 23244
* tools/sed: update to sed-4.2.1 (also tested on FreeBSD/AMD64)Alexandros C. Couloumbis2010-10-052-17/+5
| | | | SVN-Revision: 23241
* mtd-utils: refresh patches againJo-Philipp Wich2010-10-032-3/+3
| | | | SVN-Revision: 23194
* tools/mtd-utils: fix build issue under freebsd. update to latest git tree. ↵Alexandros C. Couloumbis2010-10-031-6/+6
| | | | | | (thanks loswillios & larsc) SVN-Revision: 23193
* tools/mtd-utils: kill 132-revert-zlib-cleanup.patch. it's wrong.Alexandros C. Couloumbis2010-10-031-210/+0
| | | | SVN-Revision: 23192
* libuuid: Use libuuid from util-linux-ng instead of e2fsprogsLars-Peter Clausen2010-10-022-2009/+52
| | | | SVN-Revision: 23189
* mtd-utils: refresh patchesJo-Philipp Wich2010-10-025-60/+56
| | | | SVN-Revision: 23179
* tools/mtd-utils: fix compilation on OS XJo-Philipp Wich2010-10-021-10/+10
| | | | SVN-Revision: 23176
* tools/mtd-utils: update to mtd-utils-20101001, fix FreeBSD (and hopefully ↵Alexandros C. Couloumbis2010-10-0110-56/+293
| | | | | | Darwin) build issues. SVN-Revision: 23169
* firmware-utils/mktplinkfw: add support for the TL-MR3420 v1Gabor Juhos2010-09-271-0/+9
| | | | SVN-Revision: 23137
* firmware-utils/mktplinkfw: add support for the TL-WR841N v7Gabor Juhos2010-09-271-0/+9
| | | | SVN-Revision: 23133
* mtd-utils: revert r23075Jo-Philipp Wich2010-09-152-38/+39
| | | | SVN-Revision: 23076
* mtd-utils: do not rely on host kernel headers, redefine the integer types ↵Jo-Philipp Wich2010-09-152-39/+38
| | | | | | instead (#7950) SVN-Revision: 23075
* revert r23048 for now until Darwin compile issues have been sorted out (#7934)Jo-Philipp Wich2010-09-136-47/+43
| | | | SVN-Revision: 23057
* tools/mtd-utils: update to version git-20100912Alexandros C. Couloumbis2010-09-136-43/+47
| | | | SVN-Revision: 23048
* fix build error in tools on darwin on newer macs (patch by dirtyfreebooter)Felix Fietkau2010-09-054-20/+0
| | | | SVN-Revision: 22934
* Zcomax device firmware tool endianness fixMichael Büsch2010-09-041-1/+1
| | | | SVN-Revision: 22885
* tools/firmware-utils: new tool for the Zcomax devicesGabor Juhos2010-09-032-0/+409
| | | | SVN-Revision: 22883
* 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 SVN-Revision: 22871
* qemu: add dependency on libuuidAndy Boyett2010-08-221-0/+1
| | | | SVN-Revision: 22757
* qemu: fix build failure on some systems. Closes #7767Andy Boyett2010-08-211-4/+2
| | | | SVN-Revision: 22751
* quilt: needs autoconfAndy Boyett2010-08-141-2/+2
| | | | SVN-Revision: 22652
* update wrt350nv2 builder to v2.3 (#7580)Florian Fainelli2010-08-102-17/+49
| | | | SVN-Revision: 22579
* qemu: build qemu-img for packaging vmdk and vdi imagesAndy Boyett2010-08-092-0/+42
| | | | SVN-Revision: 22552
* 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. SVN-Revision: 22516
* sed: fix compilation on FreeBSD/AMD64Jo-Philipp Wich2010-08-061-0/+12
| | | | SVN-Revision: 22499
* 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) SVN-Revision: 22418
* firmware-utils/trx: Endianness fixesMichael Büsch2010-07-291-4/+7
| | | | SVN-Revision: 22414
* firmware-utils: The option -F was not detected. This was missing in r22396Hauke Mehrtens2010-07-271-1/+1
| | | | | | This fixes build of brcm47xx SVN-Revision: 22398
* tools/quilt: fix openSUSE/patch-2.6.1.81 issue (closes #7635)Alexandros C. Couloumbis2010-07-272-0/+12
| | | | SVN-Revision: 22397
* 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. SVN-Revision: 22396
* squashfs4: fix compilation on FreeBSDJo-Philipp Wich2010-07-221-0/+10
| | | | SVN-Revision: 22347
* yaffs2: fix compilation on FreeBSDJo-Philipp Wich2010-07-221-0/+11
| | | | SVN-Revision: 22345
* mkimage: fix compilation on FreeBSDJo-Philipp Wich2010-07-221-1/+16
| | | | SVN-Revision: 22344
* 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 SVN-Revision: 22334
* 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> SVN-Revision: 22169
* firmware-utils/mktplinkfw: add support for the TL-WA901NDGabor Juhos2010-07-011-0/+9
| | | | | | Patch-by: Pieter "Fate" Hollants <pieter@hollants.com> SVN-Revision: 22015
* 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 SVN-Revision: 22012
* fixed trx version to handlingMarkus Wigge2010-06-281-1/+1
| | | | | | I forgot to write the right trx version to the actual header... SVN-Revision: 21986
* remove whitespaces in imagetag toolFlorian Fainelli2010-06-201-7/+7
| | | | SVN-Revision: 21848