summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
Commit message (Collapse)AuthorAgeFilesLines
* fix mac addressHans Ulli Kroll2016-10-101-9/+9
| | | | Signed-off-by: Hans Ulli Kroll <ulli.kroll@googlemail.com>
* add rohanHans Ulli Kroll2016-10-101-1/+2
| | | | Signed-off-by: Hans Ulli Kroll <ulli.kroll@googlemail.com>
* change Image sizeHans Ulli Kroll2016-10-101-2/+2
| | | | Signed-off-by: Hans Ulli Kroll <ulli.kroll@googlemail.com>
* update from oPENWRT forum, need authorHans Ulli Kroll2016-10-104-10/+57
| | | | Signed-off-by: Hans Ulli Kroll <ulli.kroll@googlemail.com>
* fix in dts, wrong name compatible stringHans Ulli Kroll2016-10-101-1/+1
| | | | Signed-off-by: Hans Ulli Kroll <ulli.kroll@googlemail.com>
* update nor in DTSHans Ulli Kroll2016-10-101-1/+1
| | | | Signed-off-by: Hans Ulli Kroll <ulli.kroll@googlemail.com>
* add DTSHans Ulli Kroll2016-10-061-0/+179
| | | | Signed-off-by: Hans Ulli Kroll <ulli.kroll@googlemail.com>
* first DTS and updateHans Ulli Kroll2016-10-062-0/+4
| | | | Signed-off-by: Hans Ulli Kroll <ulli.kroll@googlemail.com>
* build integration into LEDEHans Ulli Kroll2016-10-061-0/+20
| | | | Signed-off-by: Hans Ulli Kroll <ulli.kroll@googlemail.com>
* ramips: Xiaomi MiWiFi Nano: fix status ledCezary Jackiewicz2016-09-292-2/+2
| | | | | | | - add status led for Xiaomi MiWiFi Nano - revert https://github.com/lede-project/source/commit/af1e70b4a730e91ce1668d506ebc5c1c8cf5abf5 , this should not be added. Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>
* ramips : add support for Newifi D1BangLang Huang2016-09-277-0/+178
| | | | Signed-off-by: BangLang Huang <banglang.huang@foxmail.com>
* ramips : add support for PandoraBox D1BangLang Huang2016-09-277-1/+177
| | | | Signed-off-by: BangLang Huang <banglang.huang@foxmail.com>
* ramips: Add support for ZBT-CPE102Cezary Jackiewicz2016-09-277-0/+136
| | | | | | | | | | - 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: fix DEVICE_PACKAGES of Ubiquiti EdgeRouter XMatthias Schiffer2016-09-261-1/+1
| | | | | | | kmod-rt2x00-lib and kmod-mac80211 need to be removed, as they depend on kmod-cfg80211. kmod-rt2800-pci should not be installed anyways. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* 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>
* kernel: update kernel 4.4 to version 4.4.21Álvaro Fernández Rojas2016-09-161-3/+3
| | | | | | | Refresh patches for all targets that support kernel 4.4. Compile-tested on brcm2708 only. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* ramips: fix wrong blocksizesMathias Kresin2016-09-153-3/+2
| | | | | | | | | | | | | | | | | | The D-Link DIR-860L B1 has a flash chip which doesn't support 4K sectors. Since the DIR-860L B1 was the only mt7621 board which had the 4k blocksize set, the 4K sector support is removed from the kernel config. I've checked the flash chips of all boards having set a 4K blocksize again. This time I searched harder to finding bootlogs instead of relying on wikis articles and/or the device tree source file. The Planex MZK-DP150N has an en25q32b instead of the mentioned one in the dts. Albeit the en25q32b supports 4K sectors, 4K support is not enabled in the driver. Change the blocksize for this board back to 64K. Reported-by: Russell Senior <russell@personaltelco.net> Signed-off-by: Mathias Kresin <dev@kresin.me>
* kernel: update kernel 4.4 to version 4.4.20Álvaro Fernández Rojas2016-09-154-5/+5
| | | | | | | Refresh patches for all targets that support kernel 4.4. Compile-tested on brcm2708 only. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* ramips: enable 4K sector support in kernel configMathias Kresin2016-09-134-0/+4
| | | | | | | | | | | | This is a follow up to 28110727f1d513a6c4c13aa87ecb606aa5d306eb "ramips: set blocksize for 4MB devices". I've missed to include the required changes of the kernel configs to enable 4K sector size support. The option is only enabled for targets having boards with 4k sector size flash chips. Signed-off-by: Mathias Kresin <dev@kresin.me>
* image: add KERNEL_SIZE to the default device varsMathias Kresin2016-09-131-1/+1
| | | | | This reverts commit ec37a565878fd79d4127cbb843c17ce3b8dc97c0 and fixes the underlying issue.
* build: drop UBI EOF marker from images by defaultFelix Fietkau2016-09-121-0/+1
| | | | | | | | Only add them where they are actually required. Should help with compatibility issues with stock U-Boot images that access UBI Signed-off-by: Felix Fietkau <nbd@nbd.name>
* 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: set blocksize for remaining rt3883 devicesMathias Kresin2016-09-081-0/+4
| | | | Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: remove old build code seama recipeMathias Kresin2016-09-031-32/+0
| | | | | | | Now that all seama images are using the new build code this seama recipe used with the old build code can be dropped. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: switch DIR-610 A1 to new image build codeMathias Kresin2016-09-081-3/+17
| | | | Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: switch some rt3883 devices to new build codeMathias Kresin2016-09-031-25/+52
| | | | Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: move seama build recipe to MakefileMathias Kresin2016-09-033-18/+9
| | | | | | | The identical build step is defined twice. Move it to the parent Makefile to use only one version. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: switch DIR-615 H1 to new image build codeMathias Kresin2016-09-021-11/+8
| | | | Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: add build recipe for senao headerMathias Kresin2016-08-171-0/+5
| | | | | | | Add it to the Makefile to allow a board which will be supported soon to use the recipe as well. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: set blocksize for 4MB devicesMathias Kresin2016-09-035-4/+39
| | | | | | | | | | | | | | | | | | | | | | | | Set the blocksize for devices having only 4MB of flash for ramips devices already using the new image build code. Informations about the used flash chip are gathered from the OpenWrt wiki, wikidevi, forums, OEM bootlogs or the compatible property in the device tree source file. The en25q32b from the AirLive Air3GII does not have 4k support in the kernel. For the following boards no information about the used flash chip could be found and a 64k blocksize is assumed: - Ralink V11ST-FE - Ralink AP-RT3052-V22RW-2X2 - MediaTek MT7628 EVB - MediaTek MT7621 EVB - UPVEL UR-326N4G - Buffalo WZR-AGL300NH Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: don't set the same max image size twiceMathias Kresin2016-09-043-50/+0
| | | | | | The ralink_default_fw_size_8M is already set for the default device. Signed-off-by: Mathias Kresin <dev@kresin.me>
* image: specify max image size in Kilobyte/MegabyteMathias Kresin2016-09-044-41/+22
| | | | | | Use the k and m unit suffix to be consistent with the blocksize. Signed-off-by: Mathias Kresin <dev@kresin.me>
* image: use k as unit suffix for blocksizeMathias Kresin2016-09-041-2/+2
| | | | | | | Use k as unit suffix for kilobyte to have a the same unit regardless of the used filesystem. Signed-off-by: Mathias Kresin <dev@kresin.me>
* kernel: mtd: backport Macronix sector size fixMathias Kresin2016-09-031-3/+3
| | | | Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: use lower case names for TEW-69xGR imagesMathias Kresin2016-09-091-4/+4
| | | | | | | Use lower case variant of the device name for to images to be consistent with all other images names. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: fix wrong TARGET_DEVICESMathias Kresin2016-09-081-1/+1
| | | | Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: fix wrong device titleMathias Kresin2016-09-081-1/+1
| | | | Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: add support for Mercury MAC1200R v2Daniel Golle2016-09-096-0/+111
| | | | | | | | 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>
* build: fix subtarget descriptionsFelix Fietkau2016-09-041-4/+4
| | | | | | Move Target/Description above the target.mk include Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: fix legacy initramfs imagesFelix Fietkau2016-09-031-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: mt7621: switch to 24kcJonas Gorski2016-08-231-1/+1
| | | | | | | | 1004kc is just a SMP capable 34kc, and GCC treats 24kc and 34kc exactly the same and will generate identical code, so there is no need to tune to 1004kc instead of 24kc. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* kernel: update kernel 4.4 to version 4.4.19Stijn Tintel2016-08-231-3/+3
| | | | | | | | Refresh patches for all targets that support kernel 4.4. Compile-tested on all targets that use kernel 4.4 and aren't marked broken. Runtime-tested on ar71xx, octeon and x86/64. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* ramips: fix build of TRENDnet TEW-69xGR imagesMathias Kresin2016-08-201-16/+20
| | | | | | | The image generation for TEW-691GR and TEW-692GR was broken since 79d02229 due to the move of the UMedia recipe to another Makefile. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: move umedia build step to MakefileMathias Kresin2016-08-202-4/+4
| | | | | | Some rt3883 based boards need this one as well. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: TEW-691GR: fix switch and wirelessMathias Kresin2016-08-202-3/+5
| | | | | | | | | 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-202-3/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: rt3883: fix dtc compiler warningMathias Kresin2016-08-201-0/+2
| | | | | | | | | | Fixes the following compiler warning: Warning (reg_format): "reg" property in /ethernet@10100000/port@0 has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1) Warning (avoid_default_addr_size): Relying on default #address-cells value for /ethernet@10100000/port@0 Warning (avoid_default_addr_size): Relying on default #size-cells value for /ethernet@10100000/port@0 Signed-off-by: Mathias Kresin <dev@kresin.me>
* swconfig: revert the portmapping patches, they seem to cause a segfaultJohn Crispin2016-08-162-1/+32
| | | | | | | | | | | | Revert "kernel/swconfig: remove obsolete portmapping feature from swconfig" This reverts commit 675407baa44a8700de20b6b2857009a552a807ba. Revert "swconfig: remove obsolete portmapping feature" This reverts commit fca1eb349ef31b133a62880cbd562d6bf17500aa. Signed-off-by: John Crispin <john@phrozen.org>