aboutsummaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
* gemini: rename config-default to config-4.4Stijn Tintel2016-08-241-0/+0
| | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* arm64: rename config-default to config-4.4Stijn Tintel2016-08-241-0/+0
| | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* gemini: rename patches directory to patches-4.4Stijn Tintel2016-08-2413-0/+0
| | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* gemini: drop Linux 4.1 supportJo-Philipp Wich2016-08-2342-6743/+1
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* gemini: add Linux 4.4 supportRoman Yeryomin2016-08-2324-0/+6220
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> [Jo-Philipp Wich: change commit title] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ramips: mt7621: switch to 24kcJonas Gorski2016-08-231-1/+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>
* 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>
* kernel: update kernel 4.4 to version 4.4.19Stijn Tintel2016-08-2360-937/+398
| | | | | | | | 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* ipq806x: sync with latest patches sent by QCAJohn Crispin2016-08-1811-93/+1350
| | | | 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>
* 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-165-1/+124
| | | | | | | | | | | | 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>