Gabor Juhos
0a8e5dbf7b
ar71xx: create generic network config from an uci-defaults script
...
SVN-Revision: 28817
2011-11-07 21:43:51 +00:00
Gabor Juhos
54c034ae7a
ar71xx: remove AP81 defconfig, it is the same as the generic config
...
SVN-Revision: 28816
2011-11-07 21:34:33 +00:00
Gabor Juhos
eb9ef60e2d
ar71xx: enable sysupgrade on the WHR-G301N and WHR-HP-GN boards
...
SVN-Revision: 28812
2011-11-07 20:25:00 +00:00
Gabor Juhos
8456840d82
ar71xx: wrap long lines in the upgrade script
...
SVN-Revision: 28811
2011-11-07 20:24:59 +00:00
Gabor Juhos
b27254a2c5
ar71xx: add default network configuration for the WHR-HP-GN
...
SVN-Revision: 28807
2011-11-07 13:32:43 +00:00
Gabor Juhos
a801d620a7
ar71xx: add support for the Buffalo WHR-HP-GN board
...
SVN-Revision: 28805
2011-11-07 12:59:10 +00:00
Gabor Juhos
4509af17ed
ar71xx: add support for the Buffalo WHR-G301N board
...
SVN-Revision: 28803
2011-11-07 12:59:07 +00:00
Gabor Juhos
91f08d47c2
ar71xx: add initial support for the TL-WR741ND v4 board
...
The ethernet port LEDs are not working yet.
SVN-Revision: 28706
2011-11-01 11:20:52 +00:00
Gabor Juhos
43e2e2e4ef
ar71xx: combine LEDs setup in one file
...
SVN-Revision: 28704
2011-11-01 11:20:49 +00:00
Gabor Juhos
f372620ffa
ar71xx: unify LED names on Planex boards
...
SVN-Revision: 28703
2011-11-01 11:20:47 +00:00
Gabor Juhos
66ab406d5a
ar71xx: unify LED names on Buffalo boards
...
SVN-Revision: 28702
2011-11-01 11:20:46 +00:00
Gabor Juhos
e7586959df
ar71xx: unify LED names on TP-Link boards
...
SVN-Revision: 28701
2011-11-01 11:20:44 +00:00
Gabor Juhos
3a7b12a27d
ar71xx/all0258n: sysupgrade support
...
U-Boot on the ALL0258N needs offset, size and md5 for kernel and rootfs to be
stored in the U-Boot environment.
If the checksums don't match during boot, a failsafe-system is booted instead.
This patch adds a board-specific sysupgrade hack for the all0258n which
calculates and updates the checksums for the U-Boot environment.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 28700
2011-11-01 09:23:32 +00:00
Gabor Juhos
f40557a692
ar71xx/all0258n: add default config
...
This adds default network and uboot-env settings for the ALL0258N.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 28699
2011-11-01 09:23:31 +00:00
Gabor Juhos
06d9653b36
ar71xx: remove default network config of the mzk-w04nu board as well
...
It works with the generic config.
SVN-Revision: 28695
2011-11-01 09:23:25 +00:00
Gabor Juhos
693c777eaf
ar71xx: remove LED setup of nonexistent interfaces on RB750
...
SVN-Revision: 28693
2011-10-31 14:26:56 +00:00
Gabor Juhos
2bcd612e72
ar71xx: remove default network config of the wnr2000 board
...
It is the same as the generic configuration.
SVN-Revision: 28692
2011-10-31 14:26:51 +00:00
Gabor Juhos
39b3bfcf6a
ar71xx/sysupgrade: use $magic_long instead of $magic when comparing with a 32-bit value
...
Aparently $magic_long was meant here instead of $magic when comparing with
32-bit values.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 28678
2011-10-30 13:06:30 +00:00
Gabor Juhos
1646346798
ar71xx: add initial support for the OpenMesh OM2P board
...
Based on a patch by Marek Lindner <marek@open-mesh.com>
SVN-Revision: 28617
2011-10-27 07:54:51 +00:00
Gabor Juhos
9d51cda2db
ar71xx: Buffalo WHR-HP-G300N kernel support
...
The initial support for the Buffalo WHR-HP-G300N box.
The code was confirmed to boot and run, but not tested in depth.
Known problem: iw phy phy0 info shows:
Coverage class: 0 (up to 0m)
Available Antennas: TX 0 RX 0
Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp>
SVN-Revision: 28567
2011-10-24 21:49:26 +00:00
Gabor Juhos
d96e321bd1
ar71xx: add kernel support for the Allnet ALL0258N board
...
This patchs adds support for the Allnet ALL0258N outdoor AP/bridge.
The ALL0258N is based on the AR7240 SoC paired with an AR9285 radio,
it got 8MB of NOR and 32MB SDRAM.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 28564
2011-10-24 21:49:21 +00:00
Jo-Philipp Wich
b61de9c865
base-files: make sure inittab-console-fixup returns with success ( #10275 )
...
SVN-Revision: 28562
2011-10-24 21:35:43 +00:00
Jonas Gorski
a136b67604
linux: ar71xx: add support for Mikrotik Routerboard RB493G
...
SVN-Revision: 28423
2011-10-11 23:05:16 +00:00
Gabor Juhos
e45d7d7006
ar71xx: enable login only on the system console by default
...
SVN-Revision: 28294
2011-09-23 19:56:38 +00:00
Gabor Juhos
733399600f
ar71xx: add support for the TP-Link TL-WR703N v1 board
...
Based on a patch by dongyuqi <729650915@qq.com>
SVN-Revision: 28277
2011-09-21 11:47:53 +00:00
Gabor Juhos
85b858fae6
ar71xx: enable sysupgrade on the AP96 and DB120 boards
...
SVN-Revision: 27901
2011-08-04 19:41:18 +00:00
Gabor Juhos
fb77134596
ar71xx: use the same test for AP121 and Zcomax sysupgrade images
...
SVN-Revision: 27900
2011-08-04 19:41:17 +00:00
Jonas Gorski
e18ceb1dac
ar71xx: merge WZR-HP-G301NH support into WZR-HP-G300NH
...
Now that we can use a generic name for the switch there is no need for a
separate image for the WZR-HP-G301NH.
Update the default network config and remove the extra image.
SVN-Revision: 27814
2011-07-28 11:57:51 +00:00
Felix Fietkau
7afed2d86c
ar71xx: add wzr-hp-ag300h sysupgrade support (patch from #9650 )
...
SVN-Revision: 27434
2011-07-04 03:03:34 +00:00
Jo-Philipp Wich
701543d3ef
revert r27043 ( #9513 )
...
SVN-Revision: 27343
2011-07-01 19:52:57 +00:00
Jo-Philipp Wich
1edef5ec98
revert r27341, it introduce wrong behaviour for other models
...
SVN-Revision: 27342
2011-07-01 19:15:45 +00:00
Jo-Philipp Wich
3b3103b2f1
turn status LED off if device finished initializing
...
SVN-Revision: 27341
2011-07-01 18:39:53 +00:00
Felix Fietkau
cc56af716c
ar71xx: add default network config for wzr-hp-ag300h (based on a patch from #9607 )
...
SVN-Revision: 27283
2011-06-25 13:54:42 +00:00
Vasilis Tsiligiannis
70106f153d
Remove trailing spaces, convert spaces to tabs
...
SVN-Revision: 27153
2011-06-09 19:30:50 +00:00
Felix Fietkau
9160e06af5
ar71xx: override inittab to enable login on ttyATH0
...
SVN-Revision: 27128
2011-06-07 17:07:10 +00:00
Gabor Juhos
9e435c03e0
ar71xx: add sysupgrade support for the AP121 boards
...
SVN-Revision: 27069
2011-05-31 22:53:45 +00:00
Gabor Juhos
646937135f
ar71xx: add default network config for the AP121 boards
...
SVN-Revision: 27068
2011-05-31 22:53:44 +00:00
Gabor Juhos
650c7cc2fd
ar71xx: use the diag LED for diagnostic on the WZR-HP-G30XNH boards
...
SVN-Revision: 27043
2011-05-31 22:53:13 +00:00
Gabor Juhos
4834fdaccd
ar71xx: fix uci-defaults script for the WZR-HP-G30XNH boards
...
SVN-Revision: 27042
2011-05-31 22:53:12 +00:00
Gabor Juhos
b39eebdf1e
ar71xx: add uci config for the WLAN LED on the WRT160NL
...
Based on a patch by Magyar Szabolcs <mszabi@freemail.hu>
SVN-Revision: 26861
2011-05-08 21:38:49 +00:00
Gabor Juhos
858e2e719b
ar71xx: use phy0tpt trigger for the WLAN LEDs
...
SVN-Revision: 26860
2011-05-08 21:38:48 +00:00
Felix Fietkau
cbc75a9c70
ar71xx: use the ar8316 switch driver on the PB92 board and add a matching default network config
...
SVN-Revision: 26779
2011-04-28 21:27:42 +00:00
Alexandros C. Couloumbis
f13581eedb
linux/ar71xx: update wget2nand script
...
SVN-Revision: 26747
2011-04-21 12:38:25 +00:00
Gabor Juhos
e193547733
ar71xx: use the gpio_keys_polled driver instead of gpio_buttons
...
SVN-Revision: 26603
2011-04-12 09:29:21 +00:00
Gabor Juhos
54ede24829
ar71xx: Add support for WZR-HP-G301NH
...
Add support for the Buffalo WZR-HP-G301NH. The only difference between it
and the WZR-HP-G00NH is that it has a RTL8366RB instead of a RTL8366S.
Since we don't do runtime detection of the switch, we need a separate
machine definition for it.
While we are at it, also rename the profile to reflect that it now is for
more than one device.
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
SVN-Revision: 26601
2011-04-12 09:29:10 +00:00
Felix Fietkau
784d808d07
ar71xx: add default configuration for the switch on AP96
...
Enables forwarding of frames between the switch ports (eth0).
Patch by Jouni Malinen
SVN-Revision: 26180
2011-03-15 19:51:42 +00:00
Gabor Juhos
8eb616de82
ar71xx: add support for the TP-Link TL-WA901ND v2 board
...
Patch-by: Jonathan Benett <jbscience87@gmail.com>
SVN-Revision: 26119
2011-03-13 15:08:31 +00:00
Gabor Juhos
67c3e0bf7e
ar71xx: add support for the WNDR3700v2 board
...
Based on a patch by Mark Mentovai <mark@moxienet.com>
SVN-Revision: 25118
2011-01-26 20:35:42 +00:00
Gabor Juhos
061228d73c
ar71xx: make uci-default scripts executable
...
Reported-by: Nuno Gonçalves <nunojpg@gmail.com>
SVN-Revision: 24897
2011-01-04 13:44:01 +00:00
Claudio Mignanti
2c0596cd69
unifi: add sysupgrade and leds support
...
SVN-Revision: 24737
2010-12-20 17:28:34 +00:00
Gabor Juhos
e7ea6387a3
ar71xx: use usbdev trigger for USB LEDs by default
...
SVN-Revision: 24648
2010-12-17 17:10:16 +00:00
Gabor Juhos
a26c3e60e2
ar71xx: populate LED configuration for WZR-HP-G300NH
...
Signed-off-by: Dave Lichterman <laviddichterman@gmail.com>
[nand-disk trigger has been removed - juhosg]
SVN-Revision: 24642
2010-12-17 17:09:57 +00:00
Gabor Juhos
a2a5598c00
ar71xx: add wlan led for the TL-WR941ND
...
SVN-Revision: 24612
2010-12-15 19:55:50 +00:00
Gabor Juhos
9f38f9bf76
ar71xx: add missing files for the JA76PF board
...
SVN-Revision: 24444
2010-12-10 19:55:28 +00:00
Gabor Juhos
b680f088ba
ar71xx: add support for the jjPlus JA79PF
...
Patch-by: Cezary Jackiewicz
SVN-Revision: 24440
2010-12-10 17:57:51 +00:00
Gabor Juhos
5b0c83edd9
ar71xx: add support for the TP-LINK TL-MR3220 v1 board
...
SVN-Revision: 24439
2010-12-10 17:57:48 +00:00
Gabor Juhos
83834da33b
ar71xx: add default network configuration file for the TL-MR3420
...
SVN-Revision: 24437
2010-12-10 17:57:40 +00:00
Gabor Juhos
081796fe47
ar71xx: add nbg460n image generation
...
This adds image generation for NBG460N/550N/550NH boards.
Signed-off-by: Michael Kurz <michi.kurz@googlemail.com>
SVN-Revision: 24419
2010-12-10 15:17:03 +00:00
Jo-Philipp Wich
6f7e2d4ce8
tune rtl8366s default config, make vlan 1 cpu port tagged and use eth0.1 for the lan interface - this brings the configuration more in line with other switch setups
...
SVN-Revision: 24215
2010-12-02 20:19:55 +00:00
Felix Fietkau
5f3f1b8cd8
ar71xx: Configure WNDR3700 switch LED colors properly ( #8103 )
...
For WNDR3700, use green for 1Gb/s and amber for 100Mb/s and 10Mb/s on
the four LAN port switch LEDs. The LEDs will be lit to indicate a link
and will blink to indicate activity. This matches the stock firmware
and the description printed on the label on the unit's underside.
Signed-off-by: Mark Mentovai <mark@moxienet.com>
SVN-Revision: 23879
2010-11-04 18:55:16 +00:00
Felix Fietkau
b3b2227869
Revert "ar71xx: WNDR3700 WiFi LEDs should blink for activity ( #7984 )" on submitter's request
...
SVN-Revision: 23878
2010-11-04 18:53:18 +00:00
Felix Fietkau
77eee74d56
ar71xx: WNDR3700 WiFi LEDs should blink for activity ( #7984 )
...
Make the WiFi LEDs blink for activity on the WNDR3700, matching the
stock firmware and user expectations. The green 2.4GHz and blue 5GHz
LEDs will illuminate with the radio on, and will blink to indicate
transmission and reception.
Signed-off-by: Mark Mentovai <mark@moxienet.com>
SVN-Revision: 23877
2010-11-04 18:48:22 +00:00
Felix Fietkau
fc035b3cb6
ar71xx: remove dev-ap91-eth.c. switch its only user (RB-750) to the new switch driver
...
SVN-Revision: 23439
2010-10-14 13:41:42 +00:00
Felix Fietkau
3941621dbc
ar71xx: use the new ar7240 switch driver on the DIR-600-A1 as well ( fixes #7563 )
...
SVN-Revision: 23432
2010-10-14 00:14:59 +00:00
Gabor Juhos
697f5d0bdd
ar71xx: initial support for jjPlus JWAP003
...
Patch-by: Cezary Jackiewicz <cezary@eko.one.pl>
(the GPIODEV code has been removed, the sysfs interface
can be used to control the GPIO lines instead - juhosg)
SVN-Revision: 23165
2010-10-01 07:09:29 +00:00
Gabor Juhos
32d12d5e5c
ar71xx: add support for the TL-MR3420 v1 board
...
SVN-Revision: 23136
2010-09-27 14:53:59 +00:00
Felix Fietkau
a7bb7dd99e
Add support for Atheros AP96 reference board
...
This is still preliminary and not really tested much. Anyway, this
version seems to be enough to get both wired and wireless
interfaces working. Buttons and leds are also working.
mach-ap96.c is based on mach-wndr3700.c.
Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
SVN-Revision: 23125
2010-09-27 08:59:53 +00:00
Gabor Juhos
b4336a8e2d
ar71xx: add support for the Zcomax ZCN-1523H-2-8/5-16 boards
...
SVN-Revision: 22882
2010-09-03 18:14:37 +00:00
Felix Fietkau
523fcf0497
ar71xx: add a new driver for the ar7240 switch using swconfig. hooks directly into the ethernet driver, as MAC resets also require switch reinitializations and the switch is part of the cpu core anyway switch only tl-wr741nd (and other devices using this board file, such as tl-wr841nd) over to using this by default, as other devices are still untested fixes #7563
...
SVN-Revision: 22675
2010-08-16 19:21:57 +00:00
Gabor Juhos
e35f7ef51d
ar71xx: add eap7660d board to diag.sh and sysupgrade
...
This patch adds support for the Senao EAP7660D board to diag.sh and sysupgrade.
Signed-off-by: Daniel Golle <daniel.golle@gmail.com>
SVN-Revision: 22644
2010-08-14 21:07:31 +00:00
Alexandros C. Couloumbis
9aef272f4a
linux/ar71xx: add nanostation-m signature (thanks Antonio Anselmi)
...
SVN-Revision: 22631
2010-08-14 07:48:05 +00:00
Jo-Philipp Wich
6616951c15
add uci-defaults script to migrate vlan 0 to vlan 1 after sysupgrade on devices using the RTL8366s switch
...
SVN-Revision: 22625
2010-08-13 19:29:51 +00:00
Felix Fietkau
4ee3ae96c2
ar71xx: fix sysupgrade on the ubnt nanostation m
...
SVN-Revision: 22370
2010-07-23 18:16:47 +00:00
Felix Fietkau
900aaa919b
ar71xx: add support for the tp-link tl-wa901nd devices (patch by Pieter "Fate" Hollants, from #7528 , without the ethernet fifo cfg values)
...
SVN-Revision: 22353
2010-07-22 12:37:44 +00:00
Jo-Philipp Wich
d6d8014cfd
fix dir-825-b1 default network config after r21905
...
SVN-Revision: 22005
2010-07-01 00:03:43 +00:00
Gabor Juhos
e827a12c48
ar71xx: don't use vlan 0 for devices with rtl8366s switch
...
SVN-Revision: 21905
2010-06-26 19:15:32 +00:00
Gabor Juhos
7bff9c0101
ar71xx: add support for the Senao EAP7660D board
...
This patch adds support for the Senao EAP7660D board to trunk.
Signed-off-by: Daniel Golle <daniel.golle@gmail.com>
SVN-Revision: 21837
2010-06-18 16:22:05 +00:00
Gabor Juhos
518f43efd8
ar71xx: fix RB750 LED configuration
...
Patch-by: Ray Bellis
SVN-Revision: 21826
2010-06-17 09:24:26 +00:00
Gabor Juhos
b86e4e1c6a
ar71xx: add default network config for the RB433UAH board
...
SVN-Revision: 21765
2010-06-12 13:20:41 +00:00
Gabor Juhos
3045632eb0
ar71xx: add default network configuration file for the RB450/RB433 boards
...
SVN-Revision: 21730
2010-06-08 20:19:23 +00:00
Daniel Dickinson
6bccc41f6c
ar71xx: Added preinit scriptlet to set vars based on cpuinfo during preinit_main. This fixes a bug in which the vars were not set due to /proc not being mounted when ar71xx.sh was sourced
...
SVN-Revision: 21634
2010-05-30 03:20:49 +00:00
Gabor Juhos
65dba323f7
ar71xx: Make wget2nand fail if copying the kernel fails and use the correct file extension for the rootfs image
...
wget2nand didnt check the exit status after copying the kernel, if the
copying failed for some reason ( for example not enougs space on the
kernel partition) it simply continued extracting the rootfs.
I also changed the filename, which wget2nand trys to download (
.tar.gz instead of .tgz ).
Signed-off-by: Marko Foerster <mrkfoerster@googlemail.com>
SVN-Revision: 21444
2010-05-14 08:38:39 +00:00
Gabor Juhos
d6c0363884
ar71xx: make the AR8216 driver usable on the TEW-632BRP/DIR-615-Cx boards
...
Cc: backfire@openwrt.org
SVN-Revision: 20752
2010-04-09 08:40:09 +00:00
Jo-Philipp Wich
23bebe33a7
Add support for the ar8316 switch. This patch enhances the ar8216 driver with ar8316 support and fixes some minor issues with the ar8216 driver itself. It should not break anything, but isn't tested on ar8216 devices.
...
[PATCH 2/2] ar71xx: Add the ar8316 driver to rs pro/rb-450g.
Add the ar8216 driver to the ar71xx target, and add network
configurations for the RouterStation Pro and the RouterBoard RB-450G.
SVN-Revision: 20722
2010-04-05 23:03:16 +00:00
Gabor Juhos
8701291f0f
ar71xx: add uci defaults to fix trx header on the WRT160NL boards
...
* patch by Otto Solares
SVN-Revision: 20526
2010-03-27 17:38:40 +00:00
Gabor Juhos
35bb7be34d
ar71xx: Add basic WLAN LED control to TL-WR1043ND
...
* thanks to KillaB
* closes #6834
SVN-Revision: 20415
2010-03-25 07:31:17 +00:00
Gabor Juhos
0095ab73f3
ar71xx: fix defconfig script to work with ImageBuilder
...
* patch from #5722
SVN-Revision: 20231
2010-03-15 13:29:16 +00:00
Gabor Juhos
ed3aca86a6
ar71xx: don't break the existing network configuration in the wget2nand script
...
SVN-Revision: 20228
2010-03-15 11:03:33 +00:00
Gabor Juhos
9daf566ddc
ar71xx: fix sysupgrade on the LS-SR71 board
...
SVN-Revision: 20119
2010-03-10 17:41:45 +00:00
Gabor Juhos
eaccbd3fb8
ar71xx: add default network configuration for the PB44 board
...
SVN-Revision: 20099
2010-03-09 18:05:58 +00:00
Gabor Juhos
18ee1b6dda
ar71xx: add uci-defaults for the RB750 board
...
SVN-Revision: 20097
2010-03-09 18:05:51 +00:00
Gabor Juhos
b21308313e
ar71xx: override lan port names on the RB750
...
SVN-Revision: 20096
2010-03-09 18:05:48 +00:00
Gabor Juhos
781c482e6a
ar71xx: improve wget2nand script
...
SVN-Revision: 20094
2010-03-09 18:05:42 +00:00
Gabor Juhos
4d5a9fe402
ar71xx: add missing protocol definitions to default network configurations
...
SVN-Revision: 20091
2010-03-09 18:05:31 +00:00
Gabor Juhos
5e8c8818ed
ar71xx: add preliminary support for the RouterBOARD 750
...
SVN-Revision: 20029
2010-03-07 05:41:01 +00:00
Gabor Juhos
52f03512dc
ar71xx: fix sysupgrade on the WRT400N (thanks to chuljin)
...
* closes #6782
SVN-Revision: 20006
2010-03-05 20:29:27 +00:00
Gabor Juhos
7bda582cf7
ar71xx: fix status led detection on the RB4xx boards
...
SVN-Revision: 20005
2010-03-05 20:29:24 +00:00
Gabor Juhos
e1bb4af48b
ar71xx: add default network configuration file for the TL-WR741ND board
...
SVN-Revision: 19930
2010-03-01 07:34:48 +00:00
Gabor Juhos
3f7d3dc939
ar71xx: add default network configuration file for the DIR-600 rev. A1 board
...
SVN-Revision: 19929
2010-03-01 07:34:46 +00:00
Gabor Juhos
a6be62a4f1
ar71xx: add default network configuration file for the TL-WR1043ND board
...
Thanks to Andrew Tarabaras.
SVN-Revision: 19840
2010-02-24 13:39:20 +00:00