aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/oxnas
Commit message (Collapse)AuthorAgeFilesLines
* kernel: 5.4: remove some dup config options already set in genericYousong Zhou2020-03-101-6/+0
| | | | | | | This furthers 860652f4b9da ("kernel: 5.4: move some kconfig options to generic") Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* kernel: bump 4.14 to 4.14.172Koen Vandeputte2020-03-091-1/+1
| | | | | | | | | Refreshed all patches. Compile-tested on: cns3xxx Runtime-tested on: cns3xxx Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* oxnas: restore accidentally moved fileDaniel Golle2020-03-081-0/+0
| | | | | | renamed: files-4.14/phy/phy-oxnas-pcie.c -> files-4.14/drivers/phy/phy-oxnas-pcie.c Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: restore accidentally modified patch for kernel 4.14Daniel Golle2020-03-071-4/+4
| | | | | | | patches-4.14/340-oxnas-pcie.patch was adapted for kernel 5.4 by accident. Revert that change to restore 4.14 builds. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: add 5.4 as testing kernel versionDaniel Golle2020-03-0623-19/+2205
| | | | | | | Add 5.4 kernel version as a new testing kernel option. Run-tested on Shuttle KD20, seems to work just as well as kernel 4.14. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: bump 4.14 to 4.14.158Koen Vandeputte2019-12-101-1/+1
| | | | | | | | | | | | Refreshed all patches. Altered patches: - 400-mtd-add-rootfs-split-support.patch Compile-tested on: cns3xxx Runtime-tested on: cns3xxx Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* oxnas: disable legacy PTYs and virtual terminalsDaniel Golle2019-12-091-6/+0
| | | | | | | | | Enabling legacy PTYs causes problems with procd-hotplug. And as this is a headless target, no need to have virtual terminals. Remove corresponding kernel config options, they are disabled in generic kernel config. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: bump 4.14 to 4.14.156Koen Vandeputte2019-11-291-1/+1
| | | | | | | | | Refreshed all patches. Compile-tested on: cns3xxx Runtime-tested on: cns3xxx Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* oxnas: convert DEVICE_TITLE to new variablesDaniel Golle2019-07-102-8/+13
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: bump 4.14 to 4.14.128Koen Vandeputte2019-06-201-2/+2
| | | | | | | | | 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.120Koen Vandeputte2019-05-212-10/+2
| | | | | | | | | | | | | | | | | | Refreshed all patches. Remove upstreamed: - 103-MIPS-perf-ath79-Fix-perfcount-IRQ-assignment.patch - 060-fix-oxnas-rps-dt-match.patch Altered patches: - 0067-generic-Mangle-bootloader-s-kernel-arguments.patch - 006-mvebu-Mangle-bootloader-s-kernel-arguments.patch - 996-generic-Mangle-bootloader-s-kernel-arguments.patch Compile-tested on: ar71xx, cns3xxx, imx6, mvebu, x86_64 Runtime-tested on: ar71xx, cns3xxx, imx6, x86_64 Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* kernel: bump 4.14 to 4.14.108Koen Vandeputte2019-03-271-1/+1
| | | | | | | | | | | | Refreshed all patches. Altered patches: - 950-0033-i2c-bcm2835-Add-debug-support.patch Compile-tested on: ar71xx, cns3xxx, imx6, x86_64 Runtime-tested on: ar71xx, cns3xxx, imx6 Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* kernel: bump 4.14 to 4.14.106Koen Vandeputte2019-03-181-3/+1
| | | | | | | | | Refreshed all patches. Compile-tested on: ar71xx, cns3xxx, imx6, x86_64 Runtime-tested on: ar71xx, cns3xxx, imx6 Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* oxnas: install wireless driver on pogoplugproDaniel Golle2019-03-121-1/+1
| | | | | | | | PogoPlug Pro comes with AzureWave AW-NE762H PCIe module containing Ralink's Rt3090 chip supported by the rt2x00 driver. Install the driver as well as wpad-basic. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: also akitio,mycloud uses PCIe apparentlyDaniel Golle2019-03-121-0/+4
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: enable pcie_phy on boards utilizing PCIeDaniel Golle2019-03-122-0/+8
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: fix oxnas-rps-timer dt-matchDaniel Golle2019-03-111-0/+10
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: replace oxnas-restart with version to be submitted to upstreamDaniel Golle2019-03-111-103/+136
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: use generic filenames for image and DTSDaniel Golle2019-03-114-20/+28
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: move PCIe controller outside of simple-busDaniel Golle2019-03-103-95/+118
| | | | | | | | Move PCIe controller outside down to SoC level to avoid resource mapping problems. Also add more detailed error handling when mapping registers. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: fix PCIe register ranges in device-treeDaniel Golle2019-03-101-2/+2
| | | | | | | They should be relative to apb-bridge@47000000 rather than to the pcie-controller@c00000 inside it. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: pcie: model shared resource as external pcie-phy driverDaniel Golle2019-03-046-77/+226
| | | | | | | Refactor pcie-oxnas to have shared resources in syscon and new pcie-phy driver. Hopefully this revives PCIe... Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: convert pcie to builtin_platform_driverDaniel Golle2019-03-041-21/+12
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: restart: use register definitions from dt-bindingsDaniel Golle2019-03-031-60/+27
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: cleanup and improve pcie driverDaniel Golle2019-03-031-274/+45
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: add SoC restart driver for rebootDaniel Golle2019-03-033-23/+298
| | | | | | Refresh oxnas kernel config while at it. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: cloudengines,pogoplug*: enable USB portsDaniel Golle2019-03-022-0/+17
| | | | | Reported-by: Jörg Fischer <fischer.loepsingen@yahoo.de> Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: switch to DTS aliases for LEDs and use generic diag.shDaniel Golle2019-03-017-75/+58
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: fix forgotten MTD partition nameDaniel Golle2019-03-011-2/+2
| | | | | Fixes: 858aebc0ef ("oxnas: unify MTD partition names") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: remove uboot-oxnas-ox820 from default package selectionDaniel Golle2019-03-011-4/+0
| | | | | | | | All supported boards should work with the $vendor bootloader just fine. Existing users should mindfully re-flash using new initramfs build and restore $vendor bootloader's bootcmd to it's original setting. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: switch to kmod-ledtrig-usb-portDaniel Golle2019-03-015-7/+20
| | | | | | | | Add port handles for both USB 2.0 ports so they can be used as trigger-source for USB LEDs. Suggestions for pogoplug and akitio,mycloud devices are welcome. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: unify MTD partition namesDaniel Golle2019-03-014-8/+13
| | | | | | | Use 'u-boot' and 'u-boot-env' like the majority of OpenWrt targets does... Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: add missing NAND partitionsDaniel Golle2019-02-283-4/+68
| | | | | | | | | | | | | | | | add kernel and other missing NAND flash partitions to allow booting using stock loader instead of the 2nd-stage bootloader. This will ease installation from stock firmware on pogoplugs as well as stg212 aka. medion nas. Existing users of OpenWrt on those boards will have to boot initramfs generated after this commit and subsequently flash first the ubinized image, then again run initramfs to flash sysupgrade.tar image, and then restore bootcmd in U-Boot environment back to the original setting ('nboot 60500000 0 440000' or something like that) instead of jumping into the now no longer used 2nd-stage loader. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: dts: Unify naming of gpio-led nodesPetr Štetiar2019-01-243-3/+3
| | | | | | | | | | | | | | 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> Signed-off-by: Christian Lamparter <chunkeey@gmail.com> [split up]
* oxnas: dts: Unify naming of gpio-keys nodesPetr Štetiar2019-01-243-3/+3
| | | | | | | | | | | | | | 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> Signed-off-by: Christian Lamparter <chunkeey@gmail.com> [split up]
* kernel: Deactivate CONFIG_COMPAT_BRKHauke Mehrtens2018-12-261-1/+0
| | | | | | | | | CONFIG_COMPAT_BRK disables the heap randomization which is only needed for very old and ancient user space applications, I am not aware that we run any of these, just deactivate this option for these targets to allow heap randomization. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: bump 4.14 to 4.14.90Kevin Darbyshire-Bryant2018-12-241-2/+2
| | | | | | | | | | | | | | Refresh all patches Remove upstream patch: backport-4.14/424-v4.20-net-dsa-fix-88e6060-roaming.patch Minor tweak to generic/hack-4.14/902-debloat_proc.patch to cleanly apply after upstream changes. Tested-on: ath79 Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
* oxnas: remove superseded sysupgrade image checkDaniel Golle2018-11-081-10/+1
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: kd20: correct memory size to 256MBDaniel Golle2018-11-081-2/+2
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: bump 4.14 to 4.14.79Koen Vandeputte2018-11-051-2/+2
| | | | | | | | | Refreshed all patches. Compile-tested on: ar71xx, cns3xxx, imx6, x86_64 Runtime-tested on: ar71xx, cns3xxx, imx6, x86_64 Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* oxnas: add console=ttyS0,115200 argument to bootargsDaniel Golle2018-11-045-4/+15
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: enable image metadata by setting SUPPORTED_DEVICESDaniel Golle2018-11-041-0/+5
| | | | | | | For each board, set the legacy name as well as the new based on the compatible-string from devicetree. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: remove stray kernel config symbolsDaniel Golle2018-11-041-10/+0
| | | | | | CONFIG_CRYPTO_* shouldn't be set by the target Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: switch to generic board detectDaniel Golle2018-11-045-85/+33
| | | | | | | remove /lib/oxnas.sh platform-specific board-detection and use generic which is based on device-tree compatible node instead. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: enable memory compactionFelix Fietkau2018-10-091-1/+0
| | | | | | | | | | | Compaction is the only memory management component to form high order (larger physically contiguous) memory blocks reliably. The page allocator relies on compaction heavily and the lack of the feature can lead to unexpected OOM killer invocations for high order memory requests. You shouldn't disable this option unless there really is a strong reason for it. Signed-off-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: Michal Hrusecky <michal.hrusecky@nic.cz>
* treewide: fix some cosmetic glitches in dts filesPaul Wassi2018-08-271-1/+0
| | | | | | | | | | | - fix single spaces hidden by a tab - replace indentation with spaces by tabs - make empty lines empty - drop trailing whitespace - drop unnecessary blank lines Signed-off-by: Mathias Kresin <dev@kresin.me> Signed-off-by: Paul Wassi <p.wassi@gmx.at>
* kernel: bump 4.14 to 4.14.59Stijn Tintel2018-07-311-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Drop patch that was superseded upstream: ramips/0036-mtd-fix-cfi-cmdset-0002-erase-status-check.patch Drop upstreamed patches: - apm821xx/020-0001-crypto-crypto4xx-remove-bad-list_del.patch - apm821xx/020-0011-crypto-crypto4xx-fix-crypto4xx_build_pdr-crypto4xx_b.patch - ath79/0011-MIPS-ath79-fix-register-address-in-ath79_ddr_wb_flus.patch - brcm63xx/001-4.15-08-bcm63xx_enet-correct-clock-usage.patch - brcm63xx/001-4.15-09-bcm63xx_enet-do-not-write-to-random-DMA-channel-on-B.patch - generic/backport/080-net-convert-sock.sk_wmem_alloc-from-atomic_t-to-refc.patch - generic/pending/170-usb-dwc2-Fix-DMA-alignment-to-start-at-allocated-boun.patch - generic/pending/900-gen_stats-fix-netlink-stats-padding.patch In 4.14.55, a patch was introduced that breaks ext4 images in some cases. The newly introduced patch backport-4.14/500-ext4-fix-check-to-prevent-initializing-reserved-inod.patch addresses this breakage. Fixes the following CVEs: - CVE-2018-10876 - CVE-2018-10877 - CVE-2018-10879 - CVE-2018-10880 - CVE-2018-10881 - CVE-2018-10882 - CVE-2018-10883 Compile-tested: ath79, octeon, x86/64 Runtime-tested: ath79, octeon, x86/64 Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* kernel: remove DEVMEM and DEVKMEM from target's configLuis Araneda2018-07-071-1/+0
| | | | | | | | | These options are handled by generic configuration Targets that need these options should select KERNEL_DEVMEM and/or KERNEL_DEVKMEM options on OpenWRT's config Signed-off-by: Luis Araneda <luaraneda@gmail.com>
* kernel: bump 4.14 to 4.14.52Koen Vandeputte2018-07-021-2/+2
| | | | | | | | | Refreshed all patches Compile-tested on: cns3xxx, imx6, x86_64 Runtime-tested on: cns3xxx, imx6, x86_64 Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* kernel: bump 4.14 to 4.14.48Stijn Tintel2018-06-0511-43/+436
| | | | | | | | | | | | | | | | | | Remove upstreamed patches: generic/pending/101-clocksource-mips-gic-timer-fix-clocksource-counter-w.patch generic/pending/103-MIPS-c-r4k-fix-data-corruption-related-to-cache-coherence.patch generic/pending/182-net-qmi_wwan-add-BroadMobi-BM806U-2020-2033.patch lantiq/0025-MIPS-lantiq-gphy-Remove-reboot-remove-reset-asserts.patch Update patches that no longer apply: generic/pending/811-pci_disable_usb_common_quirks.patch ath79/0009-MIPS-ath79-add-lots-of-missing-registers.patch Fixes CVE-2018-6412. Compile-tested: octeon, x86/64. Runtime-tested: octeon, x86/64. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>