aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/sunxi
Commit message (Collapse)AuthorAgeFilesLines
* sunxi: add support for Orange Pi PC PlusAleksander Jan Bajkowski2019-03-091-0/+10
| | | | | | | | | | | | | | | | | CPU: H3 Quad-core Cortex-A7 H.265/HEVC 4K @ 1.2 Ghz GPU: Mali400MP2 GPU @ 600MHz (supports OpenGL ES 2.0) Memory: 1GB DDR3 (shared with GPU) Onboard: Storage TF card (Max. 64GB) / MMC card slot Onboard: Storage 8 GB eMMC Onboard: Network 10/100M Ethernet RJ45 Onboard: Network WiFi 802.11 b/g/n (Realtek RTL8189FTV) Onboard header: SPI, I2C, GPIO, UART USB 2.0: Three USB 2.0 HOST, One USB 2.0 OTG Known issues: -Wifi diesn't work Signed-off-by: Aleksander Jan Bajkowski <A.Bajkowski@stud.elka.pw.edu.pl>
* kernel: bump 4.14 to 4.14.105Koen Vandeputte2019-03-073-9/+9
| | | | | | | | | 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>
* sunxi: add support for Orange Pi OneAleksander Jan Bajkowski2019-02-261-0/+10
| | | | | | | | | | | CPU: H3 Quad-core Cortex-A7 H.265/HEVC 4K @ 1.2 Ghz GPU: Mali400MP2 GPU @ 600MHz (supports OpenGL ES 2.0) Memory: 512MB DDR3 (shared with GPU) Onboard: Storage TF card (Max. 64GB) / MMC card slot Onboard header: SPI, I2C, GPIO, UART USB 2.0: One USB 2.0 HOST, One USB 2.0 OTG Signed-off-by: Aleksander Jan Bajkowski <A.Bajkowski@stud.elka.pw.edu.pl>
* sunxi: fix: A64 unstable timerOskari Lemmela2019-02-177-0/+660
| | | | | | | | Backport A64 unstable timer patches from linux 5.1 Signed-off-by: Oskari Lemmela <oskari@lemmela.net> [Split the single patch into the two original patches] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* sunxi: add support for Sinovoip Banana Pi M2 PlusPawel Dembicki2019-02-172-1/+12
| | | | | | | | | | | | | | | | | | | CPU: H3 Quad-core Cortex-A7 H.265/HEVC 4K @ 1.2 Ghz GPU: Mali400MP2 GPU @ 600MHz (supports OpenGL ES 2.0) Memory: 1GB DDR3 (shared with GPU) Onboard: Storage TF card (Max. 64GB) / MMC card slot Onboard: Network 10/100M Ethernet RJ45 (Realtek RTL8211E) Onboard: Network BT4.0/WiFi 802.11 b/g/n (Ampak AP6212) Onboard header: SPI, I2C, GPIO, UART USB 2.0: Two USB 2.0 HOST, One USB 2.0 OTG Untested: Audio, Video Not working: Bluetooth Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* kernel: bump 4.19 to 4.19.18Koen Vandeputte2019-01-281-5/+0
| | | | | | | | | | | | | | | | Refreshed all patches. Removed upstreamed: - 031-v5.0-MIPS-BCM47XX-Setup-struct-device-for-the-SoC.patch - 142-jffs2-Fix-use-of-uninitialized-delayed_work-lockdep-.patch Removed upstreamed hunk in: - 800-bcma-get-SoC-device-struct-copy-its-DMA-params-to-th.patch Compile-tested on: cns3xxx Runtime-tested on: cns3xxx Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* kernel: bump 4.14 to 4.14.96Koen Vandeputte2019-01-284-27/+5
| | | | | | | | | | | | Refreshed all patches. Remove upstreamed patches: - 142-jffs2-Fix-use-of-uninitialized-delayed_work-lockdep-.patch Compile-tested on: ar71xx, cns3xxx, imx6, x86_64 Runtime-tested on: ar71xx, cns3xxx, imx6 Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* sunxi: Add support for SY8106A voltage regulatorDaniel Engberg2019-01-272-1/+1
| | | | | | | | | Add support for Silergy SY8106A voltage regulator which is needed for cpufreq support on boards such as Orange Pi PC Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net> [Remove CONFIG_REGULATOR_SY8106A from cortexa7] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* sunxi: spi flash dts changesOskari Lemmela2019-01-264-0/+226
| | | | | | | | Backport A64 SPI flash DTS changes to 4.14 kernel. Add Openwrt specific flash partitions to Sopine. Signed-off-by: Oskari Lemmela <oskari@lemmela.net>
* sunxi: add spi flash support to kernelOskari Lemmela2019-01-262-2/+16
| | | | | | | Some of sunxi devices have onboard SPI flash. Enable SPI NOR support and MTD fit split in kernel config. Signed-off-by: Oskari Lemmela <oskari@lemmela.net>
* sunxi: add a64 watchdog supportOskari Lemmela2019-01-261-0/+54
| | | | | | Backport A64 watchdog DTS change to 4.14 kernel. Signed-off-by: Oskari Lemmela <oskari@lemmela.net>
* sunxi: Add support for kernel 4.19Hauke Mehrtens2019-01-136-0/+827
| | | | | | | | This adds supprot for kernel 4.19 to the sunxi target. The patches and the configuration were copied from the kernel 4.14 patches folder and adapted for kernel 4.19. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* sunxi: Refresh kernel 4.14 configurationHauke Mehrtens2019-01-133-10/+5
| | | | | | | Refresh the sunxi kernel configuration without doing any intentional changes. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* sunxi: Use kernel specific sub target configurationHauke Mehrtens2019-01-133-0/+0
| | | | | | | | To make it easier to support multiple kernel versions in parallel also copy the sub target specific kernel configurations into kernel specific files. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* sunxi: Remove unneeded patchesHauke Mehrtens2019-01-132-118/+0
| | | | | | | | | | | | In the device tree file the higher offsets of the reset controller are not used, so this patch supporting higher bits is not needed. The sunxi architecture switched to the simple reset controller with kernel 4.19 and then this patch does not apply any more. The sunxi target in OpenWrt is very close to mainline, so if the device tree files from the mainline Linux kernel need this the mainline kernel will get support for this. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: bump 4.14 to 4.14.77Koen Vandeputte2018-10-193-1/+3
| | | | | | | | | | | | | | | Refreshed all patches. Altered patches: - 666-Add-support-for-MAP-E-FMRs-mesh-mode.patch New symbol for arm targets: - HARDEN_BRANCH_PREDICTOR Compile-tested on: ar71xx, cns3xxx, imx6 Runtime-tested on: ar71xx, cns3xxx, imx6 Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* treewide: use wpad-basic for not small flash targetsMathias Kresin2018-10-162-3/+3
| | | | | | | | | | | | Add out of the box support for 802.11r and 802.11w to all targets not suffering from small flash. Signed-off-by: Mathias Kresin <dev@kresin.me> Mathias did all the heavy lifting on this, but I'm the one who should get shouted at for committing. Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
* 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>
* sunxi: add support for Orange Pi ZeroJulian Haupt2018-10-071-0/+10
| | | | Signed-off-by: Julian Haupt <julian.haupt@hauptmedia.de>
* sunxi: Turn on CONFIG_SUN4I_A10_CCU for A20Florian Fainelli2018-10-021-1/+0
| | | | | | | | | | CONFIG_SUN4I_A10_CCU controls both the A10 and the A20 enabling of the CCU (LCCF) driver, this will be necessary once we move beyond kernel 4.14 because 4.15 has commit f18698e1c66338b902de386e4ad97b8b1b9d999d ("ARM: dts: sun7i: Convert to CCU") which requires this driver. Fixes: ad2b3bf310f7 ("sunxi: Add support for kernel 4.14") Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
* sunxi: remove linux 4.9 supportFelix Fietkau2018-09-2962-21169/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* sunxi: enable CONFIG_BPF_SYSCALL and CONFIG_EMBEDDEDHauke Mehrtens2018-09-291-2/+0
| | | | | | This takes the options from the generic configuration Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* sunxi: build image/uboot for the NanoPi NEO2Jasper Scholte2018-09-221-0/+10
| | | | | | | | The NanoPi NEO2 is a small Allwinner H5 based board available with different DRAM configurations. This board is very similar to the NanoPi NEO PLUS2 Signed-off-by: Jasper Scholte <NightNL@outlook.com>
* kernel: bump 4.9 to 4.9.124Koen Vandeputte2018-08-283-3/+3
| | | | | | | | | Refreshed all patches. Compile-tested on: ar71xx Runtime-tested on: ar71xx Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* kernel: bump 4.14 to 4.14.62Koen Vandeputte2018-08-101-4/+4
| | | | | | | | | 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>
* sunxi: change Orange Pi PC2 MUSB/power buttonAntonio Silverio2018-08-091-0/+20
| | | | | | | Changed default role of Orange Pi PC2 MSUB port to host (in dts) Changed default function of Orange Pi PC2 power button to PWR_BTN Signed-off-by: Antonio Silverio <menion@gmail.com>
* sunxi: Added support for Xunlong Orange Pi PC2Antonio Silverio2018-08-091-0/+10
| | | | | | | | | | | | | | | | CPU: H5 High Performance Quad-core 64-bit Cortex-A53 GPU: Mali450 OpenGL ES 2.0/1.1/1.0, OpenVG 1.1, EGL Memory: 1GB DDR3 (shared with GPU) Onboard Storage: TF card (Max. 32GB) / NOR flash(2MB) Onboard Network: 1000M/100M Ethernet RJ45 USB 2.0 Ports: Three USB 2.0 HOST, one USB 2.0 OTG, HOST mode role by default in DTS Buttons: Power Button(SW4) Debug TTL UART: ..DC-IN.. >[GND][RX][TX] ..HDMI.. Signed-off-by: Antonio Silverio <menion@gmail.com>
* kernel: bump 4.9 to 4.9.118Koen Vandeputte2018-08-071-14/+13
| | | | | | | | | Refreshed all patches. Compile-tested on: ar71xx Runtime-tested on: ar71xx Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* kernel: bump 4.9 to 4.9.116Koen Vandeputte2018-08-011-183/+161
| | | | | | | | | | | | | | | | | | | | | | | | | Refreshed all patches Remove upstreamed patches. - 103-MIPS-ath79-fix-register-address-in-ath79_ddr_wb_flus.patch - 403-mtd_fix_cfi_cmdset_0002_status_check.patch - 001-4.11-01-mtd-m25p80-consider-max-message-size-in-m25p80_read.patch - 001-4.15-08-bcm63xx_enet-correct-clock-usage.patch - 001-4.15-09-bcm63xx_enet-do-not-write-to-random-DMA-channel-on-B.patch - 900-gen_stats-fix-netlink-stats-padding.patch Introduce a new backported patch to address ext4 breakage, introduced in 4.9.112 - backport-4.9/500-ext4-fix-check-to-prevent-initializing-reserved-inod.patch This patch has been slightly altered to compensate for a new helper function introduced in later kernels. Also add ARM64_SSBD symbol to ARM64 targets still running kernel 4.9 Compile-tested on: ar71xx, bcm2710 Runtime-tested on: ar71xx Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* kernel: add missing ARM64_SSBD symbolStijn Tintel2018-07-311-0/+1
| | | | | | | | | In 4.14.57, a new symbol for Spectre v4 mitigation was introduced for ARM64. Add this symbol to all ARM64 targets using kernel 4.14. This mitigates CVE-2018-3639 on ARM64. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* sunxi: Enable SD block devicesDaniel Engberg2018-07-071-0/+1
| | | | | | | | USB storage support is however SCSI Disk block device support isn't meaning that connected devices wont enumerate. Enable CONFIG_BLK_DEV_SD by default to fix it. Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* kernel: bump 4.9 to 4.9.108Koen Vandeputte2018-06-181-161/+183
| | | | | | | | | Refreshed all patches Compile-tested on: ar71xx Runtime-tested on: ar71xx Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* kernel: bump 4.9 to 4.9.107Kevin Darbyshire-Bryant2018-06-091-183/+161
| | | | | | | | | Refresh patches. Compile-tested for: ar71xx Run-tested on: ar71xx Archer C7 v2 Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
* kernel: bump 4.9 to 4.9.106Koen Vandeputte2018-06-071-161/+183
| | | | | | | | | Refreshed all patches Compile-tested on: ar71xx Runtime-tested on: ar71xx Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* kernel: bump to 4.9.105Kevin Darbyshire-Bryant2018-06-014-331/+309
| | | | | | | | | | | | | | | Refresh patches. Drop patches that have been upstreamed: target/linux/ar71xx/patches-4.9/106-01-MIPS-ath79-fix-AR724X_PLL_REG_PCIE_CONFIG-offset.patch target/linux/generic/backport-4.9/095-v4.12-ipv6-Need-to-export-ipv6_push_frag_opts-for-tunnelin.patch target/linux/generic/pending-4.9/180-net-phy-at803x-add-support-for-AT8032.patch target/linux/generic/pending-4.9/181-net-usb-add-lte-modem-wistron-neweb-d18q1.patch target/linux/generic/pending-4.9/182-net-qmi_wwan-add-BroadMobi-BM806U-2020-2033.patch Compile & run tested: ar71xx Archer C7 v2 Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
* kernel: enable THIN_ARCHIVES by defaultSergey Ryazanov2018-05-221-1/+0
| | | | | | | | THIN_ARCHIVES option is enabled by default in the kernel configuration and no one target config disables it. So enable it by default and remove this symbol from target specific configs to keep them light. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
* kernel: enable FUTEX_PI by defaultSergey Ryazanov2018-05-221-1/+0
| | | | | | | | | New FUTEX_PI configuration symbol enabled if FUTEX and RT_MUTEX symbols are enabled. Both of these symbols are enabled by default in the generic config, so enable FUTEX_PI by default too to keep platform specific configs minimal. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
* kernel: enable EXPORTFS by defaultSergey Ryazanov2018-05-221-1/+0
| | | | | | | | OVERLAY_FS config symbol selects EXPORTFS since 4.12 kernel, we have OVERLAY_FS enabled by default, so enable EXPORTFS in the generic config of 4.14 and remove this option from platform specific configs. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
* kernel: disable DRM_LIB_RANDOM by defaultSergey Ryazanov2018-05-221-1/+0
| | | | | | | DRM_LIB_RANDOM config symbol selected only by DRM_DEBUG_MM_SELFTEST which is disable by default, so disable DRM_LIB_RANDOM by default too. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
* kernel: disable DMA_{NOOP|VIRT}_OPS by defaultSergey Ryazanov2018-05-221-2/+0
| | | | | | | These options do not used by any supported arch, so disable them by default to make arch configs a bit more clean. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
* kernel: disable ARCH_WANTS_THP_SWAP by defaultSergey Ryazanov2018-05-221-1/+0
| | | | | | | | Only one arch (x86_64) enables this option. So disable ARCH_WANTS_THP_SWAP by default and remove referencies to it from all configs (except x86_64) to make them clean. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
* kernel: bump 4.9 to 4.9.100Koen Vandeputte2018-05-181-161/+183
| | | | | | | | | | | Refreshed all patches Added new ARM64 symbol: ARM64_ERRATUM_1024718 Compile-tested on: ar71xx Runtime-tested on: ar71xx Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* arm64: enable harden branch predictorMathias Kresin2018-04-271-0/+2
| | | | | | Enable the harden branch predictor for arm64 as it is recommend. Signed-off-by: Mathias Kresin <dev@kresin.me>
* kernel: bump 4.9 to 4.9.96Kevin Darbyshire-Bryant2018-04-263-243/+195
| | | | | | | | | | | | | | | | | | Refresh patches, following required reworking: ar71xx/patches-4.9/930-chipidea-pullup.patch layerscape/patches-4.9/302-dts-support-layercape.patch sunxi/patches-4.9/0052-stmmac-form-4-12.patch Fixes for CVEs: CVE-2018-1108 CVE-2018-1092 Tested on: ar71xx Archer C7 v2 Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk> Tested-by: Koen Vandeputte <koen.vandeputte@ncentric.com> Tested-by: Arjen de Korte <build+openwrt@de-korte.org>
* sunxi: add build for sopineFan Fan2018-03-231-0/+10
| | | | | | This will generate image for Pine64 Sopine board. Signed-off-by: Fan Fan <fkpwolf@gmail.com>
* sunxi: update Xunlong Orange Pi Zero Plus dts fileHauke Mehrtens2018-03-171-56/+48
| | | | | | This updates the DTS file to the version send upstream Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* sunxi: Fix B53 swconfig driver for Lamobo R1Hauke Mehrtens2018-03-101-0/+88
| | | | | | | | This reverts the changes needed for the upstream b53 DSA switch driver to use the OpenWrt b43 swconfig switch driver instead. Tested-by: TheWerthFam <thewerthfam@gmail.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* sunxi: NanoPi NEO Plus2 backport Gigabit Ethernet DT nodeAntony Antony2018-03-101-3/+21
| | | | | | Kernel 4.16 commit 27d7f9297027 Signed-off-by: Antony Antony <antony@phenome.org>
* kernel: bump 4.9 to 4.9.85Magnus Kroken2018-03-033-41/+2
| | | | Signed-off-by: Magnus Kroken <mkroken@gmail.com>
* sunxi: Add support for Xunlong Orange Pi PCVitalij Alshevsky2018-02-261-0/+10
| | | | | | | | | | | | | | CPU: H3 Quad-core Cortex-A7 H.265/HEVC 4K @ 1.3 Ghz GPU: Mali400MP2 GPU @ 600MHz (supports OpenGL ES 2.0) Memory: 1GB DDR3 (shared with GPU) Onboard: Storage TF card (Max. 64GB) / MMC card slot Onboard: Network 10/100M Ethernet RJ45 Onboard header pinout: SPI, I2C, 1-WIRE USB 2.0: Three USB 2.0 HOST, One USB 2.0 OTG Buttons: Power Button(SW4) Debug TTL UART: ..DC-IN.. >[GND][RX][TX] ..HDMI.. Signed-off-by: Vitalij Alshevsky <v_alshevsky@tut.by>