aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mcs814x
Commit message (Collapse)AuthorAgeFilesLines
* kernel: only optimized for size if small_flashMathias Kresin2018-07-122-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | Add a new config option to allow to select the default compile optimization level for the kernel. Select the optimization for size by default if the small_flash feature is set. Otherwise "Optimize for performance" is set. Add the small_flash feature flag to all (sub)targets which had the optimization for size in their default kernel config. Remove CC_OPTIMIZE_FOR_* symbols from all kernel configs to apply the new setting. Exceptions to the above are: - lantiq, where the optimization for size is only required for the xway_legacy subtarget but was set for the whole target - mediatek, ramips/mt7620 & ramips/mt76x8 where boards should have plenty of space and an optimization for size doesn't make much sense - rb532, which has 128MByte flash Signed-off-by: Mathias Kresin <dev@kresin.me>
* kernel: mark all v3.18 and v4.4 kernels are source-onlyJohn Crispin2018-05-241-1/+1
| | | | | | These will be removed if not updated to v4.4 Signed-off-by: John Crispin <john@phrozen.org>
* build: replace uses of OpenWrt with $(VERSION_DIST)Felix Fietkau2018-02-051-1/+1
| | | | | | This makes the distribution name more configurable. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* merge: targets: update image generation and targetsZoltan HERPAI2017-12-081-1/+1
| | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* treewide: drop target board_name functionsMathias Kresin2017-07-151-9/+0
| | | | | | They are not used any longer. Signed-off-by: Mathias Kresin <dev@kresin.me>
* treewide: use the generic board_name functionMathias Kresin2017-07-151-2/+1
| | | | | | Use the generic function instead ot the target specific ones. Signed-off-by: Mathias Kresin <dev@kresin.me>
* treewide: populate boardname and model earlierMathias Kresin2017-07-151-0/+0
| | | | | | | | | | | | | For targets using the generic board detection and board specific settings in diag.sh, the board name is still unset at the time the set_state() provided by diag.sh is called by 10_indicate_preinit. Change the execution order to ensure the boardname is populated before required the first time. Do the target specific board detection as early as possible, directly followed by the generic one to allow a seamless switch to the generic function for populating /tmp/sysinfo/. Signed-off-by: Mathias Kresin <dev@kresin.me>
* kernel: remove kmod packages for bridge, stp, llc and 8021qFelix Fietkau2017-02-091-1/+0
| | | | | | | Remove CONFIG_VLAN_8021Q overrides for two targets These features are built into the kernel image for all targets Signed-off-by: Felix Fietkau <nbd@nbd.name>
* treewide: dts: use C style includesMathias Kresin2016-11-123-3/+3
| | | | | | | No functional change but allows me to use one script to compile all device tree source files. Signed-off-by: Mathias Kresin <dev@kresin.me>
* kernel: update kernel 3.18 to version 3.18.43Stijn Tintel2016-10-241-1/+1
| | | | | | | | | | Refresh patches for all targets supporting 3.18 and not marked broken. Compile-tested on all targets using 3.18 and not marked broken. Changes to generic/610-netfilter_match_bypass_default_checks.patch based on 84d489f64f3b382d5544e342f66d8806e94e85d3. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* switch to the new usbport LED triggerRafał Miłecki2016-10-191-1/+1
| | | | | | | This makes init.d script handle existing UCI entries using the new trigger. It also switches all targets to use its package. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* branding: add LEDE brandingJohn Crispin2016-03-241-1/+1
| | | | Signed-off-by: John Crispin <blogic@openwrt.org>
* all: drop old uci-defaults.shJo-Philipp Wich2015-12-112-2/+2
| | | | | | | | | Replace former uci-defaults.sh implementation with the uci-defaults-new.sh one and update all users accordingly. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47867
* mcs814x: switch from uci-defaults to board.dJo-Philipp Wich2015-12-043-24/+17
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47761
* kernel: update kernel 3.18 to version 3.18.23Hauke Mehrtens2015-11-011-1/+1
| | | | | | | | | | Changelog: * https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.22 * https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.23 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 47334
* mcs814x: use firmware partition splitter on dLAN USB ExtenderJohn Crispin2015-08-173-9/+5
| | | | | | | | | to avoid editing the dts every time the kernel size changes. uImage is now bigger than 1MB. Pad uImage to 64k erase block size. Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de> SVN-Revision: 46648
* mcs814x: fix interrupt handlingJohn Crispin2015-08-172-22/+27
| | | | | | | | | | Switch to generich chip irqs/irq domains. Interrupts were broken since kernel 3.14. dLAN USB extender is now booting again. Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de> SVN-Revision: 46647
* mcs814x: fix debug UARTJohn Crispin2015-08-172-3/+48
| | | | | | | | | | Switch to new 8250 debug uart code because the old mach-mcs814x/include/mach/debug-macro.S tries to include asm/hardware/debug-8250.S which no longer exists since kernel 3.14 Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de> SVN-Revision: 46646
* image: fix jffs2(_nand) image generationJonas Gorski2015-08-051-2/+3
| | | | | | | | | | | | Variables dependend on JFFS2_BLOCKSIZE and NANDBLOCK_SIZE are used for template generation, so need to be present before inclusion of image.mk in target image Makefiles. So move all declarations to before any includes. Fixes: r42878 ("image.mk: clean up and parallelize mkfs calls") Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46564
* kernel: update 3.18 to 3.18.14Jonas Gorski2015-05-211-1/+1
| | | | | | | | | | | | | | Changelogs: * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.12 * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.13 * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.14 Build tested on brcm63xx and ipq806x, runtested on brcm63xx. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 45711
* mcs814x: drop 3.14Luka Perkov2015-04-1144-3969/+0
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 45372
* kernel: CONFIG_BRIDGE should not be overriddenJohn Crispin2015-04-052-2/+0
| | | | | | | | this breaks ebtables, netfilter, ... during fullbuilds Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45276
* mcs814x: switch to 3.18 kernelFlorian Fainelli2015-04-041-1/+1
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 45274
* mcs814x: add support for 3.18Florian Fainelli2015-04-0443-0/+4004
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 45273
* kernel: disbale HAMRADIO in generic configJohn Crispin2015-03-061-1/+0
| | | | | | | | | | | | | | | HAMRADIO enabled in all generic configs, but no one platform directly use related drivers/protocols. This symbol is only used for kmod-ax25 package modules. Furthermore, half of platforms explicitly disables this symbol, what silently disables build of modules for kmod-ax25 package. So disable HAMRADIO by-default in generic config, add it to kmod-ax25 package and remove it from platform specific configs. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 44613
* mcs814x: remove linux 3.3 supportFelix Fietkau2015-01-2446-4103/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44106
* mcs814x: document how to include 3rd party binary packagesFlorian Fainelli2015-01-211-2/+9
| | | | | | | | | | The dLAN USB Extender profile was referecing binary packages which are not to be included in any of the source-only feeds. Instead remove these references and document how to use the 3rd party feed. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 44071
* mcs814x: switch to 3.14 kernelFlorian Fainelli2015-01-101-1/+1
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 43927
* mcs814x: add 3.14 kernel supportFlorian Fainelli2015-01-1044-0/+3971
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 43926
* mcs814x: account for dtb output directory differencesFlorian Fainelli2015-01-101-1/+7
| | | | | | | | | 3.3 produced *.dtb files in arch/arm/boot/ while 3.14 will produce those in arch/arm/boot/dts/, adjust the image makefile accordingly. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 43925
* mcs814x: set low_mem feature flagFlorian Fainelli2015-01-101-1/+1
| | | | | | | | | Most of the devices we support have between 16MiB and 32MiB of RAM available. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 43924
* mcs814x: rename config-default to config-3.3Florian Fainelli2015-01-101-0/+0
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 43923
* kernel: makefiles: make use of new var KERNEL_PATCHVERFelix Fietkau2014-10-241-1/+1
| | | | | | | | | | | replace all occurences of LINUX_VERSION with the cleaner approach. future kernel upgrades must mostly touch only one file. the only platform left is netlogic, because it uses a intermediate kernel 3.14.16 Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> SVN-Revision: 43047
* network: Unbind DHCPv6 from underlying interfacesSteven Barth2014-10-081-1/+1
| | | | | | | | | This allows IPv6 to set up without IPv4 being up thus IPv6-only or IPv6+DS-Lite working with the default config. Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 42848
* targets: remove useless quotes around KERNELNAMEFelix Fietkau2014-10-051-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42780
* kernel: do not deactivate CONFIG_BLK_DEVHauke Mehrtens2014-09-131-1/+0
| | | | | | | | | | CONFIG_BLK_DEV does not activate any functionality, but many code, but makes it possible to activate other options. Deactivating this breaks the build of kmod-zram. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 42528
* build: unify arm target cflagsFelix Fietkau2013-09-261-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 38211
* mcs814x: dlan-usb-extender: fix usbdev triggerFlorian Fainelli2013-09-021-1/+1
| | | | | | | | | | Every device I connect to the USB port is detected as 2-1, not 1-1. So adjust the default setting accordingly. Signed-off-by: Michael Heimpold <mhei@heimpold.de> Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 37882
* mcs814x: enable POSIX file lockingFlorian Fainelli2013-08-091-1/+0
| | | | | | | | | | | | | | | | | opkg (and possible other tools) are currently broken as it requires file locking support enabled in the kernel. Without this results in a message like: root@OpenWrt:/etc/config# opkg update Collected errors: * opkg_conf_load: Could not lock /var/lock/opkg.lock: Permission denied. With this patch opkg is fully functional on this platform. Signed-off-by: Michael Heimpold <mhei@heimpold.de> Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 37745
* build: unify target independent optimization optionsFelix Fietkau2013-07-291-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37600
* targets: prepare for supporting normal and initramfs imagesFlorian Fainelli2013-06-271-12/+11
| | | | | | | | | | | | In order to support both normal images and initramfs, ensure that each target sets KERNELNAME properly so that the generic kernel building code can copy the corresponding files over $(KDIR) with the appropriate extension. Update the various paths to the kernel and wrapper images from $(LINUX_DIR)/arch/$(ARCH)/boot/$(foo) to $(KDIR)/$(foo). Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 37049
* target: don't build jffs2 nor images by defaultJonas Gorski2013-06-051-1/+1
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 36863
* Change default IPv6 config to enable DHCPv6-PDSteven Barth2013-04-221-1/+1
| | | | SVN-Revision: 36384
* Adapt default network configuration for IPv6Steven Barth2013-04-091-0/+8
| | | | SVN-Revision: 36278
* mcs814x: use devm_request_and_ioremap in mcs814x-rng driverFlorian Fainelli2013-03-171-8/+1
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 36063
* mcs814x: use devm_request_and_ioremap helper for nuport_mac driverFlorian Fainelli2013-03-171-4/+2
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 36062
* mcs814x: remove PCI codeFlorian Fainelli2013-03-176-484/+1
| | | | | | | | | None of the boards we support are using it nor have it wired out of the SoC, just remove it. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 36061
* mcs814x: implement MULTI_IRQ_HANDLERFlorian Fainelli2013-03-164-25/+24
| | | | | | | | Allows us to get rid of the IRQ entry point assembly Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 36060
* mcs814x: use the standard device tree binding to represent a PHY nodeFlorian Fainelli2013-03-164-3/+38
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 36059
* all targets: use numerically prefixed uci-defaults file names to better ↵Jo-Philipp Wich2013-01-181-0/+0
| | | | | | control order of execution SVN-Revision: 35217