aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* brcm63xx: move gzip build command to include/image.mkJonas Gorski2015-08-142-5/+5
| | | | | | | | Allow other targets to make use of it. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46601
* image.mk: add a fit recipeJonas Gorski2015-08-141-0/+10
| | | | | | | | Add a recipe to build a fit wrapped kernel (and optional dtb). Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46600
* ipq806x: disable dma for spi on linux 4.1 as wellJonas Gorski2015-08-144-16/+3
| | | | | | | | | Linux 4.1 is also affected from the dma issue, so remove the dma proprties there as well. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46599
* kernel: update 4.1 to 4.1.5Jonas Gorski2015-08-1474-585/+332
| | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.5 Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46598
* image.mk: store the device name variableJonas Gorski2015-08-143-16/+4
| | | | | | | | | Make the device name accessible for any build commands instead of forcing targets to define it themselves. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46597
* image.mk: replace all Build/netgear-chk with a generic implementationJonas Gorski2015-08-144-21/+9
| | | | | | | | | Instead of letting each target define it themselves, create on in include/image.mk and let the targets use it. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46596
* brcm63xx: prefix netgear specific device variables with NETGEAR_Jonas Gorski2015-08-141-4/+4
| | | | | | | | Rename BOARD_ID to NETGEAR_BOARD_ID. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46595
* brcm47xx: prefix netgear specific device variables with NETGEAR_Jonas Gorski2015-08-141-5/+5
| | | | | | | | Rename BOARD_ID to NETGEAR_BOARD_ID and REGION to NETGEAR_REGION. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46594
* bcm53xx: prefix netgear specific device variables with NETGEAR_Jonas Gorski2015-08-141-7/+7
| | | | | | | | Rename BOARD_ID to NETGEAR_BOARD_ID and REGION to NETGEAR_REGION. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46593
* image.mk: move KDIR_TMP definition to a central locationJonas Gorski2015-08-145-8/+1
| | | | | | | | | | | Instead of each target defining it the same, move the KDIR_TMP definition to include/image.mk. In addition Image/Build/SysupgradeNAND already requires KDIR_TMP to be set, so it makes sense to have it globally defined. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46592
* image: fix handling of per-device kernel build commandsFelix Fietkau2015-08-131-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46589
* oprofile: fix path to kernel headersFelix Fietkau2015-08-131-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46588
* ipq806x: disable DMA on the SPI flashFelix Fietkau2015-08-134-16/+3
| | | | | | | | | | | | | Previous patch 6f2905eeb6ce5ddec8d12d677e1f377a940b537b enabled ADM in the kernel, which causes a kernel panic when accessing the SPI flash. As a workaround, We'll disable DMA for the flash for now. It was not enabled previously anyway so we'll just leave it as is. Reported-by: Jonas Gorski <jogo@openwrt.org> Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 46587
* brcm47xx: fix reading WGT634U CFE variablesRafał Miłecki2015-08-121-6/+6
| | | | | | | | | | We got check for nvram_len placed too early and the code never tried reading CFE variables used on WGT634U. This is a regression introduced in r45942 and reported in #20291. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 46584
* base-files: buttons: make power script return 0Rafał Miłecki2015-08-121-0/+2
| | | | | | | | It was missed in the r46471. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 46582
* procd: switch buttons to the new "button" hotplug handlerRafał Miłecki2015-08-101-1/+1
| | | | | | | | | This allows requesting "timeout" ACTION in script by returning a positive value. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 46580
* procd: update to the latest version, add "button" hotplug handlerRafał Miłecki2015-08-101-2/+2
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 46578
* kernel: crypto: fix depends in kmod-crypto-hmacHauke Mehrtens2015-08-091-2/+1
| | | | | | | | This module had two depends lines. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46576
* kernel: crypto: fix module loading of cryptomgr.koHauke Mehrtens2015-08-091-0/+1
| | | | | | | | There was no rule to load this module. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46575
* kernel: crypto: fix module loading of aead.koHauke Mehrtens2015-08-091-1/+1
| | | | | | | | | | The name of the module was wrong before. This should fix #20283. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46574
* kernel: add missing symbols for 4.1Zoltan Herpai2015-08-091-0/+8
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 46573
* ar71xx: export some clock functions used by some modulesHauke Mehrtens2015-08-091-0/+28
| | | | | | | | | | | | | | | | | This fixes this linking problem: ERROR: "clk_set_rate" [drivers/usb/phy/phy-generic.ko] undefined! ERROR: "clk_round_rate" [drivers/media/v4l2-core/videodev.ko] undefined! ERROR: "clk_set_rate" [drivers/media/v4l2-core/videodev.ko] undefined! In the upstream kernel it is fixed here: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=411520af8ec9456886359b42628e583ac58e7e44 This closes: #20162, #20172, #20196, #20197, #20202 and #20308 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46572
* sunxi: add support for 4.1Zoltan Herpai2015-08-0965-0/+13870
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 46571
* kernel: update 3.18 to 3.18.20Hauke Mehrtens2015-08-099-28/+28
| | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.20 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46570
* ipq806x: enable NAND flash support in the kernelFelix Fietkau2015-08-073-3/+39
| | | | | | | | | | | | | | | | | Previous patch set backported the recently posted NAND flash driver to 3.18 and 4.1 kernel. This patch now enables it in the kernel config. There is no change to the partition layout and init yet. But the NAND flash can be seen in the mtd list on an AP148: root@OpenWrt:/# cat /proc/mtd dev: size erasesize name mtd0: 10000000 00020000 "qcom-nandc" ... Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 46569
* ipq806x: add NAND flash controller supportFelix Fietkau2015-08-0716-26/+4739
| | | | | | | | | | | | | These patches add support for ipq806x NAND flash controller. Most of these are cherry-picked & backported from LKML: *https://lkml.org/lkml/2015/8/3/16 This patch just modifies the kernel code, but doesn't change the config. It should be harmless. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 46568
* ipq806x: Add ADM supportFelix Fietkau2015-08-0718-8/+2448
| | | | | | | | | | | | | | | | These are cherry-picked & backported from LKML: *https://lkml.org/lkml/2015/3/17/19 They are enabled on both 3.18 and 4.1 kernel. Patches 150 to 154 are applying changes merged since 3.18; they enable mechanisms used by the ADM driver. ADM engine is used by the NAND controller, so it is necessary to bring-up NAND flash support. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 46567
* mac80211: mwl8k: init devices synchronouslyJonas Gorski2015-08-051-0/+20
| | | | | | | | Make sure phys are probed and present before we detect wifis. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46566
* kirkwood: add wpad-mini to router profilesJonas Gorski2015-08-051-2/+2
| | | | | | | | Without it the wifi isn't really usable. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46565
* image: fix jffs2(_nand) image generationJonas Gorski2015-08-058-13/+23
| | | | | | | | | | | | 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
* brcm63xx: fix crash on 6358/6368 when booting from thread 1Jonas Gorski2015-08-051-0/+49
| | | | | | | | | | | It looks like RAC flushes cause random corruption(?) when the second thread is set as default. Fixes #20160. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46563
* brcm63xx: Add support for Plusnet 2704NJonas Gorski2015-08-059-0/+236
| | | | | | | | BCM6318: add support for Plusnet / Sagem 2704N (V1) Signed-off-by: Matt Goring <matt.goring@googlemail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46562
* brcm63xx: build image for DSL-275XB D1Jonas Gorski2015-08-051-1/+1
| | | | | | | | It boots fine, so no reason to not build it. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46561
* kernel: update 4.1 to 4.1.4Jonas Gorski2015-08-0517-318/+42
| | | | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.4 Signed-off-by: Daniel Golle <daniel@makrotopia.org> [jogo: fix brcm2708 patches, refresh target patches] Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46560
* ipq806x: add ethernet (stmmac) supportFelix Fietkau2015-08-041-0/+5
| | | | | | | | | We forgot to enable the stmmac driver for 4.1 kernel, so ethernet interfaces don't show-up on this kernel. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 46559
* ipq806x: refresh kernel configsFelix Fietkau2015-08-042-13/+0
| | | | | | | | Remove options which have been moved into the generic config ever since. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 46558
* ipq806x: fix freeze in PCIe code when booting with an old u-bootFelix Fietkau2015-08-049-31/+757
| | | | | | | | | | | | | | | | | | | | Old bootloader (same ones which have DT disabled) don't perform any PCIe initialization. The consequence is a freeze during PCIe bring-up on these old u-boot. Same kernel with a newer bootloaders works fine as they contain the corresponding PCIe init code. In this change, we'll add the missing init and make sure the kernel doesn't rely on some preexisting init to get PCIe to work. That includes the following changes: *GPIOs: set function & drive strength *Clocks: add init code for aux & ref clocks *PCIe driver: additional init of the hardware controller Tested 3.18 and 4.1 on an AP148 with bootloader branch 0.0.1 Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 46557
* ipq806x: fix pcie pinmux naming in ipq806x dtsFelix Fietkau2015-08-046-49/+40
| | | | | | | | | | PCIe controller nodes are numbers 0/1/2 in the chipset dtsi file, but the pinmux nodes are numbers 1/2/3. We'll make it consistent by changing the pinmux numbering to match the controller's one. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 46556
* ipq806x: add support for non-dt enabled ap148 bootloaderFelix Fietkau2015-08-047-9/+47
| | | | | | | | | | | | | | | | | | | Certain AP148 platforms (and derivative) use bootloaders which did not have DT enabled. In order to support these old platforms, we'll now make the following modifications: *explicitely add the memory node in the AP148 DT: this used to be added by new u-boot through a run-time patch mechanism. We'll now add it explicitely so it works on boots which don't support that feature. New boots will have the node twice, the second one will be ignored. *add the zImage generation next to the FIT image for AP148. Other platforms using non-DT enabled bootloaders may want to leverage this zImage code to generate their own firmare as well. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 46555
* ipq806x: update bleeding-edge kernel from 4.0 to 4.1Felix Fietkau2015-08-0441-1520/+127
| | | | | | | | Default kernel doesn't change and stays on 3.18 for now. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 46554
* ar71xx: remove linux 3.18 supportFelix Fietkau2015-08-0498-10450/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46553
* acx-mac80211: update git urlHauke Mehrtens2015-08-031-1/+1
| | | | | | | | | use URL scheme documented at http://sourceforge.net/p/forge/documentation/Git/ Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46552
* cyassl: the upstream package in version 4.6.0 changedHauke Mehrtens2015-08-031-1/+1
| | | | | | | | Update the md5sum to the new version. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46551
* dnsmasq: Bump to dnsmasq2.75Hauke Mehrtens2015-08-031-2/+2
| | | | | | | | | Fixes a 100% cpu usage issue if using dhcp-script. Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46550
* ar71xx: Fix gpio_count setting for QCA953x in ath79_gpio_output_selectFelix Fietkau2015-08-022-2/+2
| | | | | | | Reported-by: Steve Brown <sbrown@cortland.com> Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 46547
* ramips: Fix Ticket #20153 swap radio calibration data pointers on the RE6500Felix Fietkau2015-08-021-2/+2
| | | | | | | | This patch fixes weak radio signal reported by nikola.georgiev Signed-off-by: L. D. Pinney <ldpinney@gmail.com> SVN-Revision: 46545
* ar71xx: fix lzma-loader kernel command line passingFelix Fietkau2015-08-021-1/+2
| | | | | | | | | The generic kernel cmdline parser ignores argv[0], this caused a regression for all lzma-loader based boards with linux 4.1 Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46544
* build: disable kernel stack protector support for i386/x86_64Felix Fietkau2015-08-021-0/+1
| | | | | | | | | | | | When stack protector support is disabled in libc (always the case for !musl), gcc assumes that it needs to use __stack_chk_guard for the stack canary. This causes kernel build errors, because the kernel is only set up to handle TLS stack canaries. Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46543
* ar71xx: fix mr3220 device profile (#19990)Felix Fietkau2015-08-011-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46541
* packages: uboot-sunxi: bump to 2015.07 - switch to using kernel-supplied dtc ↵Zoltan Herpai2015-07-319-215/+313
| | | | | | | | - refresh olimex-a13-som and lamobo-r1 patches (compile-tested only) Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 46540