aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/base-files/lib/preinit
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: add support for Netgear WPN824NJohn Crispin2016-01-191-0/+1
| | | | | | | | | | | | | | | | Add support for Netgear WPN824N. Hardware specs: * AR7240, 4 LAN ports, 1 WAN port * AR9285 WLAN * 32 MB RAM * 4 MB Flash * 16 LEDs (LAN, WAN and Power/Status contain two LEDs for dual color effect) * 3 Buttons (not supported) Signed-off-by: Hartmut Knaack <knaack.h@gmx.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48356 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Update preinit script for new ath10k firmwareJohn Crispin2015-12-231-1/+1
| | | | | | Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47985 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add support for AirTight Networks C-55John Crispin2015-12-231-1/+4
| | | | | | | | This patch is to add support for the AirTight Networks C-55 Access Point Signed-off-by: Chris R Blake <chrisrblake93@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47973 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for TRENDnet TEW-823DRUJohn Crispin2015-12-171-2/+2
| | | | | | | | | | | | | | Add support for TRENDnet TEW-823DRU: - cpu: QCA9558 @720MHz - flash: 16MB - ram: 256MB - 4+1 RJ45 100/1000Mbps - wifi: QCA9558 (bgn) and QCA9880-BR4A (ac) - 1x USB 2.0 Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47927 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for Cisco's MR18John Crispin2015-12-121-0/+4
| | | | | | | | | | | This patch adds support for Cisco's MR18. Detailed instructions for the flashing the device can be found in the OpenWrt forum thread: <https://forum.openwrt.org/viewtopic.php?id=59248> Signed-off-by: Chris R Blake <chrisrblake93@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47878 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for TP-LINK TL-WR941ND v6 (international version)Felix Fietkau2015-11-081-0/+1
| | | | | | | | | | | | | | | The international version is completely different from the already supported Chinese version. The WLAN of the QCA956x SoC used by this router has been fixed in r46948. This patch looks like it changes a lot in 700-MIPS-ath79-openwrt-machines.patch; that is not the case. Unfortunately, quilt decided to completely reorganize the Kconfig patch even though only a single section has been added. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47420 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add support for AP147-010 reference boardJohn Crispin2015-07-241-0/+1
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46457 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix board name orderingJohn Crispin2015-07-081-3/+3
| | | | | | | | r46248 added case statements in the same places Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46274 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for D-Link DIR-615 rev. Ix boardJohn Crispin2015-07-071-0/+3
| | | | | | | | Based on trunk r46212. Signed-off-by: Jaehoon You <teslamint@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46248 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Unify ath10k calibration data loadingJohn Crispin2015-07-071-75/+0
| | | | | | | | | | | | | Currently one board uses the "proper" way of providing firmware with the name ath10k/cal-pci-<pci address>.bin, whereas other boards patch board.bin template in preinit and rely on a custom ath10k patch to use calibration data from the template. This patch makes all boards use the first method. Signed-off-by: Matti Laakso <malaakso@elisanet.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46244 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: update preinit script for new ath10k firmwareFelix Fietkau2015-07-061-2/+2
| | | | | | | | | Update firmware name and md5sum. MAC-address location remains unchanged from previous version. Signed-off-by: Matti Laakso <malaakso@elisanet.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46196 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix mac offset in firmware fileFelix Fietkau2015-06-141-1/+1
| | | | | | | | | In new firmware-4.bin (for ath10k) mac offset is 0x114 (276), not 0x118 (280). This also closes #19751, bug introduced in #45624 Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45958 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix 82_patch_ath10kFelix Fietkau2015-05-081-2/+2
| | | | | | | | It has been broken since the new ath10k firmware introduced in r44656. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45624 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix 82_patch_ath10kJo-Philipp Wich2015-02-171-1/+7
| | | | | | | | | | | | The firware md5sum check never worked due to missing dollar signs. Also suppress `md5sum: can't open '/lib/firmware/ath10k/QCA988X/hw2.0/firmware-3.bin'` error on any board not using ath10k. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44486 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add mc-mac1200r to do_load_ath10k_board_bin()John Crispin2015-02-101-0/+11
| | | | | | | | | | This patch adds the mc-mac1200r target to do_load_ath10k_board_bin() in target/linux/ar71xx/base-files/lib/preinit/81_load_ath10k_board_bin to load the ath10k radio MAC address from the EEPROM in MERCURY MAC1200R devices Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44375 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add Netgear WNR1000v2/WNR1000v2-VC support (#18633)John Crispin2015-01-301-0/+1
| | | | | | | | | | | The board is already supported by OpenWrt. WNR1000v2/WNR1000v2-VC are pretty much the same as WNR2000v3/WNR612v2, therefore the same initialization code and flash layout is used. Signed-off-by: Ștefan Rusu <saltwaterc@gmail.com> Tested-by: Douglas Fraser <1dsfraser@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44221 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add an extra check on board_name for ath10k firmware patchsJohn Crispin2014-12-131-6/+14
| | | | | | | | | It moves firmware patch code behind an extra check on board_name. Otherwise it will calculate firmware checksum for unaffected boards. It also reduce boottime by a md5 calculation and removes error message on boot if firmware not found. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43679 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx]: add D-link DGL-5500 A1 supportImre Kaloz2014-11-271-0/+37
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43401 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx]: Netgear R6100 supportImre Kaloz2014-11-262-0/+16
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43382 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add qihoo 360 c301 router supportJohn Crispin2014-09-151-0/+17
| | | | | | | | | | | | | | | Qihoo 360 C301 is a dual band wireless router supports 802.11n and 802.11ac. Its chipset is AR9344 + AR9882 with two 16MB flashes. This patch adds its initial support. v2: * use mtd_get_mac_ascii to fetch MAC address for ath10k. * use ath79_register_pci to initialize AR9882. Signed-off-by: Weijie Gao <hackpascal@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42552 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx]: add support for the NC-LINK SMART-300Imre Kaloz2014-08-111-0/+1
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42130 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx]: add support for the archer c5Imre Kaloz2014-07-232-0/+2
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41814 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx]: extract and fixup the board.bin on the archerImre Kaloz2014-07-191-0/+13
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41757 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add user-space support for GL.iNet v1Gabor Juhos2014-07-131-0/+1
| | | | | | | | | | | | | Patch is based on http://patchwork.openwrt.org/patch/5273/. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr> Signed-off-by: Mark Janssen <mark@sig-io.nl> Signed-off-by: alzhao <alzhao@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/5652/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41619 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: nbg6716: extract ath10k wifi board.binJohn Crispin2014-07-101-0/+23
| | | | | | | | | | With help of this script the ath10k board.bin settings are loaded from flash and saved to the ath10k firmware directory. The driver reads it later in the boot process. Signed-off-by: André Valentin <avalentin@marcant.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41562 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix failsafe acces on several devicesGabor Juhos2014-02-251-1/+35
| | | | | | | | | | | | | | The ar71xx platform always uses the eth0 interface to provide access to the device in failsafe mode. Due to this, failsafe access is broken on devices where the LAN ports are connected to the 'eth1' interface. Update the relevant script to correctly set the ifname variable for these devices. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39752 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: input/button drivers get loaded before preinit by procdJohn Crispin2013-06-211-13/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37000 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: switch to kmod-gpio-button-hotplugFelix Fietkau2012-02-201-4/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30660 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: change user-space board detectionGabor Juhos2011-12-051-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29432 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use the gpio_keys_polled driver instead of gpio_buttonsGabor Juhos2011-04-121-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26603 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Added preinit scriptlet to set vars based on cpuinfo during ↵Daniel Dickinson2010-05-301-0/+7
| | | | | | preinit_main. This fixes a bug in which the vars were not set due to /proc not being mounted when ar71xx.sh was sourced git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21634 3c298f89-4303-0410-b956-a3cf2f4a3e73
* preinit: fix mixup between led and reset button enable on some platforms ↵Felix Fietkau2010-01-281-2/+2
| | | | | | (thx, cshore) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19370 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add preinit modularization work by Daniel Dickinson (cshore)Felix Fietkau2010-01-253-0/+71
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19331 3c298f89-4303-0410-b956-a3cf2f4a3e73