Commit Graph

169 Commits (08cf46123fbd132913f278c8089147d259a5cc75)

Author SHA1 Message Date
Mathias Kresin e7ec7a08aa image: use k as unit suffix for blocksize
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>
8 years ago
Roman Yeryomin 9dc367e6f0 ipq806x: fix ipq8065 s2a/s2b regulator frequency (fixes ethernet performance)
Signed-off-by: Roman Yeryomin <roman@advem.lv>
8 years ago
Cezary Jackiewicz 9417293366 ipq806x: Archer C2600: Renaming LED accordance with the standard
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
8 years ago
John Crispin 2a64be5aa9 ipq806x: enable ondemand governor
Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
Jo-Philipp Wich 00e8571f2b ipq806x: rename R7800 device tree file, merge R7500v2 dts addition
The R7800 is an IPQ8065, so rename its dts file to reflect that fact.
Also fold the R7500v2 dts addition into the existing 800-devicetree.patch.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years ago
Stijn Tintel 8072264b96 kernel: update kernel 4.4 to version 4.4.19
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>
8 years ago
Alexis Green c34f953fef ipq806x: Build image for Netgear Nighthawk X4 R7500v2
Signed-off-by: Alexis Green <alexis@cessp.it>
[Jo-Philipp Wich: add missing DEVICE_TITLE, fix model name in commit title]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years ago
John Crispin 00516611bd ipq806x: add usb pins to r7800 dts file
Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
John Crispin d7e4b9babb ipq806x: sync with latest patches sent by QCA
Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
dissent1 f3fbc80718 ipq806x: fix MAC_POWER_SEL for Netgear R7800
Fixes instability/corruption on the ethernet interface connected to port0 on the switch on Netgear R7800 as well.

Signed-off-by: Josh Bendavid <joshbendavid@gmail.com>
Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
8 years ago
Jonas Gorski 532eb5f581 ipq806x: fix boot hang if cmdline contains words with r in the middle
The ATB DTB mangle code will enter an infinite loop if it encounters a
word in the command line that contains an r in the middle of the word.

Fix this by increasing ptr everytime before invoking strchr, ot avoid
finding the same r again.

This fixes booting at least on Netgear R7500v1, which contains
"ubi.mtd=rootfs" in its commandline, triggering the misbehaviour.

Fixes: 0ddcbee261 ("ipq806x: activate ATAG DTB mangle and EA8500 rootblock in dts")
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
8 years ago
Felix Fietkau 62d4665551 ipq806x: add missing sysupgrade-nand => sysupgrade-tar change
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Jo-Philipp Wich db49dd894e build: rename sysupgrade-nand to sysupgrade-tar
Now that the "sysupgrade-nand" step is used by non-NAND targets as well,
rename it to "sysupgrade-tar" to make it more generic.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years ago
Felix Fietkau 7a175e2d44 ipq806x: clean up redundant initialization of core device image variables
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Josh Bendavid 9780b2dd93 ipq806x: add patch for kernel compiler flags
Signed-off-by: Josh Bendavid <joshbendavid@gmail.com>
8 years ago
Josh Bendavid 15bcda4be6 ipq806x: change compiler flags to arm cortex-a15
Signed-off-by: Josh Bendavid <joshbendavid@gmail.com>
8 years ago
Felix Fietkau 8e2764ce9b image.mk: clean up redundant code related to DEVICE_DTS
It is used by a core build template, so the variable should be
initialized and added to DEVICE_VARS in the core.
Same for DEVICE_DTS_DIR

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau e0ed6ec667 image: clean up UBI related device variable definitions
Move UBI related variable export to core, since the variables are used
by a core Build/ template

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 1729a089fe ipq806x: remove obsolete UBINIZE_OPTS variables
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 39a229ed4b ipq806x: enable ath10k firmware for 988x, 99x0 and 9984 by default
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Hauke Mehrtens 84d489f64f kernel: update to version 4.4.14
Changelog: https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.14

Some manual changes to target/linux/generic/patches-4.4/610-
netfilter_match_bypass_default_checks.patch were needed.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
8 years ago
Adrian Panella 184087f4f1 ipq806x: enable ieee80211 phy hotplug and patch macaddress
Calibration data for QCA99x0 in this device has bogus macaddress.
The data cannot be modified directly, as it breaks checksum control.
Instead change the macaddress from phy add hotplug event.

Signed-off-by: Adrian Panella <ianchi74@outlook.com>
8 years ago
Sven Eckelmann 776613eeba ipq806x: Fix typo in Qualcomm device names
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
8 years ago
Ben Whitten b7baaaf782 kernel: Move append-dtb to common image-commands
This build step is used by various targets, move it to a common section.

