Commit graph

283 commits

Author SHA1 Message Date
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
Gabor Juhos
1ea2a3cfd8 ar71xx: add profile and build image for the Atheros AP136 reference board
SVN-Revision: 32609
2012-07-05 08:26:51 +00:00
Felix Fietkau
bfef2d17eb ar71xx: update the EW Dorin MTD layout, increase kernel partition size (requested by EW)
SVN-Revision: 32599
2012-07-04 10:55:56 +00:00
Gabor Juhos
86013d40d5 ar71xx: remove the built-in MTD map of the ALL0258N
Pass the mtd_layout via the kernel command line instead.
Also increase the kernel partition size to 1024k, so current kernel can fit in.

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

SVN-Revision: 32585
2012-07-03 15:24:01 +00:00
Gabor Juhos
7c87391c55 ar71xx: create profile and build image for the TL-WDR4300 board
SVN-Revision: 32461
2012-06-19 11:51:20 +00:00
Felix Fietkau
26cf21df02 ar71xx: add support for the embeddedwireless Dorin board (based on patch by embeddedwireless.de)
SVN-Revision: 32447
2012-06-19 00:22:04 +00:00
Felix Fietkau
624505df56 ar71xx: fix LZMA loader build regression from r32090 (thx, juhosg)
SVN-Revision: 32095
2012-06-06 19:37:49 +00:00
Felix Fietkau
02ab0d3ef9 ar71xx: only build all loader images if the image builder is enabled - saves some time on make target/install
SVN-Revision: 32090
2012-06-06 17:24:01 +00:00
Gabor Juhos
8865f0923e ar71xx: fix TL-WR1041 image size
SVN-Revision: 31923
2012-05-27 17:21:47 +00:00
Gabor Juhos
758f670376 ar71xx: add support for TP-Link TL-MR3040
Support for TP-Link TL-MR3040. Power LED not working - always on red, after
start should be green.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

SVN-Revision: 31845
2012-05-23 21:05:24 +00:00
Gabor Juhos
9486904079 ar71xx: add profile and build image for the TL-WR1041N v2 board
Patch-by: Vince Huang <axishero@foxmail.com>

SVN-Revision: 31610
2012-05-05 17:02:41 +00:00
Gabor Juhos
f14fd53e3c ar71xx: image: build initramfs images for the WHR boards
SVN-Revision: 31209
2012-04-06 06:45:08 +00:00
Gabor Juhos
6455178a6a ar71xx: image: build initramfs images for more boards
SVN-Revision: 31116
2012-03-27 19:38:13 +00:00
Gabor Juhos
e2bd975a2a ar71xx: image: add MkuImage{Gzip,Lzma}/initramfs helpers
SVN-Revision: 31115
2012-03-27 19:38:11 +00:00
Gabor Juhos
c7966a12b5 ar71xx: image: pass mtdlayout variables by value
SVN-Revision: 31114
2012-03-27 19:38:10 +00:00
Gabor Juhos
692e47f49f ar71xx: image: use MkuImageGzip in Image/Build/AthGzip/initramfs
SVN-Revision: 31113
2012-03-27 19:38:08 +00:00
Gabor Juhos
6cd5fb7001 ar71xx: remove the built-in MTD map of the AP96 board
Pass the mtd_layout via the kernel command line instead.

SVN-Revision: 31112
2012-03-27 19:38:07 +00:00
Gabor Juhos
61ee283899 ar71xx: remove the built-in MTD map of the PB92 board
Pass the mtd_layout via the kernel command line instead

SVN-Revision: 31111
2012-03-27 19:38:05 +00:00
Gabor Juhos
1094dc1996 ar71xx: remove the built-in MTD map of the Zcomax devices
Pass the mtd_layout via the kernel command line instead.

