aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm2708/bcm2710
Commit message (Collapse)AuthorAgeFilesLines
* brcm2708: update to latest patches from RPi foundationÁlvaro Fernández Rojas2019-08-271-2/+2
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm2708: clean up target configsÁlvaro Fernández Rojas2019-08-031-3/+1
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm2708: remove linux 4.14 supportÁlvaro Fernández Rojas2019-08-021-477/+0
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm2708: update to latest patches from the RPi foundationÁlvaro Fernández Rojas2019-08-021-4/+1
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm2708: add linux 4.19 supportÁlvaro Fernández Rojas2019-07-142-3/+560
| | | | | | Boot tested on Raspberry Pi B+ (BCM2708) and Raspberry Pi 2 (BCM2709) Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel: Remove CONFIG_COMPATHauke Mehrtens2019-05-111-1/+0
| | | | | | | | | | | | | This removes support for executing old 32 bit applications on 64 bit ARM and MIPS kernels. On OpenWrt we normally compile all the user space applications on our own and do not support third party binary only modules especial not 32 bit applications on 64 bit CPUs. This reduces the attack surface on such systems and should also save some memory. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: Activate CONFIG_ARM64_SW_TTBR0_PANHauke Mehrtens2019-05-111-1/+0
| | | | | | | | | | This activates "Emulate Privileged Access Never using TTBR0_EL1 switching" on ARM64. This should prevent the kernel from reading code from user space in kernel context. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: add kmod-input-touchscreen-ads7846Stijn Tintel2019-02-241-0/+2
| | | | | | | This module adds support for ADS7846 based touchscreens used in devices like the WaveShare 3.5" and 4" LCD displays designed for Raspberry Pi. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* brcm2708: drop 4.9 supportStijn Tintel2019-02-061-434/+0
| | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* brcm2708: add kernel 4.14 supportStijn Tintel2018-12-181-0/+477
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch generation process: - rebase rpi/rpi-4.14.y on v4.14.89 from linux-stable - git format-patch v4.14.89 Patches skipped during rebase: - lan78xx: Read MAC address from DT if present - lan78xx: Enable LEDs and auto-negotiation - Revert "softirq: Let ksoftirqd do its job" - sc16is7xx: Fix for multi-channel stall - lan78xx: Ignore DT MAC address if already valid - lan78xx: Simple patch to prevent some crashes - tcp_write_queue_purge clears all the SKBs in the write queue - Revert "lan78xx: Simple patch to prevent some crashes" - lan78xx: Connect phy early - Arm: mm: ftrace: Only set text back to ro after kernel has been marked ro - Revert "Revert "softirq: Let ksoftirqd do its job"" - ASoC: cs4265: SOC_SINGLE register value error fix - Revert "ASoC: cs4265: SOC_SINGLE register value error fix" - Revert "net: pskb_trim_rcsum() and CHECKSUM_COMPLETE are friends" - Revert "Revert "net: pskb_trim_rcsum() and CHECKSUM_COMPLETE are friends"" Patches dropped after rebase: - net: Add non-mainline source for rtl8192cu wlan - net: Fix rtl8192cu build errors on other platforms - brcm: adds support for BCM43341 wifi - brcmfmac: Mute expected startup 'errors' - ARM64: Fix build break for RTL8187/RTL8192CU wifi - ARM64: Enable RTL8187/RTL8192CU wifi in build config - This is the driver for Sony CXD2880 DVB-T2/T tuner + demodulator - brcmfmac: add CLM download support - brcmfmac: request_firmware_direct is quieter - Sets the BCDC priority to constant 0 - brcmfmac: Disable ARP offloading when promiscuous - brcmfmac: Avoid possible out-of-bounds read - brcmfmac: Delete redundant length check - net: rtl8192cu: Normalize indentation - net: rtl8192cu: Fix implicit fallthrough warnings - Revert "Sets the BCDC priority to constant 0" - media: cxd2880: Bump to match 4.18.y version - media: cxd2880-spi: Bump to match 4.18.y version - Revert "mm: alloc_contig: re-allow CMA to compact FS pages" - Revert "Revert "mm: alloc_contig: re-allow CMA to compact FS pages"" - cxd2880: CXD2880_SPI_DRV should select DVB_CXD2880 with MEDIA_SUBDRV_AUTOSELECT - 950-0421-HID-hid-bigbenff-driver-for-BigBen-Interactive-PS3OF.patch - 950-0453-Add-hid-bigbenff-to-list-of-have_special_driver-for-.patch Make I2C built-in instead of modular as in upstream defconfig; also the easiest way to get MFD_ARIZONA enabled, which is required by kmod-sound-soc-rpi-cirrus. Add missing compatible strings from 4.9/960-add-rasbperrypi-compatible.patch, using upstream names for compute modules. Add extra patch to enable the LEDs on lan78xx. Compile-tested: bcm2708, bcm2709, bcm2710 (with CONFIG_ALL_KMODS=y) Runtime-tested: bcm2708, bcm2710 Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* kernel: bump 4.9 to 4.9.116Koen Vandeputte2018-08-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | 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>
* brcm2708: add squashfs rootfs imageChristian Lamparter2018-05-181-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds a image with squashfs as the root filesystem. A rootfs_data partition will be generated on the first boot and placed inside the rootfs partition (just after the squashfs image). advantages: - it is possible to migrate from an existing -ext4 installation and back via sysupgrade. - existing partition layout will not be lost. - slightly smaller image size. - support for attendedsysupgrade disadvantages: - needs f2fs + tools as well. This is because fs-tools decides on the blocksize of the sdcard. So either f2fs or ext4 can get choosen as the rootfs_data filesystem (depends on the size of the root partition). - rootfs_data is placed into the rootfs partition. This makes it difficult for tools that expect a /dev/mmc0pX device. It also makes it difficult for data recovery tools since they might not expect to find a embedded partition or will be confused. For people with existing build configurations: make sure to include mkf2fs and f2fsck package into the image... Otherwise the new -squashfs image will boot of a ram-overlay and won't keep the configurations after a reboot. Cc: Álvaro Fernández Rojas <noltari@gmail.com> Cc: Paul Spooren <spooren@informatik.uni-leipzig.de> Cc: Daniel Golle <daniel@makrotopia.org> Signed-off-by: Christian Lamparter <chunkeey@gmail.com> Acked-by: Daniel Golle <daniel@makrotopia.org>
* kernel: add missing config symbolsMathias Kresin2018-04-271-6/+2
| | | | | | | | The harden branch predictor was backported for arm64 with 4.9.92-96. Fixes: 9aa196e0f260 ("kernel: bump 4.9 to bump 4.9.96") Signed-off-by: Mathias Kresin <dev@kresin.me>
* brcm2708: Add support for raspberry pi 3 b+.Christo Nedev2018-04-271-0/+1
| | | | Signed-off-by: Christo Nedev <christo.nedev@me.com>
* target: disable CONFIG_PROC_PAGE_MONITOR on most targetsJo-Philipp Wich2018-01-131-1/+0
| | | | | | | | | | Disable CONFIG_PROC_PAGE_MONITOR in most places and only keep it enabled for virtual targets such as malta or potent ones like x86. This saves up to 4KB of uncompressed kernel size and significantly decreases CPU load under certain workloads. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* kernel: move CONFIG_KASAN to generic configStijn Tintel2018-01-021-1/+0
| | | | | | | | | | While bumping 4.14, the kernel build failed due to missing CONFIG_KASAN symbol. Move it to generic config instead of defining it for all arm64 and x86/64 targets. It was only added in 4.0, so not needed in config-3.18. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* brcm2708: bcm2710: do not activate neon-vfpv4 manuallyHauke Mehrtens2017-08-261-1/+0
| | | | | | | | Neon and vfpv4 support are activated by GCC on all ARMv8 CPUs because this is now a mandatory part of the architecture. There is not need to activate is manually. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: cleanup CONFIG_SCHED_HRTICKStijn Tintel2017-06-291-1/+0
| | | | | | | Remove CONFIG_SCHED_HRTICK from target configs, as it was added to the generic config in b47fd7656336162360ebf66147326763ddae3f8d. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* kernel: disable CONFIG_SG_POOL by defaultSergey Ryazanov2017-06-071-0/+1
| | | | | | | | CONFIG_SG_POOL symbol is selected only by CONFIG_SCSI, since the last one is disabled by default then disable CONFIG_SG_POOL by default too. And explicitly enable it only for platforms that use CONFIG_SCSI. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
* brcm2708: enable cpufreqStijn Tintel2017-05-231-4/+14
| | | | | | | | | | | | | With cpufreq disabled, the CPU stays locked at the frequency set by the bootloader. This severely degrades performance as the bootloader sets the CPU at the lowest frequency by default. Enable cpufreq for all subtargets and use the ondemand governor. Tested bcm2708 on RPi0W. Tested bcm2709 and bcm2710 on RPi3. Reported-by: Bryan Mayland <bmayland@capnbry.net> Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* brcm2708: disable CONFIG_BCM2835_THERMAL by defaultRafał Miłecki2017-04-151-0/+1
| | | | | | | | | | | This fixes: Thermal sensors on bcm2835 SoC (BCM2835_THERMAL) [N/m/y/?] (NEW) aborted! This symbol depends on ARCH_BCM2835 so it should be OK to disable it at brcm2708 target only. Fixes: 7d32caa61fb0 ("brcm2708: backport upstream sdhost controller driver") Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* brcm2708: update linux 4.9 patches to latest versionÁlvaro Fernández Rojas2017-03-041-0/+1
| | | | | | | | | | As usual these patches were extracted and rebased from the raspberry pi repo: https://github.com/raspberrypi/linux/tree/rpi-4.9.y - Remove led1 from diag.sh for RPi3 since it causes boot issues. - Fix modules.mk typos. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm2708: add more patches for linux 4.9Álvaro Fernández Rojas2017-02-081-2/+2
| | | | | | Also removes unneeded wireless patches Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm2708: bcm2710: add 64 bit support for Raspberry Pi 3Álvaro Fernández Rojas2017-02-082-96/+113
| | | | | | | 64 bit support for Raspberry Pi 3 is experimental. However, bcm2709 subtarget should serve as a stable and compatible 32 bit support. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm2708: remove linux 4.4 supportÁlvaro Fernández Rojas2017-02-071-391/+0
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm2708: add linux 4.9 supportÁlvaro Fernández Rojas2017-02-071-0/+407
| | | | | | | Patches from Raspberry Pi repo: https://github.com/raspberrypi/linux/commits/rpi-4.9.y Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel: remove DEVTMPFS platform overridesFelix Fietkau2017-01-101-1/+0
| | | | | | Those options are handled via top-level menuconfig instead Signed-off-by: Felix Fietkau <nbd@nbd.name>
* brcm2708: update linux 4.4 patches to latest versionÁlvaro Fernández Rojas2016-07-091-5/+0
| | | | | | | As usual these patches were extracted and rebased from the raspberry pi repo: https://github.com/raspberrypi/linux/tree/rpi-4.4.y Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm2708: update linux 4.4 patches to latest versionÁlvaro Fernández Rojas2016-06-081-0/+3
| | | | | | | | As usual these patches were extracted from the raspberry pi repo: https://github.com/raspberrypi/linux/tree/rpi-4.4.y Also alphabetically order sound-soc kernel packages. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm2708: convert to the new building systemÁlvaro Fernández Rojas2016-05-141-15/+0
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm2708: update linux 4.4 patches to latest versionÁlvaro Fernández Rojas2016-04-241-0/+1
| | | | | | | As usual these patches were extracted from the raspberry pi repo: https://github.com/raspberrypi/linux/tree/rpi-4.4.y Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm2708: add missing config symbolsÁlvaro Fernández Rojas2016-04-161-0/+3
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm2708: update to latest versionÁlvaro Fernández Rojas2016-04-071-0/+1
| | | | | | | As usual these patches were extracted from the raspberry pi repo: https://github.com/raspberrypi/linux/commits/rpi-4.4.y Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm2708: add brcmfmac43430-firmware-sdio for Rasberry Pi 3John Crispin2016-04-011-1/+1
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 49103
* brcmfmac: Add Raspberry Pi 3 supportJohn Crispin2016-03-161-0/+1
| | | | | | | | | | - Enable SDIO support on brcmfmac. - Disable power managment for brcm2708 target. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Reviewed-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 49023
* brcm2708: add Raspberry Pi 3 supportJohn Crispin2016-03-083-0/+415
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 48967