aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* oxnas: add method to extract mac_adr from legacy cmdlineDaniel Golle2016-09-042-0/+34
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: kd20: generate image compatible with stock firmwareDaniel Golle2016-09-042-6/+47
| | | | | | | | * adjust MTD partitions to match vendor's scheme * generate *factory.tar.gz image compatible with stock web-if firmware upgrade interface Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: allow booting with legacy loadersDaniel Golle2016-09-044-23/+387
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* ar71xx: fix ethernet driver fast reset issue causing tx timeoutsFelix Fietkau2016-09-031-1/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: fix legacy initramfs imagesFelix Fietkau2016-09-031-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ath9k: fix regression in tx queueing patchFelix Fietkau2016-09-021-15/+22
| | | | | | | power save response frames can go through the old tx path, and the tid needs to be set for sequence numbers to be assigned correctly. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mvebu: use ptgen instead of fdisk to make the clearfog image script more ↵Felix Fietkau2016-09-021-55/+17
| | | | | | portable Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mvebu: fix boot script for booting from mmcFelix Fietkau2016-09-023-1/+44
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mvebu: add sdcard image creation scriptJosua Mayer2016-09-024-3/+154
| | | | | | | | | | | | | | | | Added gen_mvebu_sdcard_img.sh to facilitate creating an fixed-size sdcard image, adding the bootloader and populating it with actual data. Added the required rules for creating a 4GB sdcard image according to this layout: p0: boot (fat32) p1: rootfs (squashfs) p2: rootfs_data (ext4) This should be generic to any mvebu boards that can boot from block storage. Added the new sdcard image to the Clearfog image profile. Signed-off-by: Josua Mayer <josua.mayer97@gmail.com> Signed-off-by: Felix Fietkau <nbd@nbd.name> [cleanup]
* mvebu: clearfog: require uboot-mvebu-clearfogJosua Mayer2016-09-022-1/+2
| | | | | | | | | The u-boot variant for the clearfog is provided by the uboot-mvebu-clearfog, and not by the generic uboot-mvebu packae. Make sure the clearfog variant is selected when building for it. Signed-off-by: Josua Mayer <josua.mayer97@gmail.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ath10k-firmware: add QCA9887 firmwareZhao Gang2016-09-021-0/+40
| | | | | | QCA9887 is experimentally supported in compat-wireless-2016-06-20. Signed-off-by: Zhao Gang <gang.zhao.42@gmail.com>
* Add config symbols for kernel keyring supportNathaniel Wesley Filardo2016-09-021-0/+19
| | | | | | | | Enable selection of the kernel key retention framework and some of its additional facilities; see Documentation/security/keys.txt and security/keys/Kconfig for details Signed-off-by: Nathaniel Wesley Filardo <nwfilardo@gmail.com>
* mwlwifi: Updated to latest sourceGabe Rodriguez2016-09-021-2/+2
| | | | | | This commit updates the mwlwifi driver to the latest version provided in the repo. Signed-off-by: Gabe Rodriguez <lifehacksback@gmail.com>
* mac80211: add fixes for dealing with unexpected BlockAck framesFelix Fietkau2016-09-022-0/+90
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ath9k: add a bunch of powersave handling fixesFelix Fietkau2016-09-025-0/+241
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: add a powersave handling fixFelix Fietkau2016-09-021-0/+31
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* Add Issue submission template (redirect to bugs.lede-project.org)Ted Hess2016-09-011-0/+13
| | | | Signed-off-by: Ted Hess <thess@kitschensync.net>
* openssl: re-enable ARM assemblyFelix Fietkau2016-08-311-2/+2
| | | | | | | The original reason for disabling it seems to have been fixed Related discussion: https://github.com/lede-project/source/pull/307 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* imx6: disable EOF markers on UBIFelix Fietkau2016-08-311-0/+1
| | | | | | The boot loader does not recognize them and might mess up the volume Signed-off-by: Felix Fietkau <nbd@nbd.name>
* scripts/ubinize-image.sh: add support for adding custom partitionsFelix Fietkau2016-08-313-2/+29
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* glibc: re-enable parallel buildsFelix Fietkau2016-08-301-2/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* glibc: switch to 2.24 by default and remove old versions, fixes security issuesFelix Fietkau2016-08-305-85/+2
| | | | | | | | | | | | | | | | | | | 2.24 fixes the following CVEs compared to 2.23: - CVE-2016-3075 - CVE-2016-3706 - CVE-2016-1234 - CVE-2016-4429 - CVE-2016-5417 CVEs fixed in 2.23: - CVE-2015-8776 - CVE-2015-8777 - CVE-2015-8778 - CVE-2015-8779 - CVE-2014-9761 - CVE-2015-7547 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ebtables: fix build with glibcFelix Fietkau2016-08-301-2/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* dante: remove -D_GNU_SOURCE to fix build errors with current glibcFelix Fietkau2016-08-301-2/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* glibc: add 2.24Dirk Neukirchen2016-08-306-3/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | since eglibc is deprecated just use glibc as name - fix build errors w. stack-protector (observed for x86_64): libresolv_pic.a(gethnamaddr.os): In function `addrsort': gethnamaddr.c:(.text+0x425): undefined reference to `__stack_chk_guard' by additionally setting libc_cv_ssp_strong=no like previously libc_cv_ssp=no was set - fix compile errors on 2.24 x86 introduced by upstream changesets "Optimize i386 syscall inlining" errors are like: - https://sourceware.org/ml/libc-alpha/2015-10/msg00745.html and trying to fix with the whats suggested at: https://patchwork.openembedded.org/patch/118909/ leads to other error: gcc6: elf/librtld.os: In function `__mmap': (.text+0x131a9): undefined reference to `__libc_do_syscall' or: gcc5: elf/dl-load.os {standard input}: Assembler messages: {standard input}:5129: Error: symbol `__x86.get_pc_thunk.cx' is already defined instead of testing other flags/effects (-fno-omit-frame-pointer) just use -O2 (like buildroot does) instead of -Os boot+pings tested on: qemu malta (le+be) (gcc5+bin2.25.1) qemu aarch64 (gcc5+bin2.25.1) qemu x86_64 (gcc6+bin2.26) qemu x86 generic (gcc6+bin2.26) Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
* iperf: add -lm to fix build with newer glibcFelix Fietkau2016-08-301-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* iperf: drop PKG_BUILD_DIR overrideFelix Fietkau2016-08-301-1/+0
| | | | | | No longer necessary since the removal of build variants Signed-off-by: Felix Fietkau <nbd@nbd.name>
* x86: enable fpu for all subtargetsFelix Fietkau2016-08-302-2/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mvebu: add fpu to featuresJosua Mayer2016-08-301-1/+1
| | | | | | | This triggers HAS_FPU=y, and unsets CONFIG_SOFT_FLOAT. Considering all mvebu boards have an fpu, this is the desirable behaviour. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mvebu: enable ARM crypto accelerationFelix Fietkau2016-08-301-0/+19
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mvebu: enable NEON supportFelix Fietkau2016-08-301-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mvebu: make MMC driver for Clearfog builtinJosua Mayer2016-08-301-0/+5
| | | | | | | | microSD is the primary boot media for the Clearfog Pro board, and should work unconditionally. Signed-off-by: Josua Mayer <josua.mayer97@gmail.com> Signed-off-by: Felix Fietkau <nbd@nbd.name> [cleanup]
* mvebu: refresh kernel configFelix Fietkau2016-08-301-5/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: spi-nor: add support for ESMT_f25l32qa and ESMT_f25l64qaFelix Fietkau2016-08-303-2/+23
| | | | | | | | Add Support for the ESMT_F25L32QA and ESMT_F25L64QA. These are 4MB and 8MB SPI NOR Chips from Elite Semiconductor Memory Technology Signed-off-by: L. D. Pinney <ldpinney@gmail.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: make serial port sysrq-disable patch more generic (FS#112)Felix Fietkau2016-08-293-25/+26
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* Revert "opkg: use vfork on gz_open by default (FS#120)"Jo-Philipp Wich2016-08-281-20/+0
| | | | | | | | | | This reverts commit 763f5d787316ec1b041450a644ecd9416f11e94f. Currently the vfork() code path in opkg is broken and relies on unsupported ftello() / fseeko() operations on pipes - we need to restructure the code before we can reconsider this approach. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* Revert "opkg: disable the use of vfork for the host build"Jo-Philipp Wich2016-08-282-13/+8
| | | | | | | | | | This reverts commit 02e3c718e9ad0c14aa3cf359ba2a4763e81df805. Currently the vfork() code path in opkg is broken and relies on unsupported ftello() / fseeko() operations on pipes - we need to restructure the code before we can reconsider this approach. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ath10k-firmware: Update to latest ath10k-ct 9984 firmware.Ben Greear2016-08-281-2/+2
| | | | | | | | Tested briefly on Netgear r7800. Firmware failed to load on first boot, but then it worked after that and I could not reproduce the failure. Signed-off-by: Ben Greear <greearb@candelatech.com>
* tools: make mtools/dosfstools unconditionalFelix Fietkau2016-08-281-1/+1
| | | | | | The list of targets that need them are getting longer Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: generate US- and EU-specific images for the Archer C7 v2Matthias Schiffer2016-08-281-1/+3
| | | | | | | | | | | | TP-Link has started providing US- and EU-specific stock firmwares that only allow upgrading to firmwares with the same region code. Provide factory images for both these regions. To avoid confusing users outside these regions, we still provide a "universal" factory.bin without a region code, although flashing either of the US and EU images would work as well. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* firmware-utils: mktplinkfw: add support for TP-Link's new region codesMatthias Schiffer2016-08-281-32/+37
| | | | | | | | | TP-Link has changed the way the region is stored in the firmware header, and now provides US- and EU-specific images for the Archer C7. Adding the new region codes is necessary to make LEDE/OpenWrt flashable on devices with the new stock firmwares again. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* opkg: disable the use of vfork for the host buildFelix Fietkau2016-08-282-8/+13
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* opkg: use vfork on gz_open by default (FS#120)Felix Fietkau2016-08-281-0/+20
| | | | | | Reduces memory consumption and binary size Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ath9k: revert temperature compensation support patch (FS#111)Felix Fietkau2016-08-282-98/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: remove obsolete legacy ide kernel module packagesFelix Fietkau2016-08-281-109/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* arc770: Introduce images for SD-cardsAlexey Brodkin2016-08-288-73/+102
| | | | | | | | | | | | | | | | | | | 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> Cc: Jo-Philipp Wich <jo@mein.io>
* arc770: Remove MMC kernel modules, they are built-in nowAlexey Brodkin2016-08-282-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>
* arc770: Update kernel configurationAlexey Brodkin2016-08-281-1/+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>
* arc770: Reduce generalizationAlexey Brodkin2016-08-281-25/+13
| | | | | | | | | | | | | | As support of ARC 770 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_arcYYY_XXX scripts making code more compact and cleaner. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* ct-bugcheck: Add tools to poll for and report ath10k firmware crashes.Ben Greear2016-08-284-0/+212
| | | | | | | | | | | | | | | | | | This tool can periodically check for ath10k firmware crashes. If it finds a crash, it will package up the binary crash dump, some OS level things like dmesg, lspci, etc into a tar file. It then notifies the user about the crash and asks them to report the bug to the appropriate email address. This is most useful when used with ath10k-ct driver and CT ath10k firmware, but it should also report issues with stock ath10k driver and firmware in case one has appropriate contacts to debug them. This tool could be extended later for other modules/bugs/etc. Signed-off-by: Ben Greear <greearb@candelatech.com>