Commit graph

269 commits

Author SHA1 Message Date
Gabor Juhos
ffc0ea6c5d ar71xx: create 'fat' images for the DIR-825/TEW-673GRU boards
With these images, it is possible to use the 'unused'
partition of the flash. The 'fat' images can be installed
with the sysupgrade command. When a 'fat' image is
installed from a regular one, the platform specific
sysupgrade script copies the calibration data to the
end of the flash. Likewise, when a regular image is
installed  from the 'fat' version the sysupgrade script
copies the calibration data back to the original location.

SVN-Revision: 33540
2012-09-25 12:57:41 +00:00
Gabor Juhos
e70ad61e44 ar71xx: use different machtype and setup for the TL-MR3040
Should fix #12211. Compile tested only.

SVN-Revision: 33535
2012-09-24 18:45:56 +00:00
Gabor Juhos
79ffd1032a ar71xx: fix a typo in TEW-637GRU image names
SVN-Revision: 33460
2012-09-18 14:32:25 +00:00
Gabor Juhos
9a11f882d7 ar71xx: revert DIR-825-B1 wholeflash image support.
It should be implemmented in a cleaner way.

This reverts the following commits:
[ar71xx] dir-825-b1: Fix wholeflash images
[ar71xx] dir825b1: Add image for DIR-825-B1 that uses the whole flash"

