aboutsummaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* lantiq: DGN3500 (all known variants) factory and sysupgrade image building ↵John Crispin2014-06-172-0/+168
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | support This patch adds factory image building for the DGN3500, all variants, and fixes sysupgrade images to make them play nice with the sercomm secondary boot loader. The factory images can be used directly in the update dialog in the interface of the stock firmware and via the special Sercomm bootmode and a special windows flashing utility (allegedly present in the CD that came with the device -- but it's also compatible with the NSLU2 Upgrade_207_XP utility.) The special bootmode can be activated by turning the device on while holding the reset button pressed, then releasing it when the power led starts blinking red and green. Please notice that if using the 207 utility, it will always report that the flashing failed even though it completed successfully. Just power cycle the router manually after the utility reports the failure and OpenWRT will boot. This same utility (despite reporting failure in this case too) can revert a DGN3500 (any variant) to the appropriate stock Netgear firmware. This patch is a heavily modified version of a package I found on the OpenWRT forum with a couple fixes and features added -- mainly the generation of all the different image variants to support all known models directly, atm known variants are AnnexA-WW, AnnexA-NA and AnnexB-DE/GR. I tested the patch successfully on my device. Signed-off-by: Marco Antonio Mauro <marcus90@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41236 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: RT-N56U support fixes and factory image creationJohn Crispin2014-06-162-0/+295
| | | | | | Signed-off-by: Mikko Hissa <mikko.hissa@werzek.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41224 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: genext2fs: add support for blocksize != 1024John Crispin2014-06-024-0/+636
| | | | | | | | | | | | | | | | | | | | | This patch series is extracted from http://ftp.de.debian.org/debian/pool/main/g/genext2fs/genext2fs_1.4.1-4.debian.tar.gz The patches are used in Debian for quite a long time, so I assume that this is solid material. At least, my Ubuntu host fsck.ext4 does not bark :-) The goal is to allow building filesystems with larger blocksizes instead of the current default of 1k. This should improve performance and lifetime when the filesystem is stored e.g. on a SD card (on Raspberry Pi/I2SE Duckbill for example) which uses internal flash memory. Writing to flash memory is slow because writing the data of one block results in erasing a whole erase block of the flash memory. Thus it is preferable to align the filesystem block size on a flash device with the erase blocksize, or at least bring it closer to the later one, to avoid unnecessary write amplification. Signed-off-by: Michael Heimpold <mhei@heimpold.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40921 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] mkimage: update to 2014.04Luka Perkov2014-05-218-46/+35
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40807 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] quilt: update to 0.63Luka Perkov2014-05-093-6/+6
| | | | | | Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40744 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils: add Gemtek header toolJohn Crispin2014-04-222-0/+212
| | | | | | | | | Generates webflash-compatible images for a few RT2880 routers based on Gemtek OEM boards. Signed-off-by: Claudio Leite <leitec@staticky.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40551 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] scons: upgrade to 2.3.1Luka Perkov2014-04-191-3/+3
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40535 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] mpc: upgrade to 1.0.2Luka Perkov2014-04-191-3/+3
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40534 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] flex: upgrade to version 2.5.39Luka Perkov2014-04-191-2/+2
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40533 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sparse: add as a new package selectable from the configJohn Crispin2014-04-122-0/+23
| | | | | | | | | | | | | This change does multiple things, all related to enable sparse usage as a static analysis tool selectable from the OpenWrt configuration: *add a KERNEL_SPARSE option in the config to add sparse to the kernel build (through the C=1 option usage) *add sparse as a new host tools. It will get selected automatically when the above option will be enabled Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40490 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils/mktplinkfw: add support for TL-WDR4300v1 (IL)Gabor Juhos2014-03-271-0/+6
| | | | | | | | | | | The version of TL-WDR4300 sold in Israel comes with a different hardware id. Patch-by: Daniel <daniel@makrotopia.org> Patchwork: http://patchwork.openwrt.org/patch/5001/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40037 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils/mktplinkfw: add support for the Oolite v1 boardGabor Juhos2014-03-271-0/+6
| | | | | | | | | Patch-by: Lars Bøgild Thomsen <lth@cow.dk> Patchwork: http://patchwork.openwrt.org/patch/4922/ [juhosg: fix whitespaces] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40035 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils/mktplinkfw: add an option to generate 16MiB imagesGabor Juhos2014-03-271-0/+12
| | | | | | | | Signed-off-by: Andrew 'Necromant' Andrianov <andrew@ncrmnt.org> Patchwork: http://patchwork.openwrt.org/patch/2449/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40034 3c298f89-4303-0410-b956-a3cf2f4a3e73
* flex: fix build error due to undefined library symbolsFelix Fietkau2014-03-122-1/+19
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39888 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] flex: upgrade to version 2.5.38Luka Perkov2014-03-101-3/+3
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39856 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: fix stampfile dependency handling when the list of build dirs changes ↵Felix Fietkau2014-03-081-15/+18
| | | | | | | | (#15186) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39845 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] cmake: upgrade to 2.8.12.2Luka Perkov2014-02-161-3/+3
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39598 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] quilt: update to 0.61Luka Perkov2014-02-021-3/+3
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39452 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils/mktplinkfw: allow to reserve space in the generated imagesGabor Juhos2014-01-251-4/+17
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39396 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: don't build mkhilinkfw untilt he ssl header dependency is resolvedJohn Crispin2014-01-121-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39248 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils: mkhilinkfw breaks the build botsJohn Crispin2014-01-121-0/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39243 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils: add HLK-RM04 toolJohn Crispin2014-01-122-0/+321
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39238 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils: check_magic() in buffalo-lib.c always return 0John Crispin2013-12-271-2/+2
| | | | | | | | spotted with cppcheck Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39171 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] automake: update to 1.11.6Luka Perkov2013-12-174-24/+10
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39108 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] ppl: update to 1.1Luka Perkov2013-12-153-44/+47
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39068 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] cloog: update to 0.18.1Luka Perkov2013-12-151-2/+2
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39067 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils/mkplinkfw: add TL-WA801ND v2 supportGabor Juhos2013-12-151-0/+6
| | | | | | | | Signed-off-by: Jiri Pirko <jiri@resnulli.us> Patchwork: http://patchwork.openwrt.org/patch/4503/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39066 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] bison: update to 3.0.2Luka Perkov2013-12-153-4/+4
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39056 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils/trx: remove trailing whitespacesGabor Juhos2013-11-301-3/+3
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38963 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils/trx: fix two bugsGabor Juhos2013-11-301-2/+1
| | | | | | | | | | - fix crc32 calculation if -F was enabled. - don't convert the crc32 to little endian twice. Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38962 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils/mkplinkfw: add TL-WR1043ND v2 supportGabor Juhos2013-11-291-0/+6
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38957 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/mpfr: add GNU sourceJohn Crispin2013-11-251-1/+2
| | | | | | | | | | | fixes https://dev.openwrt.org/ticket/14519 mpfr is available from GNU too see: https://gforge.inria.fr/forum/forum.php?forum_id=11263 Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38912 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] cmake: upgrade to 2.8.12.1Luka Perkov2013-11-241-2/+2
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38899 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] pkg-config: fix occasional install problemLuka Perkov2013-11-202-1/+23
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38886 3c298f89-4303-0410-b956-a3cf2f4a3e73
* padjffs2: add a different kind of padding (using standard jffs2 elements) to ↵Felix Fietkau2013-11-141-17/+49
| | | | | | | | work around broken boot loaders for kernel partitions Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38804 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: adapt addpattern for WD's Range ExtenderGabor Juhos2013-11-071-7/+15
| | | | | | | | | | | | A few things had to be changed to add support for these devices: - support code patterns with 8 characters - new board definition for the range extender device Patchwork: http://patchwork.openwrt.org/patch/4280/ Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38685 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/mtd-utils: add EOF marker support to libubigen/ubinizeGabor Juhos2013-11-072-0/+166
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38682 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils: remove the wndr3700 utilityGabor Juhos2013-11-062-151/+0
| | | | | | | | It is not used anymore. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38663 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd-utils: get rid of extern inline to fix build errorsFelix Fietkau2013-10-281-0/+41
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38565 3c298f89-4303-0410-b956-a3cf2f4a3e73
* e2fsprogs: update to 1.42.8, fixes a build errorFelix Fietkau2013-10-281-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38564 3c298f89-4303-0410-b956-a3cf2f4a3e73
* squashfs: make inline functions static to fix build errorsFelix Fietkau2013-10-281-0/+11
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38563 3c298f89-4303-0410-b956-a3cf2f4a3e73
* squashfs4: make inline functions static to fix build errorsFelix Fietkau2013-10-281-0/+36
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38562 3c298f89-4303-0410-b956-a3cf2f4a3e73
* pkg-config: update to latest version, fix build on Mac OS X 10.9Felix Fietkau2013-10-282-24/+5
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38561 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] gmp: update to 5.1.3Luka Perkov2013-10-211-2/+2
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38487 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mkfwimage: Increase RSPRO maximum size to 0xF00000 (15 MiB)Gabor Juhos2013-10-201-1/+1
| | | | | | | | | | | | | | | | | | | | | RSPRO has 16MiB of Flash, using the following layout: [ 2.930000] 0x000000000000-0x000000030000 : "RedBoot" [ 2.940000] 0x000000030000-0x000000130000 : "kernel" [ 2.950000] 0x000000130000-0x000000ff0000 : "rootfs" [ 2.960000] 0x000000ff0000-0x000000fff000 : "FIS directory" [ 2.970000] 0x000000fff000-0x000001000000 : "RedBoot config" Firmware images contain kernel and rootfs, so they can use up to 0xFF0000 - 0x30000 = 0xFC0000 (15,75MiB) of space. We don't include the RedBoot and FIS partitions and leave an extra 0xC0000 (768KiB) of space. This is based on revision 18410 which sets the limit to 0xB00000 (11 MiB). Signed-off-by: Bruno Randolf <br1@einfach.org> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38484 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] cmake: upgrade to 2.8.12Luka Perkov2013-10-182-6/+10
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38457 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] elftosb: support static linkingZoltan HERPAI2013-10-142-8/+29
| | | | | | | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de> Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38400 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imx23: rename imx23 to mxs for upcoming imx23/28 supportZoltan HERPAI2013-10-141-1/+1
| | | | | | | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de> Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38394 3c298f89-4303-0410-b956-a3cf2f4a3e73
* yaffs2: the yaffs2 git movedHauke Mehrtens2013-10-121-1/+1
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38377 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: add tool to generate dcs93xl imagesJohn Crispin2013-10-072-0/+40
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38317 3c298f89-4303-0410-b956-a3cf2f4a3e73