aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq806x
Commit message (Collapse)AuthorAgeFilesLines
* ipq806x: remove accidentially comitted fileJohn Crispin2016-05-301-464/+0
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ipq806x: fix 3.18 supportJohn Crispin2016-05-2781-0/+23230
| | | | | | accidentially removed the files in the v4.4 commit Signed-off-by: John Crispin <john@phrozen.org>
* ipq806x/dts: Add Archer C2600 DTSAsh Benz2016-05-271-0/+425
| | | | Signed-off-by: Ash Benz <ash.benz@bk.ru>
* ipq806x/base-files: extract ath10k caldataAsh Benz2016-05-271-0/+68
| | | | Signed-off-by: Ash Benz <ash.benz@bk.ru>
* ipq806x/base-files: Add support for Archer C2600Ash Benz2016-05-272-1/+22
| | | | Signed-off-by: Ash Benz <ash.benz@bk.ru>
* ipq806x/base-files: Add Archer C2600 LEDs and boardAsh Benz2016-05-272-0/+8
| | | | Signed-off-by: Ash Benz <ash.benz@bk.ru>
* ipq806x: Add Archer C2600 to image/MakefileAsh Benz2016-05-271-1/+24
| | | | Signed-off-by: Ash Benz <ash.benz@bk.ru>
* ipq806x: Add support for linux-4.4Ram Chandra Jangir2016-05-27137-24887/+628
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 1)Changes - Rebased the patches for linux-4.4.7 - Added patch to fix spi nor fifo and dma support - Added patch to configure watchdog barktime 2)Testing Tested on IPQ AP148 Board: a. NOR boot and NAND boot b. ethernet network and ath10k wifi c. ubi sysupgrade UnTested dwc3 usb has not been validated on IPQ board(AP148) 3)Known Issues: Once we flash ubi image on AP148, and if we reset the board, uboot on first boot creates PEB and LEB for dynamic sized partitions, which is incorrect and not what linux expects which causes errors when trying to mount rootfs. In order to test this, we can use the below steps: a. Flash the ubi image on board and don't reset the board b. load the kernel fit image in RAM and boot from there. Signed-off-by: Ram Chandra Jangir <rjangi@codeaurora.org>
* global: change my email addressJohn Crispin2016-05-121-1/+1
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ipq806x: enable fpuAdrián Panella2016-05-121-1/+1
| | | | | | Enable hardfloat to use all the cpu power Signed-off-by: Adrian Panella <ianchi74@outlook.com>
* 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>
* kernel: update kernel 3.18 to 3.18.26Hauke Mehrtens2016-01-251-5/+5
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 48496
* base-files: remove default /etc/config/network, generate it via board.d insteadFelix Fietkau2016-01-251-3/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48493
* ipq806x: Add support for Netgear D7800John Crispin2016-01-197-1/+413
| | | | | | Signed-off-by: Tathagata Das <tathagata@alumnux.com> SVN-Revision: 48360
* ipq806x: fix sysupgrade for AP148Jonas Gorski2016-01-181-2/+2
| | | | | | | | | AP148 uses lowercase name as boardname, so we need to use this in platform.sh as well. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 48304
* targets: add kernel image dependencies on device tree filesFelix Fietkau2016-01-061-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48146
* all: drop old uci-defaults.shJo-Philipp Wich2015-12-112-2/+2
| | | | | | | | | Replace former uci-defaults.sh implementation with the uci-defaults-new.sh one and update all users accordingly. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47867
* all: remove redundant board.d/00_model filesJo-Philipp Wich2015-12-041-13/+0
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47753
* all: remove dummy ucidef_set_interface_loopback() from board.dJo-Philipp Wich2015-12-031-2/+0
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47744
* kirkwood, ipq806x: fix board.d script permissionsJo-Philipp Wich2015-12-033-0/+0
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47735
* ipq806x: switch from uci-defaults to board.dJo-Philipp Wich2015-12-034-42/+52
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47730
* ipq806x: ap148/r7500: fix eth0 for non gige speedsJonas Gorski2015-12-024-8/+24
| | | | | | | | | | | | | | Eth0 is attached to mac0 of the switch with a fixed link and and not to phy4 in single phy mode, so configuring it to anything but 1000FD will break the connection, which will happen if a only 100 Mbit capapble device is plugged into the wan port. Fix this by not taking the state from phy4 and just configuring a fixed link for eth0. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 47695
* ipq806x: another fix to the stmmac DMA configuration to fix remaining data ↵Felix Fietkau2015-11-222-2/+158
| | | | | | | | corruption issues Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47603
* ipq806x: fix a nasty stmmac data corruption bug caused by faulty DMA ↵Felix Fietkau2015-11-222-0/+78
| | | | | | | | initialization Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47594
* ipq806x: update stmmac to the version from linux 4.3Felix Fietkau2015-11-2217-1621/+6664
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47593
* ipq806x: fix PCIe reset gpio handling - the core already handles the ↵Felix Fietkau2015-11-212-16/+60
| | | | | | | | active-low flag Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47547
* ipq806x: assert AHB PCIe reset during initFelix Fietkau2015-11-212-14/+36
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47546
* ipq806x: reduce PCIe buffer size setting to fix potential data corruption issuesFelix Fietkau2015-11-212-4/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47545
* ipq806x: fix pcie reset gpio definions and move them to the common .dtsi fileFelix Fietkau2015-11-2122-266/+170
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47544
* ipq806x: fix pcie tx0-term-offset settingFelix Fietkau2015-11-2110-12/+16
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47543
* ipq806x: fix device tree nodes for PCI to get rid of I/O and memory offsetsFelix Fietkau2015-11-212-12/+12
| | | | | | | | Fixes QCA99x0 detection issues Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47542
* ipq806x: enable vfpv4 support and set cpu type to cortex-a9Felix Fietkau2015-11-141-1/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47468
* ipq806x: fix BOARD_NAME spellingsJonas Gorski2015-11-041-4/+6
| | | | | | | | | | | | | | the board names used by the upgrade check differ from the device names in case, so always set them. We can't rely on tolower or similar since different locales might have different rules for lower case letters, so set them explicitily. Fixes sysupgrade rejecting *-sysupgrade.tar because of the difference. Signed-off-by: Kaspar Schleiser <kaspar@schleiser.de> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 47381
* kernel: update kernel 3.18 to version 3.18.23Hauke Mehrtens2015-11-011-1/+1
| | | | | | | | | | Changelog: * https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.22 * https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.23 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47334
* kernel: update kernel 4.1 to version 4.1.11Hauke Mehrtens2015-10-251-1/+1
| | | | | | | | https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.11 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47252
* kernel: update 4.1 to 4.1.10Hauke Mehrtens2015-10-043-3/+3
| | | | | | | | | | | | | | | | | | | Fixes a regression on spi flash devices (upstream commit 1583eaece6fa). Changelogs: * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.7 * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.8 * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.9 * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.10 096-ipv4-off-by-one-in-continuation-handling-in-proc-net.patch was applied upstream and dropped. Signed-off-by: Mathias Kresin <openwrt@kresin.me> [update from 4.1.9 to 4.1.10] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47104
* ipq806x: add platform_pre_upgrade for sysupgradeRafał Miłecki2015-09-151-0/+11
| | | | | | | | | | | | | | | | We're in process of cleaning nand_do_platform_check. Currently is leaves a special mark in /tmp/sysupgrade-nand-path triggering some diffent code path in nand_upgrade_stage1. This can be a bit confusing. The plan is to have the check function only check the image and nothing else. Then platform code (platform_pre_upgrade) should trigger NAND specific upgrade path. This is what this patch implements. This follows ar71xx, lantiq and partially bcm53xx. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 46945
* ipq806x: fix uninitialized variable usage in cpufreq-kraitJonas Gorski2015-09-102-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In krait_cpufreq_probe, both freq and max_cpu_freq are never initialized, so the max_cpu_freq will have a random value at the end. Fix this by properly initializing max_cpu_freq to 0 and storing the clk frequency in freq as well, to make it similar to how it's calculated in krait_set_target. Fixes the following warnings: In file included from include/linux/clk.h:16:0, from drivers/cpufreq/cpufreq-krait.c:13: drivers/cpufreq/cpufreq-krait.c: In function 'krait_cpufreq_probe': include/linux/kernel.h:714:24: warning: 'freq' may be used uninitialized in this function [-Wmaybe-uninitialized] _max1 > _max2 ? _max1 : _max2; }) ^ drivers/cpufreq/cpufreq-krait.c:217:25: note: 'freq' was declared here unsigned long freq_Hz, freq, max_cpu_freq; ^ In file included from include/linux/clk.h:16:0, from drivers/cpufreq/cpufreq-krait.c:13: include/linux/kernel.h:714:24: warning: 'max_cpu_freq' may be used uninitialized in this function [-Wmaybe-uninitialized] _max1 > _max2 ? _max1 : _max2; }) ^ drivers/cpufreq/cpufreq-krait.c:217:31: note: 'max_cpu_freq' was declared here unsigned long freq_Hz, freq, max_cpu_freq; Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46839
* ipq806x: modules: fix typo in usb-dwc3-qcom dependenciesJonas Gorski2015-09-101-1/+1
| | | | | | | | | | The phy driver has its qcom-dwc3 order switched in contrast to the usb controller driver. Signed-off-by: Kaspar Schleiser <kaspar@schleiser.de> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46838
* ipq806x: fix R7500 kernel generationJonas Gorski2015-09-101-1/+1
| | | | | | | | | Obviously the dummy rootfs must be after the kernel (uImage), not included in it. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46837
* ipq806x: add support for Netgear Nighthawk X4 R7500Jonas Gorski2015-09-048-3/+866
| | | | | | | | | | | | | Add support for the Netgear Nighthawk X4 R7500 and build appropariate sysupgrade and factory images. Known issues: * 5 GHz wifi not working - there is no quantenna driver * One of the USB ports is not working Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46796
* ipq806x: enable ide led triggerJonas Gorski2015-09-042-0/+2
| | | | | | | | | To use gpio leds as ide leds, we need to enable the trigger to be included in the kernel. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46795
* ipq806x: add support for retrieving macs from mtdJonas Gorski2015-09-042-0/+70
| | | | | | | | Add support for mtd-mac-address for stmac. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46793
* ipq806x: build images and add sysupgrade support for AP148Jonas Gorski2015-09-042-3/+35
| | | | | | | | | Add full ubi and sysupgrade images for AP148 and add sysupgrade support for ipq806x to allow updating the current installation. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46789
* ipq806x: clear IMAGES for devicesJonas Gorski2015-09-041-0/+1
| | | | | | | | | Ensure that IMAGE-less devices won't keep the IMAGES of any previous devices. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46788
* ipq806x: wrap legacy image in uImageJonas Gorski2015-09-041-2/+2
| | | | | | | | | Wrap the zImage in a uImage header so we can easily boot it from legacy u-boots. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46787
* ipq806x: rename "rootfs" to "ubi" on nandJonas Gorski2015-09-042-0/+26
| | | | | | | | OpenWrt expects the ubi paritition to be named "ubi", not "rootfs". Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46786
* ipq806x: enable smem-parser for nand on AP148Jonas Gorski2015-09-046-8/+30
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46785
* ipq806x: enable ubiblock supportJonas Gorski2015-09-042-2/+2
| | | | | | | | To allow squashfs on ubi, enable ubiblock support in the kernel. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46782
* ipq806x: switch AP148 to using SMEM based MTD parserJohn Crispin2015-08-1713-63/+35
| | | | | | | | | | | | | | *Enable SMEM MTD parser and its dependencies (SMEM & HW spinlocks) in the kernel config *Replaces the MTD layout in DT by the dynamic layout provided by the SMEM parser for AP148 Using the OF based parser is still possible on platforms which have a fixed MTD partition layout. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 46658