aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
Commit message (Collapse)AuthorAgeFilesLines
* kernel: mtdsplit: add support for EVA imagesFelix Fietkau2016-01-177-0/+106
| | | | | | | | | This allows splitting EVA images (usually found in fritz devices). The firmware will be split into a kernel and a separate rootfs partition. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48262 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: mtdsplit: add support for brnImagesFelix Fietkau2016-01-177-0/+114
| | | | | | | | | | | | | | | | | This adds brnImage (used with the brnboot bootloader) firmware parsing support. brnboot verifies the integrity of the firmware stored on the "Code Image" partitions by looking at the 12 byte footer at the very end of the partition. This footer contains the checksum of the original brnImage (kernel + rootfs/squashfs) and must not be touched (by our JFFS2 rootfs_data - otherwise the image will not be bootable anymore). Big thanks to Mathias Kresin for analyzing the brnImage structure and finding out the information how to keep images valid even when adding a nested rootfs_data partition. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48261 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: disable bogus DEVTMPFS config overridesFelix Fietkau2016-01-174-5/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48260 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imx6: kernel: Add Micrel PHY used on Apalis SOMFelix Fietkau2016-01-151-0/+1
| | | | | | | Signed-off-by: Petr Štetiar <ynezz@true.cz> Cc: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48249 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imx6: add 4.4 supportFelix Fietkau2016-01-1518-0/+2922
| | | | | | | | | | | | | | Build and boot tested on the following hardware: * GW54xx * GW53xx * GW52xx * GW51xx * GW552x * GW551x Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48248 3c298f89-4303-0410-b956-a3cf2f4a3e73
* arc770: move arc patches to target/linux/genericFelix Fietkau2016-01-152-0/+0
| | | | | | | | | | | | | | | | Given those patches are relevant to any ARC platform and even ISA version it makes perfect sense for patches to exist in one place instead of being duplicated for each new ARC-based ASIC. Note this is a prerequisite for upstreaming of ARC HS38 support in OpenWRT. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Felix Fietkau <nbd@openwrt.org> Cc: Jo-Philipp Wich <jow@openwrt.org> Cc: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48241 3c298f89-4303-0410-b956-a3cf2f4a3e73
* arc770: bump linux kernel from 4.3 to 4.4Felix Fietkau2016-01-158-25/+30
| | | | | | | | | | | | | | | | This switch involved: [1] Regeneration of config (few options went away) [2] Regeneration of patches so they apply cleanly (different offsets) [3] Update of .dts files because we now explicitly specify memory regions in use as opposed to previously used offset from 0x8000_0000 Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Felix Fietkau <nbd@openwrt.org> Cc: Jo-Philipp Wich <jow@openwrt.org> Cc: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48240 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: compile out SNMP MIB related counting if debloat-proc is active - ↵Felix Fietkau2016-01-153-0/+132
| | | | | | | | improves network stack performance Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48239 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: backport perf build fixes to 4.1Felix Fietkau2016-01-142-0/+81
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48231 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: remove obsolete config symbols from 4.4Felix Fietkau2016-01-141-292/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only remove old symbols for 4.4 since older Kernels might be removed sooner/later and 4.4 is the next LTS build tested against: omap 4.4 CONFIG_ALL_KMODS x86_64 List of enabled & orphaned symbols: -CONFIG_ARPD=y -CONFIG_BT_L2CAP=y -CONFIG_BT_SCO=y -CONFIG_CAVIUM_OCTEON_HELPER=y -CONFIG_DEFAULT_MESSAGE_LOGLEVEL=4 -CONFIG_DISABLE_DEV_COREDUMP=y -CONFIG_EXPERIMENTAL=y -CONFIG_EXT4_FS_XATTR=y -CONFIG_GENERIC_HARDIRQS=y -CONFIG_GENERIC_TIME=y -CONFIG_HOTPLUG=y -CONFIG_INITRAMFS_COMPRESSION_NONE=y -CONFIG_INLINE_SPIN_UNLOCK=y -CONFIG_LEDS_GPIO_OF=y -CONFIG_LEDS_GPIO_PLATFORM=y -CONFIG_MFD_SUPPORT=y -CONFIG_MISC_DEVICES=y -CONFIG_MTD_CHAR=y -CONFIG_NETDEV_1000=y -CONFIG_NET_ETHERNET=y -CONFIG_NET_PCI=y -CONFIG_NET_VENDOR_SILICOM=y -CONFIG_SCSI_MULTI_LUN=y -CONFIG_UIDGID_STRICT_TYPE_CHECKS=y -CONFIG_USB_ARCH_HAS_EHCI=y -CONFIG_USB_ARCH_HAS_OHCI=y -CONFIG_USB_DEVICEFS=y -CONFIG_USB_EZUSB=y Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48230 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: remove clk_round_rate() patchHauke Mehrtens2016-01-131-43/+0
| | | | | | | | | | This patch was merged into upstream Linux 4.1. This fixes #21587 and was introduced in r48223. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48229 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix ethernet MAC reset on DMA hangFelix Fietkau2016-01-131-38/+55
| | | | | | | | | Fully reset the chip like on a full up/down, but without the PHY statemachine restart. Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48228 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: extend ethernet DMA stuck check to all ar724x (and newer) chipsFelix Fietkau2016-01-131-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48227 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel/3.18: update to version 3.18.25Hauke Mehrtens2016-01-1217-160/+48
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48225 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel/4.3: update to version 4.3.3Hauke Mehrtens2016-01-1238-534/+209
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48224 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel/4.1: update to version 4.1.15Hauke Mehrtens2016-01-1218-226/+42
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48223 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: refresh patches for kernel 4.4Hauke Mehrtens2016-01-1244-196/+97
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48222 3c298f89-4303-0410-b956-a3cf2f4a3e73
* pxa: moved to targets feedFelix Fietkau2016-01-1218-3508/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48217 3c298f89-4303-0410-b956-a3cf2f4a3e73
* x86: update to linux 4.4Felix Fietkau2016-01-129-73/+173
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48216 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add missing symbols for linux 4.4Felix Fietkau2016-01-121-0/+5
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48215 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: Update kernel 4.4 to 4.4.0Felix Fietkau2016-01-114-38/+3
| | | | | | | | | | This removes one patch which was applied upstream with commit 67b9bcd36906e12a15ffec19463afbbd6a41660e. All other patches were refreshed. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48203 3c298f89-4303-0410-b956-a3cf2f4a3e73
* x86: remove obsolete patchesFelix Fietkau2016-01-107-1031/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48190 3c298f89-4303-0410-b956-a3cf2f4a3e73
* x86: remove the rdc subtarget, it was broken for ages and nobody caredFelix Fietkau2016-01-1011-219/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48189 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix ap152 supportFelix Fietkau2016-01-103-1/+2
| | | | | | | | | | - ethernet gigabit pll - switch configuration - sysupgrade Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48187 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sunxi: initial 4.4 supportZoltan HERPAI2016-01-0929-0/+4391
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48161 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sunxi: prep module support options for 4.4Zoltan HERPAI2016-01-091-8/+14
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48160 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel/4.4: add missing config optionsZoltan HERPAI2016-01-091-0/+39
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48159 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: do not rely on $(BIN_DIR) installed files during image build (for ↵Felix Fietkau2016-01-061-3/+3
| | | | | | | | ubnt-erx) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48147 3c298f89-4303-0410-b956-a3cf2f4a3e73
* targets: add kernel image dependencies on device tree filesFelix Fietkau2016-01-066-0/+6
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48146 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: do not attempt to build ubnt-erx initramfs image if initramfs ↵Felix Fietkau2016-01-061-1/+1
| | | | | | | | support is disabled Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48144 3c298f89-4303-0410-b956-a3cf2f4a3e73
* swconfig: add API for setting port link speedRafał Miłecki2016-01-062-1/+50
| | | | | | | | | Some switches can force link speed for a port. Let's add API that will allow drivers to export this feature. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48142 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix duplicate /dts-v1/ line for WRTNODE2Felix Fietkau2016-01-061-2/+0
| | | | | | Signed-off-by: Noble Pepper <openwrtmail@noblepepper.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48138 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: set mips16 supportFelix Fietkau2016-01-041-1/+1
| | | | | | Signed-off-by: Cristian Morales Vega <cristian@samknows.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48131 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sunxi: fix Lamobo R1 board detectionZoltan HERPAI2016-01-041-1/+1
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48130 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add a few mt7688 fixes that got lost in the v4.3 bumpJohn Crispin2016-01-041-0/+89
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48115 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: update the usb phy driver to the version sent upstreamJohn Crispin2016-01-047-92/+120
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48114 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: fix USB compatible stringsJohn Crispin2016-01-047-45/+12
| | | | | | | | switch to the upstream compatible strings for ehci and ohci support. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48113 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: fix USB patch breaking 4.4 compilationRafał Miłecki2016-01-041-1/+1
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48112 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update bcma by backporting 4.4 and 4.5 patchesRafał Miłecki2016-01-047-195/+165
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48111 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add at803x fix for sgmii modeFelix Fietkau2016-01-034-0/+384
| | | | | | | | | Some (possibly broken) bootloaders incorreclty initialize at8033 phy. This patch enables sgmii autonegotiation mode. Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48109 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: move at803x phy patch to genericFelix Fietkau2016-01-034-0/+540
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48108 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ensure that LOADADDR is passed to lzma-loaderFelix Fietkau2016-01-031-0/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48101 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix factory images for WNR2200 (#19807)Felix Fietkau2016-01-031-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48085 3c298f89-4303-0410-b956-a3cf2f4a3e73
* malta: fix generating network configurationFelix Fietkau2016-01-031-0/+3
| | | | | | | | | With the default network config provided by package base-files present, board_detect won't create a new config from board.json. Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48076 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: another fix to wndr3700_board_detectFelix Fietkau2016-01-031-1/+1
| | | | | | | | | | | | | | | | | | My last bugfix (r47538) introduced a new bug in wndr3700_board_detect (again...). Assigning the result of ar71xx_get_mtd_offset_size_format to the model variable before stripping of garbage using awk will cause all NUL bytes to be removed before awk is applied, leading to model strings like "NETGEAR WNDRMACv2NETGEAR", where a NUL byte after the v2 is supposed to terminate the string. Fix by calling ar71xx_get_mtd_offset_size_format twice, once piping to awk directly. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48075 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ledtrig-netdev: don't stop timer on events for different interfacesRafał Miłecki2016-01-021-1/+2
| | | | | | | | | | This fixes regression introduced in my recent ledtrig-netdev commit. Events triggered by different interfaces were stopping timer so it wasn't working for tx/rx mode. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48072 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: clean up and refresh kernel patchesFelix Fietkau2016-01-0272-1002/+241
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48070 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix performance counters on mt7621Felix Fietkau2016-01-021-0/+16
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48069 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: more esw_rt3050 fixesJohn Crispin2016-01-021-0/+48
| | | | | | | | the IRQ was not setup properly causing an oops Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48064 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: switch to simpler devm_gpiod_get in USB driverRafał Miłecki2016-01-022-0/+48
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48062 3c298f89-4303-0410-b956-a3cf2f4a3e73