SVN-Revision: 31110
2012-03-27 19:38:04 +00:00
Gabor Juhos
24554ef187 ar71xx: reclaim the 'user_property' partition on WHR-* boards
SVN-Revision: 31109
2012-03-27 19:38:02 +00:00
Gabor Juhos
f601339e79 ar71xx: add profile and generate image for the JA76PF2 board
SVN-Revision: 30958
2012-03-16 18:00:40 +00:00
Gabor Juhos
088dd4e879 ar71xx: stop image building if a loader is missing
SVN-Revision: 30877
2012-03-11 14:03:28 +00:00
Gabor Juhos
6b37484883 ar71xx: use v6.0.0 in UBTN-XM firmwares (closes #11038)
SVN-Revision: 30712
2012-02-24 20:41:38 +00:00
Gabor Juhos
3d20de331d ar71xx: fix image signature for UBNT-XM boards
SVN-Revision: 30626
2012-02-18 14:45:52 +00:00
Daniel Dickinson
b797f72319 d-link: Add DIR-601 Profile Definition; It needs different factory images than DIR-600
SVN-Revision: 30570
2012-02-16 07:38:33 +00:00
Daniel Dickinson
c736e2d4b0 Fix partitions for Cameo-based boards; kernel 3.2 is bigger
SVN-Revision: 30569
2012-02-16 07:29:26 +00:00
Daniel Dickinson
4685a51301 image: For Cameo-based board fix adding mtd layout to kernel commandline)
SVN-Revision: 30568
2012-02-16 07:24:45 +00:00
Gabor Juhos
9a0e17857e ar71xx: add profile and build image for the TP-Link TL-WR842N/ND v1 boards
SVN-Revision: 30508
2012-02-13 17:11:58 +00:00
Gabor Juhos
81f15f5026 ar71xx: add profile and build image for the TEW-673GRU board
SVN-Revision: 30377
2012-02-08 16:26:27 +00:00
Gabor Juhos
faeca86e50 ar71xx: support for D-LINK DIR-615 rev. E4
This patch adds support for D-LINK DIR-615 E4 board. It's mostly based
on the existing support for DIR-600 A1, with some changes in the leds
configuration.

It's an updated version of the patch that reliably works on my hw for
about a year (it was built from trunk on Jan 2011). When I decided to
update the firmware and checked for the current support for that device,
I also found previously posted patches by Alexey Loukianov that
mentioned some stability issues. I'm not sure where could be the
difference, the patches are very similar except the wmac led pin number
- I was using 1, and those patches used 17.

[juhosg: add 3.2 support]

Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>

SVN-Revision: 29973
2012-01-31 18:37:09 +00:00
Gabor Juhos
97e4ddd012 ar71xx: add support for TP-Link TL-MR11U
Adds support for TL-MR11U, a portable router with very similar
hardware to the TL-WR703N and TL-MR3020, but with an onboard
2000mAh battery.

Tested, working:
All interfaces (Ethernet, 802.11n, USB)
WPS & Reset switches (Power appears to be a hardware slider)
Ethernet, Wifi, 3G LEDs (Power & charging LEDs hardware controlled)
Sysupgrade

[juhosg: fix indentations to use TABs instead of spaces, fix 3.2 patch
breakage]

Signed-off-by: Simon Taylor <simon.taylor.uk@gmail.com>

SVN-Revision: 29972
2012-01-31 18:37:01 +00:00
Gabor Juhos
8766f32b8c ar71xx: compress kernel binaries in Image/Prepare stage
The lzma compressed kernel is used by one of the loaders.

SVN-Revision: 29971
2012-01-31 18:36:54 +00:00
Florian Fainelli
eeb00634a7 add support for the Atheros AP113 reference board
This reference board is equipped with:
- AR7242 SoC
- AR9580 on-board Wi-Fi
- AR8316 switch

SVN-Revision: 29935
2012-01-28 13:19:49 +00:00
Gabor Juhos
b9b768b8d3 ar71xx: use 64k block size for WZR-HP-AG300H
SVN-Revision: 29917
2012-01-27 10:42:41 +00:00
Gabor Juhos
ac8116739a ar71xx: fix sysupgrade image building of atheros boards after r29899
SVN-Revision: 29916
2012-01-27 07:51:09 +00:00
Gabor Juhos
013fe76b36 ar71xx: create the temporary directory before building initramfs images
Thanks to Florian for reporting.

SVN-Revision: 29915
2012-01-26 21:28:34 +00:00
Gabor Juhos
a5538a18d4 ar71xx: create a profile and build images for Compex WPE72
[juhosg: remove ath9k from the the profile package list, build WPE72
image with the Default profile as well]