SVN-Revision: 33459
2012-09-18 14:30:57 +00:00
Daniel Dickinson
0f254b4b67 dir-825-b1: Fix wholeflash images: Attempting to flash a wholeflash (-openwrt) image from the normal image would brick (but recoverable via emergency flash) the router if the wholeflash image was larger than the maximum size for a normal image. First we rename the -openwrt images to -wholeflash since -openwrt is really too generic. We also revert the changes to the regular dir-825-b1 image, which now is the same as before, but add a -towholeflash image which is almost the same as the regular dir-825-b1 image, but copies caldata to new location and allows flashing of images that use the full flash (except u-boot, u-boot-env, and caldata paritition space) (these are the -wholeflash images).
SVN-Revision: 33447
2012-09-17 14:17:12 +00:00
Felix Fietkau
ed14ffc7da ar71xx: fix WP543 image builds
SVN-Revision: 33413
2012-09-15 10:21:21 +00:00
Daniel Dickinson
c3b7139ab2 dir825b1: Add image for DIR-825-B1 that uses the whole flash (must first be flashed with the 'standard' image) and an image to revert the change to allow reversion to stock firmware.
SVN-Revision: 33326
2012-09-06 18:15:26 +00:00
Gabor Juhos
0c5688cc38 ar71xx: image: fix Profile name for TL-WA701 (closes #12094)
SVN-Revision: 33295
2012-08-29 10:37:30 +00:00
Gabor Juhos
d65c06c15c ar71xx: generate image for ALL0315N
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33286
2012-08-27 14:55:37 +00:00
Gabor Juhos
5a9c7fda3e ar71xx: unbreak building images for TL-WR1041N-v2, TL-WR2543N
Commit 48788063266ad99bdab03b53cbe7e1a564c2d9b3 (r33251) introduced a
regression with board= kernel command line parameter incorrectly
initialised.

The faulty builds propogated to the snapshots download area. This makes
the device unbootable and TP-Link users have to attach the serial to
recover.

Here is the q&d way i used to identify MIPS boards that didn't have a
corresponding entry in the image/Makefile:

for i in `find ../files/arch/mips/ath79/ -type f -exec cat {} \; \
	| sed -n '/MIPS_MACHINE/ { s/^[^"]*"\([^"]*\)".*$/\1/; p; }'`; do
		grep -q ,$i, Makefile || echo $i;
done > missing-boards.new

Reported-by: Casper on IRC
Signed-off-by: Paul Fertser <fercerpav@gmail.com>

SVN-Revision: 33274
2012-08-26 08:15:11 +00:00
Gabor Juhos
f3d5edffdc ar71xx: image: fix TL-WR1043ND board id (#12079)
SVN-Revision: 33272
2012-08-26 06:30:37 +00:00
Gabor Juhos
773b33d7d2 ar71xx: image: group and sort {Single,Multi}Profiles
SVN-Revision: 33264
2012-08-23 13:17:47 +00:00
Gabor Juhos
a5e0eb0d95 ar71xx: image: group and sort mtdlayout definitions
SVN-Revision: 33263
2012-08-23 13:14:35 +00:00
Gabor Juhos
f0ad972aba ar71xx: image: use the MultiProfile helper for the Madwifi profile
SVN-Revision: 33262
2012-08-23 13:11:25 +00:00
Gabor Juhos
333f030b79 ar71xx: image: automatically build a list of SingleProfiles
Use that for Default/Minimal profiles.

SVN-Revision: 33261
2012-08-23 13:08:15 +00:00
Gabor Juhos
5dce77837f ar71xx: image: use the new helpers for the ZyXEL images
SVN-Revision: 33260
2012-08-23 13:05:05 +00:00
Gabor Juhos
be4be2d82a ar71xx: image: use the new helpers for the Zcomax images
SVN-Revision: 33259
2012-08-23 13:01:55 +00:00
Gabor Juhos
74bdb68ea4 ar71xx: image: use the new helpers for the WRT400 images
SVN-Revision: 33258
2012-08-23 12:58:45 +00:00
Gabor Juhos
8cf9a7b1c7 ar71xx: image: use the new helpers for the WZRHPG30XNH images
SVN-Revision: 33257
2012-08-23 12:55:35 +00:00
Gabor Juhos
c965d8ead8 ar71xx: image: use the new helpers for the WHRHPG300N images
SVN-Revision: 33256
2012-08-23 12:52:25 +00:00
Gabor Juhos
71af43a7c7 ar71xx: image: use the new helpers for the UBNTXM images
SVN-Revision: 33255
2012-08-23 12:49:15 +00:00
Gabor Juhos
097e9938b4 ar71xx: image: use the new helpers for the UBNT images
SVN-Revision: 33254
2012-08-23 12:46:06 +00:00
Gabor Juhos
216e9b7a92 ar71xx: image: use the new helpers for the TPLINKOLD images
SVN-Revision: 33253
2012-08-23 12:42:56 +00:00
Gabor Juhos
48d6081fa5 ar71xx: image: use the new helpers for the TPLINK-LZMA images
SVN-Revision: 33252
2012-08-23 12:39:46 +00:00
Gabor Juhos
8546e00157 ar71xx: image: use the new helpers for the TPLINK images
SVN-Revision: 33251
2012-08-23 12:36:35 +00:00
Gabor Juhos
27feea1070 ar71xx: image: use the new helpers for the Planex images
SVN-Revision: 33250
2012-08-23 12:33:25 +00:00
Gabor Juhos
4dbabe5c21 ar71xx: image: use the new helpers for the PB4X images
SVN-Revision: 33249
2012-08-23 12:30:15 +00:00
Gabor Juhos
bbaa0b9200 ar71xx: image: use the new helpers for the OpenMesh images
SVN-Revision: 33248
2012-08-23 12:27:06 +00:00
Gabor Juhos
4edc55f475 ar71xx: image: use the new helpers for the Netgear images
SVN-Revision: 33247
2012-08-23 12:23:56 +00:00
Gabor Juhos
d9f933b8b8 ar71xx: image: use the new helpers for the MyLoader images
SVN-Revision: 33246
2012-08-23 12:20:46 +00:00
Gabor Juhos
a409d0cf46 ar71xx: image: use the new helpers for the DIR825B1 images
SVN-Revision: 33245
2012-08-23 12:17:36 +00:00
Gabor Juhos
b7e05e3a59 ar71xx: image: use the new helpers for the CyberTAN images
SVN-Revision: 33244
2012-08-23 12:14:26 +00:00
Gabor Juhos
292f074ad7 ar71xx: image: use the new helpers for the Cameo933x images
SVN-Revision: 33243
2012-08-23 12:11:17 +00:00
Gabor Juhos
4c9a428614 ar71xx: image: use the new helpers for the Cameo913x images
SVN-Revision: 33242
2012-08-23 12:08:07 +00:00
Gabor Juhos
19d840980f ar71xx: image: use the new helpers for the Cameo7240 images
SVN-Revision: 33241
2012-08-23 12:04:57 +00:00
Gabor Juhos
ce91228e2b ar71xx: image: use the new helpers for the AthGzip images
SVN-Revision: 33240
2012-08-23 12:01:47 +00:00
Gabor Juhos
70e3dda99c ar71xx: image: use the new helpers for the AthLzma images
SVN-Revision: 33239
2012-08-23 11:58:37 +00:00
Gabor Juhos
31a88650d7 ar71xx: image: use the new helpers for the ALFA images
SVN-Revision: 33238
2012-08-23 11:55:27 +00:00
Gabor Juhos
2379e6f2a3 ar71xx: image: add a few helper functions
These functions will be used to simplify the Makefile.

SVN-Revision: 33237
2012-08-23 11:52:18 +00:00
Gabor Juhos
6ebc77af73 ar71xx: image: pass mtdlayout as a separate parameter for the ALFA template
SVN-Revision: 33236
2012-08-23 11:49:07 +00:00
Gabor Juhos
a2f82cf7ec ar71xx: add profile and build image for the TEW-712BR
SVN-Revision: 33234
2012-08-22 20:18:44 +00:00
Gabor Juhos
dc13dc1d54 ar71xx: fix mtd layout of the AP113
The 'mtdparts=' prefix and the name of the flash device is missing.

SVN-Revision: 33226
2012-08-22 12:39:46 +00:00
Gabor Juhos
5a694e09c8 ar71xx: add ALL0305 board alias
For the pure convenience of having a correctly named
image and system name in /proc/cpuinfo , until we can
do that by having system names in DTS...

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33224
2012-08-22 12:33:22 +00:00
Gabor Juhos
0517183b9c ar71xx: add support for TP-Link TL-WDR3600
The TL-WDR3600 is identical to the TL-WDR4300 with the exception that is has
only two antennas.

[juhosg: remove the custom machine type, change the board name instead]

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 33219
2012-08-22 09:43:18 +00:00
Gabor Juhos
b873051706 ar71xx: image: stop the switch from the lzma-loader on the TL-WR1043ND
SVN-Revision: 32946
2012-08-02 09:54:41 +00:00
Gabor Juhos
e29d6bec6f ar71xx: image: allow to use board specific code in the lzma-loader
SVN-Revision: 32945
2012-08-02 09:54:33 +00:00
Gabor Juhos
563400ef10 ar71xx: ew-dorin: added router firmware generation
[juhosg: remove dead code]

Signed-off-by: embedded wireless GmbH <info@embeddedwireless.de>

SVN-Revision: 32934
2012-08-01 12:24:57 +00:00
Gabor Juhos
010aec0619 ar71xx: Buffalo WLAE-AG300N initial support
The patch set for Buffalo WLAE-AG300N initial support.

There is another patch for wireless led support that
is posted separately.

Note on serial console:
This unit has buffalo standard 4 pin console, but the unit may not power
on if some console apparatus is connected. This is probably due to some
electronic interaction between the unit's electronic power switch circuit
and the serial console apparatus. If this happens, it is required to power
on the unit without the console, then quickly (re-)attach it.

[juhosg: fix coding style]

Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp>

SVN-Revision: 32931
2012-08-01 12:24:52 +00:00
Gabor Juhos
33220828dc ar71xx: build firmware image for the TP-Link TL-WDR4310 v1.0
The hardware for TP-Link TL-WDR4300 v1.1 and TL-WDR4310 v1.0 is
identical, but requires different firmware headers:

TL-WDR4300:
00000040  43 00 00 01 00 00 00 01  00 00 00 00 76 fb 83 40  |C...........v..@|

TL-WDR4310:
00000040  43 10 00 01 00 00 00 01  00 00 00 00 38 2b 50 6c  |C...........8+Pl|

[juhosg: change commit message, use a different model name]

Signed-off-by: Stefan Lippers-Hollmann <s.l-h@gmx.de>

SVN-Revision: 32683
2012-07-12 13:38:40 +00:00
Gabor Juhos
eabf96dc22 ar71xx: set firmware version for the TL-WR2543N
This ensures that the resulting firmware can
be flashed from the latest (v3.13.17) offical
firmware.

SVN-Revision: 32617
2012-07-05 16:25:31 +00:00