summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: fix WNDR3x00 factory image generationjuhosg2011-12-071-2/+2
| | | | | | | | | | | | | | | | | Factory images for WNDR3700v2 and WNDR3800 should contain these model IDs for the device: field in their DNI tags, not WNDR3700. This regressed in r29434, which redid WNDR3x00 model detection. The sixth parameter to Image/Build/Netgear is only used as the -B argument to mkdniimg, which is used to set the device: field. In r29434, this was erroneously changed to be WNDR3700 for all models. The tools to flash factory images (U-Boot's TFTP server and the factory software's upgrade utility) may refuse to honor images with incorrect device: fields in their DNI tags. Signed-off-by: Mark Mentovai <mark@moxienet.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29473 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix WNDR3x00 model detectionjuhosg2011-12-071-14/+17
| | | | | | | | | | | | | | | | | | | | Detect the model name for /tmp/sysinfo/model based on 10 bytes at offset 56 in the art (caldata) mtd partition. r29434 redid WNDR3x00 model detection, attempting to distinguish between WNDR3700v2 and WNDR3800 by checking MemTotal in /proc/meminfo. However, it contained a bug: it put the awk inside a $(...), with the result that all WNDR3700v2 and WNDR3800 models would be reported as WNDR3800. This patch checks the model name stored in the art partition, as is done by U-Boot shipping on the WNDR3800. It has the likely advantage of working with future models based on the WNDR3700 board. It also will not mis-detect units on which people install more memory. I have tested this patch on WNDR3700 (v1), WNDR3700v2, and WNDR3800. Signed-off-by: Mark Mentovai <mark@moxienet.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29472 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: create firmware image for the TL-WR740N/ND v4 boardsjuhosg2011-12-061-0/+2
| | | | | | Based on a patch by Cristian Deluxe <djcristiandeluxe@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29468 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use hw_id, hw_rev and flash_layout with mktplinkfwjuhosg2011-12-061-27/+27
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29467 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix TL-MR3x20 profile names in image/Makefilejuhosg2011-12-061-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29463 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: cleanup TP-Link profilesjuhosg2011-12-062-211/+96
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29461 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add TP-Link board detectionjuhosg2011-12-051-1/+54
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29459 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use correct mac on the lan interface on several TP-LINK devicesjuhosg2011-12-053-6/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29458 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: allow to pass negative offset values for ar71xx_init_macjuhosg2011-12-052-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29457 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: don't register PCI controller on AR934x if PCIE_RC bit is not setjuhosg2011-12-051-2/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29456 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: verify hardware id of firmware images on TP-Link boardsjuhosg2011-12-052-0/+26
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29455 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: reclaim some unused space on TP-Link boardsjuhosg2011-12-051-4/+31
| | | | | | | | With the default OpenWrt configuration, this increases the size of the rootfs_data partition by 384KB/128KB on the older/newer TP-Link models. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29447 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: check squashfs signature in TP-Link mtd parserjuhosg2011-12-051-1/+31
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29446 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use the lzma-loader on TP-Link boards w/o lzma supportjuhosg2011-12-051-11/+42
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29444 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add lzma loaderjuhosg2011-12-0517-0/+1941
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29443 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add preliminary support for wzr-hp-g450hnbd2011-12-059-0/+118
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29441 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: move multi-m25p80 concat code from wzr-hp-ag300h mach code to ↵nbd2011-12-053-72/+78
| | | | | | dev-m25p80.c, other buffalo routers use it as well git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29440 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rewrite WNDR3700/3800 handlingjuhosg2011-12-0510-297/+59
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29434 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ar71xx] add some missing wndr3800 base-files definitionsjow2011-12-053-2/+72
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29433 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: change user-space board detectionjuhosg2011-12-052-6/+25
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29432 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: allow WNDR3700 image creation to fail if kernel/rootfs too bigjuhosg2011-12-051-18/+16
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29431 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use the tp-link parser on the tp-link boardsjuhosg2011-12-038-267/+33
| | | | | | Also remove static partition maps. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29416 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add mtd partition parser for the TP-Link boardsjuhosg2011-12-033-0/+191
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29415 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: run the RedBoot parser only on the RedBoot based boardsjuhosg2011-12-037-27/+60
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29414 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: run the MyLoader parser only on the WP543 boardjuhosg2011-12-033-26/+13
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29413 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: run the wrt160nl parser only on the WRT160NL boardjuhosg2011-12-032-57/+4
| | | | | | Also remove static mtd partition definitions. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29412 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: allow to pass part_probe types to the m25p80 driverjuhosg2011-12-034-5/+28
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29411 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: create initramfs images for the newer TP-Link boardsjuhosg2011-12-031-0/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29410 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: remove swconfig and wpad-mini from custom profilesjuhosg2011-12-035-5/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29408 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add uboot-envtools to the default package listjuhosg2011-12-031-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29407 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: reclaim unused space in WNDR3700/3800 imagesjuhosg2011-12-031-20/+63
| | | | | | Patch by: Mark Mentovai <mark@moxienet.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29406 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add a profile and build image for the OM2P boardjuhosg2011-12-012-0/+36
| | | | | | | | | [juhosg: the name of the final image has been changed to 'openwrt-ar71xx-generic-om2p-squashfs-factory.bin'] Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29397 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for Ubiquiti AirRouterjuhosg2011-12-015-0/+42
| | | | | | Signed-off-by: Gergely Barta <gergely.barta@printerfairkft.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29395 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: configure default led behavior for the OM2Pjuhosg2011-12-011-0/+5
| | | | | | Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29394 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use /lib/functions/uci-defaults.shjuhosg2011-12-011-124/+49
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29385 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: modify phy mask of the WP543 boardjuhosg2011-11-241-2/+2
| | | | | | This fixes ethernet on newer boards. Based on a patch from #9702. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29328 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix wndr3800 machine namejuhosg2011-11-245-2/+9
| | | | | | | | This fixes the machine name in /proc/cpuinfo and luci status page machine name. Signed-off-by: Petri Rosenström <petri.rosenstrom@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29326 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: copy atheros initramfs images to the image directoryjuhosg2011-11-241-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29325 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: specify mtd layout in command line for the DB120 boardjuhosg2011-11-241-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29324 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: set GE0 phy_mask for AR933xjuhosg2011-11-201-0/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29274 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix USB LED on the DB120 boardjuhosg2011-11-142-0/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29126 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add a function for selecting output signal on a given GPIO pinjuhosg2011-11-142-0/+38
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29125 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix GPIO function handling on AR934xjuhosg2011-11-142-9/+35
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29124 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add AR71XX_ prefix to GPIO_REG_* definesjuhosg2011-11-145-91/+95
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29123 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: merge nand scan patchjuhosg2011-11-143-24/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29122 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix a compiler warningjuhosg2011-11-141-4/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29110 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix GPIO count for AR934xjuhosg2011-11-141-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29109 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: flush DDR writeback buffers for WMAC and PCIe on AR934Xjuhosg2011-11-142-6/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29108 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use a dummy irq chip for WMAC and PCIe irq hadlingjuhosg2011-11-144-2/+50
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29107 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add AR934X_RESET_REG_PCIE_WMAC_INT_STATUS definesjuhosg2011-11-141-0/+20
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29106 3c298f89-4303-0410-b956-a3cf2f4a3e73