summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
Commit message (Collapse)AuthorAgeFilesLines
* ramips: Add support for ZBT-CPE102Cezary Jackiewicz2016-09-275-0/+11
| | | | | | | | | | - CPU: MT7620N 580MHz - Flash: 8MB - RAM: 64MB - build-in minipcie slot for modem 3G/4G - one ethernet port 10/100Mbps Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>
* ramips: move /lib/ramips.sh include in /etc/init.d/bootcount into start()Matthias Schiffer2016-09-251-1/+2
| | | | | | Enabling the init script offline will print an error otherwise. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* ramips: do not "local" variables outside of a functionMartin Blumenstingl2016-09-241-1/+1
| | | | | | | | | Older busybox versions allowed using the local keyword outside of functions, whereas 1.25.0 (which was introduced in 06fa1c46fc32) do not allow this anymore (leading to the following error when executing the script: "file: local: line nn: not in a function"). Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
* cleanup ucidef_set_interface* usageMathias Kresin2016-09-101-2/+2
| | | | | | | | - quote the interface name - remove call of not existing function - remove the proto if it's the default proto Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: board.d merge redundant switch/interface configsMathias Kresin2016-09-101-11/+6
| | | | | | Fix alphabetical order distortions as well. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: add support for Mercury MAC1200R v2Daniel Golle2016-09-094-0/+10
| | | | | | | | MT7628AN + MT7612E, 8MB SPI flash, 64MB DDR RAM reset button GPIO is still missing (anyone?) bootloader password is 'slp' Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* ramips: TEW-691GR: fix switch and wirelessMathias Kresin2016-08-201-2/+1
| | | | | | | | | Due to the missing phy-mode setting, the switch wasn't initialised. The wireless requires an eeprom to work. Use the same mac addresses as the stock firmware. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: TEW-692GR: fix switch and wirelessMathias Kresin2016-08-201-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The AR8327 initvals were not copied to the DTS during the switch from mach file to device tree and broke the switch on the device. The former used PORT6 related initvals were wrong and have been corrected. The phy mode setting for the switch was missing in the DTS as well. The wireless requires an eeprom to work. The dual band wireless chips have both bands enabled by default but only one band per chip is working. The stock firmware uses the following mac addresses: LAN: AA:BB:CC:DD:EE:E4 WAN: AA:BB:CC:DD:EE:E4 2.4GHz: AA:BB:CC:DD:EE:E4 5 GHz: AA:BB:CC:DD:EE:E8 Assuming the mac address range :E4 to :E8 is reserved for this device, the MAC addresses were reorder to have a unique MAC address for each interface: LAN: AA:BB:CC:DD:EE:E4 2.4GHz: AA:BB:CC:DD:EE:E4 WAN: AA:BB:CC:DD:EE:E5 5 GHz: AA:BB:CC:DD:EE:E8 Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: Add support for Thunder TimecloudChuanhong Guo2016-08-104-1/+7
| | | | | | | Thunder Timecloud is a small NAS with MT7621A. It has 1 USB port and an SD Card slot. There is no wireless cards. Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
* ramips: Add support for TEW-714TRUJimmy Zhong2016-08-104-0/+9
| | | | Signed-off-by: Jimmy Zhong <mb300sd@mb300sd.net>
* ramips: Rename TP-Link Archer C50 LEDsP.Wassi2016-07-261-5/+5
| | | | | | | Rename LEDs in TP-Link Archer C50 from [manufacturer name] to [board name] ("tp-link" -> "c50") Signed-off-by: P.Wassi <p.wassi@gmx.at>
* ramips: Improve TP-Link Archer C20i supportP.Wassi2016-07-262-0/+7
| | | | | | Improve / finalise TP-Link Archer C20i support. Signed-off-by: P.Wassi <p.wassi@gmx.at>
* ramips: unify etc/board.d/01_leds configurationP.Wassi2016-07-241-2/+2
| | | | | | | Introduce an optional parameter at the local set_usb_led and set_wifi_led function such that they can take a triggering device. If no parameter is passed, behaviour is unchanged. Signed-off-by: P.Wassi <p.wassi@gmx.at>
* ramips: dch-m225 don't have ethernet. default enable wifiMichael Lee2016-07-241-0/+21
| | | | Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: remove indentation in etc/board.d/01_ledsPaul Wassi2016-07-241-1/+1
| | | | | Remove indentation at end of line in base-files/etc/board.d/01_leds Signed-off-by: Paul Wassi <p.wassi@gmx.at>
* ramips: Add support for D-Link DCH-M225Michael Lee2016-07-116-0/+14
| | | | | | | | D-Link DCH-M225 is based on Mediatek MT7620 with 64MB ram, 8MB flash, 3.5mm audio out support. but no ethernet and usb ports. so you must default enable wifi. Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: Add support for the NixCore X1 ModuleL. D. Pinney2016-07-113-0/+5
| | | | | | | | | The NixCore X1 is a Ralink/MediaTek rt5350 WiFi Module. http://nixcores.com/ Signed-off-by: L. D. Pinney <ldpinney@gmail.com> Acked-by: Drew Gaylo <drew@nixcores.com>
* ramips: fix buffalo wmr-300 lan portJohn Crispin2016-07-051-2/+4
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ramips: set correct LAN/WAN MAC addresses on DIR-860L B1Matthias Schiffer2016-06-301-0/+4
| | | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> Reviewed-by: Jo-Philipp Wich <jo@mein.io>
* ramips: add button support and make LEDs known to userspace for DIR-860L B1Matthias Schiffer2016-06-302-0/+4
| | | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> Reviewed-by: Jo-Philipp Wich <jo@mein.io>
* ramips: fix fixseama call on first bootMatthias Schiffer2016-06-301-3/+3
| | | | | | | | | | | | | Commit "kernel: mtdsplit: calculate kernel partition precisely for Seama" changed the kernel partition to only contain the kernel itself and not the Seama header. Adjust the fixseama call to match what is used on brcm53xx. This fixes failing to boot a second time after flashing the factory image on the affected devices. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> Reviewed-by: Jo-Philipp Wich <jo@mein.io>
* ramips: add suport for ZBT APE522IIRoger Pueyo Centelles2016-06-224-0/+10
| | | | | | | | | The ZBT APE522II is a dual-radio outdoor CPE based on the MT7620a SoC. It has 64 MB RAM, 8 MB flash, 2 Fast Ethernet ports via internal switch (one with 802.3af 48V PoE support), a 802.11b/g/n SoC 2.4 GHz radio and an 802.11a/n/ac MT7612E-based 5 GHz radio. Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
* ramips/base-files: Add support for Archer C50Henryk Heisig2016-06-135-1/+16
| | | | Signed-off-by: Henryk Heisig <hyniu@o2.pl>
* ramips: add support for DuZun DM06Michael Lee2016-06-133-0/+8
| | | | | | | | DuZun DM06 is a develop board based on mt7628 64M RAM, 8M SPI Flash, 1 WAN, 1 LAN. wm8960 codec with line out, line in and speaker output. Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: add Widora-NEO board supportYuan Chenmang2016-06-014-1/+7
| | | | | | | | | The Widora board is similar to the Linkit 7688 but features a larger flash capacity. Signed-off-by: Yuan Chenmang <771992497@qq.com> [Jo-Philipp Wich: Reword commit message, cleanup initial PR] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ramips: Add status led for Xiaomi MiWiFi NanoCezary Jackiewicz2016-05-231-1/+2
| | | | Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>
* ramips: cleanup for Hame MPR-A2Cezary Jackiewicz2016-05-231-1/+1
| | | | | | | | | | | | - disable all ethernet ports except port 0 on MPR-A2 Port 0 is the only ethernet port on this router, so disable all other PHYs in order to save power. - don't use a VLAN for the single ethernet port of the MPR-A2 Like A5-V11, this router only has one ethernet port. Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>
* ramips: use green power LED as status indicator for Buffalo WSR-1166 and WSR-600Felix Fietkau2016-05-211-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: add status led for ZBT-WE826Andrew Yong2016-05-121-1/+2
| | | | Signed-off-by: Andrew Yong <me@ndoo.sg>
* ramips: add initial support for SamKnows SK-WB8Andrew Yong2016-05-126-0/+21
| | | | Signed-off-by: Andrew Yong <me@ndoo.sg>
* ramips: Fix alphabetical sorting for 02_networkVittorio Gambaletta (VittGam)2016-05-101-11/+11
| | | | Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
* ramips: Don't use a VLAN for the single ethernet port of the A5-V11.Vittorio Gambaletta (VittGam)2016-05-101-5/+2
| | | | | | | | | | This router only has one ethernet port, so a VLAN is useless here, now that the rt3050 TCP bug that happened without VLANs has been fixed for a very long time. Add this router to the VLAN-less config that is used by other single-port routers. Also fix MAC address detection code since this router has no WAN port. Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
* ramips: Fix network for routers without VLANs on eth0.Vittorio Gambaletta (VittGam)2016-05-101-6/+2
| | | | | | | | | | | | | | Some routers only have one port, so eth0 is used without VLANs for them. Revision r47720 introduced some changes, but wrongly confused "enable" with "reset". VLANs need to be disabled for those routers, and the switch may be reset. Fix this, by explicitly disabling VLANs instead of resetting the switch for these routers. Also merge duplicate configuration for the "m2m". Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
* ramips: Drop hacky switch workaround for failsafe on rt3x5x and rt5350.blogic2016-05-101-28/+9
| | | | | | | | | | | | The new rt3050 switch driver doesn't have problems with TCP when not using VLANs. This piece of code also broke failsafe for all routers where the LAN port is not wired to port 0 of the internal switch. Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> SVN-Revision: 49293
* ramips: add support for Planex MZK-EX750NP.blogic2016-05-105-1/+11
| | | | | | | | | | | add support for Planex MZK-EX750NP. MZK-EX750NP is MT7620A and MT7610E based 11ac wifi repeater. Built-in power supply. 64MiB RAM, 8MiB SPI Flash, non Wired Ethernet. Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com> SVN-Revision: 49268
* image / basefiles: make console password configurableJohn Crispin2016-04-181-1/+1
| | | | | Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com> Signed-off-by: John Crispin <john@phrozen.org>
* ramips: Add support for the Netgear WNDR3700v5John Crispin2016-04-265-0/+9
| | | | | | | | | | https://wiki.openwrt.org/toh/netgear/wndr3700 wndr3700v5 uses the single-core dual thread MediaTek MT7621S SoC. Signed-off-by: L. D. Pinney <ldpinney@gmail.com> SVN-Revision: 49247
* ramips: add support for Planex MZK-EX300NPJohn Crispin2016-04-265-1/+8
| | | | | | | | | | MZK-EX300NP is MT7620A based wifi repeater. Built-in power supply. 64MiB RAM, 8MiB SPI Flash, non Wired Ethernet. Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com> SVN-Revision: 49235
* ramips: add support for Planex CS-QR10John Crispin2016-04-265-1/+8
| | | | | | | | | | | | CS-QR10 is MT7620A based IP Camera. the camera and sound does not work with kernel 4.4. - camera chip is sn9c291. - sound chip is wm8960. Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com> SVN-Revision: 49234
* ramips: Add support for ZBT WG3526John Crispin2016-04-214-1/+7
| | | | | | | | | | | | | | | | | | The WG3526 is the follow-up to the 2626 and is mostly the same, with the excaption that the mt7602 has been replaced with the mt7603. The internal wifi setup has also changed slightly. Based on my tests, everything that worked on the 2626 works on the 3526 and with roughly the same performance. v1->v2: * Remove some references to 2626 that I had missed in the dts. v2->v3: * Update patch to match new file structure. * Removed SD driver to be consistent with other MT7621 targets. Signed-off-by: Kristian Evensen <kristian.evensen@gmail.com> SVN-Revision: 49213
* ramips: add support for ELECOM WRH-300CRJohn Crispin2016-04-215-2/+12
| | | | | | | | | | | | | | ELECOM WRH-300CR is MT7620N based very small Wi-Fi router with 64MiB DDR2 SDRAM, 16MiB SPI Flash, one fast ethernet port, and (internal but easy-to-access) UART. it also has internal USB hub and USB card reader which provide one USB port, one SD card slot, and one microSD card slot. Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com> Signed-off-by: FUKAUMI Naoki <naobsd@gmail.com> SVN-Revision: 49211
* ramips: fix support Planex MZK-750DHP.John Crispin2016-04-203-0/+3
| | | | | | | | | | fix script for Planex MZK-750DHP. modification of the GPIO definition. add Profile. Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com> SVN-Revision: 49205
* ramips: MiWifi-Nano - change gpios to leds, add to default build groupJohn Crispin2016-03-201-0/+5
| | | | | | | | | | | | 1) Use leds to indicate: Red - Power Amber - Radio On Blue - Wifi associated 2) Add profile to default build group for MT7628 subtarget Signed-off-by: Noble Pepper <openwrtmail@noblepepper.com> SVN-Revision: 49045
* ramips: Add support for Xiaomi MiWiFi NanoJohn Crispin2016-03-163-0/+5
| | | | | | | | | | | | | | | Xiaomi MiWiFi Nano is based on Mediatek MT7628 with 64MB ram 16MB flash Signed-off-by: Noble Pepper <openwrtmail@noblepepper.com> v3 includes changes suggested by L. D. Pinney & Karl Palsson- Eliminate en25q64 (4MB) flash chip Alphabetization Remove hyphen in model Rename profile from miwifinano.mk to xiaomi.mk Add gpios that are attached to leds SVN-Revision: 49024
* ramips: Add support for GL-MT750John Crispin2016-03-104-1/+7
| | | | | | | | This patch adds support for GL-MT750. GL-MT750 is powered by MT7620A and MT7610e, dual band 802.11ac, 2.4G 300Mbps and 5G 450Mbps. It has 5 LANs, MMC interface, USB, a lot of IOs and PoE support. SVN-Revision: 48994
* ramips: Add support for GL-MT300NJohn Crispin2016-03-104-1/+7
| | | | | | | | This patch adds support for GL-MT300N. GL-MT300N is powered by MT7620N with 16MB flash, 64MB RAM, 2 LANs, USB, UART, GPIO and PoE support. SVN-Revision: 48993
* ramips: Add support for GL-MT300AJohn Crispin2016-03-104-0/+8
| | | | | | | | This patches adds support for GL-MT300A. GL-MT300A is powered by MT7620A. It has 16MB flash, 128MB RAM, Two LANs, USB, UART and MMC daughter board. SVN-Revision: 48992
* ramips: add support for Planex MZK-WDPR.John Crispin2016-03-083-0/+5
| | | | | | | | | | | add support for Planex MZK-WDPR. MZK-WDPR(MZK-WDPR-R01) is internet radio tuner. This patch is "network board" in MZK-WDPR. LCD board is non OpenWrt Platform. Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com> SVN-Revision: 48968
* ramips: Add JCG routers to base-filesJohn Crispin2016-03-044-0/+18
| | | | | | | | | | This patch adds support for JHR-N805R, JHR-N825R and JHR-N926R to various scripts in the base-files directory. Signed-off-by: Reinhard Max <reinhard@m4x.de> Reviewed-by: Torsten Duwe <duwe@lst.de> SVN-Revision: 48905
* ramips: Incorrect file mode changeJohn Crispin2016-03-034-0/+0
| | | | | | | | | | | Commit d0f5ab6d95a1 ("ramips: Added support for ZBT-826 / ZBT-1026") incorrectly changed the mode of the ramips shell scripts from 755 to 644. I.e., they are not excutable any more and for example devices will be left with broken configs. Signed-off-by: Kristian Evensen <kristian.evensen@gmail.com> SVN-Revision: 48893