aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* uboot-lantiq: vrx200 - lzma compress gphy firmwareMathias Kresin2016-06-242-18/+29
| | | | | | | | | | | | The default bootloader partition of some devices is to small for an u-boot with uncompressed gphy firmware(s). Instead of increasing the bootloader partition size, in compare to the stock firmware, compress the firmware. This would allow the bootloader of at least the FritzBox 3370 as well as the bootloader of the VGV7510KW22 to fit into the bootloader partition of the stock firmware. Signed-off-by: Mathias Kresin <dev@kresin.me>
* uboot-lantiq: vrx200 - add support for dual nor flashMathias Kresin2016-06-242-12/+30
| | | | | | | | Based on a submission to the uboot-lantiq repo by Eddi De Pieri. Devices like the xrx200 Arcadyan VGV7519 are using two NOR flash chips. Signed-off-by: Mathias Kresin <dev@kresin.me>
* uboot-lantiq: VGV7510KW22 - cleanup board configMathias Kresin2016-06-241-60/+3
| | | | | | | | | | | | | | According to the author, all SPI related configs are copy & paste leftovers. Which makes sense since nothing is connected to the SPI bus on this device. The NOR SPL isn't required for this board, since the NOR is directly memory mapped. Allow to overwrite the env in ram while using brn variant. Do not set the power GPIO pin twice. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: fix regression in VG3503J.dtsJohn Crispin2016-06-241-0/+2
| | | | | | | | 9d0608eef3e5b9fca - "lantiq: VG3503J - merge profiles" resulted in the dts file missing the version string. Signed-off-by: John Crispin <john@phrozen.org>
* lantiq: VG3503J - use the 11G firmwareMathias Kresin2016-06-241-2/+2
| | | | | | Use the 11G firmware for the phys as the oem firmware does. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: VG3503J - merge profilesMathias Kresin2016-06-245-200/+176
| | | | | | | | The only difference between the VG3503J profiles is the version of the gphy firmware that gets loaded. This can be handled perfect fine in one device tree source file. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: enable SMP for XRX200Felix Fietkau2016-06-241-0/+22
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: Reduce ugliness of ugly hackDaniel Gimpelevich2016-06-241-14/+4
| | | | Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
* lantiq: refresh xrx200 kernel configFelix Fietkau2016-06-241-29/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: remove dummy ltq_machine_power_off to fix gpio-poweroff driversFelix Fietkau2016-06-241-0/+23
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: fix segfault inside ltq-adsl-appDaniel Gimpelevich2016-06-241-0/+65
| | | | Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
* lantiq: Fix macaddr-setting code on DGN3500 and possibly other devicesDaniel Gimpelevich2016-06-241-4/+4
| | | | Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
* lantiq: Use correct macaddr generating logic for the DGN3500Daniel Gimpelevich2016-06-241-0/+5
| | | | Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
* lantiq: Use the correct SPI flash speed for the Netgear DGN3500Daniel Gimpelevich2016-06-241-1/+1
| | | | Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
* lantiq: VGV7510KW22 - enable the IP101A phyMathias Kresin2016-06-242-5/+23
| | | | | | | | | | | | The RJ45 WAN port is used for xDSL as well as the IP101A. The pins 1,2,3,6 of the RJ45 are connected to the IP101A and the pins 4,5 are connected to the xdsl chip. Drop the ip101a-rst node. It can't be controlled and is not required at all. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: VGV7510KW22 - fix pinmux configurationMathias Kresin2016-06-241-25/+1
| | | | | | | | | | | The STP pinmux was initially added in assumption LAN2 led is driven by it. It worked somehow because STP group and gphy0 led0 share the GPIO. Do it the right way by adding the gphy0 led0 the gphy function. According to the author, the SPI node is a copy & paste leftover. Which makes sense since nothing is connected to the SPI bus on this device. Signed-off-by: Mathias Kresin <dev@kresin.me>
* uboot-lantiq: Add Arcadyan VGV7519 supportMathias Kresin2016-06-242-1/+309
| | | | | | | | | | | | | | | | Based on a submission to the uboot-lantiq repo by Eddi De Pieri. Major cleanup and addition of brnboot second stage u-boot was done by me. The second stage brnboot u-boot is untested, since the brnboot prompt is secured by a still unknown password. But should work. The former ram values are replaced with the ram values extracted from the original brnboot. The old ones didn't worked with the ramboot image. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: VGV7519 update bombZoltan HERPAI2016-06-244-87/+77
| | | | | | | | | | | lantiq: VGV7519 - remove/merge redundant parts in dts lantiq: VGV7519 - cleanup pinmux configuration lantiq: VGV7519 - add second usb port lantiq: VGV7519 - add vlan support lantiq: VGV7519 - get mac address from board_config partition lantiq: VGV7519 - fix brn partition layout Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* lantiq: fix ARV4518PWR01 networkMohammed Berdai2016-06-241-0/+4
| | | | | | | | This patch fixes the missing Lan interface config in the file /etc/config/network for ARV4518PWR01/A which results in eth0 and br-lan being down and therefore no way to access the router unless via UART-TTL. Signed-off-by: Mohammed Berdai <mohammed.berdai@gmail.com>
* uboot-lantiq: ARV752DPW - use correct switch driverZoltan HERPAI2016-06-241-1/+1
| | | | | | There is no RTL8206 switch driver. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* uboot-lantiq: VGV7510KW22 - use ddr ram params from brnbootZoltan HERPAI2016-06-241-4/+4
| | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* lantiq: disable phy led complex (test) functions by defaultMathias Kresin2016-06-241-2/+2
| | | | | | They can be added using the phy led device tree bindings if required. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: move ubi/ubifs options to the image makefileFelix Fietkau2016-06-245-21/+18
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* hostapd: fix breakage with non-nl80211 driversFelix Fietkau2016-06-242-15/+18
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* hostapd: fix compilation error in wext backendJo-Philipp Wich2016-06-241-0/+10
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* hostapd: implement fallback for incomplete survey dataFelix Fietkau2016-06-241-0/+45
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* hostapd: update to version 2016-06-15Felix Fietkau2016-06-2423-115/+115
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* hostapd: Update to version 2016-05-05Michal Hrusecky2016-06-248-103/+180
| | | | | | Fixes CVE-2016-4476 and few possible memory leaks. Signed-off-by: Michal Hrusecky <Michal.Hrusecky@nic.cz>
* e2fsprogs: Bump to v1.43.1Graham Fairweather2016-06-241-2/+2
| | | | Signed-off-by: Graham Fairweather <xotic750@gmail.com>
* tools: e2fsprogs: bump to 1.43.1Kevin Darbyshire-Bryant2016-06-245-16/+6
| | | | | | Bump e2fsprogs to v1.43.1 & refresh patches Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
* ar71xx: hiwifi-hc6361: lift size limit on kernel and rootfs partsYousong Zhou2016-06-242-19/+20
| | | | | | | | | | | | | | | | | | | | | | The patch has been run-tested and the relevant dmsg logs are as the following [ 0.762447] Creating 5 MTD partitions on "spi0.0": [ 0.767217] 0x000000000000-0x000000010000 : "u-boot" [ 0.775139] 0x000000010000-0x000000020000 : "bdinfo" [ 0.781014] 0x000000020000-0x000000fe0000 : "firmware" [ 0.810558] 2 uimage-fw partitions found on MTD device firmware [ 0.815043] 0x000000020000-0x000000170000 : "kernel" [ 0.821925] 0x000000170000-0x000000fe0000 : "rootfs" [ 0.827587] mtd: device 4 (rootfs) set to be root filesystem [ 0.831937] 1 squashfs-split partitions found on MTD device rootfs [ 0.837983] 0x0000005c0000-0x000000fe0000 : "rootfs_data" [ 0.845621] 0x000000fe0000-0x000000ff0000 : "backup" [ 0.851445] 0x000000ff0000-0x000001000000 : "art" While at it, convert to new build method Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* tools/firmware-utils: Add Archer C50 to mktplinkfw2Henryk Heisig2016-06-241-0/+7
| | | | Signed-off-by: Henryk Heisig <hyniu@o2.pl>
* ramips: add suport for ZBT APE522IIRoger Pueyo Centelles2016-06-246-0/+161
| | | | | | | | | 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: remove duplicate i2c dts infoMichael Lee2016-06-244-24/+0
| | | | Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: update i2c driversMichael Lee2016-06-242-371/+611
| | | | | | | | | | | | | | | | | * add rt_i2c structure to store driver data * rewrite read/write check function and add i2c error status check. so we don't need to wait until time out. * add 10 bits address support. according to the data sheet i think it is possible. but i haven't verify it. * the most important is start transfer only need once. otherwise it cause I2C_STARTERR status. * add set i2c clock speed register by dts options "clock-frequency". not just hard code it. * add mt7621 i2c driver. i just copy i2c-ralink.c and change register names. and the hardware don't support error status. so i remove it. but the logic is the same. Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: fix kmod-sound-mt7620 packagingJo-Philipp Wich2016-06-241-6/+5
| | | | | | | | | Rework the kmod-sound-mt7620 package to explicitely select the CONFIG_SND_SOC_WM8960 symbols and change it to bundle the renamed .ko file. Also remove the @BROKEN flag and exclude it on the rt288x subtarget instead. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ramips/image: Add Archer C50 to mt7620 MakefileHenryk Heisig2016-06-241-0/+9
| | | | Signed-off-by: Henryk Heisig <hyniu@o2.pl>
* ramips/base-files: Add support for Archer C50Henryk Heisig2016-06-245-1/+16
| | | | Signed-off-by: Henryk Heisig <hyniu@o2.pl>
* ramips/dts: Add support for Archer C50Henryk Heisig2016-06-241-0/+156
| | | | Signed-off-by: Henryk Heisig <hyniu@o2.pl>
* ramips: add support for DuZun DM06Michael Lee2016-06-245-0/+171
| | | | | | | | 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: enable wm8960 kernel menuconfig select optionMichael Lee2016-06-241-0/+11
| | | | Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: add gdma hsdma dts infoMichael Lee2016-06-247-2/+104
| | | | Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: enhance dma engine supportMichael Lee2016-06-241-211/+1339
| | | | | | | | | | | | | | * fix compiler error. device_control operation not support now. * add old chips support 8 channels. new chips support 16 channels. * add mt7621 hsdma driver. data sheet says it has two channels. but after test only one channel support. * add memory to memory DMA support. i use dmatest kernel module to verify this function. on rt305x it will copy more data. on mt7621 only two channels can works at the same time. these two chips maybe have hardware bugs. because on other chips don't have these bugs. * use tasklet to handle remaining dma requests. Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: fix Netgear EX2700 imagesJoseph C. Lehner2016-06-241-3/+3
| | | | | | | Calling `cat foo bar | dd ... conv=sync` *may* add extraneous padding. Avoid this. Signed-off-by: Joseph C. Lehner <joseph.c.lehner@gmail.com>
* ramips: add kmod-pwm-mediatek for mt7628/mt7688Álvaro Fernández Rojas2016-06-241-1/+21
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* ramips: fix the number of uarts for each SoCÁlvaro Fernández Rojas2016-06-246-7/+4
| | | | | | | | - Use default number of uarts (2) for rt288x/rt305x/rt3883/mt7620. - Allow up to 3 uarts on MT7621 and MT7628. - Remove unneeded SERIAL_8250_RT288X for MT7628. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* ramips: fix Mi Wi-Fi Nano Wireless LED pinmuxÁlvaro Fernández Rojas2016-06-241-2/+1
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* ramips: add Widora-NEO board supportYuan Chenmang2016-06-246-1/+184
| | | | | | | | | 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: fix Netgear EX2700 imagesJoseph C. Lehner2016-06-241-2/+3
| | | | | | | | The previous image creation code would have failed if the unpadded kernel uImage size was less than 64 bytes from the next erase block boundary. Fix that. Signed-off-by: Joseph C. Lehner <joseph.c.lehner@gmail.com>
* ramips: fix Netgear EX2700 imagesJoseph C. Lehner2016-06-241-8/+4
| | | | | | | | The bootloader on this device expects the kernel partition to end on a 64k boundary. The last 64 byte of the kernel partition must contain a valid uImage header (the fakeroot partition). Signed-off-by: Joseph C. Lehner <joseph.c.lehner@gmail.com>