aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* kernel: prevent adding custom string to localversionJosua Mayer2016-08-181-0/+1
| | | | | | | | | When the kernel build picks up a localversion file in the source tree, that string is unconditionally appended to LOCALVERSION and affects the uname string. Make sure to delete any such file. Signed-off-by: Josua Mayer <josua.mayer97@gmail.com>
* kernel: prevent addition of scm marker to localversionJosua Mayer2016-08-181-0/+4
| | | | | | | | | When building the kernel from a git repository, the kernel build appends either a + or a short commit hash to localversion. This behaviour can be prevented by passing the empty LOCALVERSION variable to make. Signed-off-by: Josua Mayer <josua.mayer97@gmail.com>
* mtd: fix building with glibcJosua Mayer2016-08-181-0/+1
| | | | | | | | src/linksys_bootcount.c misses to include stdint.h. Apparently musl doesn't mind and includes this header by default, but glibc does not and causes the build to fail. Signed-off-by: Josua Mayer <josua.mayer97@gmail.com>
* u-boot-envtools: fix building with glibcJosua Mayer2016-08-181-0/+13
| | | | | | | | tools/env/fw_env.c misses to include stdint.h. Apparently musl doesn't mind and includes this header by default, but glibc does not and causes the build to fail. Signed-off-by: Josua Mayer <josua.mayer97@gmail.com>
* ipq806x: sync with latest patches sent by QCAJohn Crispin2016-08-1811-93/+1350
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ubox: fixes segfault inside kmodloaderJohn Crispin2016-08-181-2/+2
| | | | | | null pointer deref when no modules folder was present Signed-off-by: John Crispin <john@phrozen.org>
* kernel: bgmac: add support for BCM53573Rafał Miłecki2016-08-182-11/+171
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: bgmac: fix regression in MII registrationRafał Miłecki2016-08-181-0/+29
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: bgmac: backport 3 remaining small fixesRafał Miłecki2016-08-173-0/+95
| | | | | | This makes bgmac in sync with upstream verison. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: bgmac: backport patch adding platform supportRafał Miłecki2016-08-173-25/+1289
| | | | | | It also reworks bcma support by moving specific code to separated file. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: bgmac: backport patch switching to feature_flagsRafał Miłecki2016-08-173-5/+451
| | | | | | | It was needed upstream to avoid bcma references in the main code. To match this new code our patch adding SRAB was also updated. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* archs38: Introduce images for SD-cardsAlexey Brodkin2016-08-1613-80/+132
| | | | | | | | | | | | | | | | | | Historically on ARC we started from initramfs-based images because: a) It was much easier to debug especially when toolchain and other components were changing quite dynamically b) It was our usual approach for embedded Linux But now with ARC port of Lede/OpenWRT getting more stable and mature we're ready for more real-life scenarios with FS permanently stored on SD-card. This essentially benefits from ability to setup devices that survive reboots with all settings and extra packages kept in place. Still we keep an ability to build images with initramfs. This allows us to use storage-less simulators for testing still. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: John Crispin <john@phrozen.org>
* archs38: Remove MMC kernel modules, they are built-in nowAlexey Brodkin2016-08-162-2/+2
| | | | | | | | If we want to boot from SD-card we need to have corresponding drivers already built-in so there's no point in having these modules. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* archs38: Update kernel configurationAlexey Brodkin2016-08-161-2/+9
| | | | | | | | | | | | | | Now when we're switching to FS on SD-card it's necessary to have full stack of MMC block & FC drivers built-in otherwise kernel won't be able to mount FS with needed modules. Also we enable parsing of input parameters passed to the kernel by U-Boot. Otherwise kernel won't know where to look for command line and what's worse device tree blob (we had to disable this by default for cases when kernel is loaded by JTAG and core registers may have undefined state lading to kernel going bonkers). Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* archs38: Reduce generalizationAlexey Brodkin2016-08-161-23/+11
| | | | | | | | | | | | | | As support of ARC HS38 in OpenWRT/Lede matures we don't need debug-only output binaries any longer, so purging vmlinux for AXS10x boards. As for uImage for nSIM it makes completely no sense because there's no way to run U-Boot on nSIM. So we remove add_archs38_XXX scripts making code more compact and cleaner. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* arc: use patched .dts from sourcesAlexey Brodkin2016-08-1613-943/+194
| | | | | | | | | | | | | | Instead of using off-the-tree .dts files for ARC boards we're switching to use in-tree ones. And for that to work properly we apply upstream patch that adds currently missing "model" property. Upstream patch and discussion could be found here: http://lists.infradead.org/pipermail/linux-snps-arc/2016-August/001394.html Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Jonas Gorski <jonas.gorski@gmail.com> Cc: John Crispin <john@phrozen.org>
* tools/tar: Bump to 1.29Alexey Brodkin2016-08-162-19/+2
| | | | | | | | | This change updates tar from 1.28 to 1.29. Among other changes following commit http://git.savannah.gnu.org/cgit/tar.git/commit/lib/xattr-at.c?h=9c2b57232e3bc2e5ba85387560bcdd851849a128 substitutes previously used off-the-tree patch 100-fix_xattr_disable.patch Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* ath9k: switch to using mac80211 intermediate software queuesFelix Fietkau2016-08-174-6/+950
| | | | | | | Provides a nice latency reduction under load, due to mac80211's fq_codel support. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: backport bgmac patch moving MDIO code into separated fileRafał Miłecki2016-08-172-9/+685
| | | | | | This prepares bgmac for the biggest change: dropping bcma dependency. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: backport simple bgmac cleanup & fix from JonRafał Miłecki2016-08-163-5/+524
| | | | | | | These 2 trivial patches will be followed by a bigger bgmac rework so they are worth backporting in a separated patch. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: add BCM53573 flash fix sent upstreamRafał Miłecki2016-08-161-0/+57
| | | | | | | This fixes flash corruptions. It touches bcm47xxsflash driver shared between brcm47xx and bcm53xx so put it in generic. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: update bgmac by adding Florian's upstream changesRafał Miłecki2016-08-165-4/+202
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* swconfig: revert the portmapping patches, they seem to cause a segfaultJohn Crispin2016-08-168-1/+228
| | | | | | | | | | | | Revert "kernel/swconfig: remove obsolete portmapping feature from swconfig" This reverts commit 675407baa44a8700de20b6b2857009a552a807ba. Revert "swconfig: remove obsolete portmapping feature" This reverts commit fca1eb349ef31b133a62880cbd562d6bf17500aa. Signed-off-by: John Crispin <john@phrozen.org>
* bcm53xx: fix warning caused by m25p80 patchRafał Miłecki2016-08-161-5/+2
| | | | | | | | | | It was adding unused variable: drivers/mtd/devices/m25p80.c: In function 'm25p80_write': drivers/mtd/devices/m25p80.c:85:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: support watchdog (and so reboot) on BCM53573Rafał Miłecki2016-08-161-0/+104
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* lantiq/xrx200-net: Add support for eth0 as WAN interfaceMartin Schiller2016-08-151-1/+1
| | | | | | | | Use priv->wan instead of priv->id as indicator if packets should go to the Ethernet WAN group (DPID=1) or not (DPID=0). This way, it's independant of interface names or indexes. Signed-off-by: Martin Schiller <mschiller@tdt.de>
* kernel: add kmod-squashfsMatteo Croce2016-08-151-0/+16
| | | | | | add kernel package to build squashfs as module when it's not the root filesystem Signed-off-by: Matteo Croce <matteo.croce@canonical.com>
* lantiq: add kmod-ledtrig-usbdev to device packages which have usb ledMatti Laakso2016-08-151-5/+5
| | | | | | | | By default USB LEDs are associated with usbdev trigger. However, not all devices which have USB LEDs have kmod-ledtrig-usbdev in their list of default packages. Add it to the relevant devices. Signed-off-by: Matti Laakso <matti.laakso@outlook.com>
* libs/gmp: update to 6.1.1Hannu Nyman2016-08-151-2/+2
| | | | | | Update libgmp to 6.1.1 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* tools/gmp: update to 6.1.1Hannu Nyman2016-08-151-2/+2
| | | | | | Update gmp to 6.1.1 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* tools/scons: update to 2.5.0Hannu Nyman2016-08-151-2/+2
| | | | | | Update scons to 2.5.0 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* tools/cmake: update to 3.6.1Hannu Nyman2016-08-153-7/+7
| | | | | | Update cmake to 3.6.1 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* package/devel/gdb: Update to 7.11.1Hannu Nyman2016-08-151-2/+2
| | | | | | Update gdb to version 7.11.1 to match the version in toolchain. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* rb532: rename patches directory to patches-4.1Stijn Tintel2016-08-153-24/+22
| | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* orion: rename patches directory to patches-3.18Stijn Tintel2016-08-154-54/+52
| | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* omap: rename patches directory to patches-4.4Stijn Tintel2016-08-151-4/+3
| | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* au1000: rename patches directory to patches-3.18Stijn Tintel2016-08-155-31/+30
| | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* malta: enable be64 and le64 subtargetsYousong Zhou2016-08-156-1/+18
| | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* octeon: remove the now redundant cpu cflags overrideYousong Zhou2016-08-151-1/+0
| | | | | | The flags are now properly defined in include/target.mk Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* lantiq/xrx200-net: add interrupt for second DMA TX channel to vr9.dtsiMartin Schiller2016-08-151-1/+1
| | | | Signed-off-by: Martin Schiller <mschiller@tdt.de>
* lantiq/xrx200-net: fix "tx ring full" error by introducing second DMA TX channelMartin Schiller2016-08-151-17/+31
| | | | | | | | | | With an own DMA TX channel for each network device (eth0 + eth1) there won't be any "tx ring full" errors any more. This patch also move the spinlocks to the channel level instead of locking the whole xrx200_hw structure. Signed-off-by: Martin Schiller <mschiller@tdt.de>
* swconfig: remove obsolete portmapping featureJohn Crispin2016-08-153-104/+0
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* kernel/swconfig: remove obsolete portmapping feature from swconfigJohn Crispin2016-08-155-124/+1
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* samba: add file/interface reload triggers & filter interfacesConn O'Griofa2016-08-151-9/+10
| | | | | | | | | | | | | | | | * Only parse interfaces that are up during init_config (as the script depends on this to determine the proper IP/subnet range) * Add reload interface triggers for samba-designated interfaces * Force full service restart upon config change to ensure Samba binds to new interfaces (sending HUP signal doesn't work) * Rename "interface" variable to "samba_iface" and move into global scope Needed to fix Samba connectivity for clients connecting from a different LAN subnet (e.g. pseudobridge configurations) due to the 'bind interfaces only' setting. Signed-off-by: Conn O'Griofa <connogriofa@gmail.com>
* ar71xx: fix profile name of Mercury MW4530RChuanhong Guo2016-08-152-2/+2
| | | | | | | | The mw4530r-v1 profile in tp-link.mk is for Mercury MW4530R. There is no such a device called TL-WDR4530. Also change MERCURY to Mercury in /lib/ar71xx.sh Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
* procd: update to latest git HEADJohn Crispin2016-08-151-2/+2
| | | | | | adds O_PATH define Signed-off-by: John Crispin <john@phrozen.org>
* ncurses: change handling of PKG_CONFIG_LIBDIRJo-Philipp Wich2016-08-156-9/+92
| | | | | | | | | | | | | | When PKG_CONFIG_LIBDIR was unset in the environment, the configure script was deducing the PKG_CONFIG_LIBDIR from the location of the pkg-config binary, which doesn't make a lot of sense, and isn't done by other autotools based packages. Patch imported from the Buildroot project: https://github.com/buildroot/buildroot/blob/master/package/ncurses/0001-fixup-pkg-config-handling.patch Also refresh patches while we're at. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* scripts: ipkg-build: do not require git or svnJo-Philipp Wich2016-08-151-2/+2
| | | | | | | | Move the "which svn" and "which git" calls next to the timestamp commands using those tools to not prematurely fail on systems where svn or git are not present. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* kernel: fix crashlog on x86/64Jo-Philipp Wich2016-08-151-2/+6
| | | | | | | | | | | | The bootmem area reserved for crashlog might be smaller than CRASHLOG_OFFSET bytes, leading to an integer underflow when calculating the memory address in crashlog_set_addr() which subsequently causes the kernel to crash when attempting to vmap() the crashlog pages. Change the logic to only consider the offset when the size of the used memory area is sufficient. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* bcm53xx: add quick fixes for BCM53573Rafał Miłecki2016-08-151-0/+97
| | | | | | | | It adds and uses ILP clock that requires some other work (in progress) for upstreaming it. Other than that it adds a quick fix for bcma to add serial flash before trying to read SPROM. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>