1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-05 15:27:30 +02:00
Commit Graph

536 Commits

Author SHA1 Message Date
markus
3c05ba2472 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
jow
e645dfd6f5 [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
jow
674ab4a821 [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
jow
ff696e3da9 [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
nbd
f2f28c86a2 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
juhosg
c43902582a 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
juhosg
e5e2a4f7fb 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
0df7081ccd 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
ea4702f529 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
390543dc5a [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
26fce8a1fe 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
8838bdcc69 [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
cb1d5f3bc9 [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
fdb5a4eb0b [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
nbd
b91699ff88 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
nbd
388a290343 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
juhosg
86154153a6 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
juhosg
d757b8b0b4 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
nbd
bae26fa121 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
juhosg
971c83a0ff 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
acoul
0ca0eee452 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
acoul
51ba54f403 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
acoul
cc3b43f054 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
efd153827c [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
acoul
db425c226a 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
nbd
4a2059281b 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
nico
abe312efd5 [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
acoul
7a35563612 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
58dcac852c [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
ec9c918aef [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
juhosg
c460c800ba 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
338ed10277 [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
f4fc288059 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
f87759a667 [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
nbd
5ad9c27d39 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
juhosg
18274ae333 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
juhosg
e1065cc197 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
nbd
1099d43dc6 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
nbd
68e5672a7d 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
juhosg
d2617d12b7 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
thepeople
f3299d51f8 [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
thepeople
d5df4c3d39 [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
kaloz
cdce93c921 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
jow
868654d8f5 [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
jow
581beaa501 [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
nbd
2da653df89 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
nbd
ac99782d22 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
nbd
efe8a21694 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
90cf754566 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
546023e7ae 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
d71781fcad 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
1205338130 [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
1de4e25758 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
d5d38d7ac5 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
41c02d4454 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
acc6cdea01 [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
nbd
bb7d19a9e6 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
kaloz
7a24648663 [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
nico
af7936637c [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
c8ce62bd58 [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
kaloz
6121023e90 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
juhosg
db5288e38a 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
nbd
e8ab9e6d15 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
nbd
c6d72ac57a 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
nbd
67c938ceba 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
nbd
286e6eda5e 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
nbd
cb4115d860 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
mb
568c49ffd9 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
juhosg
2417cf6791 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
juhosg
bfbc6bd89d 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
juhosg
1ccd78cda7 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
juhosg
4bcc767170 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
juhosg
ebd0fd5ff9 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
9351b5dfae [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
nbd
b4d4ad1eb5 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
nbd
a3aca9dfa3 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
kaloz
1300afab4c 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
juhosg
d44b709034 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
nbd
53d870958e 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
kaloz
8307a88597 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
nbd
18fbe1a18b 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
nbd
6456a706de 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
nbd
e1ec0a87e1 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
nbd
0511a5502c 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
kaloz
e7cdf7db47 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
nbd
8ee0ed82e0 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
juhosg
1d2b1e7279 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
nbd
80d3676987 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
nbd
e758e059e7 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
nbd
22660b11c8 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
nbd
6691016918 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
nbd
6147acb9d9 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
nbd
a1e0ae5b41 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
74a702f6b2 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
nbd
20804e15d7 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
85545a1d5a [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
27a6fc21ec [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
4044cf6e01 [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
7b460a0939 [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
7e8a82eecb [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
95d6d72228 [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
nbd
479aa972ad 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
nbd
5d8da1c596 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
nbd
36ee26128c 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
8ba3245d96 [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
nbd
df1a3208d3 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
juhosg
4b0c6e828a [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
4d25d1cdf1 [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
b38d493b4e [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
juhosg
f3e58ee3f3 [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
juhosg
3507828a2c [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
juhosg
862565b768 [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
juhosg
fd9114dcce [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
3811f77e30 [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
juhosg
980e10ce15 [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
juhosg
8a2403d370 [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
juhosg
0b11037830 [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
juhosg
21a96eeb47 [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
302118701d [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
nbd
8378beaa85 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
nbd
d9d7899718 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
nbd
9f28e5bd03 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
3d975fbf42 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
b1dfb3f7eb [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
juhosg
6a1f0d244e [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
40733ccb97 [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
fa6c7ba5a8 [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
nbd
61a70b4424 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
nbd
430d0cdbcf 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
juhosg
7ca8bc3e4b [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
59ef9d52e4 [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
6b09a38a1e [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
nbd
f227ba2d68 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
f106876772 [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
nbd
5441e7e9d6 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
nbd
96978375cc 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
juhosg
3d7502c8e4 [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
3da5c74ed8 [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
juhosg
7021e8ae4c [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
nbd
f807c24214 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
nbd
037bb6d752 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
nbd
01bb8daf87 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
nbd
591fe5e8c5 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
b6a8ee779e [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
nbd
aa1fa7f74a 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
jow
4e941a1fa5 [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
c4a76c3879 [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
nbd
796a9d1091 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
a6e38696e8 [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
12d07c1962 [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
2b90090152 [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
nbd
cf71c75acc 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
nbd
e024eeefe7 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
nbd
292a12620a 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
bfb51f9f6d [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
nbd
bfdf3aa878 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
juhosg
3fcf2930a4 [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
b0999155a4 [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
49d9cce076 [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
nbd
bcf76c975b 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
b150231d58 [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
rwhitby
ae88c158f1 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
84bf4449a7 [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
9f0874620d [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
juhosg
4bd70fc262 [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
f1031f88ff 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
de1e7c94c8 [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
27f53285ae [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
9e3df9dbdc 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
juhosg
9c14f28bbc [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
nbd
9cbba08f01 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
nbd
800e84cc0f 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
nbd
b0f7f11019 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
4ca144deb8 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
nbd
7523aea0d4 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
nbd
a60f2af2c7 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
nico
add93b4d50 [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
juhosg
15bb597645 [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
juhosg
58f887f077 [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
nbd
48cc27373d 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
nbd
8add899096 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
nbd
1e68438b58 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
nico
a2f21669ed [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
2f23c770ba [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
a305cae620 [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
nico
fd8969afc4 [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
juhosg
592f01f424 [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
juhosg
8e791ccc70 [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
juhosg
0b61b4ddbd [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
juhosg
7187643004 [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
4454a35bc0 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
juhosg
bfc031e319 [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
juhosg
447d5a5a16 [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
98883df37f 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
f6d79ced81 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
fa4bc36651 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
juhosg
1a2eac4b9f [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
042b8de61d 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
3286421e36 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
e57a3cb7f2 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
nbd
1e232a2ad2 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
942bc3ecb3 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
nbd
b9791839b0 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
juhosg
d7f64a5f61 [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
nbd
42f1d8f151 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
nbd
cac3130d22 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
nbd
3d14a11edd 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
nbd
c656e45d6c 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
nbd
68cd5d5a88 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
nbd
a20af599b8 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
nbd
914e3a320d 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
nbd
21994b9677 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
cyrus
1b55f0d569 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
73da63389a 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
191849c5b3 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
thepeople
08740c51cf 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
nbd
811d83bef3 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
thepeople
bb6048957c 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
cyrus
adde7768a2 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
kaloz
ff8987a16b 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
juhosg
a921d08407 [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
juhosg
af97f0b8dc [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
juhosg
0d2e5e6dd8 [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
07d64ac0ad 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
cyrus
dda84a264b 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
d75c20f8fd 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
nbd
72ac579241 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
juhosg
b19cd7dc6d [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
juhosg
b568891277 [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
thepeople
4f5fd629a3 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
14e96a8a42 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
f59f0d9676 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
1f5ca792f8 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
4f38f53ecd 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
nbd
58a7bc0198 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
nbd
bf277dd79e 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
d3ac2e99f6 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
juhosg
5c7b26807e [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
kaloz
1c7a2389f4 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
juhosg
2e734b065d [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
juhosg
68e23ccf7b [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
juhosg
619c2eba55 [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
c03b4d61ae 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
nbd
ea3044ff00 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
nbd
19efc9d28e 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
nbd
0dd225201a 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
nbd
5bcb865d4c 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
nbd
c91626b9ab 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
3675f041ae 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
nbd
c3cd9cb9ab 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