summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
Commit message (Collapse)AuthorAgeFilesLines
...
* ar71xx: image: seama: fix making factory and sysupgrade imageYousong Zhou2016-07-111-11/+12
| | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* tools: add kernel2minor utility for Mikrotik devicesSergey Sergeev2016-07-051-2/+2
| | | | | | | | This patch adds support of Mikrotik yaffs2 filesystem image for kernel file and tools/kernel2minor package. We neede this to boot kernel through RouterBoot on new Mikrotik NOR flash devices. Signed-off-by: Sergey Sergeev <adron@yapic.net>
* ar71xx: fix nand device profileJohn Crispin2016-07-054-19/+19
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ar71xx: spi-rb4xx fix.Sergey Sergeev2016-07-021-1/+1
| | | | | | | | In new kernels we should use clk_prepare_enable instead of clk_enable since clk_enable does not make proper initialization that leads to rise WARN_ON messages and not working spi bus on the device. Signed-off-by: Sergey Sergeev <adron@yapic.net>
* ar71xx: prevent spurious ethernet resets from dma hang check false positivesFelix Fietkau2016-07-022-6/+12
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: seama: fix making factory imagesYousong Zhou2016-06-303-58/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | rootfs part needs to be aligned to erase block size which is passed as the 6th argument to Image/Build/Seama and is now 65536 since commit commit 5119ee9 "ar71xx: fix bogus hardcoded kernel image size for Seama images (fixes #20585)", but $(($(6) - 64)) still assumes that the argument is a limit on kernel partition size, i.e. 1310720, so the generated factory image is wrong in that the kernel will fail to find the rootfs (FlySpray link at [1]) This patch will workaround it with the following steps 1. Calculate the required space for seama header and META data in step 5 2. Pre-padding 64 bytes to lzma-compressed loader 3. Generate correctly padded image-$(2).tmp 4. Strip out the padding 5. Seal it with seama utility While at it convert seama to new build method [1] FS#35 - mynet-n750 factory images don't find root partition, https://bugs.lede-project.org/index.php?do=details&task_id=35 Reported-by: Steven Haigh <netwiz@crc.id.au> Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* ar71xx: image: unify indentation with 2 whitespacesYousong Zhou2016-06-301-112/+112
| | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* ar71xx: image: remove duplicate IMAGES definitionYousong Zhou2016-06-301-1/+0
| | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* ar71xx: hiwifi-hc6361: move packages selection to generic.mkYousong Zhou2016-06-302-14/+9
| | | | | | | Remove kmod-crypto-deflate and kmod-ledtrig-gpio as the device works the same by default without them Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* ar71xx: further legacy image build fixesJo-Philipp Wich2016-06-271-1/+6
| | | | | | | - Add missing macro to trigger the generation of 64k padded squashfs images - Revert Zcomax image generation to use the prepared 64k squashfs image Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ar71xx: disable pdata->use_flow_control for QCA9558Felix Fietkau2016-06-271-1/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: rename ethernet pdata->builtin_switch to use_flow_controlFelix Fietkau2016-06-273-8/+8
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: merge profiles into image building codeJo-Philipp Wich2016-06-2759-2503/+959
| | | | | | | | | | | - Remove old style device profiles and convert them to device definitions within the image building code - Fix the legacy build macros for the changed eval depth in the legacy image build wrapper Signed-off-by: John Crispin <john@phrozen.org> Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* kernel: update to version 4.4.14Hauke Mehrtens2016-06-261-1/+1
| | | | | | | | | Changelog: https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.14 Some manual changes to target/linux/generic/patches-4.4/610- netfilter_match_bypass_default_checks.patch were needed. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* Revert "ar71xx: prevent spurious ethernet resets from dma hang check false ↵Felix Fietkau2016-06-262-6/+5
| | | | | | positives" This reverts commit 3d58d7f053eae83b59baf5c8b8a58da78653f605.
* ar71xx: prevent spurious ethernet resets from dma hang check false positivesFelix Fietkau2016-06-262-5/+6
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: enable flow control for ethernet MACs with built-in switchFelix Fietkau2016-06-263-1/+11
| | | | | | | | Should fix LAN speed issues on some devices. This is an updated version of the previously reverted commit with the same name. It improves the check for MACs connected to a built-in switch Signed-off-by: Felix Fietkau <nbd@nbd.name>
* Revert "ar71xx: fix legacy image building"John Crispin2016-06-2359-938/+2492
| | | | | | | | | | | | | | This reverts commit 59e98b27c93d282edb62fad756fd1c1e587c067f. and Revert "ar71xx: merge profiles into image building code" This reverts commit 636089ead6864364798ac988299429d171051c0e. these are still causing issues Signed-off-by: John Crispin <john@phrozen.org>
* ar71xx: fix legacy image buildingJo-Philipp Wich2016-06-241-20/+14
| | | | | | | | | | | | | | | | | | After the conversion from legacy device profiles to the newer profile information embedded in the image building code, the legacy recipes got triggered twice with different eval depths, leading to shell syntax errors when processing certain images. The double processing was caused by the remaining Image/Build macro in legacy.mk which serves as main entry point for the new style image build code in conjunction with the newly introduced LegacyDevice/* macros which caused the legacy image build fallback code to kick in. In order to fix the issue, rework all legacy macros to work under the legacy image build wrapper and remove the Image/Build macro of legacy.mk to prevent legacy profiles getting executed in the context of the new build code. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ar71xx: merge profiles into image building codeJohn Crispin2016-06-2259-2472/+924
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ar71xx: hiwifi-hc6361: lift size limit on kernel and rootfs partsYousong Zhou2016-06-222-19/+20
| | | | | | | | | | | | | | | | | | | | | | The patch has been run-tested and the relevant dmsg logs are as the following [ 0.762447] Creating 5 MTD partitions on "spi0.0": [ 0.767217] 0x000000000000-0x000000010000 : "u-boot" [ 0.775139] 0x000000010000-0x000000020000 : "bdinfo" [ 0.781014] 0x000000020000-0x000000fe0000 : "firmware" [ 0.810558] 2 uimage-fw partitions found on MTD device firmware [ 0.815043] 0x000000020000-0x000000170000 : "kernel" [ 0.821925] 0x000000170000-0x000000fe0000 : "rootfs" [ 0.827587] mtd: device 4 (rootfs) set to be root filesystem [ 0.831937] 1 squashfs-split partitions found on MTD device rootfs [ 0.837983] 0x0000005c0000-0x000000fe0000 : "rootfs_data" [ 0.845621] 0x000000fe0000-0x000000ff0000 : "backup" [ 0.851445] 0x000000ff0000-0x000001000000 : "art" While at it, convert to new build method Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* ar71xx: WDR4300: Fixed default VLAN orderDavid Pinilla Caparrós2016-06-171-1/+1
| | | | | | Reordered the VLANs so the LAN ports are set to VLAN 1 and the WAN port is set to VLAN 2, as in the other routers in the config file. Moreover, this model had this VLAN mapping in OpenWRT Chaos Calmer. It seems that the VLAN were switched when fixing a bug in the port mapping ( OpenWRT changeset 47799 ) Signed-off-by: David Pinilla Caparrós <dpinitux@gmail.com>
* Revert "ar71xx/cpe510: use second wifi calibration table"Alexander Couzens2016-06-161-1/+1
| | | | | | | | Using the high power table can damage the device in some cases. This reverts commit bf27ac019c137e7baf90ca6ef0e40945ae871797. Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* Revert "ar71xx: enable flow control for ethernet MACs with built-in switch"Felix Fietkau2016-06-141-9/+1
| | | | | | | | This reverts commit 1beb5bec6453abb220c5be4ddb9e6dc02d08d735. It was found to cause the WAN port to fail on some AR934x devices Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: mach-ubnt-xm.c convert patches to mach fileArne Zachlod2016-06-134-773/+701
| | | | Signed-off-by: Arne Zachlod <arne@nerdkeller.org>
* ar71xx: enable flow control for ethernet MACs with built-in switchFelix Fietkau2016-06-131-1/+9
| | | | | | Should fix LAN speed issues on some devices Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: update kernel 4.4 to version 4.4.13Álvaro Fernández Rojas2016-06-121-49/+0
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* ar71xx: add support for OpenEmbed SOM9331Allan Nick Pedrana2016-06-0712-0/+176
| | | | | | | | This patch adds the target profile SOM9331 and configures hardware functionality for the 3x Eth Ports & corresponding LED's, the USB Host, the USART to USB bridge and the System LED. Signed-off-by: Allan Nick Pedrana <nik9993@gmail.com>
* treewide: replace nbd@openwrt.org with nbd@nbd.nameFelix Fietkau2016-06-076-6/+6
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: convert OM2P to device profileFelix Fietkau2016-06-072-11/+15
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: enable profile sorting in preparation for adding device profilesFelix Fietkau2016-06-075-0/+5
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: add WRTnode2Q supportKeLei Liang2016-06-0610-2/+165
| | | | Signed-off-by: KeLei Liang <xzmu@wrtnode.com>
* ar71xx/image/edimax shorten the revision to 13 characterAlexander Couzens2016-06-011-2/+2
| | | | | | | edimax fails if the revision is longer than 13 characters. Also change the name from OpenWrt to LEDE Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* ar71xx: Fix TL-WR841N v11 LEDs, use separate machineStijn Segers2016-05-318-3/+80
| | | | Signed-off-by: Stijn Segers <francesco.borromini@inventati.org>
* tools/tplink-safeloader: split CPE210 from CPE510 profileAlexander Couzens2016-05-271-0/+1
| | | | | | | | | The CPE210 was still described for the OEM upgrade as compatible, even the wireless configuration isn't compatible anymore between both series (2ghz and 5ghz). Update the CPE210 image profile to use the new profile. Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* ar71xx: switch ordering and template to improve readabilityAlexander Couzens2016-05-271-5/+5
| | | | | | | The CPE210's ancestor is the CPE510 not the other way around. The device profile is also named after the CPE510. Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* include/image.mk: move build step tplink-safeloader to image.mkAsh Benz2016-05-271-12/+0
| | | | | | Move tplink-safeloader from target/linux/ar71xx/image/tp-link.mk to include/image.mk Signed-off-by: Ash Benz <ash.benz@bk.ru>
* ar71xx: add GPIO pin for usb power switch for RouterBOARD 912Cezary Jackiewicz2016-05-271-0/+4
| | | | | | | RB912 has one usb shared between external USB and miniPCIe slot. GPIO52 can reroute power to external USB (=1) or internal miniPCIe slot (=0) Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>
* ar71xx/cpe510: use second wifi calibration tableAlexander Couzens2016-05-231-1/+1
| | | | | | | The cpe510 has two calibration tables. The first calibration table requires to modify ath9k driver to work (patched tx gain table). Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* ar71xx/cpe510: split profile into 2 profiles cpe210 and cpe510Alexander Couzens2016-05-238-10/+43
| | | | | | | Split profile into 2GHz and 5GHz. The 5GHz devices are quite "special". The 2 GHz works perfect. Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* ar71xx: add MR1750v2 to the MR1750 profileSven Eckelmann2016-05-231-2/+2
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: extract ath10k wifi board.bin for the OpenMesh MR1750v2 boardSven Eckelmann2016-05-231-0/+1
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: enable sysupgrade for the OpenMesh MR1750v2Sven Eckelmann2016-05-231-0/+2
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: add user-space support for the OpenMesh MR1750v2Sven Eckelmann2016-05-235-2/+9
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: add kernel support for the OpenMesh MR1750v2Sven Eckelmann2016-05-232-0/+2
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: add OM2P-HSv3 to the OM2P profileSven Eckelmann2016-05-231-2/+2
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: enable sysupgrade for the OpenMesh OM2P-HSv3Sven Eckelmann2016-05-232-0/+3
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: add user-space support for the OpenMesh OM2P-HSv3Sven Eckelmann2016-05-233-0/+5
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: add kernel support for the OpenMesh OM2P-HSv3Sven Eckelmann2016-05-232-0/+2
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: Allow OpenMesh CE images with more than 3 filesSven Eckelmann2016-05-231-1/+1
| | | | | | | | | | The CE image format used by OpenMesh can contain extra blocks which are not used for flashing. Only the first three embedded images (fwupgrade.cfg, kernel, rootfs) are required in this order to successfully flash an image via sysupgrade. All extra embedded images should be ignored for the available devices. Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>