summaryrefslogtreecommitdiffstats
path: root/target/linux/ipq806x
Commit message (Collapse)AuthorAgeFilesLines
* build: Prevent more gzip timestampsJohn Crispin2015-07-141-1/+1
| | | | | | | | | To improve reproducibility, prevent the inclusion of timestamps in the gzip header. Signed-off-by: Reiner Herrmann <reiner@reiner-h.de> SVN-Revision: 46361
* kernel: update 4.0 to 4.0.5Jonas Gorski2015-06-194-18/+18
| | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.0.5 Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46063
* kernel: update 3.18 to 3.18.16Jonas Gorski2015-06-171-9/+0
| | | | | | | | | | | Changelogs: * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.15 * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.16 Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46011
* kernel: move a symbol from the ipq806x config to generic to prevent it from ↵Felix Fietkau2015-06-071-1/+0
| | | | | | | | being nuked by make kernel_oldconfig Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45920
* ipq806x: missing symbolJohn Crispin2015-06-031-0/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45880
* ipq806x: move stmmac support in the kernel binaryJohn Crispin2015-06-012-3/+9
| | | | | | | | | | Ethernet GMAC is built-in the SoC, so there is no need to enable it as a module. We'll just assume we need it. That's what is done for other platform where this driver is used so it'll make things more consistent. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 45871
* ipq806x: replace caf nss-gmac driver by upstream stmmacJohn Crispin2015-05-2931-629/+3962
| | | | | | | | | | | | This driver has been cherry-picked and backported from the following LKML thread: *https://lkml.org/lkml/2015/5/26/744 It also updates the DT accordingly. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 45831
* ipq806x: enable kernel support for Fixed PHY emulationJohn Crispin2015-05-292-0/+2
| | | | | | | | | | Most ipq806x platforms use an ethernet switch, and the new upstream GMAC driver makes use of the Fixed PHY emulation to force the link settings despite the lack of PHY. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 45830
* ipq806x: move arm-gic include into pcie patchJohn Crispin2015-05-294-18/+4
| | | | | | | | | | This include is necessary starting at the PCIe patch, which has a lower number. So in order to keep the patches consistent, we'll move the arm-gic include in the first patch who needs it. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 45827
* ipq806x: fix imagebuilderJohn Crispin2015-05-291-1/+5
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45823
* ipq806x: add missing symbolJohn Crispin2015-05-271-0/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45794
* ipq806x: enable cpu idle support in kernel confJohn Crispin2015-05-232-0/+6
| | | | | | Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 45731
* ipq806x: add & enable cpufreq supportJohn Crispin2015-05-2333-2/+6531
| | | | | | | | | | | | | | | This change set enables frequency scaling on ipq806x, which speeds-up the CPU and allows it to achieve its max frequency. These patches are cherry-picked & backported from the following location: *130-132: linux-next *133-143: LKML - https://lkml.org/lkml/2015/3/21/15 *144: derived from other qcom similar dts *145: derived from https://chromium.googlesource.com/chromiumos/third_party/kernel/+/chromeos-3.14/drivers/cpufreq/cpufreq-krait.c Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 45730
* ipq806x: add power regulators supportJohn Crispin2015-05-2314-11/+1415
| | | | | | | | | Patches are cherry-picked from linux-next. We're also adding the corresponding config option to the kernel. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 45729
* ipq806x: disable i2c device on gsbi4John Crispin2015-05-237-7/+113
| | | | | | | | | | | | | | Patch cherry-picked from the following location: https://chromium-review.googlesource.com/#/c/269931/ Disable the i2c device on gsbi4 and mark gsbi4_h and gsbi4_qup clks as unused. If they are enabled, clock framework will turn them off at end of probe. On ipq806x by design gsbi4_qup, gsbi4_h clks and i2c on gsbi4 are meant for RPM usage. So turning them off in kernel is incorrect. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 45728
* ipq806x: refresh kernel patchesJohn Crispin2015-05-236-43/+12
| | | | | | Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 45727
* kernel: update 3.18 to 3.18.14Jonas Gorski2015-05-217-50/+10
| | | | | | | | | | | | | | Changelogs: * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.12 * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.13 * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.14 Build tested on brcm63xx and ipq806x, runtested on brcm63xx. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 45711
* ipq806x: add pcie support to ipq806x based platformsFelix Fietkau2015-05-1012-23/+2662
| | | | | | | | | | | | | | This change adds PCIe support to IPQ806x based platforms. The driver is actually cherry-picked from the following LKML thread: *https://lwn.net/Articles/643086/ (patches 110-111) We also add here an additional fix to support multiple PCI controllers on the same platform (patch 112), and to patch the ap148 & dbs149 DTS files (patch 113). Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 45663
* ipq806x: add support for zImage kernelFelix Fietkau2015-05-103-3/+5
| | | | | | | | | | | | | | | This change enable zImage+appended dtb support in ipq806x kernel options. The zImage will now be generated as part of the kernel binaries. Platforms which do not have DT support enabled in U-boot can now make use of it by generating zImage files and appending dtb to it. It is not used yet but it is done as a stepping stone for early IPQ806x platforms, which did not include DT support in U-boot. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 45662
* ipq806x: fix boot freeze on zImage kernelFelix Fietkau2015-05-102-0/+144
| | | | | | | | | | | | | | | | | | | | | | | ARCH_QCOM is using the ARCH_MULTIPLATFORM option, as now recommended on most ARM architectures. This automatically calculate ZRELADDR by masking PHYS_OFFSET with 0xf8000000. On IPQ806x though, the first ~20MB of RAM is reserved for the hardware. In newer bootloader, when DT is used, this is not a problem, we just reserve this memory in the device tree. But if the bootloader doesn't have DT support, then ATAGS have to be used. In this case, the ARM decompressor will position the kernel in this low mem, which will not be in the RAM section mapped by the bootloader, which means the kernel will freeze in the middle of the boot process trying to map the memory. As a work around, this patch allows disabling AUTO_ZRELADDR when ARCH_QCOM is selected. It makes the zImage usage possible on bootloaders which don't support device-tree, which is the case on certain early IPQ806x based designs. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 45661
* ipq806x: add db149 support to OpenWrt init scriptsJohn Crispin2015-04-213-0/+10
| | | | | | | | | | DB149 is a IPQ8064 based platform. This patch adds the init scripts to detect it, configure the network accordingly, and generate a flashable image for it. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 45537
* ipq806x: add db149 dts filesJohn Crispin2015-04-212-0/+586
| | | | | | | | | DB149 is an IPQ806x based development platform. This patch adds the dts files to support it. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 45536
* ipq806x: enable AT803x driverJohn Crispin2015-04-212-0/+2
| | | | | | | | | Certain IPQ806x based platforms are making use of this PHY. So we'll enable it so it gets detected as such. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 45535
* ipq806x: automatically select kmod-usb-phy-qcom-dwc3John Crispin2015-04-101-1/+1
| | | | | | | | | kmod-usb-phy-qcom-dwc3 is required to get USB working on ipq806x. It was missed in previous commit so let's enable it automatically. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 45345
* ipq806x: another missing symbolJohn Crispin2015-04-051-0/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45277
* ipq806x: enable usb3 packages in default profileJohn Crispin2015-04-031-1/+2
| | | | | | | | | Default profile already enables usb2 so we'll do the same for usb3 now that we have support for it. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 45262
* ipq806x: add platform usb supportJohn Crispin2015-04-035-11/+969
| | | | | | | | | | | | | | This change adds DWC3 QCOM USB phys and TCSR drivers. These are cherry-picked from the following LKML threads: *dwc3 qcom: https://lkml.org/lkml/2014/9/12/599 *tcsr: https://lkml.org/lkml/2015/2/9/579 We're also adding an additional patch to add the corresponding dev nodes in the IPQ806x and AP148 dts files. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 45261
* kernel: add package for dwc3 usb driver used on ipq806xJohn Crispin2015-04-031-0/+32
| | | | | | Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 45260
* ipq806x: enable usb supportJohn Crispin2015-04-032-0/+2
| | | | | | | | | This change doesn't make USB functional but it does make it selectable from a configuration perspective. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 45259
* ipq806x: another missing symbolJohn Crispin2015-04-031-0/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45257
* ipq806x: clean-up kernel config fileFelix Fietkau2015-04-032-5/+0
| | | | | | | | | Options that used to be in target config have been added to the generic config file, so remove them. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 45255
* ipq806x: add missing symbolJohn Crispin2015-04-011-0/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45228
* ipq806x: clean up kernel confJohn Crispin2015-04-011-5/+0
| | | | | | Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 45211
* ipq806x: add support for 4.0 kernelJohn Crispin2015-04-0110-0/+1771
| | | | | | Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 45210
* ipq806x: move 020-add-ap148-bootargs.patch in patches-3.18John Crispin2015-04-011-0/+0
| | | | | | Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 45209
* ipq806x: fix AP148 boot from NORJohn Crispin2015-03-152-0/+38
| | | | | | | | | | | | | | | | This patch allows AP148 to boot from NOR flash. As we're using a FIT image as kernel (which includes kernel bin + DTB) we enable the MTD_SPLIT_FIT_FW kernel option, which will detect the FIT image and automatically split the "firmware" partition into 2 MTD parts (kernel + rootfs). The rootfs will then be parsed and split between rootfs + rootfs_data, as usual. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 44794
* ipq806x: add ap148 bootargs to DTJohn Crispin2015-03-151-0/+46
| | | | | | | | | Only one bootargs is really needed: the tty port. All the other information will use the OpenWrt mechanisms. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 44793
* ipq806x: add 2 missing symbols that broke a full buildJohn Crispin2015-03-101-0/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44639
* ipq806x: rename patches in patches-3.18John Crispin2015-03-067-0/+0
| | | | | | | | This will allow ipq806x to support multiple kernel version more easily. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 44616
* kernel: move KERNFS to generic configJohn Crispin2015-03-061-1/+0
| | | | | | | | KERNFS symbol is selected by SYSFS, so place it in generic config. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 44615
* kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLEDJohn Crispin2015-03-061-1/+0
| | | | | | | | | Disable ARCH_NEEDS_CPU_IDLE_COUPLED by-default in generic config, since only one platfrom (omap) needs them. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 44614
* kernel: move MTD_SPLIT_SUPPORT to generic configJohn Crispin2015-03-061-1/+0
| | | | | | | | | | | CONFIG_MTD_SPLIT_SUPPORT symbol default value is 'y' and many platform specific configs explicitly enables it, while no one platform disables this symbol. So place it in generic config and remove from platform specific configs. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 44612
* ipq806x: add ahci to default packagesJohn Crispin2015-02-241-1/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44525
* ipq806x: add default package selectionJohn Crispin2015-02-241-0/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44523
* ipq806x: initialize the network on AP148John Crispin2015-02-241-0/+32
| | | | | | Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 44522
* ipq806x: enable GMAC support in DTSJohn Crispin2015-02-241-0/+172
| | | | | | | | | | | This adds the GMAC entries in the ipq806x dtsi file as well as in the ap148 specific dts file. This also adds the MDIO change as well. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 44520
* ipq806x: enable ar8xxx switch family supportJohn Crispin2015-02-241-0/+3
| | | | | | Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 44519
* ipq806x: fix spi read issues observed with SMP enabledJohn Crispin2015-02-241-0/+56
| | | | | | | | | | | | | | | | | | | | | This change is fixing the issues observed when booting from NOR flash with SMP enabled. Error logs below: building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found. m25p80 spi32766.0: SPI transfer failed: -110 spi_master spi32766: failed to transfer one message from queue jffs2: Write of 873 bytes at 0x019001e8 failed. returned 0, retlen 792 Patch is cherry-picked from here: https://www.codeaurora.org/cgit/quic/qsdk/oss/kernel/linux-msm/commit/drivers/spi/spi-qup.c?h=coconut_20140924&id=4faba89e3ffbb1c5f6232651375b9b3212b50f02 More details in the patch file. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 44518
* ipq806x: delete config-3.14 fileJohn Crispin2015-02-221-360/+0
| | | | | | | | | ipq806x target has been upgraded to 3.14. There is no need to maintain this file anymore. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 44505
* ipq806x: fix "reboot" commandJohn Crispin2015-02-223-0/+175
| | | | | | | | | | | | | | | | | | | The watchdog driver already registers a restart notifier, we just have to enable it in the config and in the DT to fix the "reboot" command. This is done by integratin the following patch-set: https://lkml.org/lkml/2015/2/20/610 I'm copy-pasting the description below: qcom-wdt is currently assuming the presence of a dedicated node in DT to gets its configuration. However, on msm architecture, the watchdog is usually part of the timer block. So this patch-set is changing the driver and slightly enhancing the timer DT bindings to provide the relevant clocks and interrupts. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 44504