aboutsummaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #69 from wigyori/masterZoltan Herpai2016-08-2437-156/+121
|\ | | | | Bump legacy 3.18 and 4.1 kernels to latest
| * kernel: bump 3.18 to 3.18.39Zoltan HERPAI2016-08-2317-62/+53
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
| * kernel: bump 4.1 to 4.1.30Zoltan HERPAI2016-08-1920-94/+68
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* | Enable nand for mt7621Nikolay Martynov2016-08-231-1/+1
| | | | | | | | | | | | Ubiquiti ERX is an mt7621 based nand device, so enable nand packages for mt7621 boards Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
* | ipq806x: squash dts makefile patches into oneRoman Yeryomin2016-08-222-11/+2
| | | | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv>
* | Merge pull request #64 from alexgrin/masterRoman2016-08-228-1/+382
|\ \ | | | | | | ipq806x: Build image for Netgear Nighthawk X4 7500v2
| * | ipq806x: Build image for Netgear Nighthawk X4 7500v2Alexis Green2016-08-198-1/+382
| |/ | | | | | | Signed-off-by: Alexis Green <alexis@cessp.it>
* | ipq806x: fix r7800 dts name in image makefileRoman Yeryomin2016-08-221-1/+1
| | | | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv>
* | Merge pull request #67 from yeryomin/geminiRoman2016-08-2224-0/+6220
|\ \ | | | | | | gemini: add 4.4 support
| * | gemini: add 4.4 supportRoman Yeryomin2016-08-2224-0/+6220
| |/ | | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv>
* | ipq806x: forgotten r7800 dts rename in patchRoman Yeryomin2016-08-201-1/+1
| | | | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv>
* | ipq806x: fix ipq8065 s2a/s2b regulator frequency (fixes ethernet performance)Roman Yeryomin2016-08-191-2/+2
| | | | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv>
* | ipq806x: Netgear R7800 is ipq8065, rename dtsRoman Yeryomin2016-08-191-0/+0
|/ | | | Signed-off-by: Roman Yeryomin <roman@advem.lv>
* Merge pull request #58 from wigyori/masterZoltan Herpai2016-08-172-2/+55
|\ | | | | Backport virtio_ring patches to fix realview, fix bcm53xx build
| * generic/4.4: backport virtio_ring patch for reverting weak barriers patchZoltan HERPAI2016-07-211-0/+55
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
| * bcm53xx: fix simplified image building codeZoltan HERPAI2016-07-211-2/+0
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* | Merge pull request #51 from devran01/masterZoltan Herpai2016-08-114-18/+67
|\ \ | | | | | | Reverting git commit a194e83f16b05240184f58b709152fb840cf00f7
| * | brcm2708: Reverting git commit a194e83f16b05240184f58b709152fb840cf00f7Devaraj Ranganna2016-08-094-18/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The commit a194e83f16b05240184f58b709152fb840cf00f7 converted brcm2708 targets to new build system (LEDE). However, this change is not in sync with OpenWrt build system. Therefore no image is generated for Raspberry Pi boards. This commit reintroduces the profile files for Raspberry Pi, Raspberry Pi 2 and Raspberry Pi 3 and reverts the changes in target/linux/brcm2708/image/Makefile. Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com>
* | | zynq: add xilinx devcfg char driver supportMike Qin2016-07-272-0/+2232
|/ / | | | | | | Signed-off-by: Mike Qin <Fengling.Qin@gmail.com>
* | Merge pull request #38 from qinfengling/orangepi2Zoltan Herpai2016-07-253-0/+324
|\ \ | | | | | | sunxi: add support for Orange Pi 2 (H3)
| * | sunxi: add support for Orange Pi 2 (H3)Mike Qin2016-07-213-0/+324
| |/ | | | | | | Signed-off-by: Mike Qin <Fengling.Qin@gmail.com>
* / zynq: add usb support for ZedboardMike Qin2016-07-224-0/+238
|/ | | | Signed-off-by: Mike Qin <Fengling.Qin@gmail.com>
* bcm53xx: image: don't suppress "mv" command echoingRafał Miłecki2016-07-211-1/+1
| | | | | | | | We call all commands normally, with standard echoing. It's useful for debugging with V=s. Don't make lzma compression an exception, it's a bit confusing this way. Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* bcm53xx: simplify image building codeFelix Fietkau2016-07-202-38/+15
| | | | | | Use append-ubi template for ubinize, remove mkfs override Signed-off-by: Felix Fietkau <nbd@nbd.name>
* bcm53xx: remove duplicate template data from the image makefileFelix Fietkau2016-07-201-8/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* bcm53xx: fix kernel config after USB2 PHY driver backportFelix Fietkau2016-07-201-4/+5
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* bcm53xx: use upstream fix simplifying USB power GPIO usageRafał Miłecki2016-07-203-27/+37
| | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* bcm53xx: backport driver for Northstar's USB 2.0 PHYRafał Miłecki2016-07-202-0/+302
| | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* bcm53xx: backport BCM5301x patches from 2016-07-06Rafał Miłecki2016-07-207-46/+287
| | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* bcm53xx: calculate Seama MD5 using content of kernel partitionRafał Miłecki2016-07-201-1/+1
| | | | | | | We don't want checksum to cover any part of UBI as even its part with SquashFS may be changed due to e.g. flash wearing. Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* Revert "bcm53xx: use uncompressed zImages"Zoltan HERPAI2016-07-201-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit eab2b26fc4a6263025b3e82870232b0d5bfbc8a3. CFE is known to fail in some non-standard cases, e.g. when using kernel or format different that what was tested by Broadcom. This kernel change triggered some problem with booting OpenWrt kernel stored in Seama. As long as Seama checksum was covering enough data, it was working fine. We need to change it however, because calculating MD5 over part of UBI containing SquashFS is unsafe. UBI may move PEBs depending on flash wearing level which would break CFE booting the image. For some reason this kernel change was breaking CFE. Calculating MD5 over 0x47ffc0 B data or less (there is 0x40 B long header) was stopping booting process at: Starting program at 0x00008000 As our kernel is usually 0x3fffc0 B it was affected by this problem. Reverting this change fixes sysupgrade (which already uses kernel size for MD5 calculation) and will allow us to adjust "fixseama" command call on the first boot. Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* linux/archs38: Add wireless AP capabilities similarly to axs101Alexey Brodkin2016-07-202-2/+2
| | | | | | | Now when ath9k-htc USB dongle works with axs103 in OHCI mode quite fine adding corresponding features to default configuration. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* linux/archs38: Disable USB 2.0Alexey Brodkin2016-07-202-2/+2
| | | | | | | | | As of today USB 2.0 (AKA EHCI) doesn't work on axs103 board and so there's no reason to build corresponding software for it. Once USB 2.0 gets fixed on axs103 thi patch might be reverted. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* Merge pull request #33 from wigyori/masterZoltan Herpai2016-07-161-2/+2
|\ | | | | brcm2708: fix SUBTARGET checks for bcm2709/bcm2710
| * brcm2708: fix SUBTARGET checks for bcm2709/bcm2710Álvaro Fernández Rojas2016-07-151-2/+2
| | | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* | zynq: add sdcard image generation support when board profile is selectedMike Qin2016-07-157-4/+68
|/ | | | Signed-off-by: Mike Qin <Fengling.Qin@gmail.com>
* kernel: bump 4.1 to 4.1.27Zoltan HERPAI2016-07-134-4/+4
| | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* kernel: bump 3.18 for the remaining targets to 3.18.36Zoltan HERPAI2016-07-086-61/+10
| | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* kernel: add missing symbol for 4.4Zoltan HERPAI2016-07-071-0/+1
| | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* arm64: update to linux 4.4Felix Fietkau2016-07-072-11/+42
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: remove bogus CONFIG_LOG_BUF_SHIFT overridesFelix Fietkau2016-07-075-5/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: remove full cache flush in fuse_copy_do() for MIPSHauke Mehrtens2016-07-074-97/+1
| | | | | | | | | | | | | | | | | | | | | | | | This patch was introduced in commit r16412 for the brcm47xx target only and then moved to generic in commit r32395. It was initially added because of ticket #5186 and should fix some problems with fuse file systems and MIPS caches. The commit comment in r32395 says that this a generic problem in MIPS CPUs, but does not name any specifics about that. There was a fix added to kernel 2.6.21 in commit commit 7575a49f20 "[MIPS] Implement flush_anon_page()." that should fix this problem, but that was already available before both commits were done to OpenWrt. I just tested fuse with ntfs.3g without this patch on a BCM4704 (BMIPS3300 V0.6) SoC and haven't seen any problems. Someone reported that removing this patch improves some fuse operations by 5 times on some modern MIPS cores. My test was only a simple "dd if=/dev/zero of=/mnt/zero bs=5000" to an USB stick. This patch removes the patch to OpenWrt, because I assume that it is not needed any more and Felix, the orginal author, also thinks so. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: fix missing break in ubi auto-mounting patchHauke Mehrtens2016-07-073-4/+7
| | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Reviewed-by: Jo-Philipp Wich <jo@mein.io>
* kernel: remove one of two patches deactivating broken vdso support on mipsHauke Mehrtens2016-07-071-9/+0
| | | | | | | The patch target/linux/generic/patches-4.4/206-mips-disable-vdso.patch should be sufficient. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kirkwood: add missing kernel symbolJo-Philipp Wich2016-07-061-0/+1
| | | | | | | The query for ARMADA_THERMAL is stalling the kconfig process and as long as we do not package it, simply disable the symbol. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* kernel: add missing symbol for 4.4Zoltan HERPAI2016-07-061-0/+1
| | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* kernel: add missing symbols into 3.18 and 4.1Zoltan HERPAI2016-07-062-0/+12
| | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* kernel: require admin permissions for swconfig set operationsFelix Fietkau2016-07-041-0/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: deny swconfig set requests for unprivileged usersJo-Philipp Wich2016-07-041-0/+3
| | | | | | | | | | | | | | | | | The swconfig kernel infrastructure fails to do any permissions checks when changing settings. As such an ordinary user account on a device with a switch can change switch settings without any special permissions. Routers generally have few non-admin users so this isn't a big hole, but it is a security hole. Likely the greatest danger is for multifunction devices which have a lot of extra daemons, compromising a low-security daemon would allow one to modify switch settings and cause the router/switch to appear to lock-up (or cause other sorts of troublesome nyetwork behavior). Implement a check for CAP_NET_ADMIN in swconfig_set_attr() and deny any requests originating from user contexts lacking this capability. Reported-by: Elliott Mitchell <ehem+openwrt@m5p.com> Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* kernel: replace SMP cacheflush fix with some patches from linux-mti.gitFelix Fietkau2016-07-043-17/+354
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>