summaryrefslogtreecommitdiffstats
path: root/target/linux
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
* ramips: fix mac addresses on the DIR-300/600 boardsjuhosg2011-12-062-0/+13
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29471 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux: update 3.1 to 3.1.4jogo2011-12-0610-486/+248
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29470 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux: update 3.0 to 3.0.12jogo2011-12-068-8/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29469 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
* ramips: set mac addresses for the NBG-419Njuhosg2011-12-052-1/+7
| | | | | | Based on a patch by Nerijus Baliunas <nerijus@users.sourceforge.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29454 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: set preinit interface mac on the hw550-3g boardjuhosg2011-12-051-0/+4
| | | | | | Based on a patch by Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29453 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: use ramips_get_mac_* functions in the preinit scriptjuhosg2011-12-051-18/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29452 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: move ramips_get_mac_* functions to lib/ramips.shjuhosg2011-12-052-33/+37
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29451 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add ramips_ prefix to get_mac_{binary,nvram} functionsjuhosg2011-12-051-6/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29450 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix network configuration setupjuhosg2011-12-051-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29448 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
* ramips: fix argus board rootfs sizejuhosg2011-12-041-1/+1
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29422 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
* ramips: enable sysupgrade on the RT-N15 boardjuhosg2011-12-011-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29393 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: wrap long line in platform upgrade scriptjuhosg2011-12-011-1/+12
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29392 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add profile for the Asus RT-N15juhosg2011-12-011-0/+18
| | | | | | | | | | This uses previously submitted rtl8366 kernel packages. [juhosg: The kmod-gpio-dev package has been removed from the package list.] Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29391 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: setup default network configuration for RT-N15juhosg2011-12-011-1/+9
| | | | | | Based on a patch by Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29390 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: rt288x: add swconfig and rtl8366{s,_smi} drivers to the default profilejuhosg2011-12-011-1/+1
| | | | | | It is needed by the RT-N15 board. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29389 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: remove default network configuration, and generate that from ↵juhosg2011-12-012-1/+13
| | | | | | uci-defaults git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29387 3c298f89-4303-0410-b956-a3cf2f4a3e73