Commit graph

679 commits

Author SHA1 Message Date
Alexandros C. Couloumbis
00c9674f71 tools/bison: update to version 2.4.3
SVN-Revision: 24281
2010-12-06 12:21:08 +00:00
Alexandros C. Couloumbis
d7b81def38 tools/m4: update to version 1.4.15
SVN-Revision: 24280
2010-12-06 12:16:40 +00:00
Alexandros C. Couloumbis
e3a95a6320 tools/autoconf: update to version 2.68
SVN-Revision: 24279
2010-12-06 12:14:50 +00:00
Alexandros C. Couloumbis
d5aecceacd tools/automake: update to version 1.11.1
SVN-Revision: 24278
2010-12-06 12:11:47 +00:00
Hauke Mehrtens
41b3383499 brcm47xx: Add edimax PS1208mfg support
Thank you clemvangelis for the patches. (closes #7672)

SVN-Revision: 24217
2010-12-02 21:27:54 +00:00
Alexandros C. Couloumbis
0d69a941a2 tools/pkg-config: update to version 0.25
SVN-Revision: 24146
2010-11-25 18:56:19 +00:00
Alexandros C. Couloumbis
721a005dc2 tools/e2fsprogs: fix freebsd compile issue
SVN-Revision: 24130
2010-11-24 14:00:36 +00:00
Alexandros C. Couloumbis
8a5b26afd1 tools/mtd-utils: update to mtd-utils-20101124
SVN-Revision: 24129
2010-11-24 12:05:06 +00:00
Alexandros C. Couloumbis
65a07aa7cf tools/e2fsprogs: update to e2fsprogs-1.41.12
SVN-Revision: 24128
2010-11-24 11:59:51 +00:00
Felix Fietkau
233c6672a9 e2fsprogs: fix libuuid installation
SVN-Revision: 24106
2010-11-22 21:56:15 +00:00
Felix Fietkau
5b2df455f0 e2fsprogs: clean up the makefile and install libuuid
SVN-Revision: 24091
2010-11-22 14:26:06 +00:00
Imre Kaloz
5ea6194ab0 remove 2.6.25 support
SVN-Revision: 24089
2010-11-22 13:43:32 +00:00
Imre Kaloz
49a0179e21 add e2fsprogs to tools and use that instead of libuuid
SVN-Revision: 24078
2010-11-22 11:26:45 +00:00
Daniel Dickinson
eadb5c84fa 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).
SVN-Revision: 24011
2010-11-16 06:46:53 +00:00
Daniel Dickinson
6cd4575153 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.
SVN-Revision: 24000
2010-11-15 04:08:09 +00:00
Alexandros C. Couloumbis
4ec905f3c9 target/linux/orion: create subtargets (closes #8154)
SVN-Revision: 23883
2010-11-04 22:10:11 +00:00
Michael Büsch
676520cf65 ensure an empty BUILD_DIR variable is passed down u-boot's makefile
SVN-Revision: 23832
2010-11-03 18:26:26 +00:00
Felix Fietkau
731877c5d9 add a stripped down (and portable) version of flock to the host tools
SVN-Revision: 23707
2010-10-29 13:39:18 +00:00
Alexandros C. Couloumbis
585850eafb tools/mtd-utils: add two upstream patches
SVN-Revision: 23453
2010-10-15 07:52:37 +00:00
Jo-Philipp Wich
002fde670f quilt: pass PATH and FIND to configure (FreeBSD compatibility)
SVN-Revision: 23288
2010-10-07 11:33:54 +00:00
Jo-Philipp Wich
b826e42476 reenable squashfs4 for ar71xx, it needs both old and new
SVN-Revision: 23281
2010-10-06 22:34:35 +00:00
Jo-Philipp Wich
3341e1ece7 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!
SVN-Revision: 23256
2010-10-05 19:18:15 +00:00
Imre Kaloz
7fa8ba095b Toto, we don't support Linux 2.4 anymore..
SVN-Revision: 23245
2010-10-05 14:15:46 +00:00
Imre Kaloz
968a0c1ddb simplify old squashfs/lzma selection
SVN-Revision: 23244
2010-10-05 14:14:12 +00:00
Alexandros C. Couloumbis
c74849709f tools/sed: update to sed-4.2.1 (also tested on FreeBSD/AMD64)
SVN-Revision: 23241
2010-10-05 13:51:54 +00:00
Jo-Philipp Wich
3d44120515 mtd-utils: refresh patches again
SVN-Revision: 23194
2010-10-03 12:15:04 +00:00
Alexandros C. Couloumbis
3c67143588 tools/mtd-utils: fix build issue under freebsd. update to latest git tree. (thanks loswillios & larsc)
SVN-Revision: 23193
2010-10-03 12:03:21 +00:00
Alexandros C. Couloumbis
e70493a812 tools/mtd-utils: kill 132-revert-zlib-cleanup.patch. it's wrong.
SVN-Revision: 23192
2010-10-03 11:12:36 +00:00
Lars-Peter Clausen
be8b1b4d03 libuuid: Use libuuid from util-linux-ng instead of e2fsprogs
SVN-Revision: 23189
2010-10-02 23:18:46 +00:00
Jo-Philipp Wich
4e8f4e1d39 mtd-utils: refresh patches
SVN-Revision: 23179
2010-10-02 16:42:57 +00:00
Jo-Philipp Wich
f70671c153 tools/mtd-utils: fix compilation on OS X
SVN-Revision: 23176
2010-10-02 10:18:34 +00:00
Alexandros C. Couloumbis
930031c5d1 tools/mtd-utils: update to mtd-utils-20101001, fix FreeBSD (and hopefully Darwin) build issues.
SVN-Revision: 23169
2010-10-01 16:39:08 +00:00
Gabor Juhos
1d855c0890 firmware-utils/mktplinkfw: add support for the TL-MR3420 v1
SVN-Revision: 23137
2010-09-27 14:54:02 +00:00
Gabor Juhos
142fb3e229 firmware-utils/mktplinkfw: add support for the TL-WR841N v7
SVN-Revision: 23133
2010-09-27 14:53:51 +00:00
Jo-Philipp Wich
78222ff9dc mtd-utils: revert r23075
SVN-Revision: 23076
2010-09-15 23:50:31 +00:00
Jo-Philipp Wich
297f110b2c mtd-utils: do not rely on host kernel headers, redefine the integer types instead (#7950)
SVN-Revision: 23075
2010-09-15 22:45:54 +00:00
Jo-Philipp Wich
97a286cb62 revert r23048 for now until Darwin compile issues have been sorted out (#7934)
SVN-Revision: 23057
2010-09-13 18:50:41 +00:00
Alexandros C. Couloumbis
432cb15bd1 tools/mtd-utils: update to version git-20100912
SVN-Revision: 23048
2010-09-13 07:39:44 +00:00
Felix Fietkau
392888845c fix build error in tools on darwin on newer macs (patch by dirtyfreebooter)
SVN-Revision: 22934
2010-09-05 16:16:59 +00:00
Michael Büsch
f40f0c001e Zcomax device firmware tool endianness fix
SVN-Revision: 22885
2010-09-04 05:40:56 +00:00
Gabor Juhos
7bf8159991 tools/firmware-utils: new tool for the Zcomax devices
SVN-Revision: 22883
2010-09-03 18:14:40 +00:00
Felix Fietkau
00d1e599d7 add a command for printing a cleaned up make target database - will be used to analyze package dependencies at some point
SVN-Revision: 22871
2010-09-01 17:51:36 +00:00
Andy Boyett
9638e84966 qemu: add dependency on libuuid
SVN-Revision: 22757
2010-08-22 09:16:49 +00:00
Andy Boyett
6e2f8d7eec qemu: fix build failure on some systems. Closes #7767
SVN-Revision: 22751
2010-08-21 17:02:09 +00:00
Andy Boyett
bb662f4f32 quilt: needs autoconf
SVN-Revision: 22652
2010-08-14 22:58:55 +00:00
Florian Fainelli
4bc034f07c update wrt350nv2 builder to v2.3 (#7580)
SVN-Revision: 22579
2010-08-10 15:19:06 +00:00
Andy Boyett
ff43518669 qemu: build qemu-img for packaging vmdk and vdi images
SVN-Revision: 22552
2010-08-09 04:22:34 +00:00
Hauke Mehrtens
7640f89045 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.

SVN-Revision: 22516
2010-08-06 20:21:32 +00:00
Jo-Philipp Wich
f45be33f17 sed: fix compilation on FreeBSD/AMD64
SVN-Revision: 22499
2010-08-06 00:19:34 +00:00
Hauke Mehrtens
da7493d8f9 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)

SVN-Revision: 22418
2010-07-30 21:19:49 +00:00
Michael Büsch
02549b0448 firmware-utils/trx: Endianness fixes
SVN-Revision: 22414
2010-07-29 18:14:10 +00:00
Hauke Mehrtens
233294722c firmware-utils: The option -F was not detected. This was missing in r22396
This fixes build of brcm47xx

SVN-Revision: 22398
2010-07-27 18:16:32 +00:00
Alexandros C. Couloumbis
d83a959719 tools/quilt: fix openSUSE/patch-2.6.1.81 issue (closes #7635)
SVN-Revision: 22397
2010-07-27 17:21:30 +00:00
Markus Wigge
7a052dc799 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.

SVN-Revision: 22396
2010-07-27 15:37:37 +00:00
Jo-Philipp Wich
f8c3ebc7c6 squashfs4: fix compilation on FreeBSD
SVN-Revision: 22347
2010-07-22 03:09:10 +00:00
Jo-Philipp Wich
26a6539a2e yaffs2: fix compilation on FreeBSD
SVN-Revision: 22345
2010-07-22 02:59:14 +00:00
Jo-Philipp Wich
4ad8aa543d mkimage: fix compilation on FreeBSD
SVN-Revision: 22344
2010-07-22 02:43:44 +00:00
Felix Fietkau
67b4181c8a squashfs4: backport an upstream change to fix the file mode check to allow setuid/setgid binaries (thx, ermo) - fixes #7653
SVN-Revision: 22334
2010-07-21 17:31:16 +00:00
Gabor Juhos
a06400d432 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>

SVN-Revision: 22169
2010-07-13 16:51:59 +00:00
Gabor Juhos
48e579a536 firmware-utils/mktplinkfw: add support for the TL-WA901ND
Patch-by: Pieter "Fate" Hollants <pieter@hollants.com>

SVN-Revision: 22015
2010-07-01 14:49:04 +00:00
Markus Wigge
642a6e1a51 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

SVN-Revision: 22012
2010-07-01 10:40:22 +00:00
Markus Wigge
67416b62d7 fixed trx version to handling
I forgot to write the right trx version to the actual header...

SVN-Revision: 21986
2010-06-28 17:35:20 +00:00
Florian Fainelli
e79f259abf remove whitespaces in imagetag tool
SVN-Revision: 21848
2010-06-20 11:58:40 +00:00
Florian Fainelli
39fa664f99 Revert r21806 there are no users of it yet
SVN-Revision: 21808
2010-06-14 21:49:03 +00:00
Florian Fainelli
3a332f39de add hcsmakeimage, for cable modems/routers based on bcm33xx
SVN-Revision: 21806
2010-06-14 21:47:21 +00:00
Florian Fainelli
5ec4eabfcb fix mktitanimg segfault on 64-bits hosts (#7443)
SVN-Revision: 21767
2010-06-12 18:10:01 +00:00
Florian Fainelli
04a4638910 add mktitanimg to create Titan (AR7-based) images (#6632)
SVN-Revision: 21689
2010-06-06 19:16:43 +00:00
Gabor Juhos
01d8285e47 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>

SVN-Revision: 21446
2010-05-14 09:20:36 +00:00
Gabor Juhos
8976d8f2ad 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>

SVN-Revision: 21445
2010-05-14 09:20:34 +00:00
Felix Fietkau
ea5b74da62 mkimage fails to build on some systems if sed is not installed, add a dependency to fix parallel build issues
SVN-Revision: 21210
2010-04-27 21:57:32 +00:00
Gabor Juhos
edac7e5a63 tools/firmware-utils: add size check to the mkplanexfw tool
Also pad the image to a 64K boundary.

SVN-Revision: 21174
2010-04-26 18:28:07 +00:00
Alexandros C. Couloumbis
5134195d40 tools: update gmp to 4.3.2
SVN-Revision: 21147
2010-04-24 20:11:08 +00:00
Alexandros C. Couloumbis
0d36c3fd37 tools: update quilt to 0.48
SVN-Revision: 21146
2010-04-24 19:54:53 +00:00
Alexandros C. Couloumbis
bfe71b159a tools: update cloog to 0.15.9
SVN-Revision: 21071
2010-04-21 17:21:29 +00:00
Florian Fainelli
8ca51dc6f1 fix graphite options with gcc-4.5, add libelf for LTO, fix mbsd_multi patch, patch from Bernhard Loos
SVN-Revision: 21046
2010-04-20 16:18:08 +00:00
Alexandros C. Couloumbis
6d59a298e8 add gcc-4.5.0 preliminary support
SVN-Revision: 21033
2010-04-19 15:43:08 +00:00
Felix Fietkau
01ca56639c mtd-utils: remove bogus include statement to make it more portable
SVN-Revision: 20853
2010-04-14 10:50:33 +00:00
Nicolas Thill
0946764732 remove 'svn:executable' property
SVN-Revision: 20831
2010-04-12 17:08:57 +00:00
Alexandros C. Couloumbis
c2c88d315f add jffs2/lzma support (not activated by default yet)
SVN-Revision: 20828
2010-04-12 13:14:42 +00:00
Florian Fainelli
2a4fb82289 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.
SVN-Revision: 20652
2010-04-01 21:20:43 +00:00
Florian Fainelli
dad85cddac move bcm_tag.h out of the flashmap patch so that user-land tools can re-use it
SVN-Revision: 20548
2010-03-28 18:11:06 +00:00
Gabor Juhos
585198518e firmware-utils/trx: add relative offset parameter
* will be used for the WRT160NL board
 * patch by Bernhard Loos
 * note: rejected parts has been fixed

SVN-Revision: 20522
2010-03-27 17:38:26 +00:00
Florian Fainelli
5d2105af23 revert r18760 since it prevents people from building working eva images
SVN-Revision: 20437
2010-03-26 10:12:30 +00:00
Markus Wigge
d9a698e77c 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.

SVN-Revision: 20433
2010-03-25 19:34:49 +00:00
Florian Fainelli
66dc3ee0c9 fix file creation mode, thanks rtz
SVN-Revision: 20293
2010-03-18 23:35:12 +00:00
Felix Fietkau
b321fe82d3 sstrip: fix a section length corruption bug (patch from #6847)
SVN-Revision: 20154
2010-03-12 00:35:36 +00:00
Gabor Juhos
c07fdecea8 mktplinkfw: add option to strip padding from the end of the image
SVN-Revision: 20120
2010-03-10 17:41:50 +00:00
Gabor Juhos
4ccab48a6b mktplinkfw: fix help string, and remove duplicated option
SVN-Revision: 20067
2010-03-08 17:35:07 +00:00
Felix Fietkau
fe05a0887b mkimage: fix spurious build errors caused by its braindead build system
SVN-Revision: 20065
2010-03-08 17:17:46 +00:00
Felix Fietkau
9156e19ac0 mtd-utils: do not try to compile in support for ubifs ioctls and extended flags - some linux distros do not support this
SVN-Revision: 19846
2010-02-24 23:02:38 +00:00
Gabor Juhos
7fd1228672 firmware-utils/mktplinkfw: add board definitions for TL-WR941ND v4
SVN-Revision: 19748
2010-02-19 11:52:30 +00:00
Travis Kemen
3c5ca326ec 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>

SVN-Revision: 19683
2010-02-17 02:18:13 +00:00
Travis Kemen
cb9c37af38 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>

SVN-Revision: 19596
2010-02-12 01:40:57 +00:00
Imre Kaloz
7b367d0313 with no users left, remove support for 2.6.21
SVN-Revision: 19578
2010-02-11 08:37:57 +00:00
Jo-Philipp Wich
14f6a53b6d firmware-utils: unify cc and cc2 macros, simplifies Makefile
SVN-Revision: 19487
2010-02-01 01:56:02 +00:00
Jo-Philipp Wich
e0933ce6e6 firmware-utils: copy bcm_tag.h to src/ and get rid of cc3 macro, fixes imagetag compilation
SVN-Revision: 19485
2010-02-01 01:17:46 +00:00
Felix Fietkau
393835a5d9 mtd-utils: refresh the cygwin_fixes patch
SVN-Revision: 19159
2010-01-16 00:11:47 +00:00
Felix Fietkau
5c8bfc0c17 mtd-utils: fix compile on mac os x
SVN-Revision: 19158
2010-01-16 00:11:43 +00:00
Felix Fietkau
f7c4735a19 libuuid: only build the static variant - fixes compile on mac os x
SVN-Revision: 19157
2010-01-16 00:11:38 +00:00
Lars-Peter Clausen
5f84b8a838 mtd-utils depends on libuuid
SVN-Revision: 19117
2010-01-13 13:14:35 +00:00
Lars-Peter Clausen
5cc66964c1 Fix libuuid header location and reenable building of mkfs.ubifs
SVN-Revision: 19113
2010-01-13 05:21:50 +00:00
Lars-Peter Clausen
46efcd60eb mtd-utils: Don't include lzo headers aswell...
SVN-Revision: 19107
2010-01-11 16:15:52 +00:00
Florian Fainelli
bcdfe67a13 do not build nor install mkfs.ubifs until we have it fixed (#6483)
SVN-Revision: 19106
2010-01-11 15:40:45 +00:00
Lars-Peter Clausen
fb86cd6dcc Add libuuid Makefile. Oops...
SVN-Revision: 19105
2010-01-11 11:18:26 +00:00
Lars-Peter Clausen
f26aa5f82a mtd-utils: Disable lzo for mkfs.ubifs
SVN-Revision: 19104
2010-01-11 11:04:30 +00:00
Lars-Peter Clausen
2ee3073b70 Add libuuid hosttool package. It's needed in order to build mkfs.ubifs
SVN-Revision: 19103
2010-01-11 11:02:54 +00:00
Lars-Peter Clausen
5ec88a4a15 mtd-utils: Build mkfs.ubifs
SVN-Revision: 19096
2010-01-11 01:04:15 +00:00
Felix Fietkau
43d56d9b56 mkimage: fix compile errors on non-glibc systems
SVN-Revision: 19095
2010-01-10 18:42:12 +00:00
Imre Kaloz
f8a49928e5 upgrade and build from the u-boot source
SVN-Revision: 19091
2010-01-10 15:57:43 +00:00
Nicolas Thill
02b4c152e2 mpfr: add missing MD5SUM
SVN-Revision: 19060
2010-01-07 02:07:51 +00:00
Florian Fainelli
1c50561480 make mtd-utils compile correctly on cygwin
SVN-Revision: 19039
2010-01-05 11:06:16 +00:00
Imre Kaloz
29a020ffb3 remove handling of older unsupported kernels
SVN-Revision: 18955
2009-12-27 21:54:09 +00:00
Gabor Juhos
cace9f4566 ar71xx: add support for the TL-WR841N v1.5 board
SVN-Revision: 18893
2009-12-22 19:31:28 +00:00
Felix Fietkau
79cdfd5456 wrt350nv2-builder: increase path limit from 64 bytes to 256 bytes, as 64 bytes may not be enough. suggested by maddes
SVN-Revision: 18794
2009-12-16 13:47:47 +00:00
Felix Fietkau
3fcaccd9b3 add a hacked up version of upslug2 which is able to flash a wrt350nv2 in recovery mode
SVN-Revision: 18765
2009-12-12 02:00:50 +00:00
Felix Fietkau
2820f3cbd3 wrt350nv2-builder: fix a small off-by-one error (thx, mb)
SVN-Revision: 18764
2009-12-12 01:01:42 +00:00
Felix Fietkau
54f40f36f7 fix portability issues and other minor bugs in the wrt350nv2 image builder
SVN-Revision: 18762
2009-12-12 00:44:15 +00:00
Felix Fietkau
a5e97547c6 add wrt350n v2 image building code from #5970 (thx, maddes)
SVN-Revision: 18761
2009-12-12 00:44:03 +00:00
Michael Büsch
d0ca6b9080 lzma2eva: Endianness fixes.
SVN-Revision: 18760
2009-12-11 23:50:51 +00:00
Gabor Juhos
7d8a1bf239 ar71xx: TL-WR1043ND support cleanup
SVN-Revision: 18697
2009-12-08 12:46:30 +00:00
Gabor Juhos
b12d752a63 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>

SVN-Revision: 18696
2009-12-08 12:46:25 +00:00
Gabor Juhos
32e3529836 tools: build old squashfs tools for ar71xx
SVN-Revision: 18596
2009-11-29 09:33:50 +00:00
Gabor Juhos
6d2fa1c896 ar71xx: create images for the WNDR3700, which can be flashed via the factory web interface
SVN-Revision: 18571
2009-11-28 09:28:25 +00:00
Gabor Juhos
09b5ed9641 firmware-utils: add WNDR3700 image fixing tool (thanks to Anael Orlinski)
SVN-Revision: 18569
2009-11-28 08:25:53 +00:00
Florian Fainelli
9f15eecf64 update automake to 1.10, fixes #6022
SVN-Revision: 18527
2009-11-24 21:17:20 +00:00
Felix Fietkau
e999c93128 mkfwimage: add support for the XM layout (bullet/rocket/nano M)
SVN-Revision: 18448
2009-11-18 18:10:24 +00:00
Felix Fietkau
73384dd1ff mklibs: fix missing __pack_f symbol in uclibc after relink
SVN-Revision: 18438
2009-11-17 04:36:07 +00:00
Imre Kaloz
f87c3cbb3a make the lzma version kernel version dependent, and only build the one we do need
SVN-Revision: 18426
2009-11-15 20:25:29 +00:00
Gabor Juhos
e6a40cac9a ar71xx: increase max size of RouterStation and RouterStation Pro firmware images
Thanks to riskable! (closes #5860)

SVN-Revision: 18410
2009-11-13 17:11:23 +00:00
Felix Fietkau
3a5deae00d gcc: add a config option for using the gcc graphite framework (disabled by default)
SVN-Revision: 18403
2009-11-12 13:42:07 +00:00
Imre Kaloz
cc222ce56d powerpc: use the in-kernel dtc compiler
SVN-Revision: 18374
2009-11-11 13:44:12 +00:00
Felix Fietkau
bfba89123b Don't build gmp and mpfr when using external toolchains (based on patch from #6035)
SVN-Revision: 18310
2009-11-05 11:16:20 +00:00
Felix Fietkau
c79b439709 squashfs4: use our lzma props settings again instead of the defaults (smaller images on arm/mips)
SVN-Revision: 18273
2009-11-02 14:52:15 +00:00
Felix Fietkau
2ecc782491 squashfs4: refresh the cygwin patch
SVN-Revision: 18272
2009-11-02 14:52:09 +00:00
Felix Fietkau
6b09768275 squashfs4: fix build breakage
SVN-Revision: 18271
2009-11-02 14:52:03 +00:00
Imre Kaloz
4364bc210e sync mksquashfs4 with the CVS code to generate LZMA images
SVN-Revision: 18268
2009-11-02 09:52:54 +00:00
Felix Fietkau
22523c204a add cloog and ppl to the tools build for the graphite framework in gcc 4.4
SVN-Revision: 18264
2009-11-02 00:47:21 +00:00
Gabor Juhos
7849923473 ar71xx: add preliminary support for the TL-WR841ND v5 board
SVN-Revision: 18226
2009-10-30 12:26:25 +00:00
Felix Fietkau
28d3db089d mklibs: use -Wl,--gc-sections when relinking - currently only saves a few bytes, maybe more in the future
SVN-Revision: 18123
2009-10-22 16:54:18 +00:00
Felix Fietkau
6f52504a97 mklibs: preserve the uclibc init symbol
SVN-Revision: 18085
2009-10-19 23:26:05 +00:00
Felix Fietkau
57d29edb07 mklibs: handle duplicate symbols properly
SVN-Revision: 18084
2009-10-19 23:26:00 +00:00
Felix Fietkau
eeadbde8ea mklibs: fix crashes on nonexistant sections in readelf (thx, justus)
SVN-Revision: 18083
2009-10-19 23:25:42 +00:00
Felix Fietkau
c30639b1e8 gmp: upgrade to 4.3.1 and fix compile on 64-bit mac os x
SVN-Revision: 17717
2009-09-25 09:28:26 +00:00
Felix Fietkau
76c655e96b mklibs: fix libpthread link error (#5851)
SVN-Revision: 17639
2009-09-20 12:51:48 +00:00
Matteo Croce
9f53073e97 fix error in mksquashfs4 when data can't be compressed
SVN-Revision: 17585
2009-09-15 09:01:27 +00:00
Felix Fietkau
f32f0814b1 firmware-utils: raise the default trx image size limit for something more appropriate for devices with 8M flash
SVN-Revision: 17537
2009-09-07 13:55:02 +00:00
Florian Fainelli
8868aa88c8 build fixes for squashfs4 on cygwin
SVN-Revision: 17430
2009-08-27 19:47:13 +00:00
Florian Fainelli
8733456b72 fix quilt installation on all platforms
SVN-Revision: 17405
2009-08-26 07:55:31 +00:00
Florian Fainelli
d17e2ee125 make quilt installation work on cygwin
SVN-Revision: 17398
2009-08-25 14:55:18 +00:00
Florian Fainelli
ec6127c955 update mpfr to 2.4.1
SVN-Revision: 17334
2009-08-20 16:08:52 +00:00
Florian Fainelli
26b1e0ebe2 disable mpfr tests compilation, slightly speeds up the build process
SVN-Revision: 17295
2009-08-17 14:51:32 +00:00
Florian Fainelli
85698765da add support for the Pirelli AG226G board (#5337)
SVN-Revision: 17190
2009-08-09 10:19:47 +00:00
Felix Fietkau
d9f9d74f69 mklibs: do not touch libraries that cannot be rebuilt
SVN-Revision: 17172
2009-08-08 02:24:59 +00:00
Felix Fietkau
a6a83985a0 upgrade mklibs to 0.1.29 - fixes runtime errors in mklibs-readelf
SVN-Revision: 17171
2009-08-08 02:24:54 +00:00
Felix Fietkau
583f6f2d6a mklibs: do not fail on unresolved symbols, but print warnings
SVN-Revision: 17170
2009-08-08 02:24:49 +00:00
Florian Fainelli
a865c9deb5 fix mklibs compilation failures on stdio.h not being included
SVN-Revision: 17164
2009-08-07 10:31:27 +00:00
Felix Fietkau
36aa20bdab add mklibs (based on a patch by florian) in preparation for optional library symbol stripping
SVN-Revision: 17154
2009-08-07 00:07:18 +00:00
Gabor Juhos
59c1e90fd7 firmware-utils/addpattern: add support for the WRT160NL
SVN-Revision: 17140
2009-08-06 09:15:05 +00:00
Florian Fainelli
8cfbcf0d0b revert r17022, this is not the way to do this
SVN-Revision: 17023
2009-07-26 18:13:03 +00:00
Florian Fainelli
b78a0f257e override sed configuration to work with FreeBSD (#4531)
SVN-Revision: 17022
2009-07-26 18:09:20 +00:00
Gabor Juhos
86d7900724 firmware-utils: add new tool for the wrt400n (based on a patch by Sandeep Mistry <sandeep.mistry at gmail.com>)
SVN-Revision: 16792
2009-07-12 08:59:18 +00:00
Gabor Juhos
a21bf40453 increase size of the kernel partition on the TL-WR[789]41N boards
SVN-Revision: 16785
2009-07-11 17:20:46 +00:00
Gabor Juhos
db71f38ed6 firmware-utils/mktplinkfw: add option for combined images
SVN-Revision: 16742
2009-07-08 08:17:26 +00:00
Gabor Juhos
4be401d44b firmware-utils/mktplinkfw: add board definitions for TL-WR741ND v1
SVN-Revision: 16740
2009-07-07 19:45:33 +00:00
Florian Fainelli
9e94806990 fix segfault when using the maxlen argument (#4359)
SVN-Revision: 16641
2009-07-01 14:58:15 +00:00
Gabor Juhos
c79ee4222e firmware-utils: add a tool to compute crc value for the 5gxi firmware
SVN-Revision: 16557
2009-06-25 09:41:06 +00:00
Gabor Juhos
d14e512f00 firmware-utils/mkcsysimg: minor bugfix
SVN-Revision: 16556
2009-06-25 09:39:30 +00:00
Gabor Juhos
19afadf0b2 firmware-utils/mkcsysimg: add signature for the 5GXi board
SVN-Revision: 16551
2009-06-24 16:44:30 +00:00
Gabor Juhos
c1a4eef483 firmware-utils: add a file {en,de}cryption tool, based on the PC1 encryption algrithm
SVN-Revision: 16550
2009-06-24 16:35:38 +00:00
Florian Fainelli
1795111337 add imagetag support for BT Voyager 2500V, patch from Daniel Dickinson (#5364)
SVN-Revision: 16506
2009-06-18 15:00:32 +00:00
Felix Fietkau
a6d8f8be9e firmware-utils: add a small utility for generating nand flash images with ecc info
SVN-Revision: 16458
2009-06-14 20:42:28 +00:00
Felix Fietkau
a2b97a26e3 add ubinize to the mtd-utils build
SVN-Revision: 16457
2009-06-14 20:42:23 +00:00
Felix Fietkau
2d6fc61216 upgrade to a more recent version of mtd-utils - preparation for adding UBI support
SVN-Revision: 16455
2009-06-14 20:42:12 +00:00
Florian Fainelli
ca16accfbb The attached patch adds building of firmware images for more routers based on the brcm63xx chipset.
Signed-Off By: Daniel Dickinson <crazycshore@gmail.com>

SVN-Revision: 16396
2009-06-10 08:24:13 +00:00
Florian Fainelli
01118457e8 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).
SVN-Revision: 16393
2009-06-09 08:04:52 +00:00
Gabor Juhos
c8bf295481 build firmware image for the MZK-W300NH board
SVN-Revision: 16342
2009-06-04 19:14:46 +00:00
Florian Fainelli
6c5ba45f54 port lzmp that is packaged by debian, build it, but do not install it yet
SVN-Revision: 16282
2009-06-01 20:31:49 +00:00
Ralph Hempel
69fbe5c3b0 fix download url
SVN-Revision: 16226
2009-05-31 10:07:35 +00:00
Felix Fietkau
f6079fbd4b add missing dependency
SVN-Revision: 16096
2009-05-26 19:11:56 +00:00
Felix Fietkau
f009acf9cd split stampfiles for STAGING_DIR and STAGING_DIR_HOST preparation
SVN-Revision: 16095
2009-05-26 19:11:52 +00:00
Gabor Juhos
9221732114 firmware-utils/mkfwimage: add support for RouterStation Pro (patch from Ubiquiti Networks)
SVN-Revision: 16064
2009-05-25 17:18:21 +00:00
Florian Fainelli
3e8dc710b5 revert r16017 there are no users of it yet
SVN-Revision: 16029
2009-05-24 14:02:46 +00:00
Florian Fainelli
d17888808e install the new lzma version (4.65) in staging_dir/host as lzma-new
SVN-Revision: 16017
2009-05-23 19:16:05 +00:00
Felix Fietkau
94808e0108 set PKG_NAME of the old lzma package to lzma-old to fix conflicts with the new lzma package
SVN-Revision: 16014
2009-05-23 13:21:43 +00:00
Florian Fainelli
ac7e89329b fix crc calculation with the new padding (#5143)
SVN-Revision: 15977
2009-05-22 07:49:23 +00:00
Felix Fietkau
bc152ef2c5 squashfs4: add lzma support (kernel support still missing)
SVN-Revision: 15884
2009-05-17 00:57:52 +00:00
Felix Fietkau
9da8f2b2a0 add the new lzma library (version 4.65), to be used for squashfs4
SVN-Revision: 15883
2009-05-17 00:57:47 +00:00
Gabor Juhos
01287654f2 add tool for squashfs4 image generation (w/o LZMA support)
SVN-Revision: 15864
2009-05-15 12:07:21 +00:00
Florian Fainelli
e5a836693e fix padding between end of the kernel and beginning of the rootfs in imagetag (#5108)
SVN-Revision: 15801
2009-05-12 13:20:36 +00:00
Gabor Juhos
35d1918758 firmware-utils/mkfwimage2: fix a typo
SVN-Revision: 15770
2009-05-11 14:51:56 +00:00
Felix Fietkau
e53003f5fc clean up / fix various Host/Clean templates in tools/
SVN-Revision: 15714
2009-05-08 20:44:47 +00:00
Felix Fietkau
b20fa8f579 rename tools/lzma to tools/lzma-old (preparation for adding a new lzma version)
SVN-Revision: 15595
2009-05-04 17:04:03 +00:00
Felix Fietkau
52339a50fd optimize tools/ directory build order to improve parallel building performance
SVN-Revision: 15365
2009-04-24 01:18:49 +00:00
Felix Fietkau
ace4ee61f2 add missing dependencies which broke parallel build
SVN-Revision: 15363
2009-04-24 01:04:54 +00:00
Florian Fainelli
7a0c00a011 gcc-4.4.0 also needs mpfr and gmp to be built
SVN-Revision: 15346
2009-04-23 09:51:24 +00:00
Felix Fietkau
63129f9b4c clean up automake/pkg-config handling, move separate host/package variable exports to templates, fix automake path for host builds
SVN-Revision: 15339
2009-04-22 22:05:55 +00:00
Jo-Philipp Wich
70bf92d03c Generate suitable images for the UBNT PicoStation2
SVN-Revision: 15314
2009-04-21 01:16:34 +00:00
Florian Fainelli
1f334e3caa make images that can be flashed using the stock firmware web interface, thanks to Anselmo Luginbuhl and Daniel Dickinson (#4909, #4943)
SVN-Revision: 15253
2009-04-19 13:18:48 +00:00
Felix Fietkau
34939cad39 get rid of $Id$ - it has never helped us and it has broken too many patches ;)
SVN-Revision: 15242
2009-04-17 14:09:46 +00:00
Florian Fainelli
b8e09787fa more cygwin related build fixes
SVN-Revision: 15227
2009-04-14 14:54:34 +00:00
Florian Fainelli
a4f6398eda fix ccache host installation (#4902)
SVN-Revision: 15165
2009-04-09 13:16:57 +00:00
Florian Fainelli
47387c945a revert changeset 15081 seems to break Alice box devices
SVN-Revision: 15140
2009-04-07 15:14:40 +00:00
Felix Fietkau
9493f9c19e clean up gmp and mpfr
SVN-Revision: 15114
2009-04-06 09:56:25 +00:00
Felix Fietkau
17b4ce5bc2 add check for common config variants for tools/install
SVN-Revision: 15113
2009-04-06 09:56:21 +00:00
Felix Fietkau
976b78a306 small cleanup for tools/Makefile
SVN-Revision: 15111
2009-04-06 09:56:12 +00:00
Florian Fainelli
11a791a318 compute rootfs crc32 required for brcm63xx web upgrades
SVN-Revision: 15081
2009-04-02 09:57:00 +00:00
Felix Fietkau
0121ec0e10 pkg-config: disable potentially recursive compat lookups which break on systems with gnome devel tools installed (thx, lubek)
SVN-Revision: 15026
2009-03-24 22:27:22 +00:00
Gabor Juhos
406ce1ae5d firmware-utils/mktplinkfw: add support for the TL-WR841ND v3 board
SVN-Revision: 15023
2009-03-24 16:08:07 +00:00
Ralph Hempel
bb63dea4fb m4 is now available, sorry for trouble
SVN-Revision: 14972
2009-03-22 18:31:54 +00:00
Ralph Hempel
ccb9d96ad7 add missing m4 dir
SVN-Revision: 14971
2009-03-22 18:27:13 +00:00
Felix Fietkau
df68a2199b Revert "[tools] add m4 (required for recent auto tools)"
Please add the missing tools/m4/ directory next time

SVN-Revision: 14968
2009-03-22 17:20:55 +00:00
Ralph Hempel
bbd36da806 add m4 (required for recent auto tools) thanks to Olaf
SVN-Revision: 14966
2009-03-22 14:37:47 +00:00
Rod Whitby
34ad500e2c tools/firmware-utils: Added encode_crc, for Freecom devices.
SVN-Revision: 14961
2009-03-22 11:39:32 +00:00
Florian Fainelli
ddfb6e1637 cleanup imagetag
SVN-Revision: 14941
2009-03-18 17:18:25 +00:00
Florian Fainelli
1c9c725184 fix a bug which prevented imagetag from correctly initializing the version and magic2, use the broadcom default magics, which allows uploading through web interfaces
SVN-Revision: 14925
2009-03-17 19:05:09 +00:00
Gabor Juhos
b4644aedce create firmware image for the Ubiquiti LS-SR71 board
SVN-Revision: 14874
2009-03-14 13:25:49 +00:00
Lars-Peter Clausen
2d305f4fb7 Build autoconf before automake.
SVN-Revision: 14864
2009-03-13 21:49:11 +00:00
Florian Fainelli
6495fa36ea add support for AGPF-S0 (Pirelli Alice Gate VoIP 2 Plus Wi-Fi) #4366
SVN-Revision: 14850
2009-03-12 08:54:04 +00:00
Florian Fainelli
0e3c23cdb2 allow flash start address and firmware offset to be set on the command line (#4666)
SVN-Revision: 14832
2009-03-10 09:18:47 +00:00
Ralph Hempel
6ce2c6eb5f add dependency (needed for parallel build)
SVN-Revision: 14704
2009-03-01 09:47:05 +00:00
Gabor Juhos
4a518ddf1c firmware-utils: add new firmware generation tool for the TP-LINK TL-WR941ND device
SVN-Revision: 14672
2009-02-26 16:59:15 +00:00
Felix Fietkau
25d318e815 merge host build of lua from tools/ into package/lua/Makefile
SVN-Revision: 14622
2009-02-22 18:10:23 +00:00
Felix Fietkau
7eb1589875 build system refactoring in preparation for allowing packages to do host-build steps
SVN-Revision: 14610
2009-02-22 04:37:20 +00:00
Felix Fietkau
cc7c06781a lzma: use a repacked tarball instead of the original one to get rid of CRLF conversion screwups
SVN-Revision: 14593
2009-02-21 16:20:16 +00:00
Hauke Mehrtens
3849a57cd7 tools: refresh patches for tools lua, mtd-utils, ipkg-utils, squashfs, lzma, and autoconf are touched
SVN-Revision: 14589
2009-02-21 14:46:03 +00:00
Felix Fietkau
062456ec4c prefer gstat over stat if available (patch from #4571)
SVN-Revision: 14568
2009-02-19 17:18:26 +00:00
Felix Fietkau
b248acae95 add mkyaffs2image (based on android sources)
SVN-Revision: 14567
2009-02-19 17:17:16 +00:00
Nicolas Thill
9b759f26c9 genext2fs: update to 1.4.1
SVN-Revision: 14536
2009-02-17 03:05:10 +00:00
Gabor Juhos
03f3002a17 firmware-utils/mkplanexfw: new firmware generation tool for the Planex MZK-W04NU device
SVN-Revision: 14410
2009-02-04 21:09:06 +00:00
Gabor Juhos
7fcc18ee99 firmware-utils/mkfwimage: update RouterStation specific values, adn remove some unused code
SVN-Revision: 14404
2009-02-04 08:13:58 +00:00
Felix Fietkau
21e15b7148 fix mpfr download url
SVN-Revision: 14213
2009-01-26 21:38:03 +00:00
Felix Fietkau
58765184c6 detect quilt configure errors properly (their broken configure script does not return proper error codes)
SVN-Revision: 14181
2009-01-25 19:02:48 +00:00
Felix Fietkau
ca8486a632 improve support for building on mac os x by improving detection of missing components
SVN-Revision: 14180
2009-01-25 19:00:43 +00:00
Nicolas Thill
593bbfdb8a remove reference to $(LINUX_HEADERS_DIR), not available at tools/compile stage
SVN-Revision: 14139
2009-01-21 18:10:11 +00:00
Florian Fainelli
3b366b4b3e slightly rework the gcc-4.3 checks, thanks {Nico}
SVN-Revision: 14136
2009-01-21 15:35:25 +00:00
Florian Fainelli
ef691cc091 only build gmp and mpfr when selecting gcc-4.3.x
SVN-Revision: 14135
2009-01-21 15:15:47 +00:00
Nicolas Thill
ec7b663c86 add support for gcc v4.3.1 & v4.3.2 (closes: #3479), thanks to Luigi Mantellini!
SVN-Revision: 14131
2009-01-21 11:58:17 +00:00
Gabor Juhos
955c501e9a firmware-utils/mkcasfw: fix magic value of the TN-U200 board
SVN-Revision: 14022
2009-01-13 10:18:13 +00:00
Gabor Juhos
50c19eee3f firmware-utils/mkfwimage: fix root_start values
SVN-Revision: 13874
2009-01-05 12:35:51 +00:00
Gabor Juhos
54b85f55d9 firmware-utils/mkfwimage: fix Ubiquiti firmware generation (closes #4414)
SVN-Revision: 13859
2009-01-04 18:42:46 +00:00
Gabor Juhos
124f0b003a firmware-utils/mkfwimage: add RouterStation support (based on a patch by Jonas <jonas at ubnt.com>)
SVN-Revision: 13682
2008-12-18 13:31:59 +00:00
Florian Fainelli
fa3fb7c809 Directly use the kent sourceforge mirrors, previous are in timeout
SVN-Revision: 13269
2008-11-17 19:52:06 +00:00
Gabor Juhos
0b699a76d8 firmware_utils/mkmylofw: add support of named partitions
SVN-Revision: 13253
2008-11-17 07:45:01 +00:00
Gabor Juhos
fcd2fe58ea firmware_utils/mkmylofw: add definitions for the NP25G and WPE53G boards
SVN-Revision: 13226
2008-11-16 07:49:27 +00:00
Florian Fainelli
bccf525528 Fix small typo #4148
SVN-Revision: 13142
2008-11-08 18:03:09 +00:00
Florian Fainelli
388485cf0f Use the only working sourceforge.net mirror for gentext2fs, the others are ever not synchronised or timing out
SVN-Revision: 13066
2008-10-28 22:00:30 +00:00
Florian Fainelli
15c130c762 Add makeamitbin to generate images for other RDC-based devices, thanks sn9 !
SVN-Revision: 13056
2008-10-28 16:26:42 +00:00
Gabor Juhos
a1f36eaa94 firmware-utils: new firmware generation tool for the WILIGEAR WBD-111
SVN-Revision: 12975
2008-10-13 17:17:19 +00:00
Lars-Peter Clausen
71c8fa8135 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.
SVN-Revision: 12946
2008-10-10 16:07:02 +00:00
Lars-Peter Clausen
6b4e3e7609 Check for existence of target aclocal folder before including them.
SVN-Revision: 12934
2008-10-09 12:55:08 +00:00
Lars-Peter Clausen
1f819de60e Add wrapper around aclocal which also search in the targets staging dir aclocal folder for m4 files.
SVN-Revision: 12929
2008-10-08 21:50:03 +00:00
Felix Fietkau
216c6cd8a9 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)
SVN-Revision: 12667
2008-09-23 16:12:40 +00:00
Florian Fainelli
55f3b8ade2 Do not try to build autoconf emacs library, as it can fail on some systems like Fedora core 9
SVN-Revision: 12562
2008-09-09 14:53:52 +00:00
Felix Fietkau
480864baef fix autoconf compilation (#3956)
SVN-Revision: 12554
2008-09-08 15:59:08 +00:00
Gabor Juhos
90904e3704 firmware-utils/mkmylofw: WP543 support
SVN-Revision: 12552
2008-09-08 12:39:33 +00:00
Felix Fietkau
a6fdbbabdd fix ccache installation (#3942)
SVN-Revision: 12515
2008-09-03 13:42:54 +00:00
Felix Fietkau
c6736f006e fix shell return status of the find symlink command
SVN-Revision: 12514
2008-09-03 13:25:26 +00:00
Felix Fietkau
56885c545e fix recursive symlink issue
SVN-Revision: 12508
2008-09-03 10:27:25 +00:00
Felix Fietkau
c2e0f61e56 provide a md5sum wrapper for BSDish systems
SVN-Revision: 12495
2008-09-02 10:58:01 +00:00
Felix Fietkau
4f3876f4ee quilt depends on sed
SVN-Revision: 12490
2008-09-02 10:56:56 +00:00
Felix Fietkau
304c93e487 install a symlink to the correct version of find in $(STAGING_DIR_HOST)/bin
SVN-Revision: 12451
2008-09-01 11:03:51 +00:00
Felix Fietkau
0e00c74946 add autoconf (fixes opkg build issues)
SVN-Revision: 12410
2008-08-27 20:18:53 +00:00
Felix Fietkau
949c1386d1 build and install a current quilt version in tools/
SVN-Revision: 12398
2008-08-27 14:13:32 +00:00
Steven Barth
4f18ba9249 Updated Lua host compiler to 5.1.4
SVN-Revision: 12384
2008-08-24 16:06:34 +00:00
Florian Fainelli
80e83652ae Invert logic, first search for find as most people will build under Linux
SVN-Revision: 12248
2008-08-08 21:48:15 +00:00
Florian Fainelli
65d4a5eaab 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>

SVN-Revision: 12247
2008-08-08 21:33:53 +00:00
Travis Kemen
1de0fb9f02 fix mkfwimage to recognize the -s option
SVN-Revision: 11978
2008-07-28 20:48:06 +00:00
Felix Fietkau
c385ca9c81 fix mkfwimage build on mac os x
SVN-Revision: 11947
2008-07-26 20:27:03 +00:00
Travis Kemen
14622d5a08 Use mkfwimage from athero.openwrt.net with modification for XS2 devices. Add back in ubiquiti image generation.
SVN-Revision: 11920
2008-07-25 03:55:21 +00:00
Steven Barth
76215afdec lua: Fixed some cross-platform issues for PPC (and probably other architectures)
SVN-Revision: 11608
2008-06-29 11:38:22 +00:00
Imre Kaloz
7e159bbc61 replacement of the add_header utility used by various vendors
SVN-Revision: 11588
2008-06-27 12:18:31 +00:00
Gabor Juhos
6e1a9a2134 firmware-utils/mkzynfs: even more improvements
SVN-Revision: 11559
2008-06-22 19:02:42 +00:00
Gabor Juhos
cd1be4c352 firmware-utils: ZyXEL firmware tool improvements
SVN-Revision: 11550
2008-06-22 05:41:37 +00:00
Gabor Juhos
47dd530414 firmware-utils/mkcasfw: add model id for Ovislink WL-5420/5460 IP cameras
SVN-Revision: 11527
2008-06-17 15:05:53 +00:00
Ralph Hempel
79bd4016bc added unsquashfs-lzma, usefull for debugging of existing fs images
SVN-Revision: 11496
2008-06-16 11:32:13 +00:00
Steven Barth
13f0dea188 Added lua (lua host bytecode-compiler) to tools/
SVN-Revision: 11304
2008-05-30 18:38:14 +00:00
Florian Fainelli
a013dcc08e Allow ipkg to handle conffiles if present (#3466)
SVN-Revision: 11242
2008-05-22 20:26:49 +00:00
Felix Fietkau
301ee97229 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>

SVN-Revision: 11170
2008-05-18 17:29:51 +00:00
Gabor Juhos
9b3eedabdb mkzynfw: add definitions for the P-2602HW-D1A
SVN-Revision: 11096
2008-05-09 08:19:30 +00:00
Gabor Juhos
f8b94cdc30 mkzynfw: fix NBG-318S definitions
SVN-Revision: 11095
2008-05-09 07:53:24 +00:00
Travis Kemen
3612b1e7c0 buld images for the Ubiquiti LiteStation and NanoStation ported from http://atheros.openwrt.net. Tested on a Nanostation 2 with airos 3
SVN-Revision: 11061
2008-05-07 23:47:17 +00:00
Florian Fainelli
e9c19c7de9 Create a dummy sit package for 2.4 kernelsq
SVN-Revision: 10668
2008-03-27 15:44:14 +00:00
Florian Fainelli
b2387fc537 Add definitions for the Zyxel NBG-318S
SVN-Revision: 10662
2008-03-26 13:34:29 +00:00
Ralph Hempel
03261ab3a0 put the dtc to the other host tools (thanks to Thomas)
SVN-Revision: 10616
2008-03-18 20:44:12 +00:00
Matteo Croce
001f82bf2c Add AG241 code pattern (fixes #1089)
SVN-Revision: 10584
2008-03-11 00:45:22 +00:00
Felix Fietkau
15cc997ddb build dtc for all powerpc targets (suggested by Kaloz)
SVN-Revision: 10579
2008-03-09 21:42:10 +00:00
Felix Fietkau
7c68eb27ba only build dtc for the target that uses it
SVN-Revision: 10577
2008-03-09 21:22:23 +00:00
Ralph Hempel
bfadfbe6a4 Device Tree Compiler require more recent bison ...
SVN-Revision: 10398
2008-02-05 19:39:57 +00:00
Gabor Juhos
4ee4c6f3f5 firmware-utils: new firmware generation tool for the Cellvision CAS-6xx/NFS-xxx devices
SVN-Revision: 10306
2008-01-29 08:31:54 +00:00
Imre Kaloz
36984a4cb5 add dtc, the device tree compiler
SVN-Revision: 10302
2008-01-29 00:56:27 +00:00
Gabor Juhos
76eef0ab42 firmware-utils/mkzynfw: remove 'svn:executable' property (closes #3082)
SVN-Revision: 10258
2008-01-25 19:05:51 +00:00
Gabor Juhos
b63a7d1242 firmware-utils/mkzynfw: add preliminary support for OEM boards
SVN-Revision: 10243
2008-01-25 08:19:31 +00:00
Gabor Juhos
1ceb95ed59 firmware-utils:fix a bug in mkzynfw, thanks to <theosch at gmx.de> (closes #3003)
SVN-Revision: 10218
2008-01-17 14:46:10 +00:00
Florian Fainelli
80475bb573 Add support for Conceptronic C54BSR4
SVN-Revision: 10002
2007-12-28 17:48:39 +00:00
Felix Fietkau
4fe3a3e727 remove stale reference to tools/libtool
SVN-Revision: 9940
2007-12-27 02:10:58 +00:00
Felix Fietkau
4a298f0c8d move libtool out of tools/, seems like we need a per-target libtool
SVN-Revision: 9937
2007-12-27 02:10:23 +00:00
Felix Fietkau
72a622a193 add libtool to tools/
SVN-Revision: 9902
2007-12-25 00:27:36 +00:00
Felix Fietkau
2112af299f add automake to tools/
SVN-Revision: 9901
2007-12-25 00:27:32 +00:00
Felix Fietkau
d0074af438 rename tools/ext2fs to tools/genext2fs
SVN-Revision: 9899
2007-12-24 23:02:02 +00:00
Florian Fainelli
7d9713b97f Prevent the use of underscores in package names (#2801)
SVN-Revision: 9724
2007-12-13 10:53:57 +00:00
Felix Fietkau
93575b53a7 Use $(CP) instead of $(INSTALL_BIN) for binaries.
Signed-off-by: Andy Boyett <agb-openwrt@padded-cell.net>

SVN-Revision: 9694
2007-12-09 18:53:06 +00:00
Felix Fietkau
3a4d04f6ec tools/mkimage: Include sys/types.h on Darwin/BSD.
Signed-off-by: Andy Boyett <agb-openwrt@padded-cell.net>

SVN-Revision: 9658
2007-12-05 18:45:11 +00:00
Felix Fietkau
ff75d8a012 fix another build issue on some osx machines - run ranlib on the lzma lib archive
SVN-Revision: 9649
2007-12-02 22:44:44 +00:00
Felix Fietkau
93df90ed3e fix sstrip compile on mac os x
SVN-Revision: 9645
2007-12-02 21:16:24 +00:00
Gabor Juhos
9cb4694eb9 fix some definitions in the ZyXEL tool
SVN-Revision: 9493
2007-11-03 17:00:57 +00:00
Gabor Juhos
7beed53403 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
SVN-Revision: 9490
2007-11-03 14:53:24 +00:00
Felix Fietkau
2df957c7a6 add updated motorola-bin.c file from #2483 (by D. Hugh Redelmeier)
SVN-Revision: 9434
2007-10-24 18:06:24 +00:00
Eugene Konev
6bf1f9a467 ar7: add eva image generation (thanks Axel Gembe)
SVN-Revision: 9401
2007-10-22 14:20:02 +00:00
Gabor Juhos
36a1feebdd add ids for Edimax BR-6104Wg boards
SVN-Revision: 9342
2007-10-18 07:40:01 +00:00
John Crispin
c3847b8e5d added our own pkg-config wrapper, making the sed foo on *.pc files obselete 1/2
SVN-Revision: 9162
2007-10-06 23:50:47 +00:00
Florian Fainelli
1585d61338 Add the ralink signature, will use it later
SVN-Revision: 8702
2007-09-09 10:34:53 +00:00
Gabor Juhos
4f4a3e5e40 I have new e-mail address. Thanks to Kaloz ;)
SVN-Revision: 8538
2007-08-29 17:27:11 +00:00
Nicolas Thill
d21941ca4d move ipkg.conf creation from tools/ipkg-utils to include/package-ipkg.mk
SVN-Revision: 8481
2007-08-25 11:55:01 +00:00
Felix Fietkau
c6bc77ea36 build system cleanup/restructuring as described in http://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html
SVN-Revision: 8362
2007-08-07 00:04:25 +00:00
Gabor Juhos
570cecff14 remove case sensitivity from the board name checking
SVN-Revision: 8352
2007-08-06 17:38:40 +00:00
Florian Fainelli
6dcd8081a3 Fix the jffs2 images with rdc devices (thanks to Daniel Gimpelevich)
SVN-Revision: 8329
2007-08-03 08:06:06 +00:00
Gabor Juhos
d1f4e5ba7f add firmware generation tool for ZyXEL boards
SVN-Revision: 8318
2007-08-02 19:05:28 +00:00
Felix Fietkau
3125d81ee1 dependency fix
SVN-Revision: 8253
2007-07-30 23:08:59 +00:00
Felix Fietkau
d7f2cb1642 next round of cleanup, convert target/ - make -j works now ;)
SVN-Revision: 8242
2007-07-30 21:14:08 +00:00
Felix Fietkau
49e628f765 next round of build system cleanup - convert package/ to new structure
SVN-Revision: 8236
2007-07-30 18:22:01 +00:00
Felix Fietkau
7e21008ee2 remove leftover stuff
SVN-Revision: 8234
2007-07-30 16:04:23 +00:00
Felix Fietkau
f1ac6cf7ec fix compile errors with make 3.80
SVN-Revision: 8230
2007-07-30 15:00:27 +00:00
Felix Fietkau
d6a0242404 use $(curdir) again
SVN-Revision: 8208
2007-07-28 13:44:04 +00:00
Felix Fietkau
e143bed1f1 build system fixes, more cleanup
SVN-Revision: 8207
2007-07-28 13:29:03 +00:00
Felix Fietkau
02a7e555de don't force the install->compile, compile->prepare dependencies in subdir.mk
SVN-Revision: 8202
2007-07-28 02:53:54 +00:00
Felix Fietkau
81529c47ec initial attempt at cleaning up subdirectory handling. tools/Makefile is now being included instead of recursively called
SVN-Revision: 8201
2007-07-28 02:44:55 +00:00
Felix Fietkau
ac02ee1e6a when building packages, accept uppercase letters in the package name
SVN-Revision: 8090
2007-07-21 01:11:16 +00:00
Florian Fainelli
114632438a Remove patch-cmdline from the packages and move it tools tools/. adm5120 and rb532 do use it for procuding ready-to-use kernels (#1631)
SVN-Revision: 7820
2007-07-01 09:45:27 +00:00
Felix Fietkau
16ae1e57bc fix accidentally committed broken patch
SVN-Revision: 7794
2007-06-30 13:23:18 +00:00
Felix Fietkau
d3dea9d2c6 add portability fixes from #1720
SVN-Revision: 7791
2007-06-30 12:21:58 +00:00
Felix Fietkau
488d8be7cd add update target to tools/
SVN-Revision: 7790
2007-06-30 12:21:09 +00:00
Felix Fietkau
07c8a6dab5 add lzma compression format to mkimage (will be used on infineon amazon)
SVN-Revision: 7718
2007-06-24 04:59:27 +00:00
Florian Fainelli
b8b5d01cbb Fix ar7 image generation with MacOSX
SVN-Revision: 7592
2007-06-12 16:46:52 +00:00
Hamish Guthrie
e970f61273 Remove a debug statement from trx.c, add config changes for at91
SVN-Revision: 7491
2007-06-04 17:39:38 +00:00
Felix Fietkau
5e406f0a28 enable quilt for host builds and add some additional checks
SVN-Revision: 7473
2007-06-03 07:33:00 +00:00
Hamish Guthrie
fe57573343 Fixed trx - variable append used uninitialised. If -A option was not used, the first offset was not written to the .trx file.
SVN-Revision: 7400
2007-05-30 10:49:46 +00:00
Florian Fainelli
fdd36119e9 mkcsysimg cleanups
SVN-Revision: 7392
2007-05-30 10:05:27 +00:00
Felix Fietkau
b71b54bb25 fix x86 boot filesystem allocation (#1736)
SVN-Revision: 7312
2007-05-23 18:15:11 +00:00
Imre Kaloz
014af49855 fix mkimage compile
SVN-Revision: 7307
2007-05-23 12:28:46 +00:00
Imre Kaloz
89897bd2ab upgrade mkimage the current git version
SVN-Revision: 7306
2007-05-23 09:42:45 +00:00
Felix Fietkau
63300d3d91 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.

SVN-Revision: 7253
2007-05-15 18:41:48 +00:00
Florian Fainelli
edeee75f53 Fix 32/64bits issues with airlink image generator
SVN-Revision: 7189
2007-05-11 18:22:22 +00:00
Mike Baker
324c12d220 host-build.mk used incorrectly
SVN-Revision: 7156
2007-05-10 07:02:04 +00:00
Nicolas Thill
74991d46b7 fix host header files installation for tools (closes: #1604)
SVN-Revision: 7029
2007-04-21 22:23:33 +00:00
Felix Fietkau
1099e2d679 the default_subtargets template was a bad idea, since different makefiles require different types of dependencies for subtargets. nuke it...
SVN-Revision: 7003
2007-04-18 17:35:46 +00:00
Felix Fietkau
532654e3c6 fix up dependencies
SVN-Revision: 7002
2007-04-18 17:09:34 +00:00
Florian Fainelli
d7960b2e50 Fix airlink image generation tool
SVN-Revision: 6913
2007-04-09 08:30:06 +00:00
Florian Fainelli
46161bff7d mkcsysimg typos
SVN-Revision: 6853
2007-04-03 19:55:10 +00:00
Florian Fainelli
c2d893e891 Remove useless mksyshdr utility, replaced by mkcsysimg, Edimax images are no longer broken, and have been tested
SVN-Revision: 6847
2007-04-03 09:50:17 +00:00
Florian Fainelli
305d012ea6 Add ADM5120 based edimax image generation utilities
SVN-Revision: 6840
2007-04-02 17:10:48 +00:00