Commit Graph

776 Commits (fbfc1761158ed25e1a19dae084b121b16daf2a17)

Author SHA1 Message Date
Daniel Dickinson caefcca898 [tools/firmware-utils] 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).



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24011 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-16 06:46:53 +00:00
Daniel Dickinson 2d31577125 [tools] 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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-15 04:08:09 +00:00
Alexandros C. Couloumbis 5d1ac2fb37 target/linux/orion: create subtargets (closes #8154)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23883 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-04 22:10:11 +00:00
Michael Büsch 73753aef90 ensure an empty BUILD_DIR variable is passed down u-boot's makefile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23832 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-03 18:26:26 +00:00
Felix Fietkau d582572b08 add a stripped down (and portable) version of flock to the host tools
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23707 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-29 13:39:18 +00:00
Alexandros C. Couloumbis 5a604e9538 tools/mtd-utils: add two upstream patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23453 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-15 07:52:37 +00:00
Jo-Philipp Wich fe82ccb835 [tools] quilt: pass PATH and FIND to configure (FreeBSD compatibility)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23288 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-07 11:33:54 +00:00
Jo-Philipp Wich 568fd53c83 [tools] reenable squashfs4 for ar71xx, it needs both old and new
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23281 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-06 22:34:35 +00:00
Jo-Philipp Wich 4b56e28bbb [tools] 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!


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23256 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-05 19:18:15 +00:00
Imre Kaloz 961a7ea9c6 Toto, we don't support Linux 2.4 anymore..
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23245 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-05 14:15:46 +00:00
Imre Kaloz 9cf7ac1199 [tools]: simplify old squashfs/lzma selection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-05 14:14:12 +00:00
Alexandros C. Couloumbis 5923e0e180 tools/sed: update to sed-4.2.1 (also tested on FreeBSD/AMD64)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23241 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-05 13:51:54 +00:00
Jo-Philipp Wich 8affb49069 [tools] mtd-utils: refresh patches again
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23194 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-03 12:15:04 +00:00
Alexandros C. Couloumbis 8d6ec9e470 tools/mtd-utils: fix build issue under freebsd. update to latest git tree. (thanks loswillios & larsc)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23193 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-03 12:03:21 +00:00
Alexandros C. Couloumbis 1ac30b66a6 tools/mtd-utils: kill 132-revert-zlib-cleanup.patch. it's wrong.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23192 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-03 11:12:36 +00:00
Lars-Peter Clausen 59c8c4fac7 [tools] libuuid: Use libuuid from util-linux-ng instead of e2fsprogs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23189 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-02 23:18:46 +00:00
Jo-Philipp Wich 500055a6ad [tools] mtd-utils: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23179 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-02 16:42:57 +00:00
Jo-Philipp Wich ec5439f204 tools/mtd-utils: fix compilation on OS X
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23176 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-02 10:18:34 +00:00
Alexandros C. Couloumbis 5dab71a402 tools/mtd-utils: update to mtd-utils-20101001, fix FreeBSD (and hopefully Darwin) build issues.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23169 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-01 16:39:08 +00:00
Gabor Juhos 4cda300019 firmware-utils/mktplinkfw: add support for the TL-MR3420 v1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23137 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-27 14:54:02 +00:00
Gabor Juhos 64a74c52e0 firmware-utils/mktplinkfw: add support for the TL-WR841N v7
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23133 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-27 14:53:51 +00:00
Jo-Philipp Wich b6bac9b907 [tools] mtd-utils: revert r23075
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23076 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-15 23:50:31 +00:00
Jo-Philipp Wich 7b30153bd9 [tools] mtd-utils: do not rely on host kernel headers, redefine the integer types instead (#7950)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23075 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-15 22:45:54 +00:00
Jo-Philipp Wich 940f4bb307 [package] revert r23048 for now until Darwin compile issues have been sorted out (#7934)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23057 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-13 18:50:41 +00:00
Alexandros C. Couloumbis a1044e4906 tools/mtd-utils: update to version git-20100912
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23048 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-13 07:39:44 +00:00
Felix Fietkau 607146b4f2 fix build error in tools on darwin on newer macs (patch by dirtyfreebooter)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-05 16:16:59 +00:00
Michael Büsch ef67285052 Zcomax device firmware tool endianness fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22885 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-04 05:40:56 +00:00
Gabor Juhos 42a913f817 tools/firmware-utils: new tool for the Zcomax devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22883 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-03 18:14:40 +00:00
Felix Fietkau e3b691c96c add a command for printing a cleaned up make target database - will be used to analyze package dependencies at some point
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22871 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-01 17:51:36 +00:00
Andy Boyett e78e58e4de [tools] qemu: add dependency on libuuid
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22757 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-22 09:16:49 +00:00
Andy Boyett 9d6ca18739 [tools] qemu: fix build failure on some systems. Closes #7767
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-21 17:02:09 +00:00
Andy Boyett 461fc7d3a9 [tools] quilt: needs autoconf
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-14 22:58:55 +00:00
Florian Fainelli 0a46a65d59 [tools] update wrt350nv2 builder to v2.3 (#7580)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22579 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-10 15:19:06 +00:00
Andy Boyett df7283d7f0 [tools] qemu: build qemu-img for packaging vmdk and vdi images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22552 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-09 04:22:34 +00:00
Hauke Mehrtens c9d8571734 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22516 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-06 20:21:32 +00:00
Jo-Philipp Wich 02d0ada4d2 [tools] sed: fix compilation on FreeBSD/AMD64
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22499 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-06 00:19:34 +00:00
Hauke Mehrtens 43aabdf185 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)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22418 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-30 21:19:49 +00:00
Michael Büsch ff71f10390 firmware-utils/trx: Endianness fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22414 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-29 18:14:10 +00:00
Hauke Mehrtens 4dbe40188f firmware-utils: The option -F was not detected.
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
2010-07-27 18:16:32 +00:00
Alexandros C. Couloumbis 369fae1a4c tools/quilt: fix openSUSE/patch-2.6.1.81 issue (closes #7635)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22397 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-27 17:21:30 +00:00
Markus Wigge 520b6d0ce0 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.



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22396 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-27 15:37:37 +00:00
Jo-Philipp Wich 5cc9f1ca06 [tools] squashfs4: fix compilation on FreeBSD
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22347 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-22 03:09:10 +00:00
Jo-Philipp Wich 1f704a6e49 [tools] yaffs2: fix compilation on FreeBSD
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-22 02:59:14 +00:00
Jo-Philipp Wich ed24f5548a [tools] mkimage: fix compilation on FreeBSD
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22344 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-22 02:43:44 +00:00
Felix Fietkau 3031cf083a squashfs4: backport an upstream change to fix the file mode check to allow setuid/setgid binaries (thx, ermo) - fixes #7653
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22334 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-21 17:31:16 +00:00
Gabor Juhos 61c81bfbe9 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22169 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-13 16:51:59 +00:00
Gabor Juhos b76444287b firmware-utils/mktplinkfw: add support for the TL-WA901ND
Patch-by: Pieter "Fate" Hollants <pieter@hollants.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 14:49:04 +00:00
Markus Wigge 785ebf7bf3 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



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22012 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 10:40:22 +00:00
Markus Wigge 54ffe62ded fixed trx version to handling
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
2010-06-28 17:35:20 +00:00
Florian Fainelli e2ca235a69 [tools] remove whitespaces in imagetag tool
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-20 11:58:40 +00:00
Florian Fainelli fa8999e464 Revert r21806 there are no users of it yet
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21808 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-14 21:49:03 +00:00
Florian Fainelli b39b1b61a9 [tools] add hcsmakeimage, for cable modems/routers based on bcm33xx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21806 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-14 21:47:21 +00:00
Florian Fainelli 0be9ece4bc [tools] fix mktitanimg segfault on 64-bits hosts (#7443)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-12 18:10:01 +00:00
Florian Fainelli efe0f8bd76 [tools] add mktitanimg to create Titan (AR7-based) images (#6632)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21689 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-06 19:16:43 +00:00
Felix Fietkau b7fae73a93 libelf: get rid of CRLF encoding in the makefile (thx, danimo)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21663 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-03 00:44:49 +00:00
Felix Fietkau 55de6aeeb9 get rid of CRLF encoding in various files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21462 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-16 00:20:17 +00:00
Gabor Juhos 2923f9f5a6 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21446 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-14 09:20:36 +00:00
Gabor Juhos 3574cdbc0a 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21445 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-14 09:20:34 +00:00
Felix Fietkau 262cd87b5b mkimage fails to build on some systems if sed is not installed, add a dependency to fix parallel build issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21210 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-27 21:57:32 +00:00
Gabor Juhos ff8218d3a3 tools/firmware-utils: add size check to the mkplanexfw tool
Also pad the image to a 64K boundary.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21174 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-26 18:28:07 +00:00
Alexandros C. Couloumbis a7b74ea0ec tools: update gmp to 4.3.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21147 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-24 20:11:08 +00:00
Alexandros C. Couloumbis e3d7298718 tools: update quilt to 0.48
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21146 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-24 19:54:53 +00:00
Alexandros C. Couloumbis 016d4161e6 tools: update cloog to 0.15.9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21071 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-21 17:21:29 +00:00
Florian Fainelli 919f5d8ee5 [toolchain] fix graphite options with gcc-4.5, add libelf for LTO, fix mbsd_multi patch, patch from Bernhard Loos
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21046 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-20 16:18:08 +00:00
Alexandros C. Couloumbis bf4dbc7f29 add gcc-4.5.0 preliminary support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21033 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-19 15:43:08 +00:00
Felix Fietkau 3c36c484cd mtd-utils: remove bogus include statement to make it more portable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20853 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-14 10:50:33 +00:00
Nicolas Thill f46b3d70d3 [cleanup] remove 'svn:executable' property
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20831 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-12 17:08:57 +00:00
Alexandros C. Couloumbis 9328c2cecf add jffs2/lzma support (not activated by default yet)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20828 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-12 13:14:42 +00:00
Florian Fainelli 9b32abb33e [brcm63xx] 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-01 21:20:43 +00:00
Florian Fainelli dc3662326e [brcm63xx] move bcm_tag.h out of the flashmap patch so that user-land tools can re-use it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20548 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-28 18:11:06 +00:00
Gabor Juhos 567def1d7f firmware-utils/trx: add relative offset parameter
* 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
2010-03-27 17:38:26 +00:00
Florian Fainelli b92d712175 [tools] revert r18760 since it prevents people from building working eva images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20437 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-26 10:12:30 +00:00
Markus Wigge 6af0d9e549 added support for wrt54g3gv2-vf and new trx header format
- 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
2010-03-25 19:34:49 +00:00
Florian Fainelli 878447cc75 [tools] fix file creation mode, thanks rtz
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20293 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-18 23:35:12 +00:00
Felix Fietkau ff7379f7e8 sstrip: fix a section length corruption bug (patch from #6847)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20154 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-12 00:35:36 +00:00
Gabor Juhos 991cc2f274 mktplinkfw: add option to strip padding from the end of the image
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20120 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-10 17:41:50 +00:00
Gabor Juhos be8c626c20 mktplinkfw: fix help string, and remove duplicated option
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20067 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-08 17:35:07 +00:00
Felix Fietkau f575d6afc0 mkimage: fix spurious build errors caused by its braindead build system
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20065 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-08 17:17:46 +00:00
Felix Fietkau 81aeef8907 mtd-utils: do not try to compile in support for ubifs ioctls and extended flags - some linux distros do not support this
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19846 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-24 23:02:38 +00:00
Gabor Juhos 7419011330 firmware-utils/mktplinkfw: add board definitions for TL-WR941ND v4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-19 11:52:30 +00:00
Travis Kemen 1f39116fad [tools/wrt350nv2-builder] Update to v2.2
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
2010-02-17 02:18:13 +00:00
Travis Kemen 21a25fd0e3 [tools/wrt350nv2-builder] Update to v2.1
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
2010-02-12 01:40:57 +00:00
Imre Kaloz 98d6f0382b with no users left, remove support for 2.6.21
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19578 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-11 08:37:57 +00:00
Jo-Philipp Wich ea35e3e4c9 [tools] firmware-utils: unify cc and cc2 macros, simplifies Makefile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19487 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-01 01:56:02 +00:00
Jo-Philipp Wich e402bf7a8e [tools] firmware-utils: copy bcm_tag.h to src/ and get rid of cc3 macro, fixes imagetag compilation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19485 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-01 01:17:46 +00:00
Felix Fietkau 3b76a00882 mtd-utils: refresh the cygwin_fixes patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19159 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-16 00:11:47 +00:00
Felix Fietkau 0d97feeb2b mtd-utils: fix compile on mac os x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19158 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-16 00:11:43 +00:00
Felix Fietkau df366bdeb2 libuuid: only build the static variant - fixes compile on mac os x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19157 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-16 00:11:38 +00:00
Lars-Peter Clausen d540b178bf mtd-utils depends on libuuid
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19117 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-13 13:14:35 +00:00
Lars-Peter Clausen 8b84a711d8 Fix libuuid header location and reenable building of mkfs.ubifs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19113 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-13 05:21:50 +00:00
Lars-Peter Clausen 8b14d2df0c mtd-utils: Don't include lzo headers aswell...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19107 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-11 16:15:52 +00:00
Florian Fainelli 9a1aa9d6c9 [tools] do not build nor install mkfs.ubifs until we have it fixed
(#6483)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19106 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-11 15:40:45 +00:00
Lars-Peter Clausen a2a1c84aa8 Add libuuid Makefile. Oops...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19105 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-11 11:18:26 +00:00
Lars-Peter Clausen 01b610be12 mtd-utils: Disable lzo for mkfs.ubifs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19104 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-11 11:04:30 +00:00
Lars-Peter Clausen fbc1a0f4c1 Add libuuid hosttool package. It's needed in order to build mkfs.ubifs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19103 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-11 11:02:54 +00:00
Lars-Peter Clausen fdd8341f4a [tools] mtd-utils: Build mkfs.ubifs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19096 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-11 01:04:15 +00:00
Felix Fietkau 770dbf115e mkimage: fix compile errors on non-glibc systems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19095 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-10 18:42:12 +00:00
Imre Kaloz 1fde8606d9 [tools/mkimage]: upgrade and build from the u-boot source
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19091 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-10 15:57:43 +00:00
Nicolas Thill 86397e38b5 [tools] mpfr: add missing MD5SUM
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19060 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-07 02:07:51 +00:00
Florian Fainelli b7de1fb876 [tools] make mtd-utils compile correctly on cygwin
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19039 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-05 11:06:16 +00:00
Imre Kaloz 3d7ea17c07 remove handling of older unsupported kernels
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18955 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-27 21:54:09 +00:00
Gabor Juhos e80ae1b19a ar71xx: add support for the TL-WR841N v1.5 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-22 19:31:28 +00:00
Felix Fietkau f7ebcedcc2 wrt350nv2-builder: increase path limit from 64 bytes to 256 bytes, as 64 bytes may not be enough. suggested by maddes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18794 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-16 13:47:47 +00:00
Felix Fietkau 6599c8df66 add a hacked up version of upslug2 which is able to flash a wrt350nv2 in recovery mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18765 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-12 02:00:50 +00:00
Felix Fietkau a1d28a0f3c wrt350nv2-builder: fix a small off-by-one error (thx, mb)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18764 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-12 01:01:42 +00:00
Felix Fietkau a314fb6741 fix portability issues and other minor bugs in the wrt350nv2 image builder
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18762 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-12 00:44:15 +00:00
Felix Fietkau 4e4178d716 add wrt350n v2 image building code from #5970 (thx, maddes)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18761 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-12 00:44:03 +00:00
Michael Büsch 25c6342957 lzma2eva: Endianness fixes.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18760 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-11 23:50:51 +00:00
Gabor Juhos 9828d89496 ar71xx: TL-WR1043ND support cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18697 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-08 12:46:30 +00:00
Gabor Juhos 00c14fd865 ar71xx: preliminary support for the TL-WR1043ND
Adds board support for the TP-Link TL-WR1043ND Based on the Atheros AP81 platform.
Presently the RTL8366RB switch support is missing due to no driver.
The ethernet works with 5 ports@1Gbit but is missing vlan support.

Hope Ive done this right, First time submiting a patch.

Signed-off-by: Andrew Tarabaras <andrew@advancedtechnologies.com.au>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18696 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-08 12:46:25 +00:00
Gabor Juhos 593b3bbb81 tools: build old squashfs tools for ar71xx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18596 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-29 09:33:50 +00:00
Gabor Juhos 1c396a22fd ar71xx: create images for the WNDR3700, which can be flashed via the factory web interface
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-28 09:28:25 +00:00
Gabor Juhos b601f71cb5 firmware-utils: add WNDR3700 image fixing tool (thanks to Anael Orlinski)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-28 08:25:53 +00:00
Florian Fainelli 73f764c59d [tools] update automake to 1.10, fixes #6022
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18527 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-24 21:17:20 +00:00
Felix Fietkau 65859fa5d9 mkfwimage: add support for the XM layout (bullet/rocket/nano M)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18448 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-18 18:10:24 +00:00
Felix Fietkau 3dfc0a8b36 mklibs: fix missing __pack_f symbol in uclibc after relink
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18438 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-17 04:36:07 +00:00
Imre Kaloz 0d69f2bb5e make the lzma version kernel version dependent, and only build the one we do need
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18426 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-15 20:25:29 +00:00
Gabor Juhos e8da3793a2 ar71xx: increase max size of RouterStation and RouterStation Pro firmware images
Thanks to riskable! (closes #5860)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18410 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-13 17:11:23 +00:00
Felix Fietkau 0f822c3de4 gcc: add a config option for using the gcc graphite framework (disabled by default)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18403 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-12 13:42:07 +00:00
Imre Kaloz 0834cc4088 powerpc: use the in-kernel dtc compiler
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18374 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-11 13:44:12 +00:00
Felix Fietkau 78b006e0f0 Don't build gmp and mpfr when using external toolchains (based on patch from #6035)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18310 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-05 11:16:20 +00:00
Felix Fietkau 7e7a567b14 squashfs4: use our lzma props settings again instead of the defaults (smaller images on arm/mips)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18273 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-02 14:52:15 +00:00
Felix Fietkau 5133678e0d squashfs4: refresh the cygwin patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18272 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-02 14:52:09 +00:00
Felix Fietkau 61de09c5af squashfs4: fix build breakage
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18271 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-02 14:52:03 +00:00
Imre Kaloz 760d3bef1c sync mksquashfs4 with the CVS code to generate LZMA images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18268 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-02 09:52:54 +00:00
Felix Fietkau 976b48b654 add cloog and ppl to the tools build for the graphite framework in gcc 4.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18264 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-11-02 00:47:21 +00:00
Gabor Juhos b6318c8ae6 ar71xx: add preliminary support for the TL-WR841ND v5 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18226 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-30 12:26:25 +00:00
Felix Fietkau d711594a60 mklibs: use -Wl,--gc-sections when relinking - currently only saves a few bytes, maybe more in the future
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18123 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-22 16:54:18 +00:00
Felix Fietkau df959c2ac1 mklibs: preserve the uclibc init symbol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18085 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-19 23:26:05 +00:00
Felix Fietkau e496f76ecb mklibs: handle duplicate symbols properly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18084 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-19 23:26:00 +00:00
Felix Fietkau 46f8cbd71e mklibs: fix crashes on nonexistant sections in readelf (thx, justus)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18083 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-19 23:25:42 +00:00
Felix Fietkau 9ec02c25df gmp: upgrade to 4.3.1 and fix compile on 64-bit mac os x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17717 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-25 09:28:26 +00:00
Felix Fietkau 4b309e4561 mklibs: fix libpthread link error (#5851)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17639 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-20 12:51:48 +00:00
Matteo Croce 0854958b63 fix error in mksquashfs4 when data can't be compressed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17585 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-15 09:01:27 +00:00
Felix Fietkau a76fe21fd2 firmware-utils: raise the default trx image size limit for something more appropriate for devices with 8M flash
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17537 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-07 13:55:02 +00:00
Florian Fainelli fdc851f1fa [tools] build fixes for squashfs4 on cygwin
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17430 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-27 19:47:13 +00:00
Florian Fainelli 09dba2abc8 [tools] fix quilt installation on all platforms
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17405 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-26 07:55:31 +00:00
Florian Fainelli 86e0066eb6 [tools] make quilt installation work on cygwin
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17398 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-25 14:55:18 +00:00
Florian Fainelli 8cb99934a4 [tools] update mpfr to 2.4.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17334 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-20 16:08:52 +00:00
Florian Fainelli fddacb3a51 [tools] disable mpfr tests compilation, slightly speeds up the build process
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17295 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-17 14:51:32 +00:00
Florian Fainelli 1c49507d80 [brcm63xx] add support for the Pirelli AG226G board (#5337)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17190 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-09 10:19:47 +00:00
Felix Fietkau 065b224a91 mklibs: do not touch libraries that cannot be rebuilt
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17172 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-08 02:24:59 +00:00
Felix Fietkau 3a0b1d7c4a upgrade mklibs to 0.1.29 - fixes runtime errors in mklibs-readelf
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17171 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-08 02:24:54 +00:00
Felix Fietkau 46a68465c0 mklibs: do not fail on unresolved symbols, but print warnings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17170 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-08 02:24:49 +00:00
Florian Fainelli af3bb3507e [tools] fix mklibs compilation failures on stdio.h not being included
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17164 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-07 10:31:27 +00:00
Felix Fietkau bc041781a0 add mklibs (based on a patch by florian) in preparation for optional library symbol stripping
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17154 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-07 00:07:18 +00:00
Gabor Juhos 89839845e0 [tools] firmware-utils/addpattern: add support for the WRT160NL
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17140 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-06 09:15:05 +00:00
Florian Fainelli 5a3823f418 [tools] revert r17022, this is not the way to do this
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17023 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-26 18:13:03 +00:00
Florian Fainelli d5a89db714 [tools] override sed configuration to work with FreeBSD (#4531)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-26 18:09:20 +00:00
Gabor Juhos 31083d5f9e [tools] firmware-utils: add new tool for the wrt400n (based on a patch by Sandeep Mistry <sandeep.mistry at gmail.com>)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16792 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-12 08:59:18 +00:00
Gabor Juhos 346ca391ed [ar71xx] increase size of the kernel partition on the TL-WR[789]41N boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16785 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-11 17:20:46 +00:00
Gabor Juhos e111b2d68b [tools] firmware-utils/mktplinkfw: add option for combined images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16742 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-08 08:17:26 +00:00
Gabor Juhos 754e89b442 [tools] firmware-utils/mktplinkfw: add board definitions for TL-WR741ND v1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16740 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-07 19:45:33 +00:00
Florian Fainelli 7d7ed4e8a3 [tools] fix segfault when using the maxlen argument (#4359)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16641 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-01 14:58:15 +00:00
Gabor Juhos c328f90581 [tools] firmware-utils: add a tool to compute crc value for the 5gxi firmware
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16557 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-25 09:41:06 +00:00
Gabor Juhos 9a2d1d7128 [tools] firmware-utils/mkcsysimg: minor bugfix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-25 09:39:30 +00:00
Gabor Juhos 33cd0e99eb [tools] firmware-utils/mkcsysimg: add signature for the 5GXi board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16551 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-24 16:44:30 +00:00
Gabor Juhos 4240b7c838 [tools] firmware-utils: add a file {en,de}cryption tool, based on the PC1 encryption algrithm
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16550 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-24 16:35:38 +00:00
Florian Fainelli e951c62e47 [brcm63xx] add imagetag support for BT Voyager 2500V, patch from Daniel Dickinson (#5364)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16506 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-18 15:00:32 +00:00
Felix Fietkau 157a4ab646 firmware-utils: add a small utility for generating nand flash images with ecc info
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-14 20:42:28 +00:00
Felix Fietkau 5eee701769 add ubinize to the mtd-utils build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16457 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-14 20:42:23 +00:00
Felix Fietkau 9cf81b33a2 upgrade to a more recent version of mtd-utils - preparation for adding UBI support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-14 20:42:12 +00:00
Florian Fainelli 2670ed1229 The attached patch adds building of firmware
images for more routers based on the brcm63xx chipset.

Signed-Off By: Daniel Dickinson <crazycshore@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16396 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-10 08:24:13 +00:00
Florian Fainelli 3339e02ed8 [brcm63xx] rework imagetag firmware generator and MTD partition parser to accomodate with all known
imagetag versions from Broadcom and vendors, patch from Daniel Dickinson (fixes #4987).


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16393 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-09 08:04:52 +00:00
Gabor Juhos 988e7d96da [ar71xx] build firmware image for the MZK-W300NH board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16342 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-04 19:14:46 +00:00
Florian Fainelli 15316b2ab2 [tools] port lzmp that is packaged by debian, build it, but do not install it yet
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-01 20:31:49 +00:00
Ralph Hempel 1541d79b6a [tools] fix download url
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16226 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-31 10:07:35 +00:00
Felix Fietkau 13f27757b6 add missing dependency
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16096 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-26 19:11:56 +00:00
Felix Fietkau 50aaed285f split stampfiles for STAGING_DIR and STAGING_DIR_HOST preparation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16095 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-26 19:11:52 +00:00
Gabor Juhos e35ee94c74 [tools] firmware-utils/mkfwimage: add support for RouterStation Pro (patch from Ubiquiti Networks)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16064 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-25 17:18:21 +00:00
Florian Fainelli 0e46349612 [tools] revert r16017 there are no users of it yet
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16029 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-24 14:02:46 +00:00
Florian Fainelli b2e70e8797 [tools] install the new lzma version (4.65) in staging_dir/host as lzma-new
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16017 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-23 19:16:05 +00:00
Felix Fietkau d797dde45b set PKG_NAME of the old lzma package to lzma-old to fix conflicts with the new lzma package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16014 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-23 13:21:43 +00:00
Florian Fainelli 8e8024fce2 [tools] fix crc calculation with the new padding (#5143)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15977 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-22 07:49:23 +00:00
Felix Fietkau e60a53c833 squashfs4: add lzma support (kernel support still missing)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15884 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-17 00:57:52 +00:00
Felix Fietkau efa8655f20 add the new lzma library (version 4.65), to be used for squashfs4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15883 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-17 00:57:47 +00:00
Gabor Juhos 37319410fe [tools] add tool for squashfs4 image generation (w/o LZMA support)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15864 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-15 12:07:21 +00:00
Florian Fainelli bd03626da3 [tools] fix padding between end of the kernel and beginning of the rootfs in imagetag (#5108)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15801 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-12 13:20:36 +00:00
Gabor Juhos cdce1e17d7 [tools] firmware-utils/mkfwimage2: fix a typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15770 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-11 14:51:56 +00:00
Felix Fietkau b374536909 clean up / fix various Host/Clean templates in tools/
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15714 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-08 20:44:47 +00:00
Felix Fietkau 5d2d7cfd8f rename tools/lzma to tools/lzma-old (preparation for adding a new lzma version)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15595 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-04 17:04:03 +00:00
Felix Fietkau 8f2e42b5b7 optimize tools/ directory build order to improve parallel building performance
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15365 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-24 01:18:49 +00:00
Felix Fietkau 0222487b42 add missing dependencies which broke parallel build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15363 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-24 01:04:54 +00:00
Florian Fainelli 83656c28bb [toolchain] gcc-4.4.0 also needs mpfr and gmp to be built
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15346 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-23 09:51:24 +00:00
Felix Fietkau 3195be7429 clean up automake/pkg-config handling, move separate host/package variable exports to templates, fix automake path for host builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15339 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-22 22:05:55 +00:00
Jo-Philipp Wich 3c7b1324a5 [atheros] Generate suitable images for the UBNT PicoStation2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15314 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-21 01:16:34 +00:00
Florian Fainelli fb6c465ea7 [brcm63xx] make images that can be flashed using the stock firmware web interface, thanks to Anselmo Luginbuhl and Daniel Dickinson (#4909, #4943)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15253 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-19 13:18:48 +00:00
Felix Fietkau 5bdd866100 get rid of $Id$ - it has never helped us and it has broken too many patches ;)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-17 14:09:46 +00:00
Florian Fainelli c589671d12 [tools] more cygwin related build fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15227 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-14 14:54:34 +00:00
Florian Fainelli bb2a858f83 [tools] fix ccache host installation (#4902)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15165 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-09 13:16:57 +00:00
Florian Fainelli c0e3ae80b5 [tools] revert changeset 15081 seems to break Alice box devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15140 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-07 15:14:40 +00:00
Felix Fietkau f0971cead8 clean up gmp and mpfr
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15114 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-06 09:56:25 +00:00
Felix Fietkau 9b2a8b53f7 add check for common config variants for tools/install
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15113 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-06 09:56:21 +00:00
Felix Fietkau b5fac0256a small cleanup for tools/Makefile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15111 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-06 09:56:12 +00:00
Florian Fainelli 1e9385317f [tools] compute rootfs crc32 required for brcm63xx web upgrades
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15081 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-02 09:57:00 +00:00
Felix Fietkau a0b63920f3 pkg-config: disable potentially recursive compat lookups which break on systems with gnome devel tools installed (thx, lubek)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15026 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-24 22:27:22 +00:00
Gabor Juhos c25ff213db [tools] firmware-utils/mktplinkfw: add support for the TL-WR841ND v3 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15023 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-24 16:08:07 +00:00
Ralph Hempel cf8124bb1c [tools] m4 is now available, sorry for trouble
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14972 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-22 18:31:54 +00:00
Ralph Hempel b1f688a953 [tools] add missing m4 dir
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14971 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-22 18:27:13 +00:00
Felix Fietkau 607a2ff735 Revert "[tools] add m4 (required for recent auto tools)"
Please add the missing tools/m4/ directory next time

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14968 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-22 17:20:55 +00:00
Ralph Hempel 66fddadb61 [tools] add m4 (required for recent auto tools)
thanks to Olaf


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14966 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-22 14:37:47 +00:00
Rod Whitby 627802ff62 tools/firmware-utils: Added encode_crc, for Freecom devices.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14961 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-22 11:39:32 +00:00
Florian Fainelli bc2824ec3d [tools] cleanup imagetag
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14941 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-18 17:18:25 +00:00
Florian Fainelli 187b0d99d1 [tools] fix a bug which prevented imagetag from correctly initializing the version and magic2, use the broadcom default magics, which allows uploading through web interfaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14925 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-17 19:05:09 +00:00
Gabor Juhos c77724d127 [ar71xx] create firmware image for the Ubiquiti LS-SR71 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14874 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-14 13:25:49 +00:00
Lars-Peter Clausen f68e3e8ff8 Build autoconf before automake.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14864 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-13 21:49:11 +00:00
Florian Fainelli 4750ec9396 [brcm63xx] add support for AGPF-S0 (Pirelli Alice Gate VoIP 2 Plus Wi-Fi) #4366
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-12 08:54:04 +00:00
Florian Fainelli eb0eee587f [tools] allow flash start address and firmware offset to be set on the command line (#4666)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14832 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-10 09:18:47 +00:00
Ralph Hempel 55b65a6ee9 add dependency (needed for parallel build)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14704 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-01 09:47:05 +00:00
Gabor Juhos a51f29fd74 [tools] firmware-utils: add new firmware generation tool for the TP-LINK TL-WR941ND device
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14672 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-26 16:59:15 +00:00
Felix Fietkau 661b446611 merge host build of lua from tools/ into package/lua/Makefile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14622 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-22 18:10:23 +00:00
Felix Fietkau b892e1fb85 build system refactoring in preparation for allowing packages to do host-build steps
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14610 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-22 04:37:20 +00:00
Felix Fietkau 6c320f23a5 lzma: use a repacked tarball instead of the original one to get rid of CRLF conversion screwups
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14593 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-21 16:20:16 +00:00
Hauke Mehrtens 9344a58871 tools: refresh patches for tools
lua, mtd-utils, ipkg-utils, squashfs, lzma, and autoconf are touched


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14589 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-21 14:46:03 +00:00
Felix Fietkau 9798e24137 prefer gstat over stat if available (patch from #4571)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14568 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-19 17:18:26 +00:00
Felix Fietkau d8678fa51b add mkyaffs2image (based on android sources)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14567 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-19 17:17:16 +00:00
Nicolas Thill 9a4014daef [tools] genext2fs: update to 1.4.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14536 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-17 03:05:10 +00:00
Gabor Juhos 769e8639c4 [tools] firmware-utils/mkplanexfw: new firmware generation tool for the Planex MZK-W04NU device
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14410 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-04 21:09:06 +00:00
Gabor Juhos 5702336049 [tools] firmware-utils/mkfwimage: update RouterStation specific values, adn remove some unused code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14404 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-04 08:13:58 +00:00
Felix Fietkau 55d295bc23 fix mpfr download url
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14213 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-26 21:38:03 +00:00
Felix Fietkau f81c8fd722 detect quilt configure errors properly (their broken configure script does not return proper error codes)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14181 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-25 19:02:48 +00:00
Felix Fietkau 62a6e10227 improve support for building on mac os x by improving detection of missing components
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14180 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-25 19:00:43 +00:00
Nicolas Thill 609293d3cb [tools] remove reference to $(LINUX_HEADERS_DIR), not available at tools/compile stage
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14139 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-21 18:10:11 +00:00
Florian Fainelli c1cd4887f7 [tools] slightly rework the gcc-4.3 checks, thanks {Nico}
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14136 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-21 15:35:25 +00:00
Florian Fainelli 265bc84e98 [tools] only build gmp and mpfr when selecting gcc-4.3.x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14135 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-21 15:15:47 +00:00
Nicolas Thill d748bad85e [toolchain] add support for gcc v4.3.1 & v4.3.2 (closes: #3479), thanks to Luigi Mantellini!
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14131 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-21 11:58:17 +00:00
Gabor Juhos 3b1eeb4baf [tools] firmware-utils/mkcasfw: fix magic value of the TN-U200 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-13 10:18:13 +00:00
Gabor Juhos 22281a9146 [tools] firmware-utils/mkfwimage: fix root_start values
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13874 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-05 12:35:51 +00:00
Gabor Juhos 2289835e41 [tools] firmware-utils/mkfwimage: fix Ubiquiti firmware generation (closes #4414)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13859 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-04 18:42:46 +00:00
Gabor Juhos c2c9472aa6 [tools] firmware-utils/mkfwimage: add RouterStation support (based on a patch by Jonas <jonas at ubnt.com>)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13682 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-12-18 13:31:59 +00:00
Florian Fainelli 539bd055bd Directly use the kent sourceforge mirrors, previous are in timeout
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13269 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-17 19:52:06 +00:00
Gabor Juhos 32a99ae3df [tools] firmware_utils/mkmylofw: add support of named partitions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13253 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-17 07:45:01 +00:00
Gabor Juhos e920e4f778 [tools] firmware_utils/mkmylofw: add definitions for the NP25G and WPE53G boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13226 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-16 07:49:27 +00:00
Florian Fainelli fb11dfd1e5 Fix small typo #4148
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13142 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-11-08 18:03:09 +00:00
Florian Fainelli ea15cd64a8 Use the only working sourceforge.net mirror for gentext2fs, the others are ever not synchronised or timing out
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13066 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-28 22:00:30 +00:00
Florian Fainelli 0feb20763b Add makeamitbin to generate images for other RDC-based devices, thanks sn9 !
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13056 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-28 16:26:42 +00:00
Gabor Juhos 312f012530 [tools] firmware-utils: new firmware generation tool for the WILIGEAR WBD-111
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12975 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-13 17:17:19 +00:00
Lars-Peter Clausen 1a5af54e90 Redefine prefix and exec_prefix for pkg config files instead of libdir and
includedir. Some packages have their includes in subdirs of include and packages
trying to include their headers using pkg-config would fail.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12946 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-10 16:07:02 +00:00
Lars-Peter Clausen 5396ed0639 Check for existence of target aclocal folder before including them.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-09 12:55:08 +00:00
Lars-Peter Clausen 5bcefcc4b5 Add wrapper around aclocal which also search in the targets staging dir aclocal
folder for m4 files.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12929 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-08 21:50:03 +00:00
Felix Fietkau 0524ab8590 firmware-utils: when using open with O_CREAT and O_WRONLY, also use O_TRUNC to ensure that overwritten files have the right size (fixes #3505)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12667 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-23 16:12:40 +00:00
Florian Fainelli b17d6c1c7c Do not try to build autoconf emacs library, as it can fail on some systems like Fedora core 9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12562 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-09 14:53:52 +00:00
Felix Fietkau 61ff1187be fix autoconf compilation (#3956)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-08 15:59:08 +00:00
Gabor Juhos 9f40ecda1f [tools] firmware-utils/mkmylofw: WP543 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12552 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-08 12:39:33 +00:00
Felix Fietkau 5059dc11a4 fix ccache installation (#3942)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12515 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-03 13:42:54 +00:00
Felix Fietkau d9e2b41c44 fix shell return status of the find symlink command
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12514 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-03 13:25:26 +00:00
Felix Fietkau 208c2c72eb fix recursive symlink issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12508 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-03 10:27:25 +00:00
Felix Fietkau 13dfd53e83 provide a md5sum wrapper for BSDish systems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12495 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-02 10:58:01 +00:00
Felix Fietkau b85d4c1587 quilt depends on sed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12490 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-02 10:56:56 +00:00
Felix Fietkau 5434e7d89f install a symlink to the correct version of find in $(STAGING_DIR_HOST)/bin
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12451 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-01 11:03:51 +00:00
Felix Fietkau 533c261d29 add autoconf (fixes opkg build issues)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12410 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-27 20:18:53 +00:00
Felix Fietkau 3813d5c593 build and install a current quilt version in tools/
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12398 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-27 14:13:32 +00:00
Steven Barth 762b334128 Updated Lua host compiler to 5.1.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12384 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-24 16:06:34 +00:00
Florian Fainelli 06a80f4fab Invert logic, first search for find as most people will build under Linux
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12248 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-08 21:48:15 +00:00
Florian Fainelli 50936b5430 ipkg-build calls 'find' directly irrespective of the platform,
this causes failure in case gnu-find specific options are used
(such as "-uid +99").

The attached diff, which creates tools/ipkg-utils/patches/160-find.patch,
fixes the problem by using gfind is available. Again, this is similar
to what is done in include/host.mk. (#3868)

Signed-off-by: Luigi Rizzo <rizzo@iet.unipi.it> 


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12247 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-08 21:33:53 +00:00
Travis Kemen b1e275317b fix mkfwimage to recognize the -s option
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11978 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-28 20:48:06 +00:00
Felix Fietkau 9d5f9a0e4e fix mkfwimage build on mac os x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11947 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-26 20:27:03 +00:00
Travis Kemen 0ead72668a Use mkfwimage from athero.openwrt.net with modification for XS2 devices. Add back in ubiquiti image generation.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11920 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-25 03:55:21 +00:00
Steven Barth 9e5e864db3 lua: Fixed some cross-platform issues for PPC (and probably other architectures)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11608 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-29 11:38:22 +00:00
Imre Kaloz 28b170883b replacement of the add_header utility used by various vendors
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11588 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-27 12:18:31 +00:00
Gabor Juhos 187d527e9f [tools] firmware-utils/mkzynfs: even more improvements
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11559 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-22 19:02:42 +00:00
Gabor Juhos cfb8d79abd [tools] firmware-utils: ZyXEL firmware tool improvements
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11550 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-22 05:41:37 +00:00
Gabor Juhos efe4d40c93 [tools] firmware-utils/mkcasfw: add model id for Ovislink WL-5420/5460 IP cameras
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11527 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-17 15:05:53 +00:00
Ralph Hempel 62023555c7 added unsquashfs-lzma, usefull for debugging of existing fs images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11496 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-16 11:32:13 +00:00
Steven Barth 6393d316cd Added lua (lua host bytecode-compiler) to tools/
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11304 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-30 18:38:14 +00:00
Florian Fainelli 25203b6f2a Allow ipkg to handle conffiles if present (#3466)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-22 20:26:49 +00:00
Felix Fietkau c097f77d51 bcm963xx: add cfe image tagging utility
This replaces the proprietary bcmImageBuilder program from the Broadcom source
drops. It basically adds a 256 bytes header in front of the kernel + rootfs
which contains a few text signatures, the locations of the data as well as the
checksums of the data and the tag. It also adds a 12 bytes header in front of
the LZMA kernel which contains the load address, kernel entry and the size of
the compressed LZMA data.

Signed-off-by: Axel Gembe <ago@bastart.eu.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11170 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-18 17:29:51 +00:00
Gabor Juhos f1b4cfe421 [firmware-utils] mkzynfw: add definitions for the P-2602HW-D1A
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11096 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-09 08:19:30 +00:00
Gabor Juhos f39858975e [firmware-utils] mkzynfw: fix NBG-318S definitions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11095 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-09 07:53:24 +00:00
Travis Kemen a91bb11f6a buld images for the Ubiquiti LiteStation and NanoStation ported from http://atheros.openwrt.net. Tested on a Nanostation 2 with airos 3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11061 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-07 23:47:17 +00:00
Florian Fainelli b43169c8a5 Create a dummy sit package for 2.4 kernelsq
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10668 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-27 15:44:14 +00:00
Florian Fainelli 838b5385e4 Add definitions for the Zyxel NBG-318S
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10662 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-26 13:34:29 +00:00
Ralph Hempel 7833cf76b3 put the dtc to the other host tools (thanks to Thomas)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10616 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-18 20:44:12 +00:00
Matteo Croce 3419049abe Add AG241 code pattern (fixes #1089)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10584 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-11 00:45:22 +00:00
Felix Fietkau 9bce66cc57 build dtc for all powerpc targets (suggested by Kaloz)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10579 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-09 21:42:10 +00:00
Felix Fietkau 82d7045b31 only build dtc for the target that uses it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10577 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-03-09 21:22:23 +00:00
Ralph Hempel e9a878e61c Device Tree Compiler require more recent bison ...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10398 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-02-05 19:39:57 +00:00
Gabor Juhos a342adc51e [tools] firmware-utils: new firmware generation tool for the Cellvision CAS-6xx/NFS-xxx devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10306 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-29 08:31:54 +00:00
Imre Kaloz ba24df156d add dtc, the device tree compiler
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10302 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-29 00:56:27 +00:00
Gabor Juhos 73e5afb5a1 [tools] firmware-utils/mkzynfw: remove 'svn:executable' property (closes #3082)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10258 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-25 19:05:51 +00:00
Gabor Juhos 7e243160bf [tools] firmware-utils/mkzynfw: add preliminary support for OEM boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10243 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-25 08:19:31 +00:00
Gabor Juhos c240c20361 [tools] firmware-utils:fix a bug in mkzynfw, thanks to <theosch at gmx.de> (closes #3003)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10218 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-01-17 14:46:10 +00:00
Florian Fainelli 643ab9877c Add support for Conceptronic C54BSR4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10002 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-28 17:48:39 +00:00
Felix Fietkau 8c1d3fd191 remove stale reference to tools/libtool
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9940 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-27 02:10:58 +00:00
Felix Fietkau 170b173b6f move libtool out of tools/, seems like we need a per-target libtool
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9937 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-27 02:10:23 +00:00
Felix Fietkau c3dfe5ad17 add libtool to tools/
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9902 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-25 00:27:36 +00:00
Felix Fietkau 294dc8b19d add automake to tools/
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9901 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-25 00:27:32 +00:00
Felix Fietkau 8c1ee46d5d rename tools/ext2fs to tools/genext2fs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9899 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-24 23:02:02 +00:00
Florian Fainelli 8e4778a73a Prevent the use of underscores in package names (#2801)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9724 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-13 10:53:57 +00:00
Felix Fietkau 17391bc30b Use $(CP) instead of $(INSTALL_BIN) for binaries.
Signed-off-by: Andy Boyett <agb-openwrt@padded-cell.net>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-09 18:53:06 +00:00
Felix Fietkau f1353fd0ff tools/mkimage: Include sys/types.h on Darwin/BSD.
Signed-off-by: Andy Boyett <agb-openwrt@padded-cell.net>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9658 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-05 18:45:11 +00:00
Felix Fietkau 01f3d958b7 fix another build issue on some osx machines - run ranlib on the lzma lib archive
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9649 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-02 22:44:44 +00:00
Felix Fietkau c921ad681b fix sstrip compile on mac os x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9645 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-02 21:16:24 +00:00
Gabor Juhos eccd445e74 [firmware-utils] fix some definitions in the ZyXEL tool
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9493 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-03 17:00:57 +00:00
Gabor Juhos 1de1dd52e3 [adm5120] image generation fixes (closes: #2643, #2644)
* rewrite mkcsysimg to use an align parameter instead of a fixed size
 * Edimax images contains the jffs2 end-of-filesystem marker at the right position from now on


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9490 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-03 14:53:24 +00:00
Felix Fietkau 1cca4d630c add updated motorola-bin.c file from #2483 (by D. Hugh Redelmeier)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9434 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-24 18:06:24 +00:00
Eugene Konev 6427bfebf0 ar7: add eva image generation (thanks Axel Gembe)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9401 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-22 14:20:02 +00:00
Gabor Juhos ffee907666 [adm5120] add ids for Edimax BR-6104Wg boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9342 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-18 07:40:01 +00:00
John Crispin cad1b62058 added our own pkg-config wrapper, making the sed foo on *.pc files obselete 1/2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9162 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-06 23:50:47 +00:00
Florian Fainelli 311a6b12e0 Add the ralink signature, will use it later
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8702 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-09 10:34:53 +00:00
Gabor Juhos 3c96096c63 I have new e-mail address. Thanks to Kaloz ;)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8538 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-29 17:27:11 +00:00
Nicolas Thill 134d9f15d7 move ipkg.conf creation from tools/ipkg-utils to include/package-ipkg.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8481 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-25 11:55:01 +00:00
Felix Fietkau d10a56dc58 build system cleanup/restructuring as described in http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8362 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-07 00:04:25 +00:00
Gabor Juhos 8858dec6c0 remove case sensitivity from the board name checking
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8352 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-06 17:38:40 +00:00
Florian Fainelli fdb3b8946c Fix the jffs2 images with rdc devices (thanks to Daniel Gimpelevich)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8329 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-03 08:06:06 +00:00
Gabor Juhos 20fc312ae9 add firmware generation tool for ZyXEL boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8318 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-02 19:05:28 +00:00
Felix Fietkau 193971f1b8 dependency fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8253 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 23:08:59 +00:00
Felix Fietkau 03ffe176e5 next round of cleanup, convert target/ - make -j works now ;)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 21:14:08 +00:00
Felix Fietkau 7f5129c7d9 next round of build system cleanup - convert package/ to new structure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8236 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 18:22:01 +00:00
Felix Fietkau 9fed5becd7 remove leftover stuff
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8234 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 16:04:23 +00:00
Felix Fietkau 1f1b2ca360 fix compile errors with make 3.80
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8230 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 15:00:27 +00:00
Felix Fietkau b13da650d7 use $(curdir) again
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8208 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-28 13:44:04 +00:00
Felix Fietkau 1b88b67b09 build system fixes, more cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8207 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-28 13:29:03 +00:00
Felix Fietkau c33e0be683 don't force the install->compile, compile->prepare dependencies in subdir.mk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8202 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-28 02:53:54 +00:00
Felix Fietkau eed0892fb7 initial attempt at cleaning up subdirectory handling. tools/Makefile is now being included instead of recursively called
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8201 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-28 02:44:55 +00:00
Felix Fietkau dabe09ab0b when building packages, accept uppercase letters in the package name
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8090 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-21 01:11:16 +00:00
Florian Fainelli b01642d179 Remove patch-cmdline from the packages and move it tools tools/. adm5120 and rb532 do use it for procuding ready-to-use kernels (#1631)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7820 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-01 09:45:27 +00:00
Felix Fietkau af2298c187 fix accidentally committed broken patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7794 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-30 13:23:18 +00:00
Felix Fietkau b3ee15232a add portability fixes from #1720
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7791 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-30 12:21:58 +00:00
Felix Fietkau a84c665869 add update target to tools/
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7790 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-30 12:21:09 +00:00
Felix Fietkau 1182123b58 add lzma compression format to mkimage (will be used on infineon amazon)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7718 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-24 04:59:27 +00:00
Florian Fainelli 9221c61bf2 Fix ar7 image generation with MacOSX
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7592 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-12 16:46:52 +00:00
Hamish Guthrie d69aa84e30 Remove a debug statement from trx.c, add config changes for at91
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7491 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-04 17:39:38 +00:00
Felix Fietkau 84c301cf9a enable quilt for host builds and add some additional checks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7473 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-03 07:33:00 +00:00
Hamish Guthrie 3e03b74269 Fixed trx - variable append used uninitialised. If -A option was not
used, the first offset was not written to the .trx file.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7400 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-30 10:49:46 +00:00
Florian Fainelli 395e6dee3b mkcsysimg cleanups
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7392 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-30 10:05:27 +00:00
Felix Fietkau 5621f1bc2c fix x86 boot filesystem allocation (#1736)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7312 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-23 18:15:11 +00:00
Imre Kaloz ac761b6d1c fix mkimage compile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7307 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-23 12:28:46 +00:00
Imre Kaloz 93f3c37dda upgrade mkimage the current git version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7306 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-23 09:42:45 +00:00
Felix Fietkau e82efeea82 Fix broadcom squashfs images:
We switched over to appending the jffs2 eof mark to the squashfs images, 
but since the squashfs is not always aligned to eraseblocksize, the eof
mark landed in the wrong place. This commit adds an extra flag to the
trx utility that can append extra data to a partition with alignment.
This is used to place the jffs2 eof mark at the right offset.



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7253 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-15 18:41:48 +00:00
Florian Fainelli 6b2a60df0b Fix 32/64bits issues with airlink image generator
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7189 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-11 18:22:22 +00:00
Mike Baker 789da13432 host-build.mk used incorrectly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7156 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-10 07:02:04 +00:00
Nicolas Thill 02d736b427 fix host header files installation for tools (closes: #1604)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7029 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-21 22:23:33 +00:00
Felix Fietkau 9384678f16 the default_subtargets template was a bad idea, since different makefiles require different types of dependencies for subtargets. nuke it...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-18 17:35:46 +00:00
Felix Fietkau 8f952fb771 fix up dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7002 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-18 17:09:34 +00:00
Florian Fainelli 7a2d3e8ee2 Fix airlink image generation tool
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6913 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-09 08:30:06 +00:00
Florian Fainelli 79f2817fa8 mkcsysimg typos
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6853 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-03 19:55:10 +00:00
Florian Fainelli 30a4001aa4 Remove useless mksyshdr utility, replaced by mkcsysimg, Edimax images are no longer broken, and have been tested
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6847 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-03 09:50:17 +00:00
Florian Fainelli 5218d952cd Add ADM5120 based edimax image generation utilities
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6840 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-02 17:10:48 +00:00
Florian Fainelli a9ebb0fabc Make airlink.c more endianness robus (sn9)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6834 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-02 16:05:40 +00:00
Felix Fietkau 3eb9df8af2 convert from dos to unix format
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6791 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-01 14:06:59 +00:00
Florian Fainelli 7d17ba2f44 Fix image generation (sn9)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6781 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-04-01 11:08:26 +00:00
Florian Fainelli 73baaa6b6a Fix a typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6771 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-31 09:09:02 +00:00
Florian Fainelli bee15dddc8 fix crc32 and endianness, thanks sn9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6769 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-31 08:59:51 +00:00
Florian Fainelli 06280df79a airlink generation fix, thanks st9_
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6764 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-30 21:51:48 +00:00
Florian Fainelli e8de0d65c3 Fix mkmylofw write_out_padding routine
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6758 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-29 22:20:21 +00:00
Florian Fainelli 640ac733da Add definitions to myloader thanks Gabor Juhos
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6710 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-26 07:31:28 +00:00
Florian Fainelli c93d58f908 Fix potential unligned access with MyLoader based devices, thanks Juhos
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6659 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-24 10:22:53 +00:00
Florian Fainelli 3f117aead5 Make mksyshdr safe for 64bits platforms (#1504)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6646 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-23 12:50:43 +00:00
Florian Fainelli 20cf5f8f68 Add firmware generation for other Compex boards based on myloader, thanks to Juhos Gabor !
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6640 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-22 21:36:15 +00:00
Florian Fainelli 9881eea43e Add image generation for edimax routers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-21 15:04:07 +00:00
Florian Fainelli c7c677d4a7 Fix a warning
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6602 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-18 13:06:33 +00:00
Eugene Konev 61dfb5041b Add srec2bin to firmware-utils
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6599 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-18 09:33:39 +00:00
Felix Fietkau 1074b896e4 move ccache to tools/ and fix potential dependency issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6413 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-27 23:46:34 +00:00
Felix Fietkau e3b8c1fa59 make ptgen print the end offset of the last partition as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6358 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-25 17:58:54 +00:00
Felix Fietkau cbb66de088 clean up stampfile mess for tools/ and toolchain/
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6357 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-25 17:49:25 +00:00
Felix Fietkau ccc7465f7a fix cylinder rounding in ptgen
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6352 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-02-24 20:20:57 +00:00
Florian Fainelli 4b039704fb Remove getline definition for OSX since we ship a getline implementation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5986 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-01-05 15:29:21 +00:00
Felix Fietkau a7396ee5de fix compile error (pointed out by nonsequitor)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5772 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-12 16:57:16 +00:00
Florian Fainelli 4145f16872 Add airlink firmware generation tool, thanks to Vassily Galinsky for that !
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5760 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-11 17:49:05 +00:00
Felix Fietkau 3115db47d4 remove custom partition table hack, add ptgen utility for generating partition tables
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5704 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-07 00:26:26 +00:00
Felix Fietkau 6df97128d1 fix missing PKG_NAME
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5703 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-06 23:42:37 +00:00
Felix Fietkau fdd78f5e21 move target/utils to tools/firmware-utils
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5702 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-12-06 23:41:38 +00:00
Felix Fietkau 309572ec08 more shell related fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5509 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-11-12 02:45:13 +00:00
Felix Fietkau 1f095900a2 improve parallel building
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5208 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-18 19:00:05 +00:00
Felix Fietkau 12f5f5d2a7 fix sstrip linux compile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5104 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-14 23:12:29 +00:00
Felix Fietkau d124fe2744 cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5097 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-14 22:11:21 +00:00
Felix Fietkau 0944d6f801 fix lzma compile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5094 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-14 21:44:23 +00:00
Felix Fietkau 8c7c8aac5a always build sed, some systems have a broken one where it's hard to detect
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@5043 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-10 22:29:46 +00:00
Felix Fietkau 93f9a87efc add portability patch for ipkg-utils
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@5042 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-10 22:29:09 +00:00
Felix Fietkau 583ca76daf remove sed test garbage left behind on some hosts with an old/unsupported sed
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@5031 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-10 19:55:41 +00:00
Felix Fietkau 1cd51d9cf4 change OS to HOST_OS
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@5030 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-10 19:19:24 +00:00
Felix Fietkau dbc2b2a4e4 fix mtd-utils compile on freebsd
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@5020 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-10 16:51:25 +00:00
Felix Fietkau d8595423b0 fix gene2fs build on freebsd
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@5019 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-10-10 16:36:47 +00:00
Felix Fietkau 3f01d0898e add portability fixes for toolchain/tools (full tools/toolchain build works on osx now)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4867 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-27 17:03:36 +00:00
Felix Fietkau a723361df9 move tools from toolchain/ to tools/
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4866 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-09-27 14:06:46 +00:00