Commit Graph

1278 Commits

Author SHA1 Message Date
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
Florian Fainelli
bf04aa9f69 Make airlink.c more endianness robus (sn9)
SVN-Revision: 6834
2007-04-02 16:05:40 +00:00
Florian Fainelli
aef8f80a3a Fix image generation (sn9)
SVN-Revision: 6781
2007-04-01 11:08:26 +00:00
Florian Fainelli
ce510473d5 Fix a typo
SVN-Revision: 6771
2007-03-31 09:09:02 +00:00
Florian Fainelli
5720195886 fix crc32 and endianness, thanks sn9
SVN-Revision: 6769
2007-03-31 08:59:51 +00:00
Florian Fainelli
263d62cf19 airlink generation fix, thanks st9_
SVN-Revision: 6764
2007-03-30 21:51:48 +00:00
Florian Fainelli
56d10f7c3c Fix mkmylofw write_out_padding routine
SVN-Revision: 6758
2007-03-29 22:20:21 +00:00
Florian Fainelli
6c9b120593 Add definitions to myloader thanks Gabor Juhos
SVN-Revision: 6710
2007-03-26 07:31:28 +00:00
Florian Fainelli
7b564bfdcb Fix potential unligned access with MyLoader based devices, thanks Juhos
SVN-Revision: 6659
2007-03-24 10:22:53 +00:00
Florian Fainelli
eaf0c708f2 Make mksyshdr safe for 64bits platforms (#1504)
SVN-Revision: 6646
2007-03-23 12:50:43 +00:00
Florian Fainelli
4bb721a186 Add firmware generation for other Compex boards based on myloader, thanks to Juhos Gabor !
SVN-Revision: 6640
2007-03-22 21:36:15 +00:00
Florian Fainelli
5e7833d044 Add image generation for edimax routers
SVN-Revision: 6627
2007-03-21 15:04:07 +00:00
Florian Fainelli
2b9f949403 Fix a warning
SVN-Revision: 6602
2007-03-18 13:06:33 +00:00
Eugene Konev
3dbd8ff32f Add srec2bin to firmware-utils
SVN-Revision: 6599
2007-03-18 09:33:39 +00:00
Felix Fietkau
f1a91c2f71 move ccache to tools/ and fix potential dependency issue
SVN-Revision: 6413
2007-02-27 23:46:34 +00:00
Felix Fietkau
41ac34a2a2 make ptgen print the end offset of the last partition as well
SVN-Revision: 6358
2007-02-25 17:58:54 +00:00
Felix Fietkau
ced1277147 clean up stampfile mess for tools/ and toolchain/
SVN-Revision: 6357
2007-02-25 17:49:25 +00:00
Felix Fietkau
aa22253602 fix cylinder rounding in ptgen
SVN-Revision: 6352
2007-02-24 20:20:57 +00:00
Florian Fainelli
6bc5b7ae43 Remove getline definition for OSX since we ship a getline implementation
SVN-Revision: 5986
2007-01-05 15:29:21 +00:00
Felix Fietkau
f9f5874de3 fix compile error (pointed out by nonsequitor)
SVN-Revision: 5772
2006-12-12 16:57:16 +00:00
Florian Fainelli
71b50f88fa Add airlink firmware generation tool, thanks to Vassily Galinsky for that !
SVN-Revision: 5760
2006-12-11 17:49:05 +00:00
Felix Fietkau
cf52f51b85 remove custom partition table hack, add ptgen utility for generating partition tables
SVN-Revision: 5704
2006-12-07 00:26:26 +00:00
Felix Fietkau
a1e6799797 fix missing PKG_NAME
SVN-Revision: 5703
2006-12-06 23:42:37 +00:00
Felix Fietkau
ebdcc6d40c move target/utils to tools/firmware-utils
SVN-Revision: 5702
2006-12-06 23:41:38 +00:00
Felix Fietkau
864ae8f613 more shell related fixes
SVN-Revision: 5509
2006-11-12 02:45:13 +00:00
Felix Fietkau
6a2879bfe7 improve parallel building
SVN-Revision: 5208
2006-10-18 19:00:05 +00:00
Felix Fietkau
b343519d29 fix sstrip linux compile
SVN-Revision: 5104
2006-10-14 23:12:29 +00:00
Felix Fietkau
f524e29d80 cleanup
SVN-Revision: 5097
2006-10-14 22:11:21 +00:00
Felix Fietkau
56273ac6a7 fix lzma compile
SVN-Revision: 5094
2006-10-14 21:44:23 +00:00
Felix Fietkau
60c1f0f64d finally move buildroot-ng to trunk 2016-03-20 17:29:15 +01:00