aboutsummaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
* ramips/mt76x8: Name DTS files based on schemeAdrian Schmutzler2019-07-1055-66/+55
| | | | Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* ramips/mt7621: Name DTS files based on schemeAdrian Schmutzler2019-07-1065-77/+74
| | | | | | | | As introduced with ath79, DTS files for ramips will now be labelled soc_vendor_device.dts(i). With this change, DTS files can be selected automatically without further manual links. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* ramips/mt7620: Name DTS files based on schemeAdrian Schmutzler2019-07-1099-107/+104
| | | | | | | | As introduced with ath79, DTS files for ramips will now be labelled soc_vendor_device.dts(i). With this change, DTS files can be selected automatically without further manual links. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* ramips: Derive DTS name from device name in MakefileAdrian Schmutzler2019-07-101-1/+2
| | | | | | | | | | | | | | | This will automatically derive the DTS name as in ath79 and thus makes specifying DTS for every device obsolete. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> --- This patch only introduces the mechanism and is then followed by commits with renames and Makefile adjustments per subtarget. Eventually, those can be all squashed into a single commit or left as they are to enhance overview.
* ramips/rt305x: Synchronize Makefiles with DTS compatibleAdrian Schmutzler2019-07-1012-668/+460
| | | | Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* ramips/rt288x,rt3883: Synchronize Makefiles with DTS compatibleAdrian Schmutzler2019-07-106-111/+79
| | | | Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* ramips/mt76x8: Synchronize Makefiles with DTS compatibleAdrian Schmutzler2019-07-105-130/+91
| | | | Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* ramips/mt7621: Synchronize Makefiles with DTS compatibleAdrian Schmutzler2019-07-108-191/+135
| | | | Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* ramips/mt7620: Synchronize Makefiles with DTS compatibleAdrian Schmutzler2019-07-1010-470/+327
| | | | | | | | | | | | | | | This will "rename" devices in Makefiles to the pattern used in DTS compatible. This will systematize naming of devices enormously. As device names are used to for default SUPPORTED_DEVICES entries, we need to adjust the source for /tmp/sysinfo/board_name, too. So remove relevant entries from base-files/lib/ramips.sh and use device compatible for that. Despite that, base-files are updated, too. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* ramips: Improve compatible for TP-Link Archer devicesAdrian Schmutzler2019-07-1013-30/+35
| | | | | | | | Include "Archer" in compatible as it is part of the device name. Update Makefile device names where necessary to match compatible. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* ath79: fix missing DEVICE_VENDOR for some devicesChen Minqiang2019-07-102-0/+2
| | | | Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
* ramips: add missing DEVICE_VENDORDaniel Golle2019-07-101-1/+1
| | | | | Fixes commit ee66fe4ea9a6f5e3f47a063f850bac57e1fb411a Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* sunxi: convert to multi-variable device titleLuis Araneda2019-07-103-33/+67
| | | | | | | Use data from the linux-sunxi community wiki to fill-in missing device information Signed-off-by: Luis Araneda <luaraneda@gmail.com>
* ipq40xx: convert to multi-variable device titleLuis Araneda2019-07-101-24/+55
| | | | | | Additionally, fix some vendor and board names Signed-off-by: Luis Araneda <luaraneda@gmail.com>
* kirkwood: split up DEVICE_TITLEMoritz Warning2019-07-101-13/+27
| | | | | | DEVICE_TITLE is split up into DEVICE_VENDOR, DEVICE_MODEL and DEVICE_VARIANT Signed-off-by: Moritz Warning <moritzwarning@web.de>
* ath25: split up DEVICE_TITLEMoritz Warning2019-07-101-5/+10
| | | | | | DEVICE_TITLE is split up into DEVICE_VENDOR, DEVICE_MODEL and DEVICE_VARIANT Signed-off-by: Moritz Warning <moritzwarning@web.de>
* oxnas: convert DEVICE_TITLE to new variablesDaniel Golle2019-07-102-8/+13
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: cherry pick patch removing __linux__ checkFredrik Olofsson2019-07-102-0/+94
| | | | | | | | | | This is already included in newer upstream. Needed to build BPF programs using the MIPS kernel include files. Without this patch, clang fails with "#error Use a Linux compiler or give up." in sgidefs.h when building BPF programs. Signed-off-by: Fredrik Olofsson <fredrik.olofsson@anyfinetworks.com>
* ath79: Fix whitespace errors in 11-ath10k-caldataAdrian Schmutzler2019-07-091-2/+2
| | | | Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* rb532: Fix missing DEVICE_TITLEAdrian Schmutzler2019-07-091-0/+1
| | | | | | | | | | This fixes the collection of target info during build, where the device title for rb532/nand is just empty: tmp/.config-target.in:44925:warning: leading whitespace ignored tmp/.config-target.in:123738:warning: leading whitespace ignored tmp/.config-target.in:123786:warning: leading whitespace ignored Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* kernel: bump 4.19 to 4.19.57Koen Vandeputte2019-07-093-6/+6
| | | | | | | | | Refreshed all patches. Compile-tested on: cns3xxx Runtime-tested on: cns3xxx Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* kernel: bump 4.14 to 4.14.132Koen Vandeputte2019-07-094-7/+7
| | | | | | | | | Refreshed all patches. Compile-tested on: cns3xxx Runtime-tested on: cns3xxx Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* kernel: x86: enable NVME support for 64 bit targetLucian Cristian2019-07-092-0/+3
| | | | | | | | Newer motherboards support NVMe U.2 connectors but also NVMe storage can be used on add-on pcie adapters. Enable kernel driver on x86 for now so the NVMe flash storage can be used Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
* ramips: use upstream RAW_APPENDED_DTB instead of our OWRTDTBChuanhong Guo2019-07-089-86/+15
| | | | | | | | | | | | | | | | | Upstream kernel added support for RAW_APPENDED_DTB on ralink arch in the following commit: 02564fc89d3d ("ralink: Introduce fw_passed_dtb to arch/mips/ralink") Use upstream solution and get rid of our OWRTDTB hack. This commit set DEVICE_DTS to $$(DTS) instead of replacing DTS with DEVICE_DTS in device profile because DTS variable will be dropped in later commits. Signed-off-by: Chuanhong Guo <gch981213@gmail.com> [Tested on mt7621/mt76x8] Tested-by: Chuanhong Guo <gch981213@gmail.com> [Tested on rt305x/mt7620] Tested-by: INAGAKI Hiroshi <musashino.open@gmail.com>
* ath79: Add missing IMAGE_SIZE for Etactica EG200Adrian Schmutzler2019-07-081-0/+1
| | | | | | | The Etactica EG200 is the only device in ath79 despite nand target that lacks IMAGE_SIZE. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* zynq: convert to multi-variable device titleLuis Araneda2019-07-081-4/+8
| | | | | | | Use the newly introduced variables to better differentiate between vendor, model and revision Signed-off-by: Luis Araneda <luaraneda@gmail.com>
* kmod-sched-cake: drop out of tree package, use kernel versionKevin Darbyshire-Bryant2019-07-084-0/+487
| | | | | | | | | | | | | | CAKE made it to kernel 4.19 and since OpenWrt now at kernel 4.19 we can drop the out of tree cake package in base repository. Add kmod-sched-cake to netsupport so package dependencies are still met. Similarly CAKE is retained as an optional qdisc module to avoid base scheduler package size implications. Backport upstream patches from k5.1 to address some small bugs and support fwmark usage. Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
* bcm53xx: sysupgrade: call nand_do_upgrade() from platform_do_upgrade()Rafał Miłecki2019-07-081-17/+12
| | | | | | | | | | | Calling nand_do_upgrade() from platform_pre_upgrade() was obsoleted in the commit 30f61a34b4cf ("base-files: always use staged sysupgrade"). This change brings bcm53xx in sync with other targets and allows dropping backward compatibility code. It shouldn't change any user visible behavior. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: Add missing includes mtdsplit_*.cHauke Mehrtens2019-07-079-0/+9
| | | | | | | | | | | This fixes the following compile problem with kernel 4.9 on lantiq: drivers/mtd/mtdsplit/mtdsplit_uimage.c:244:34: error: array type has incomplete element type 'struct of_device_id' static const struct of_device_id mtdsplit_uimage_of_match_table[] = { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/mtd/mtdsplit/mtdsplit_uimage.c:245:4: error: field name not in record or union initializer { .compatible = "denx,uimage" }, Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: Fix MIPS bounds check virt_addr_validHauke Mehrtens2019-07-072-0/+66
| | | | | | | | This is pending to get into the upstream kernel. This fixes a bug in the upstream kernel which was added to stable some time ago. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ath79: increase kernel partition size for CPE610v1Andrew Cameron2019-07-072-4/+7
| | | | | | | | | Increase the Kernel partition to address the issue discussed here https://forum.openwrt.org/t/cpe610-v1-sysupgrade-bin-missing-too-big/39637/5 Switch Back to the okli Loader to support increased partition size Signed-off-by: Andrew Cameron <apcameron@softhome.net> Signed-off-by: Christian Lamparter <chunkeey@gmail.com> [add <> for e-mail]
* gemini: Add SL93512r missing ImageInfo fileLinus Walleij2019-07-071-0/+18
| | | | | | | | | | | Somehow I missed to add the magical image cooking file for the SL93512r. Fix it. Fixes: 18e2053becb8 ("gemini: Add StorLink SL93512r images") Reported-by: Christian Lamparter <chunkeey@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Christian Lamparter <chunkeey@gmail.com> [added Fixes, changed subject]
* gemini: Fix device name for StorLink SL93512rAdrian Schmutzler2019-07-071-1/+1
| | | | | | | | | This has been reported by Chen Minqiang (@ptpt52). Reported-by: Chen Minqiang <ptpt52@gmail.com> Fixes: 18e2053becb8 ("gemini: Add StorLink SL93512r images") Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Signed-off-by: Christian Lamparter <chunkeey@gmail.com> [Added tags]
* ramips: Fix compatible for YUKAI Engineering BOCCOAdrian Schmutzler2019-07-071-1/+1
| | | | | | Looks like an undetected copy/paste error. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* mpc85xx: Use gzip compressed kernel on HiveAP-330Pawel Dembicki2019-07-071-1/+1
| | | | | | | | | | | | | | | | | | | After commit 1e41de2f48 ("mpc85xx: convert TL-WDR4900 v1 to simpleImage") XZ compression of zImage was enabled. This change exposed a problem with the HiveAP-330 images, which was fixed by foregoing the compression on the kernel altogether with commit 98089bb8ba8 ("mpc85xx: Use uncompressed kernel on the HiveAP-330"). This patch adds back the gzip compression of the kernel image by utilizing the generic OpenWRT uImage method instead of relying on the PowerPC bootwrapper script that did it previously. Compile-tested: p1020/hiveap-330 Tested-by: Chris Blake <chrisrblake93@gmail.com> [run-tested] Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com> Signed-off-by: Christian Lamparter <chunkeey@gmail.com> [filled in even more text]
* kernel: 4.19: Backport usb dwc2 lpm mode hw checkMartin Schiller2019-07-072-1/+64
| | | | | | | | | | | | | | This patch backports verbatim the commit from Linux 5.2-rc7 that fixes the warnings about invalid lpm related parameters on hardware which don't that. This is the case for e.g. lantiq xrx200 targets. Supported only in Linux 4.17 an later. Signed-off-by: Martin Schiller <ms@dev.tdt.de> [refresh patches, fix commit title] Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: fix etop compiler warningsMathias Kresin2019-07-072-10/+14
| | | | | | | | | | | | | | The following warnings are introduced by our own patches: lantiq_etop.c:173:1: warning: no semicolon at end of struct or union }; ^ lantiq_etop.c: In function 'ltq_etop_change_mtu': lantiq_etop.c:725:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] int max = ETH_HLEN + VLAN_HLEN + new_mtu + ETH_FCS_LEN; ^~~ Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: dts: use generic node namesPetr Štetiar2019-07-0765-161/+155
| | | | | | | | | | | | | | | | | | In DTS Checklist[1] we're now demanding proper generic node names, as the name of a node should reflect the function of the device and use generic name for that[2]. Everybody seems to be copy&pasting from DTS files available in the repository today, so let's unify that naming there as well and provide proper examples. 1. https://openwrt.org/submitting-patches#dts_checklist 2. https://github.com/devicetree-org/devicetree-specification/blob/master/source/devicetree-basics.rst#generic-names-recommendation Signed-off-by: Petr Štetiar <ynezz@true.cz> [split out treewide patch, integrated P2812HNUF1 rename patch] Signed-off-by: Christian Lamparter <chunkeey@gmail.com> [merged key and led changes, use generic node name for flash, wifi and gpio] Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: dts: drop falcon clock nodeMathias Kresin2019-07-071-26/+0
| | | | | | | | | It is pretty ovbious a misuse of the simple-bus binding as no child has a address. Luckly the clock node isn't used at all so it is safe to get rid of it. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: dts: drop empty falcon devicetree nodeMathias Kresin2019-07-071-6/+2
| | | | Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: dts: fix unit address mismatch warningMathias Kresin2019-07-071-2/+2
| | | | | | | | | Set a unit address matching the reg property for the EASY98000 ethernet node. Fixes a unit mismatch devicetree compiler warning. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: dts: move localbus childs to dtsMathias Kresin2019-07-079-52/+80
| | | | | | | | The localbus childs are highly board specific and need to be part of the board dts. Otherwise we run into duplicate unit address issues if a board has something else (NAND) connected to the bus id. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: dts: fix vmmc unit and register addressMathias Kresin2019-07-072-3/+3
| | | | | | | | | | The register address is the same for danube und vr9. The register size is 0x400 byte for danube and 0x300 byte for vr9. The change doesn't have an impact as the vmmc driver doesn't use the devicetree and has hardcoded register offsets. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: dts: use lower case for hex valuesMathias Kresin2019-07-075-42/+42
| | | | | | Use only lower case for hex values to keep it consistent. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: dts: drop superfluous address and size cellsMathias Kresin2019-07-0752-172/+3
| | | | | | | | Fixes the following devicetree compiler warning: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: dts: move partitions into partition nodeMathias Kresin2019-07-074-88/+103
| | | | Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: dts: add missing size and address cellsMathias Kresin2019-07-074-0/+8
| | | | | | | | | | Add size and address cells where missing to fix the following devicetree compiler warning: Warning (avoid_default_addr_size): Relying on default #address-cells value Warning (avoid_default_addr_size): Relying on default #size-cells value Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: dts: fix size cellsMathias Kresin2019-07-0711-11/+11
| | | | | | SPI nodes only need an address and no size. Drop the size everywhere. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: dts: fix malformed unit addressesMathias Kresin2019-07-071-1/+1
| | | | | | | | Fixes: Warning (unit_address_format): unit name should not have leading "0x" Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: dts: drop superfluous unit addressMathias Kresin2019-07-0720-68/+48
| | | | | | | | | | | | | The cpu temperature driver has the register offset hardcode and doesn't need a reg. The mdio bus node is only used as a well known name and doesn't need a reg or unit address. syscon-reboot doesn't have a unit address or a reg either. The unit name collides with reset-controller@10 anyway. Signed-off-by: Mathias Kresin <dev@kresin.me>