aboutsummaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx/lzma-loader: fix O32 ABI conformanceGabor Juhos2016-01-171-0/+3
| | | | | | | | | | | | | | | | | | | | | | According to the calling convention of the o32 ABI the caller function must reserve stack space for $a0-$a3 registers in case the callee needs to save its arguments. The assembly code of the loader does not reserve stack space for these registers thus when the 'loader_main' function needs to save its arguments, those will be stored in the 'workspace' area instead of the stack. Because the workspace area is also used by other part of the code, the saved register values gets overwritten and this often leads to failed kernel boots. Fix the code to reserve stack space for the registers to avoid this error. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 48279
* ar71xx: Use full 128MB flash on Netgear WNDR4300 and WNDR3700v4Felix Fietkau2016-01-171-1/+1
| | | | | | | | | | Change MTD on WNDR4300 and WNDR3700v4 to fully utilize the 128MB flash. Credit to @Tuochenlyu on GitHub. Signed-off-by: Chris Marchesi <chrism@vancluevertech.com> SVN-Revision: 48276
* mpc85xx: Add PTP node for TL-WD4900 in device treeFelix Fietkau2016-01-171-0/+13
| | | | | | | | | | | | PTP requires at least one timer to be 1PPS so describe it. For testing, load kernel module gianfar_ptp and use ptp4l from linuxptp. Copied from FSL P1010RDB reference design. Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com> SVN-Revision: 48275
* lantiq: Fixed brnImage signature for the VGV7510KW22BRN imagesFelix Fietkau2016-01-171-1/+1
| | | | | | | | | | | | | The old signature only worked because brnboot ignores the leading "5" in the signature. We can see the correct signature when flashing a brnImage via recovery web-interface, in this case brnboot reports: [CGI-Signature Check] buf:[BRNDA6431], sigInFlash:[BRNDA6431] Thanks to Mathias Kresin for reporting this. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> SVN-Revision: 48269
* ar8327: add IGMP Snooping supportFelix Fietkau2016-01-172-0/+232
| | | | | | | | | | | | | | | This add support for IGMP Snooping on atheros switches (disabled by default), which avoids flooding the network with multicast data. Tested on TL-WDR4300: disabling IGMP Snooping results in multicast flooding on each specific port, enabling it back again prevents each port from receiving all multicast packets. Partially based on: http://patchwork.ozlabs.org/patch/418122/ Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 48268
* brcm2708: add linux 4.4 supportFelix Fietkau2016-01-17127-11/+141130
| | | | | | | | | | | | | - random-bcm2708 and spi-bcm2708 have been removed. - sound-soc-bcm2708-i2s has been upstreamed as sound-soc-bcm2835-i2s. Let's keep linux 4.1 for a while, since linux 4.4 appears to have some issues with multicast traffic on RPi ethernet: https://gist.github.com/Noltari/5b1cfdecce5ed4bc08fd Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 48266
* uml: update to linux 4.4Felix Fietkau2016-01-178-180/+52
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48265
* lantiq: Switch to the generic mtdsplit parser implementationsFelix Fietkau2016-01-172-192/+3
| | | | | | | | | This removes the arch-specific mtdsplit parsers and enables the generic implementations for brnImage, EVA and TP-Link instead. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> SVN-Revision: 48264
* kernel: mtdsplit_squashfs: Align with the erase-block sizeFelix Fietkau2016-01-171-1/+1
| | | | | | | | | | | | | | On most image types the rootfs ends at an erase-block. However, at least with brnImages this is not the case: while the partitions are aligned with the erase-block size there is a 12 byte footer at the end of the partition which must not be touched by any filesystem. This lead to a rootfs_data partition which was not aligned properly (and thus ended up being readonly): 0x000000480000-0x00000085a800 : "rootfs_data" (128 KiB EB) Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> SVN-Revision: 48263
* 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> SVN-Revision: 48262
* 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> SVN-Revision: 48261
* kernel: disable bogus DEVTMPFS config overridesFelix Fietkau2016-01-174-5/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48260
* 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> SVN-Revision: 48249
* 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> SVN-Revision: 48248
* 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> SVN-Revision: 48241
* 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> SVN-Revision: 48240
* 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> SVN-Revision: 48239
* kernel: backport perf build fixes to 4.1Felix Fietkau2016-01-142-0/+81
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48231
* 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> SVN-Revision: 48230
* 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> SVN-Revision: 48229
* 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> SVN-Revision: 48228
* 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> SVN-Revision: 48227
* kernel/3.18: update to version 3.18.25Hauke Mehrtens2016-01-1217-160/+48
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 48225
* kernel/4.3: update to version 4.3.3Hauke Mehrtens2016-01-1238-534/+209
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de SVN-Revision: 48224
* kernel/4.1: update to version 4.1.15Hauke Mehrtens2016-01-1218-226/+42
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 48223
* kernel: refresh patches for kernel 4.4Hauke Mehrtens2016-01-1244-196/+97
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 48222
* pxa: moved to targets feedFelix Fietkau2016-01-1218-3508/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48217
* x86: update to linux 4.4Felix Fietkau2016-01-129-73/+173
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48216
* kernel: add missing symbols for linux 4.4Felix Fietkau2016-01-121-0/+5
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48215
* sdk: add base repository fallbackJo-Philipp Wich2016-01-121-0/+1
| | | | | | | | | | | | | | When the build system cannot infer its own repository url then let it fall back to http://git.openwrt.org/ for the base feed. The path to openwrt.git is guessed from the VERSION_NUMBER variable: "unknown" or "r12345" -> http://git.openwrt.org/openwrt.git "15.05.1" -> http://git.openwrt.org/15.05/openwrt.git Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 48212
* target/sdk: include modules.builtin, it is necessary for packaging kernel ↵Felix Fietkau2016-01-111-0/+1
| | | | | | | | modules Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48206
* 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> SVN-Revision: 48203
* x86: remove obsolete patchesFelix Fietkau2016-01-107-1031/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48190
* 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> SVN-Revision: 48189
* ar71xx: fix ap152 supportFelix Fietkau2016-01-103-1/+2
| | | | | | | | | | - ethernet gigabit pll - switch configuration - sysupgrade Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 48187
* sunxi: initial 4.4 supportZoltan Herpai2016-01-0929-0/+4391
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 48161
* sunxi: prep module support options for 4.4Zoltan Herpai2016-01-091-8/+14
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 48160
* kernel/4.4: add missing config optionsZoltan Herpai2016-01-091-0/+39
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 48159
* target/sdk: do not include the target staging dir anymore, it is unnecessary nowFelix Fietkau2016-01-081-2/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48157
* target/sdk: ship .ko files to allow rebuild of the base kmod-* packagesFelix Fietkau2016-01-081-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48156
* 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> SVN-Revision: 48147
* targets: add kernel image dependencies on device tree filesFelix Fietkau2016-01-066-0/+6
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48146
* 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> SVN-Revision: 48144
* 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> SVN-Revision: 48142
* ramips: fix duplicate /dts-v1/ line for WRTNODE2Felix Fietkau2016-01-061-2/+0
| | | | | | Signed-off-by: Noble Pepper <openwrtmail@noblepepper.com> SVN-Revision: 48138
* ramips: set mips16 supportFelix Fietkau2016-01-041-1/+1
| | | | | | Signed-off-by: Cristian Morales Vega <cristian@samknows.com> SVN-Revision: 48131
* sunxi: fix Lamobo R1 board detectionZoltan Herpai2016-01-041-1/+1
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 48130
* 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> SVN-Revision: 48115
* ralink: update the usb phy driver to the version sent upstreamJohn Crispin2016-01-047-92/+120
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 48114
* 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> SVN-Revision: 48113