Commit Graph

7368 Commits (470b1f471a745eab6765fdf1edea3e882d682f9e)

Author SHA1 Message Date
Felix Fietkau 4a441570ca kernel: move linux/ath9k_platform.h to generic files so that it can be reused from other targets
SVN-Revision: 29516
13 years ago
Felix Fietkau 3806671fe5 ar71xx: fix wireless led on wzr-hp-g450h
SVN-Revision: 29515
13 years ago
Gabor Juhos 2dd7dfb1c9 ar71xx: enable AR9341 support at setup.c
Patch-by: dyq <729650915@qq.com>

SVN-Revision: 29514
13 years ago
Gabor Juhos 058998acdb ar71xx: Build images for Netgear WNDRMAC and WNDRMACv2
The WNDRMAC is a WNDR3700v2 (64MB RAM, 16MB flash) in a white case. The
WNDRMACv2 is a WNDR3800 (128MB RAM, 16MB flash) in a WNDRMAC case.

The WNDRMAC case doesn't have "holes" or labels for the 2.4GHz LED or
switch ports 2-4. The stock firmware uses a single LED (in the 5GHz
position) to indicate the status of both radios, and a single LED (in the
switch port 1 position) to indicate the status of all LAN ports. The
"missing" LEDs are present on the board, and easily shine through the
case. Unlike the stock firmware, OpenWrt will use these "hidden" LEDs.

I've tested the WNDRMACv2 image. I don't have a v1 WNDRMAC, but assume
that this is sufficient to build a fully-functional image.

Signed-off-by: Mark Mentovai <mark@moxienet.com>

SVN-Revision: 29513
13 years ago
Felix Fietkau 48f9717371 ar71xx: add gpios and usb for wzr-hp-g450h
SVN-Revision: 29509
13 years ago
Gabor Juhos 4ca2d86493 ar71xx: use RedBoot parser on PB44
SVN-Revision: 29501
13 years ago
John Crispin 934eef78ca convert to gpiolib
Signed-off-by:	karlp@tweak.net.au

SVN-Revision: 29486
13 years ago
Gabor Juhos 6e69765559 ar71xx: fix WNDR3x00 factory image generation
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>

SVN-Revision: 29473
13 years ago
Gabor Juhos 8eb8a6e1e7 ar71xx: fix WNDR3x00 model detection
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>

SVN-Revision: 29472
13 years ago
Gabor Juhos 43bd4c6ad1 ramips: fix mac addresses on the DIR-300/600 boards
SVN-Revision: 29471
13 years ago
Jonas Gorski e33bb9ec66 linux: update 3.1 to 3.1.4
SVN-Revision: 29470
13 years ago
Jonas Gorski 6e2ae90f4a linux: update 3.0 to 3.0.12
SVN-Revision: 29469
13 years ago
Gabor Juhos c6b2b98812 ar71xx: create firmware image for the TL-WR740N/ND v4 boards
Based on a patch by Cristian Deluxe <djcristiandeluxe@gmail.com>

SVN-Revision: 29468
13 years ago
Gabor Juhos fbfad4e9b4 ar71xx: use hw_id, hw_rev and flash_layout with mktplinkfw
SVN-Revision: 29467
13 years ago
Gabor Juhos d753e08c79 ar71xx: fix TL-MR3x20 profile names in image/Makefile
SVN-Revision: 29463
13 years ago
Gabor Juhos 62d8009cdd ar71xx: cleanup TP-Link profiles
SVN-Revision: 29461
13 years ago
Gabor Juhos f7a482d382 ar71xx: add TP-Link board detection
SVN-Revision: 29459
13 years ago
Gabor Juhos bdc2eca7de ar71xx: use correct mac on the lan interface on several TP-LINK devices
SVN-Revision: 29458
13 years ago
Gabor Juhos 0103069372 ar71xx: allow to pass negative offset values for ar71xx_init_mac
SVN-Revision: 29457
13 years ago
Gabor Juhos ada92aee62 ar71xx: don't register PCI controller on AR934x if PCIE_RC bit is not set
SVN-Revision: 29456
13 years ago
Gabor Juhos c6bcf8d1d8 ar71xx: verify hardware id of firmware images on TP-Link boards
SVN-Revision: 29455
13 years ago
Gabor Juhos 5ef6ec4a31 ramips: set mac addresses for the NBG-419N
Based on a patch by Nerijus Baliunas <nerijus@users.sourceforge.net>

