aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc/uci-defaults
Commit message (Collapse)AuthorAgeFilesLines
* ramips: remove model name from LED labelsAdrian Schmutzler2020-10-021-0/+8
| | | | | | | | | | | | | | | | | Like in the previous patch for ath79 target, this will remove the "devicename" from LED labels in ramips as well. The devicename is removed in DTS files and 01_leds, consolidation of definitions into DTSI files is done where (easily) possible, and migration scripts are updated. For the latter, all existing definitions were actually just devicename migrations anyway. Therefore, those are removed and a common migration file is created in target base-files. This is actually another example of how the devicename removal makes things easier. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* treewide: drop shebang from non-executable target filesAdrian Schmutzler2020-06-161-1/+0
| | | | | | | | | | | | | | This drops the shebang from all target files for /lib and /etc/uci-defaults folders, as these are sourced and the shebang is useless. While at it, fix the executable flag on a few of these files. This does not touch ar71xx, as this target is just used for backporting now and applying cosmetic changes would just complicate things. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* ramips: split further base-files across subtargetsAdrian Schmutzler2019-11-111-67/+0
| | | | | | | | | | | As started in 19724e28c81e ("ramips: split base-files into subtargets"), this moves some smaller left-over files to the appropriate base-files folder of their subtarget: - /etc/init.d/bootcount - /etc/uci-defaults/04_led_migration Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* ramips: fix LED labels not updated during device name changesAdrian Schmutzler2019-08-101-0/+67
| | | | | | | | | | | | | | In commit d93969a13a5b ("ramips: Improve compatible for TP-Link Archer devices") and subsequent ones, names of several devices in ramips have been changed. Since LED names are frequently invoked by $boardname, this has broken LED setup in 01_leds, as $boardname and prefix in DTS do not match anymore. This patch updates device name prefixes for LEDs in DTS files, and provides a migration script. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* ramips: Reapply sorting to board.d filesAdrian Schmutzler2019-07-101-5/+5
| | | | | | | | This patch is cosmetical: It only applies sorting based on device names, whereas renames already took place in earlier patches. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* ramips/rt288x,rt3883: Name DTS files based on schemeAdrian Schmutzler2019-07-101-2/+2
| | | | Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* ramips/mt7621: Synchronize Makefiles with DTS compatibleAdrian Schmutzler2019-07-101-1/+1
| | | | Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* ramips/mt7620: Synchronize Makefiles with DTS compatibleAdrian Schmutzler2019-07-101-1/+1
| | | | | | | | | | | | | | | This will "rename" devices in Makefiles to the pattern used in DTS compatible. This will systematize naming of devices enormously. As device names are used to for default SUPPORTED_DEVICES entries, we need to adjust the source for /tmp/sysinfo/board_name, too. So remove relevant entries from base-files/lib/ramips.sh and use device compatible for that. Despite that, base-files are updated, too. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* ramips: use generic board detection for D-Link DAP-1522 A1Mathias Kresin2018-02-201-1/+1
| | | | | | | Use the generic board detection for the D-Link DAP-1522 A1 instead of the target specific one as all recent additions are doing. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: add support for D-Link DAP-1522 A1George Hopkins2018-02-131-3/+6
| | | | | | | | | | | | | | | | | | D-Link DAP-1522 is a wireless bridge/access point with 4 LAN ports and a dual-band wireless chipset. Specifications: - Ralink RT2880 - 32 MB of RAM - 4 MB of Flash - 4x 10/100/1000 Mbps Ethernet (RTL8366SR) - 802.11abgn (RT2850) Flash Instructions: 1. Download lede-ramips-rt288x-dap-1522-a1-squashfs-factory.bin 2. Open the web interface and upload the image Signed-off-by: George Hopkins <george-hopkins@null.net>
* treewide: use the generic board_name functionMathias Kresin2017-07-151-2/+2
| | | | | | Use the generic function instead ot the target specific ones. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: use rfkill for wps button on wlan only boardsMathias Kresin2016-10-151-21/+0
| | | | | | | | | | | | | All of the touched boards don't have an ethernet port. Allow to use the wps button on these boards to enable the wireless radio after boot. The force enabled wireless for the DCH-M225 is removed. It is reckless to bring up an unencrypted wireless network by default these days. Using the wps button to bring up the radio seam to me the better approach. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: dch-m225 don't have ethernet. default enable wifiMichael Lee2016-07-241-0/+21
| | | | Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: Add support for D-Link DCH-M225Michael Lee2016-07-111-0/+1
| | | | | | | | 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: 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>
* targets: files in uci-defaults do not need to be executablesLuka Perkov2015-02-071-0/+0
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 44304
* ramips: add preliminary support for DIR-860L B1Felix Fietkau2015-01-171-1/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44016
* ramips: make use of the new board detection layerJohn Crispin2014-08-182-525/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42186
* ramips:support Lenovo AC1200 Wireless routerJohn Crispin2014-08-032-1/+16
| | | | | | | | | Lenovo AC1200 series has two types, Y1 and Y1S. Y1S has 256MB DDR2, Y1 only has 128MB and Y1 have no Giga Port. Signed-off-by: Lintel <lintel.huang@gmail.com> SVN-Revision: 41961
* ramips: Add support for VoCoreJohn Crispin2014-08-012-0/+10
| | | | | | | | | This is based and tested on VoCore Alpha, but other stuff like status/eth LEDs are present on the final board revision + VoDock. All GPIOs are exported, except spi/i2c. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 41939
* ramips: add support for easyacc wizard8800John Crispin2014-08-011-0/+1
| | | | | | Signed-off-by: Sebastian Wendel <s.wendel@sourceindex.de> SVN-Revision: 41936
* ramips: Fix LEDs on the Kingston MLW221John Crispin2014-08-011-0/+1
| | | | | | | | | | LED Fix up for the Kingston Mobilelite Wireless (MLW-221) http://wiki.openwrt.org/toh/kingston/mlw221 Signed-off-by: L. D. Pinney <ldpinney@gmail.com> SVN-Revision: 41933
* ramips: add support for Kingston MLW221John Crispin2014-07-262-0/+7
| | | | | | | | | | This patch adds support for the Kingston Mobilelite Wireless (MLW-221) http://wiki.openwrt.org/toh/kingston/mlw221 Signed-off-by: L. D. Pinney <ldpinney@gmail.com> SVN-Revision: 41841
* ramips: ethernet mac cleanupJohn Crispin2014-07-261-14/+22
| | | | | | | | | Compile tested all subtargets and profiles. Unfortunately I don't own any board affected by these changes, so no run tests. Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 41839
* ramips: fix vlan configuration for asiarf avm003John Crispin2014-07-261-0/+1
| | | | | | | | | The earlier r41797 change was missing this part, to enable the right vlan configuration. Signed-off-by: Russell Senior <russell@personaltelco.net> SVN-Revision: 41838
* ramips: fix missing inclusion of system.sh for mtd_get_mac_binary and friends.John Crispin2014-07-231-0/+1
| | | | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> SVN-Revision: 41810
* ramips: basic support for Planex MZK-750DHPJohn Crispin2014-07-141-1/+2
| | | | | | | | some gpios are still missing. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41654
* ramips: extract default lan_mac from eth0John Crispin2014-07-141-0/+1
| | | | | | | | | The default case of ramips_setup_macs() is useful when mtd-mac-address is defined in dts. But lan_mac is not set by default, this results in lan and wan having the same mac. Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 41632
* ramips: add support for WR8305RT boardJohn Crispin2014-07-122-0/+17
| | | | | | | Signed-off-by: Jorge Vargas <jorge.vargas@sosvia.com> Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41584
* ramips: add support for Zbtlink WA05 routerJohn Crispin2014-07-102-1/+7
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 41579
* ralink: add Wansview NCS601W IP CameraJohn Crispin2014-07-021-0/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41453
* ramips: add WHR-1166 supportJohn Crispin2014-07-011-1/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41447
* ramips: add vlan configuration for asiarf awm002-evbJohn Crispin2014-06-161-0/+1
| | | | | | | | | Without this, the ports all end up on vlan 1. This enables a separate WAN port that works. Signed-off-by: Russell Senior <russell@personaltelco.net> SVN-Revision: 41216
* ramips: add asiarf awapn2403 supportJohn Crispin2014-06-132-0/+10
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41177
* ralink: fix asiarf/awm002 switch setupJohn Crispin2014-06-021-1/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 40939
* ramips: fix not set lan/wan mac addressJohn Crispin2014-06-021-4/+4
| | | | | | | | | | | | The first switch case is default case. Then it will only match default case. cause not update the lan/wan mac address. And in the default switch case the param lan_mac is empty. it will case error message 'arithmetic syntax error' when call macaddr_add function. Signed-off-by: michael lee <igvtee@gmail.com> SVN-Revision: 40910
* ralink: Add support for samsung cy-swr1100 wireless routerJohn Crispin2014-06-023-0/+13
| | | | | | | | | | | | It is base on rt3662 soc with dual band 802.11n wireless router. Use rtl8367R switch chip. This patch adds a profile for this board. It use seama image header. so i also enable it on kernel config. Signed-off-by: michael lee <igvtee@gmail.com> SVN-Revision: 40908
* ramips: Add support for the 7Links PX-4885 wireless router.John Crispin2014-04-221-0/+4
| | | | | | | | | | | | | The 7Links PX-4885 is a small battery-powered wireless router. It is based on a RT5350F WiSoC and features one ethernet port and one USB port. It is a Hame MPR-A1 clone, except it has different GPIOs, a different battery and more RAM (32 MB). This patch adds a profile for this board, the corresponding device tree file and the adequate base-files changes (incl. sysupgrade). Signed-off-by: Hugo Grostabussiat <bonstra@bonstra.fr.eu.org> SVN-Revision: 40554
* ramips: add Airlink101 AR725W userland supportJohn Crispin2014-04-222-0/+4
| | | | | | Signed-off-by: Claudio Leite <leitec@staticky.com> SVN-Revision: 40550
* ralink: add support for wrtnodeJohn Crispin2014-03-071-0/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39786
* ralink: add support for na930John Crispin2014-02-182-0/+4
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39611
* ramips: Add userspace support for the Edimax BR-6475nDJohn Crispin2014-01-152-0/+15
| | | | | | | | | The rt2x00 wifi driver may still need updating to function with this device. Signed-off-by: Christopher Lais <chris+openwrt@zenthought.org> SVN-Revision: 39298
* ralink: add HLK-RM04 supportJohn Crispin2014-01-122-0/+4
| | | | | | | | https://github.com/JiapengLi/OpenWrt-HiLink-HLK-RM04 Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39237
* ramips: add support for RT-N14U (mt7620n based) boardJohn Crispin2013-12-252-0/+8
| | | | | | | | | | | | | | | | | added dts file and userspace scripts modified to support Asus RT-N14U board current support status: usb works ethernet works buttons reset, wps leds asus:blue:[usb|lan|wan|air|power] i2c not tested uart not tested wifi not yet Signed-off-by: Pavel Löbl <lobl.pavel@gmail.com> SVN-Revision: 39163
* ramips: Fix initial network configuration for few boardsJohn Crispin2013-11-301-9/+6
| | | | | | | | | | Argus ATP52B: ethernet didn't work because of unconfigured switch Sparklan WCR150GN: add switch config and make single port to be LAN Dlink DIR-645: seems to be a redundant case Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 38960
* ralink: set the mac addr via the dts fileJohn Crispin2013-11-251-88/+12
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38902
* ralink: set wmr-300 mac properlyJohn Crispin2013-11-191-0/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38872
* ralink: make all none 3x5x boards default to a vlan1/2 setupJohn Crispin2013-11-181-6/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38845
* ramips: fix wmr300 network detectionJohn Crispin2013-11-171-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38828
* ralink: add mt7620n supportJohn Crispin2013-11-161-1/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38823