Signed-off-by: Johnathan Boyce <jon.boyce@globalreach.eu.com>

SVN-Revision: 29914
2012-01-26 17:01:44 +00:00
Gabor Juhos
4f3d6c9ae9 ar71xx: use the lzma loader on the Planex boards
SVN-Revision: 29900
2012-01-24 20:12:10 +00:00
Gabor Juhos
5fa9768cee ar71xx: rename Sysupgrade/{KR,RK} to Sysupgrade/{KR,RK}uImage
SVN-Revision: 29899
2012-01-24 20:12:08 +00:00
Gabor Juhos
859c915077 ar71xx: pass mtdlayout to Planex boards via command line
SVN-Revision: 29894
2012-01-24 18:40:33 +00:00
Gabor Juhos
17bb003891 ar71xx: nuke fs_all variable in image/Makefile
SVN-Revision: 29880
2012-01-24 09:47:25 +00:00
Gabor Juhos
1fb88e2541 ar71xx: create interim kernel files in a separate dir
This reduces the size of the ImageBuilder tarball a lot.

SVN-Revision: 29879
2012-01-24 09:47:23 +00:00
Gabor Juhos
a43e2f508f ar71xx: prebuild all loaders in Image/Prepare stage
SVN-Revision: 29878
2012-01-24 09:47:22 +00:00
Gabor Juhos
7b7427e52c ar71xx: build ALFA AP96 images with default profile as well
SVN-Revision: 29866
2012-01-22 22:33:15 +00:00
Gabor Juhos
ef1c53b7b7 ar71xx: change board id of the UniFi board
SVN-Revision: 29849
2012-01-22 13:51:50 +00:00
Gabor Juhos
4edff7d3ef ar71xx: add a profile and build images for the TL-WR2543N/ND
SVN-Revision: 29682
2012-01-07 19:36:42 +00:00
Gabor Juhos
1e848b17ad ar71xx: add support for Redwave RW2458N
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

SVN-Revision: 29669
2012-01-06 07:20:59 +00:00
Gabor Juhos
d65c6fe720 ar71xx: create profile and build image for the ALFA AP96 board
SVN-Revision: 29663
2012-01-04 21:13:57 +00:00
Gabor Juhos
807e046193 ar71xx: specify console kernel parameter for the Compex boards
SVN-Revision: 29660
2012-01-04 17:30:59 +00:00
Gabor Juhos
2f53f82203 ar71xx: use the TL-MR3x20 code for the TL-WR841N/ND v7
These models are based on the AP99 reference board,
and uses the AR7241 SoC.

SVN-Revision: 29658
2012-01-04 17:30:57 +00:00
Gabor Juhos
ac68f0d8fa ar71xx: add profile and build image for the TL-WA701N/ND boards
SVN-Revision: 29656
2012-01-04 17:30:54 +00:00
Gabor Juhos
1045c83527 ar71xx: add support for TP-Link TL-MR3020
This patch adds support for the TP-Link device TL-MR3020 which is very
similiar to the TL-WR703N.
The TL-MR3020 uses 5 LEDs, 1 push button and a switch with 3 positions.
Only four LEDs can be controlled via GPIO. The power LED is connected to
the power supply.
The WPS push button has been mapped to KEY_WPS_BUTTON. The two GPIO signals
of the sliding switch have been mapped to BTN_0 and BTN_1.

I have also setup a wiki page with details here:
http://wiki.openwrt.org/toh/tp-link/tl-mr3020

USB is working and has been tested with USB mass storage and USB UMTS
stick.

Wifi also seems to work.

Ethernet is working too.

Signed-off-by: Christian Cier-Zniewski <c.cier@gmx.de>

SVN-Revision: 29651
2012-01-04 17:30:47 +00:00
Gabor Juhos
8854c90119 ar71xx: add profile and build factory image for the Hornet-UB board
SVN-Revision: 29637
2012-01-01 19:30:29 +00:00
Gabor Juhos
1d3de89f3c ar71xx: build images for the ALFA Network N2/N5 boards
SVN-Revision: 29636
2012-01-01 19:30:28 +00:00
Felix Fietkau
0cc056cb7e ar71xx: add support for the wzr-hp-g300nh2
Signed-off-by: Mark Deneen <mdeneen@gmail.com>