Signed-off-by: Ben Whitten <ben.whitten@gmail.com>
8 years ago
Pavel Kubelun 823242185b ipq806x: add initial support for Netgear R7800
Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
8 years ago
Pavel Kubelun 9bf3ddcb2a ipq806x: move ath10k firmware selection into device profiles
Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
8 years ago
Pavel Kubelun 4cd67a4f21 ipq806x: move smb208 nodes into a regulator subnode
Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
8 years ago
Josh Bendavid 66ffd0ddf9 ipq806x: fix MAC_POWER_SEL switch configuration
Fixes instability/corruption on the ethernet interface connected to port0 on the switch.

Signed-off-by: Josh Bendavid <joshbendavid@gmail.com>
8 years ago
Adrian Panella 0ddcbee261 ipq806x: activate ATAG DTB mangle and EA8500 rootblock in dts
The command-line arguments provided by the boot loader will be
appended to a new device tree property: bootloader-args.
If there is a property "append-rootblock" in DT under /chosen
and a root= option in bootloaders command line it will be parsed
and added to DT bootargs with the form: <append-rootblock>XX.
Only command line ATAG will be processed, the rest of the ATAGs
sent by bootloader will be ignored.
This is usefull in dual boot systems, to get the current root partition
without afecting the rest of the system.

Signed-off-by: Adrian Panella <ianchi74@outlook.com>
8 years ago
Jo-Philipp Wich 14e2f4f6d1 ipq806x: add missing kernel config symbol
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years ago
Josh Bendavid 9361285a41 ipq806x: restore old stmmac dma patch which is still needed to fix data corruption
Signed-off-by: Josh Bendavid <joshbendavid@gmail.com>
8 years ago
Josh Bendavid e13b6322cd Revert "ipq806x: add mangle bootargs options in config-4.4"
This reverts commit 53147c2237.

These config changes break booting on C2600 and probably other devices.

Signed-off-by: Josh Bendavid <joshbendavid@gmail.com>
8 years ago
John Crispin 8cc65914df ipq806x: move dts file to the files folder
Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
John Crispin 46cecfd6d7 ipg806x: set v4.4 as default
Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
Adrian Panella 53147c2237 ipq806x: add mangle bootargs options in config-4.4
Add config options to manage dual boot partitions, using MANGLE BOOTARGS

Signed-off-by: Adrian Panella <ianchi74@outlook.com>
8 years ago
Adrian Panella 3d067c0132 ipq806x: base-files: add support for Linksys EA8500
Signed-off-by: Adrian Panella <ianchi74@outlook.com>
8 years ago
John Crispin 2adc6468bf ipq806x: build Linksys EA8500 images
Signed-off-by: Adrian Panella <ianchi74@outlook.com>
8 years ago
Adrian Panella bdaf558134 ipq806x: qcom rpm fix support for smb208
In commit "regulator: qcom: Rework to single platform device" the smb208
regulator used in IPQ8064 was left out.

Add it to that new framework and update Docs and DT accordingly.

Signed-off-by: Adrian Panella <ianchi74@outlook.com>
8 years ago
John Crispin 928163bad2 uboot-envtools: add ipq806x support
Signed-off-by: Adrian Panella <ianchi74@outlook.com>
8 years ago
Felix Fietkau 7eeb254cc4 treewide: replace nbd@openwrt.org with nbd@nbd.name
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Signed-off-by: Henryk Heisig 8ee30ade17 ipq806x: add diag.sh script
Signed-off-by: Henryk Heisig <hyniu@o2.pl>
8 years ago
John Crispin 9dafab92bf ipq806x: add a default profile
Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
John Crispin 1e152483de ipq806x: enable PM support
this fixes build errors with latest mac80211

Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
John Crispin 0fa01e25ed ipq806x: remove accidentially comitted file
Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
John Crispin 21802f22f0 ipq806x: fix 3.18 support
accidentially removed the files in the v4.4 commit

Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
Ash Benz cd36d71655 ipq806x/dts: Add Archer C2600 DTS
Signed-off-by: Ash Benz <ash.benz@bk.ru>
8 years ago
Ash Benz 7d963efc40 ipq806x/base-files: extract ath10k caldata
Signed-off-by: Ash Benz <ash.benz@bk.ru>
8 years ago
Ash Benz 14515cc271 ipq806x/base-files: Add support for Archer C2600
Signed-off-by: Ash Benz <ash.benz@bk.ru>
8 years ago
Ash Benz 98b50f0bef ipq806x/base-files: Add Archer C2600 LEDs and board
Signed-off-by: Ash Benz <ash.benz@bk.ru>
8 years ago
Ash Benz ef02e8967c ipq806x: Add Archer C2600 to image/Makefile
Signed-off-by: Ash Benz <ash.benz@bk.ru>
8 years ago