Commit Graph

483 Commits (04fbc893313083d3598a9168dc3b49a58fd3a0b6)

Author SHA1 Message Date
Alexandros C. Couloumbis 62c721aac1 tools/e2fsprogs: fix freebsd compile issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24130 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-24 14:00:36 +00:00
Alexandros C. Couloumbis 0dd88d0a3b tools/mtd-utils: update to mtd-utils-20101124
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24129 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-24 12:05:06 +00:00
Alexandros C. Couloumbis 28ab38511e tools/e2fsprogs: update to e2fsprogs-1.41.12
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24128 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-24 11:59:51 +00:00
Felix Fietkau 8fdb4f5787 e2fsprogs: fix libuuid installation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24106 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 21:56:15 +00:00
Felix Fietkau a5256107f1 e2fsprogs: clean up the makefile and install libuuid
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24091 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 14:26:06 +00:00
Imre Kaloz 00da58c6ae remove 2.6.25 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24089 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 13:43:32 +00:00
Imre Kaloz 276290e86b [tools]: add e2fsprogs to tools and use that instead of libuuid
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24078 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 11:26:45 +00:00
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