SVN-Revision: 29567
2011-12-18 22:20:17 +00:00
Gabor Juhos
5a0a2b2f1b ar71xx: use 64kraw template on more TP-Link boards
SVN-Revision: 29561
2011-12-17 18:49:55 +00:00
Gabor Juhos
bfe747b7d9 ar71xx: build images for TL-WR741N/ND v2
SVN-Revision: 29548
2011-12-15 22:03:48 +00:00
Gabor Juhos
aefff26624 ar71x: use raw squashfs images for TP-Link boards
SVN-Revision: 29547
2011-12-15 22:03:46 +00:00
Gabor Juhos
d5bd28ffae ar71xx: create a template for using unpadded squashfs images
SVN-Revision: 29546
2011-12-15 22:03:45 +00:00
Gabor Juhos
dbc4fa4b5b ar71xx: put squash image right after the kernel on TP-Link boards
SVN-Revision: 29545
2011-12-15 22:03:44 +00:00
Gabor Juhos
d3058b8f8c ar71xx: build image for the Hornet-UB board
SVN-Revision: 29536
2011-12-14 20:54:11 +00:00
Gabor Juhos
d2717d3d47 ar71xx: get rid of squashfs-4k images
SVN-Revision: 29522
2011-12-13 20:41:24 +00:00
Gabor Juhos
058998acdb ar71xx: Build images for Netgear WNDRMAC and WNDRMACv2
The WNDRMAC is a WNDR3700v2 (64MB RAM, 16MB flash) in a white case. The
WNDRMACv2 is a WNDR3800 (128MB RAM, 16MB flash) in a WNDRMAC case.

The WNDRMAC case doesn't have "holes" or labels for the 2.4GHz LED or
switch ports 2-4. The stock firmware uses a single LED (in the 5GHz
position) to indicate the status of both radios, and a single LED (in the
switch port 1 position) to indicate the status of all LAN ports. The
"missing" LEDs are present on the board, and easily shine through the
case. Unlike the stock firmware, OpenWrt will use these "hidden" LEDs.

I've tested the WNDRMACv2 image. I don't have a v1 WNDRMAC, but assume
that this is sufficient to build a fully-functional image.

Signed-off-by: Mark Mentovai <mark@moxienet.com>

SVN-Revision: 29513
2011-12-13 14:59:40 +00:00
Gabor Juhos
6e69765559 ar71xx: fix WNDR3x00 factory image generation
Factory images for WNDR3700v2 and WNDR3800 should contain these model IDs
for the device: field in their DNI tags, not WNDR3700.

This regressed in r29434, which redid WNDR3x00 model detection. The sixth
parameter to Image/Build/Netgear is only used as the -B argument to
mkdniimg, which is used to set the device: field. In r29434, this was
erroneously changed to be WNDR3700 for all models. The tools to flash
factory images (U-Boot's TFTP server and the factory software's upgrade
utility) may refuse to honor images with incorrect device: fields in their
DNI tags.

Signed-off-by: Mark Mentovai <mark@moxienet.com>

SVN-Revision: 29473
2011-12-07 06:55:50 +00:00
Gabor Juhos
c6b2b98812 ar71xx: create firmware image for the TL-WR740N/ND v4 boards
Based on a patch by Cristian Deluxe <djcristiandeluxe@gmail.com>

SVN-Revision: 29468
2011-12-06 16:26:44 +00:00
Gabor Juhos
fbfad4e9b4 ar71xx: use hw_id, hw_rev and flash_layout with mktplinkfw
SVN-Revision: 29467
2011-12-06 16:26:43 +00:00
Gabor Juhos
d753e08c79 ar71xx: fix TL-MR3x20 profile names in image/Makefile
SVN-Revision: 29463
2011-12-06 13:53:21 +00:00
Gabor Juhos
62d8009cdd ar71xx: cleanup TP-Link profiles
SVN-Revision: 29461
2011-12-06 10:29:25 +00:00
Gabor Juhos
4dc9092f4b ar71xx: reclaim some unused space on TP-Link boards
With the default OpenWrt configuration, this increases the size
of the rootfs_data partition by 384KB/128KB on the older/newer
TP-Link models.

