aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* build: pass $(STAGING_DIR_HOST) to Host/InstallFelix Fietkau2016-08-231-2/+2
| | | | | | makes it more consistent with package builds Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ath10k-ct: Update to latest ath10k-ct driver.Ben Greear2016-08-231-2/+2
| | | | | | | | | This uses GFP_DMA32 for firmware swap. Fixes issue on x86-64 with QCA 9984 chipset when host system does not have vt-d enabled. Also tested on linksys ea8500 with 9980 chipset. Signed-off-by: Ben Greear <greearb@candelatech.com>
* ramips: mt7621: switch to 24kcJonas Gorski2016-08-232-2/+1
| | | | | | | | 1004kc is just a SMP capable 34kc, and GCC treats 24kc and 34kc exactly the same and will generate identical code, so there is no need to tune to 1004kc instead of 24kc. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* include: remove 34k distinctionJonas Gorski2016-08-231-1/+0
| | | | | | Now that there are no users anymore, drop the 34kc CPU_FLAGS. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* lantiq: switch from 34k to 24kJonas Gorski2016-08-233-3/+3
| | | | | | | GCC treats 24kc and 34kc exactly the same and will generate identical code, so there is no need to tune to 34kc instead of 24kc. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* ar71xx: switch to 24kcJonas Gorski2016-08-231-1/+1
| | | | | | | GCC treats 24kc and 34kc exactly the same and will generate identical code, so there is no need to tune to 34kc instead of 24kc. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* netifd: update to the latest versionFelix Fietkau2016-08-231-2/+2
| | | | | | | Adds fixes for wireless device error handling Adds link state fixes for shell proto handlers Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: update kernel 4.4 to version 4.4.19Stijn Tintel2016-08-2361-939/+400
| | | | | | | | Refresh patches for all targets that support kernel 4.4. Compile-tested on all targets that use kernel 4.4 and aren't marked broken. Runtime-tested on ar71xx, octeon and x86/64. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* brcm47xx: add missing config symbolStijn Tintel2016-08-232-1/+2
|
* bcm53xx: backport patch adding ARCH_BCM_53573 symbolRafał Miłecki2016-08-233-2/+64
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* cyassl: make CyaSSL/WolfSSL more configurableAndreas Schultz2016-08-222-2/+117
| | | | | | | | The default configuration might not be suitable for every use case. Add options to enable/disable additional options. Signed-off-by: Andreas Schultz <aschultz@tpip.net>
* imx6: Fix pointing to msata/mmc bootdevsKoen Vandeputte2016-08-221-4/+4
| | | | | | | | | Point to correct devices when booting from msata or MMC Changes fetched from Gateworks git Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com> [Jo-Philipp Wich: rebased to apply against current LEDE version] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ipq806x: Build image for Netgear Nighthawk X4 R7500v2Alexis Green2016-08-228-1/+383
| | | | | | Signed-off-by: Alexis Green <alexis@cessp.it> [Jo-Philipp Wich: add missing DEVICE_TITLE, fix model name in commit title] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* kernel: add fake users for udptunnel and iptunnel modulesDaniel Golle2016-08-221-3/+8
| | | | | | | | Without any in-tree users enabled the Kernel's build process doesn't actually build those modules. Enable some potential in-tree users during Kernel build, so out-of-tree modules can depend on them. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: drop explicit pre-init ifaceDaniel Golle2016-08-221-2/+0
| | | | | | | | | According to Jonas Gorski this is no longer needed, the problem originally addressed by first adding 07_preinit_iface and subsequently merging that into 02_network was probably a bug during the transition to the new board.d pre-init approach. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: bgmac: use upstream accepted patchesRafał Miłecki2016-08-224-11/+42
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* lantiq: fix building AVM/EVA sysupgrade images on NOR devicesMartin Blumenstingl2016-08-221-1/+3
| | | | | | | | | | | | Device/AVM unconditionally inherits Device/NAND, which changes the sysupgrade image to sysupgrade-tar (instead of a "raw" sysupgrade image as used in the Device/Default template). This moves the Device/NAND call to the FRITZ3370 device definition, as this is the only AVM/EVA device that uses NAND. Additionally we have to define the IMAGE_SIZE for the AVM/EVA NOR devices to ensure that the images are not discarded. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
* ipq806x: add usb pins to r7800 dts fileJohn Crispin2016-08-222-0/+183
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* imx6: fix generating bootfs in imagebuilder (FS#102)Jo-Philipp Wich2016-08-201-1/+7
| | | | | | | | | | | | The image builder does not bundle sub-directories within $(KERNEL_BUILD_DIR), therfore the intermediate "ventana-uImage.boot" directory is not shipped, leading to failures with "make image" later on. To circumvent the issue, store the intermediate boot files as tar archive instead of putting them into a directory to ensure that they end up in the final image builder tarball. Fixes FS#102 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ramips: fix build of TRENDnet TEW-69xGR imagesMathias Kresin2016-08-201-16/+20
| | | | | | | The image generation for TEW-691GR and TEW-692GR was broken since 79d02229 due to the move of the UMedia recipe to another Makefile. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: move umedia build step to MakefileMathias Kresin2016-08-202-4/+4
| | | | | | Some rt3883 based boards need this one as well. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: TEW-691GR: fix switch and wirelessMathias Kresin2016-08-202-3/+5
| | | | | | | | | Due to the missing phy-mode setting, the switch wasn't initialised. The wireless requires an eeprom to work. Use the same mac addresses as the stock firmware. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: TEW-692GR: fix switch and wirelessMathias Kresin2016-08-202-3/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The AR8327 initvals were not copied to the DTS during the switch from mach file to device tree and broke the switch on the device. The former used PORT6 related initvals were wrong and have been corrected. The phy mode setting for the switch was missing in the DTS as well. The wireless requires an eeprom to work. The dual band wireless chips have both bands enabled by default but only one band per chip is working. The stock firmware uses the following mac addresses: LAN: AA:BB:CC:DD:EE:E4 WAN: AA:BB:CC:DD:EE:E4 2.4GHz: AA:BB:CC:DD:EE:E4 5 GHz: AA:BB:CC:DD:EE:E8 Assuming the mac address range :E4 to :E8 is reserved for this device, the MAC addresses were reorder to have a unique MAC address for each interface: LAN: AA:BB:CC:DD:EE:E4 2.4GHz: AA:BB:CC:DD:EE:E4 WAN: AA:BB:CC:DD:EE:E5 5 GHz: AA:BB:CC:DD:EE:E8 Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: rt3883: fix dtc compiler warningMathias Kresin2016-08-201-0/+2
| | | | | | | | | | Fixes the following compiler warning: Warning (reg_format): "reg" property in /ethernet@10100000/port@0 has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1) Warning (avoid_default_addr_size): Relying on default #address-cells value for /ethernet@10100000/port@0 Warning (avoid_default_addr_size): Relying on default #size-cells value for /ethernet@10100000/port@0 Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: generate switch configuration for BTHOMEHUBV2B.Sigurd Hogsbro2016-08-201-1/+8
| | | | | | | Split from HH3A as it appears to have a different switch. https://en.wikipedia.org/wiki/BT_Home_Hub#Models_and_technical_specifications Signed-off-by: Sigurd Hogsbro <sigurd@hogsbro.org>
* archs38: Merge sd and ramfs subtargets in generic againAlexey Brodkin2016-08-207-36/+13
| | | | | | | | | | | | | | As it turned out we may actually build both initramfs and SD-based images in one run with just a small tweak in existing image/Makefile and so we do here. We're back with one "generic" target for all ARC HS38-based bords. Kudos to John for his patience and very helpful tips! Signed-off-by: John Crispin <john@phrozen.org> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Jo-Philipp Wich <jo@mein.io>
* ltq-deu: fix cra_priorityMartin Schiller2016-08-209-8/+25
| | | | | | | | | | With the default priority of 0, the DEU algos would be overlapped by the generic algos (if available). To fix this, set the cra_priority of the hardware algos to the recommended value of 300/400. Signed-off-by: Martin Schiller <mschiller@tdt.de>
* ltq-deu: fix handling of data blocks with sizes != AES/DES block sizeMartin Schiller2016-08-202-44/+108
| | | | | | This fix is a backport from the lantiq UGW-6.1.1-MR1 Signed-off-by: Martin Schiller <mschiller@tdt.de>
* ltq-deu: fix aes initialization vector handlingMartin Schiller2016-08-201-4/+4
| | | | | | This fix is a backport from the lantiq UGW-6.1.1-MR1 Signed-off-by: Martin Schiller <mschiller@tdt.de>
* toolchain: include yasm in x86 toolchainDaniel Golle2016-08-193-1/+72
| | | | | | | Some libraries require yasm to build with in-line assembly for x86 targets. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: set preinit interface in /etc/board.d/02_networkDaniel Golle2016-08-192-7/+2
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: replace cosmetic UBIFS patches with what went upstreamDaniel Golle2016-08-194-53/+26
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* bcm53xx: update copy of ASM entry flushing whole D-cacheRafał Miłecki2016-08-192-30/+45
| | | | | | | | | | | Previous version was based on code from kernel 2.6.22 with Broadcom two trivial modifications. This updates the copy to the version from current kernel and refreshes the patch. This was tested for regressions on Netgear R6250 (BCM4708A0), D-Link DIR-885L (BCM4709C0) and Tenda AC9 (BCM47189B0). Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: build Tenda AC9 imageRafał Miłecki2016-08-191-1/+1
| | | | | | | | We finally got kernel booting on this device and LAN ports are working, so it won't "brick" the device. One more big missing thing is WAN port support. It requires fix for BCM53125 to get switch port 5 working. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: switch back to standalone ASM entry flushing cacheRafał Miłecki2016-08-193-86/+167
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Over a year ago in a commit ac96a1665ac7 ("bcm53xx: update Disable MMU and Dcache during decompression") we switched to Florian's patch for workarounding CFE bug. The main difference was using a part of existing __armv7_mmu_cache_flush instead of implementing flushing separately. This worked well for Northstar devices but doesn't work for BCM53573 as these devices simply don't start booting with Florian's patch. It's because of the ldmfd ASM instruction in the __armv7_mmu_cache_flush. So this commit switches back to using standalone implementation. This time instead of copying Broadcom's copy of cache-v7.S, we just make a copy of the original file on our own. Unfortunately we can't cross-dir compile cache-v7.S from ../../mm/ as that one also adds __INITDATA with define_cache_functions v7 which would just trigger > Error: unrecognized/unsupported machine ID (r1 = 0x0000007f). The only real change Broadcom did in copied .S file was modifying mcr instruction to use c6 instead of c14. It isn't clear to me if we really need it, but let's use it for now. By the way we also update commit message of the [PATCH] ARM: BCM5301X: Disable MMU and Dcache during decompression This makes kernel booting on BCM53573 successfully. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: package drivers for Northstar USB PHYsRafał Miłecki2016-08-191-0/+37
| | | | | | | We don't use them yet as we still init PHY in controller driver but they will be needed soon. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: check the right directories for rebuildJonas Gorski2016-08-191-1/+1
| | | | | | | | | | | | Pass KERNEL_FILE_DEPENDS to rdep instead of PKG_FILE_DEPENDS, which is empty. Also don't pass $(CURDIR) as the directory to timestamp, as it would also pick up non kernel related changes like image building code. Should fix kernel being rebuild for unrelated changes, as well as not being rebuild for changes in target/linux/generic. Fixes: 22ef1c83b35c ("kernel: make the kernel build auto-clean the build dir like package build") Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* tools: Select dosfstools for archs38Alexey Brodkin2016-08-181-1/+1
| | | | | | | | | | | | | | | | | In commit df4f41261cf9 ("archs38: Introduce images for SD-cards") we introduced building of SD-card images for ARC HS38-based boards. While building images mkdosfs utility is used. On machines I used for testing mentioned change this utility was already installed so I didn't figure-out that requirement. But thanks to Lede's autobuilder this missing bit was highlighted, see failed build job here: http://phase1.builds.lede-project.org/builders/archs38%2Fsd/builds/0/steps/images/logs/stdio Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: John Crispin <john@phrozen.org> Cc: Jo-Philipp Wich <jo@mein.io>
* busybox: enable sha256sum by defaultJo-Philipp Wich2016-08-182-2/+2
| | | | | | | Now that snapshot builds are only publishing SHA-256 checksums, it makes sense to ship an appropriate utility for verification. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* bcm53xx: generate proper network config for Tenda AC9Rafał Miłecki2016-08-181-0/+10
| | | | | | | It's a more complex device with 2 interfaces on the SoC, one we can use for LAN and another for WAN. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* mvebu: fix boot stalls on WRT1900AC V1John Crispin2016-08-181-0/+1
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ppp: Extend uci datamodel with persistency sypportHans Dedecker2016-08-182-3/+13
| | | | | | | | | | | | | | | | | | | | PPP daemon can be put into persist mode meaning the daemon will not exit after a connection gets terminated but will instead try to reopen the connection. The re-initiation after the link has been terminated can be controlled via holdoff; this is helpfull in scenarios where a BRAS is in denial of service mode due to link setup requests after a BRAS has gone down Following uci parameters have been added : persist (boolean) : Puts the ppp daemon in persist mode maxfail (integer) : Number of consecutive fail attempts which puts the PPP daemon in exit mode holdoff (interget) : Specifies how many seconds to wait before re-initiating link setup after it has been terminated Signed-off-by: Alin Nastac <alin.nastac@gmail.com> Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* ar71xx: add support for Zbtlink ZBT-WE1526Piotr Dymacz2016-08-1812-1/+191
| | | | | | | | | | | | | | | | | | | | | Zbtlink ZBT-WE1526 is based on Qualcomm Atheros QCA9531 v2. Short specification: - 650/400/200 MHz (CPU/DDR/AHB) - 5x 10/100 Mbps Ethernet - 1x USB 2.0 - 128 MB of RAM (DDR2) - 16 MB of FLASH - 2T2R 2.4 GHz, up to 22 dBm - two external, non-detachable antennas - 8x LED, 1x button - UART header (pinout: VCC, RX, TX, GND) Flash instruction: Use sysupgrade in vendor firmare which is based on OpenWrt. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* 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>