SVN-Revision: 29454
13 years ago
Gabor Juhos 750d560767 ramips: set preinit interface mac on the hw550-3g board
Based on a patch by Daniel Golle <dgolle@allnet.de>

SVN-Revision: 29453
13 years ago
Gabor Juhos b5d7b359b2 ramips: use ramips_get_mac_* functions in the preinit script
SVN-Revision: 29452
13 years ago
Gabor Juhos 4d5b940e66 ramips: move ramips_get_mac_* functions to lib/ramips.sh
SVN-Revision: 29451
13 years ago
Gabor Juhos cc853acb3a ramips: add ramips_ prefix to get_mac_{binary,nvram} functions
SVN-Revision: 29450
13 years ago
Gabor Juhos b1137d48a4 ramips: fix network configuration setup
SVN-Revision: 29448
13 years ago
Gabor Juhos 4dc9092f4b ar71xx: reclaim some unused space on TP-Link boards
With the default OpenWrt configuration, this increases the size
of the rootfs_data partition by 384KB/128KB on the older/newer
TP-Link models.

SVN-Revision: 29447
13 years ago
Gabor Juhos 3e7a6d182a ar71xx: check squashfs signature in TP-Link mtd parser
SVN-Revision: 29446
13 years ago
Gabor Juhos feebf484ba ar71xx: use the lzma-loader on TP-Link boards w/o lzma support
SVN-Revision: 29444
13 years ago
Gabor Juhos d42968351f ar71xx: add lzma loader
SVN-Revision: 29443
13 years ago
Felix Fietkau 1f809532de ar71xx: add preliminary support for wzr-hp-g450h
SVN-Revision: 29441
13 years ago
Felix Fietkau d1f63f8538 ar71xx: move multi-m25p80 concat code from wzr-hp-ag300h mach code to dev-m25p80.c, other buffalo routers use it as well
SVN-Revision: 29440
13 years ago
Gabor Juhos 4cc2b9bb06 ar71xx: rewrite WNDR3700/3800 handling
SVN-Revision: 29434
13 years ago
Jo-Philipp Wich 78699c2e51 add some missing wndr3800 base-files definitions
SVN-Revision: 29433
13 years ago
Gabor Juhos 5177814ade ar71xx: change user-space board detection
SVN-Revision: 29432
13 years ago
Gabor Juhos 8a3a60fc64 ar71xx: allow WNDR3700 image creation to fail if kernel/rootfs too big
SVN-Revision: 29431
13 years ago
Gabor Juhos 56c9b50006 ramips: fix argus board rootfs size
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 29422
13 years ago
Gabor Juhos 7cfa39f032 ar71xx: use the tp-link parser on the tp-link boards
Also remove static partition maps.

SVN-Revision: 29416
13 years ago
Gabor Juhos 514b1167c9 ar71xx: add mtd partition parser for the TP-Link boards
SVN-Revision: 29415
13 years ago
Gabor Juhos fc7fb29bae ar71xx: run the RedBoot parser only on the RedBoot based boards
SVN-Revision: 29414
13 years ago
Gabor Juhos 9cc28d5aa0 ar71xx: run the MyLoader parser only on the WP543 board
SVN-Revision: 29413
13 years ago
Gabor Juhos 67a0b9aada ar71xx: run the wrt160nl parser only on the WRT160NL board
Also remove static mtd partition definitions.

SVN-Revision: 29412
13 years ago
Gabor Juhos c8acd6e013 ar71xx: allow to pass part_probe types to the m25p80 driver
SVN-Revision: 29411
13 years ago
Gabor Juhos 20483faed0 ar71xx: create initramfs images for the newer TP-Link boards
SVN-Revision: 29410
13 years ago
Gabor Juhos 9a2005e5e6 ar71xx: remove swconfig and wpad-mini from custom profiles
SVN-Revision: 29408
13 years ago
Gabor Juhos bc1d818610 ar71xx: add uboot-envtools to the default package list
SVN-Revision: 29407
13 years ago
Gabor Juhos a02a9c3f8b ar71xx: reclaim unused space in WNDR3700/3800 images
Patch by: Mark Mentovai <mark@moxienet.com>

SVN-Revision: 29406
13 years ago
Gabor Juhos ac82296c53 ar71xx: add a profile and build image for the OM2P board
[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>

SVN-Revision: 29397
13 years ago
Gabor Juhos f188f1bad5 ar71xx: add support for Ubiquiti AirRouter
Signed-off-by: Gergely Barta <gergely.barta@printerfairkft.hu>

SVN-Revision: 29395
13 years ago