SVN-Revision: 29447
2011-12-05 14:52:36 +00:00
Gabor Juhos
feebf484ba ar71xx: use the lzma-loader on TP-Link boards w/o lzma support
SVN-Revision: 29444
2011-12-05 14:52:28 +00:00
Gabor Juhos
d42968351f ar71xx: add lzma loader
SVN-Revision: 29443
2011-12-05 14:52:25 +00:00
Felix Fietkau
1f809532de ar71xx: add preliminary support for wzr-hp-g450h
SVN-Revision: 29441
2011-12-05 14:20:51 +00:00
Gabor Juhos
4cc2b9bb06 ar71xx: rewrite WNDR3700/3800 handling
SVN-Revision: 29434
2011-12-05 13:03:54 +00:00
Gabor Juhos
8a3a60fc64 ar71xx: allow WNDR3700 image creation to fail if kernel/rootfs too big
SVN-Revision: 29431
2011-12-05 12:47:53 +00:00
Gabor Juhos
20483faed0 ar71xx: create initramfs images for the newer TP-Link boards
SVN-Revision: 29410
2011-12-03 16:57:23 +00:00
Gabor Juhos
a02a9c3f8b ar71xx: reclaim unused space in WNDR3700/3800 images
Patch by: Mark Mentovai <mark@moxienet.com>

SVN-Revision: 29406
2011-12-03 16:33:38 +00:00
Gabor Juhos
ac82296c53 ar71xx: add a profile and build image for the OM2P board
[juhosg: the name of the final image has been changed to
'openwrt-ar71xx-generic-om2p-squashfs-factory.bin']

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

SVN-Revision: 29397
2011-12-01 22:49:05 +00:00
Gabor Juhos
f188f1bad5 ar71xx: add support for Ubiquiti AirRouter
Signed-off-by: Gergely Barta <gergely.barta@printerfairkft.hu>

SVN-Revision: 29395
2011-12-01 22:49:02 +00:00
Gabor Juhos
c20d7378e5 ar71xx: fix wndr3800 machine name
This fixes the machine name in /proc/cpuinfo and luci status page machine name.

Signed-off-by: Petri Rosenström <petri.rosenstrom@gmail.com>

SVN-Revision: 29326
2011-11-24 20:09:38 +00:00
Gabor Juhos
600b6efc41 ar71xx: copy atheros initramfs images to the image directory
SVN-Revision: 29325
2011-11-24 20:09:35 +00:00
Gabor Juhos
d97cf76790 ar71xx: specify mtd layout in command line for the DB120 board
SVN-Revision: 29324
2011-11-24 20:09:32 +00:00
Gabor Juhos
5b6cc3eb9f ar71xx: change generated Buffalo firmware versions
With version 1.76 the upgrade may fail with newer Buffalo firmwares with
a message like this:
"You can not update the firmware because the firmware version is earlier
than 1.82. Please use 1.82 or later version for firmware update."

SVN-Revision: 28815
2011-11-07 21:34:32 +00:00
Gabor Juhos
c60baf78ce ar71xx: fix WHR-HP-G300N firmware partition offset
SVN-Revision: 28810
2011-11-07 20:24:57 +00:00
Gabor Juhos
034b2b7cde ar71xx: build image for the Buffalo WHR-HP-GN
SVN-Revision: 28806
2011-11-07 12:59:11 +00:00
Gabor Juhos
0d9ae0a036 ar71xx: build image for the Buffalo WHR-G301N
SVN-Revision: 28804
2011-11-07 12:59:08 +00:00
Gabor Juhos
63784ea2bc ar71xx: fix WHR-HP-G300N image generation
SVN-Revision: 28802
2011-11-07 12:59:05 +00:00
Gabor Juhos
fc8adbb854 ar71xx: build image for the TL-WR741ND v4 board
SVN-Revision: 28708
2011-11-01 11:20:55 +00:00