Gabor Juhos
aefff26624
ar71x: use raw squashfs images for TP-Link boards
...
SVN-Revision: 29547
2011-12-15 22:03:46 +00:00
Gabor Juhos
d5bd28ffae
ar71xx: create a template for using unpadded squashfs images
...
SVN-Revision: 29546
2011-12-15 22:03:45 +00:00
Gabor Juhos
dbc4fa4b5b
ar71xx: put squash image right after the kernel on TP-Link boards
...
SVN-Revision: 29545
2011-12-15 22:03:44 +00:00
Gabor Juhos
850be54b72
ar71xx: tplinkpart: allow to detect JFFS2 as well
...
SVN-Revision: 29543
2011-12-15 22:03:40 +00:00
Gabor Juhos
b7d7481b07
ar71xx: ag71xx: check PHY IDs before accessing the switch registers
...
SVN-Revision: 29541
2011-12-15 13:25:23 +00:00
Gabor Juhos
0655552860
ar71xx: ag71xx: don't use port 4 of the switch, it is not connected on ar724x
...
SVN-Revision: 29540
2011-12-15 13:25:21 +00:00
Gabor Juhos
204fc6bed5
ar71xx: ag71xx: nuke ar7240sw_init
...
SVN-Revision: 29539
2011-12-15 13:25:20 +00:00
Gabor Juhos
d1f7783612
ar71xx: fix mac addresses on jjPlus devices
...
SVN-Revision: 29538
2011-12-15 13:25:18 +00:00
Gabor Juhos
d3058b8f8c
ar71xx: build image for the Hornet-UB board
...
SVN-Revision: 29536
2011-12-14 20:54:11 +00:00
Gabor Juhos
b9c5cb5c9a
ar71xx: add support for ALFA Network's Hornet-UB board
...
SVN-Revision: 29535
2011-12-14 20:54:10 +00:00
Gabor Juhos
66c8cc0f6d
ar71xx: add GPIO function bit defines for AR933X
...
SVN-Revision: 29534
2011-12-14 20:54:07 +00:00
Gabor Juhos
0c38d36488
ramips: add support for Omnima MiniEMBWiFi board
...
This patch adds support for the Omnima MiniEMBWiFi
Ralink RT3050F based board.
Based on a patch by Ivan Ignjatic <ivan at omnima.co.uk>
SVN-Revision: 29533
2011-12-14 20:51:26 +00:00
Felix Fietkau
7076d74b21
ar71xx: fix gpio count for ar7241/ar7242
...
SVN-Revision: 29532
2011-12-14 20:47:24 +00:00
Felix Fietkau
b878f4a927
ar71xx: register extra leds behind the wireless mac on wzr-hp-g450h
...
SVN-Revision: 29531
2011-12-14 20:21:42 +00:00
Felix Fietkau
e3017bc05e
ath9k: add support for registering extra leds connected to the wmac gpio lines
...
SVN-Revision: 29530
2011-12-14 20:21:36 +00:00
Gabor Juhos
d2717d3d47
ar71xx: get rid of squashfs-4k images
...
SVN-Revision: 29522
2011-12-13 20:41:24 +00:00
Gabor Juhos
5afedc67e2
generic: disable 'small sector' erase in m25p80 driver
...
This fixes the issues with the jffs2 images on various boards. Using
JFFS2 on devices with 4KiB erase sectors is not safe:
http://lists.infradead.org/pipermail/linux-mtd/2011-June/036591.html
SVN-Revision: 29521
2011-12-13 20:41:22 +00:00
Felix Fietkau
4a441570ca
kernel: move linux/ath9k_platform.h to generic files so that it can be reused from other targets
...
SVN-Revision: 29516
2011-12-13 15:14:59 +00:00
Felix Fietkau
3806671fe5
ar71xx: fix wireless led on wzr-hp-g450h
...
SVN-Revision: 29515
2011-12-13 15:00:43 +00:00
Gabor Juhos
2dd7dfb1c9
ar71xx: enable AR9341 support at setup.c
...
Patch-by: dyq <729650915@qq.com>
SVN-Revision: 29514
2011-12-13 14:59:43 +00:00
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
2011-12-13 14:59:40 +00:00
Felix Fietkau
48f9717371
ar71xx: add gpios and usb for wzr-hp-g450h
...
SVN-Revision: 29509
2011-12-13 13:33:44 +00:00
Gabor Juhos
4ca2d86493
ar71xx: use RedBoot parser on PB44
...
SVN-Revision: 29501
2011-12-11 15:52:47 +00:00
John Crispin
934eef78ca
convert to gpiolib
...
Signed-off-by: karlp@tweak.net.au
SVN-Revision: 29486
2011-12-09 07:52:10 +00:00
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
2011-12-07 06:55:50 +00:00
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
2011-12-07 06:55:39 +00:00
Gabor Juhos
43bd4c6ad1
ramips: fix mac addresses on the DIR-300/600 boards
...
SVN-Revision: 29471
2011-12-06 20:06:08 +00:00
Jonas Gorski
e33bb9ec66
linux: update 3.1 to 3.1.4
...
SVN-Revision: 29470
2011-12-06 19:50:30 +00:00
Jonas Gorski
6e2ae90f4a
linux: update 3.0 to 3.0.12
...
SVN-Revision: 29469
2011-12-06 19:50:25 +00:00
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
2011-12-06 16:26:44 +00:00
Gabor Juhos
fbfad4e9b4
ar71xx: use hw_id, hw_rev and flash_layout with mktplinkfw
...
SVN-Revision: 29467
2011-12-06 16:26:43 +00:00
Gabor Juhos
d753e08c79
ar71xx: fix TL-MR3x20 profile names in image/Makefile
...
SVN-Revision: 29463
2011-12-06 13:53:21 +00:00
Gabor Juhos
62d8009cdd
ar71xx: cleanup TP-Link profiles
...
SVN-Revision: 29461
2011-12-06 10:29:25 +00:00
Gabor Juhos
f7a482d382
ar71xx: add TP-Link board detection
...
SVN-Revision: 29459
2011-12-05 21:11:01 +00:00
Gabor Juhos
bdc2eca7de
ar71xx: use correct mac on the lan interface on several TP-LINK devices
...
SVN-Revision: 29458
2011-12-05 21:10:58 +00:00
Gabor Juhos
0103069372
ar71xx: allow to pass negative offset values for ar71xx_init_mac
...
SVN-Revision: 29457
2011-12-05 21:10:55 +00:00
Gabor Juhos
ada92aee62
ar71xx: don't register PCI controller on AR934x if PCIE_RC bit is not set
...
SVN-Revision: 29456
2011-12-05 18:21:15 +00:00
Gabor Juhos
c6bcf8d1d8
ar71xx: verify hardware id of firmware images on TP-Link boards
...
SVN-Revision: 29455
2011-12-05 18:11:51 +00:00
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
2011-12-05 17:27:07 +00:00
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
2011-12-05 17:27:06 +00:00
Gabor Juhos
b5d7b359b2
ramips: use ramips_get_mac_* functions in the preinit script
...
SVN-Revision: 29452
2011-12-05 17:27:04 +00:00
Gabor Juhos
4d5b940e66
ramips: move ramips_get_mac_* functions to lib/ramips.sh
...
SVN-Revision: 29451
2011-12-05 17:27:03 +00:00
Gabor Juhos
cc853acb3a
ramips: add ramips_ prefix to get_mac_{binary,nvram} functions
...
SVN-Revision: 29450
2011-12-05 17:27:02 +00:00
Gabor Juhos
b1137d48a4
ramips: fix network configuration setup
...
SVN-Revision: 29448
2011-12-05 16:54:48 +00:00
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
2011-12-05 14:52:36 +00:00
Gabor Juhos
3e7a6d182a
ar71xx: check squashfs signature in TP-Link mtd parser
...
SVN-Revision: 29446
2011-12-05 14:52:33 +00:00
Gabor Juhos
feebf484ba
ar71xx: use the lzma-loader on TP-Link boards w/o lzma support
...
SVN-Revision: 29444
2011-12-05 14:52:28 +00:00
Gabor Juhos
d42968351f
ar71xx: add lzma loader
...
SVN-Revision: 29443
2011-12-05 14:52:25 +00:00
Felix Fietkau
1f809532de
ar71xx: add preliminary support for wzr-hp-g450h
...
SVN-Revision: 29441
2011-12-05 14:20:51 +00:00
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
2011-12-05 14:20:44 +00:00
Gabor Juhos
4cc2b9bb06
ar71xx: rewrite WNDR3700/3800 handling
...
SVN-Revision: 29434
2011-12-05 13:03:54 +00:00
Jo-Philipp Wich
78699c2e51
add some missing wndr3800 base-files definitions
...
SVN-Revision: 29433
2011-12-05 12:56:21 +00:00
Gabor Juhos
5177814ade
ar71xx: change user-space board detection
...
SVN-Revision: 29432
2011-12-05 12:56:20 +00:00
Gabor Juhos
8a3a60fc64
ar71xx: allow WNDR3700 image creation to fail if kernel/rootfs too big
...
SVN-Revision: 29431
2011-12-05 12:47:53 +00:00
Gabor Juhos
56c9b50006
ramips: fix argus board rootfs size
...
Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 29422
2011-12-04 15:24:57 +00:00
Gabor Juhos
7cfa39f032
ar71xx: use the tp-link parser on the tp-link boards
...
Also remove static partition maps.
SVN-Revision: 29416
2011-12-03 18:13:31 +00:00
Gabor Juhos
514b1167c9
ar71xx: add mtd partition parser for the TP-Link boards
...
SVN-Revision: 29415
2011-12-03 18:13:27 +00:00
Gabor Juhos
fc7fb29bae
ar71xx: run the RedBoot parser only on the RedBoot based boards
...
SVN-Revision: 29414
2011-12-03 18:13:25 +00:00
Gabor Juhos
9cc28d5aa0
ar71xx: run the MyLoader parser only on the WP543 board
...
SVN-Revision: 29413
2011-12-03 18:13:23 +00:00
Gabor Juhos
67a0b9aada
ar71xx: run the wrt160nl parser only on the WRT160NL board
...
Also remove static mtd partition definitions.
SVN-Revision: 29412
2011-12-03 18:13:20 +00:00
Gabor Juhos
c8acd6e013
ar71xx: allow to pass part_probe types to the m25p80 driver
...
SVN-Revision: 29411
2011-12-03 18:13:18 +00:00
Gabor Juhos
20483faed0
ar71xx: create initramfs images for the newer TP-Link boards
...
SVN-Revision: 29410
2011-12-03 16:57:23 +00:00
Gabor Juhos
9a2005e5e6
ar71xx: remove swconfig and wpad-mini from custom profiles
...
SVN-Revision: 29408
2011-12-03 16:33:41 +00:00
Gabor Juhos
bc1d818610
ar71xx: add uboot-envtools to the default package list
...
SVN-Revision: 29407
2011-12-03 16:33:40 +00:00
Gabor Juhos
a02a9c3f8b
ar71xx: reclaim unused space in WNDR3700/3800 images
...
Patch by: Mark Mentovai <mark@moxienet.com>
SVN-Revision: 29406
2011-12-03 16:33:38 +00:00
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
2011-12-01 22:49:05 +00:00
Gabor Juhos
f188f1bad5
ar71xx: add support for Ubiquiti AirRouter
...
Signed-off-by: Gergely Barta <gergely.barta@printerfairkft.hu>
SVN-Revision: 29395
2011-12-01 22:49:02 +00:00
Gabor Juhos
0612667c34
ar71xx: configure default led behavior for the OM2P
...
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
SVN-Revision: 29394
2011-12-01 22:48:59 +00:00
Gabor Juhos
3fccc3b376
ramips: enable sysupgrade on the RT-N15 board
...
SVN-Revision: 29393
2011-12-01 22:48:58 +00:00
Gabor Juhos
4b2d1c3ad3
ramips: wrap long line in platform upgrade script
...
SVN-Revision: 29392
2011-12-01 22:48:57 +00:00
Gabor Juhos
d622263588
ramips: add profile for the Asus RT-N15
...
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>
SVN-Revision: 29391
2011-12-01 22:48:55 +00:00
Gabor Juhos
3a9e02fa41
ramips: setup default network configuration for RT-N15
...
Based on a patch by Roman Yeryomin <roman@advem.lv>
SVN-Revision: 29390
2011-12-01 22:48:54 +00:00
Gabor Juhos
fc61c107f0
ramips: rt288x: add swconfig and rtl8366{s,_smi} drivers to the default profile
...
It is needed by the RT-N15 board.
SVN-Revision: 29389
2011-12-01 22:48:53 +00:00
Gabor Juhos
80221fcd2a
ramips: remove default network configuration, and generate that from uci-defaults
...
SVN-Revision: 29387
2011-12-01 22:48:51 +00:00
Gabor Juhos
4f6c58adac
ramips: use /lib/functions/uci-defaults.sh
...
SVN-Revision: 29386
2011-12-01 22:48:48 +00:00
Gabor Juhos
39348e387f
ar71xx: use /lib/functions/uci-defaults.sh
...
SVN-Revision: 29385
2011-12-01 22:48:47 +00:00
Gabor Juhos
569d8de6d6
ramips: simplify uci-defaults/network script
...
SVN-Revision: 29383
2011-12-01 22:48:45 +00:00
Gabor Juhos
66c9a351dd
ramips: setup mac and network interfaces from separate functions
...
SVN-Revision: 29382
2011-12-01 22:48:43 +00:00
Gabor Juhos
62d18e9f9a
ramips: fix Asus RT-N15 board support
...
Fix Asus RT-N15 flash partitions and make an image.
Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 29381
2011-12-01 22:48:42 +00:00
Gabor Juhos
2dd79d55c7
ramips: Sparklan wcr-150gn board fixes
...
* Fix partition sizes.
* Add buttons and leds.
* Register usb.
* Remove unnecessary stuff from image Makefile
* Fix rt2x00 eeprom extract.
Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 29380
2011-12-01 22:48:41 +00:00
Gabor Juhos
7c678e7511
ramips: fix package name of kmod-input-gpio-buttons
...
Based on a patch from Omnima Limited.
SVN-Revision: 29379
2011-12-01 22:48:39 +00:00
Gabor Juhos
2ed38b24a8
ramips: move kmod-rt2800-pci to DEFAULT_PACKAGES
...
Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 29378
2011-12-01 22:48:38 +00:00
Gabor Juhos
295e04084c
ramips: setup bc2 mac addresses from the generic network script
...
SVN-Revision: 29377
2011-12-01 22:48:37 +00:00
Gabor Juhos
02f95d4fb3
ramips: combine network setup for all boards in one file
...
Inspired by the patch from Roman Yeryomin. Thanks, Roman!
This removes unnecessary duplication and simplifies network setup for new
boards. It would be a one line change most likely.
[juhosg: setup lan and wan interfaces for unspecified rt3x0x based boards
in order to avoid regression]
Signed-off-by: Alexander Gordeev <lasaine@lvk.cs.msu.su>
SVN-Revision: 29376
2011-12-01 22:48:35 +00:00
John Crispin
88cb7ae104
omap24xx: bump to 3.1.3
...
SVN-Revision: 29349
2011-11-28 12:46:18 +00:00
John Crispin
bf7316424c
lantiq: bump to 3.1.3
...
SVN-Revision: 29348
2011-11-28 10:22:58 +00:00
Nicolas Thill
5e83009a52
targets: fix CONFIG_USB_STORAGE_* inconsistency
...
* all options were switched from bool to tristate in 2.6.30
* add/change/move them to generic, disabled by default
* remove extinct CONFIG_USB_STORAGE_DPCM dropped in 2.6.29, merged with CONFIG_USB_STORAGE_SDDR09
* remove extinct CONFIG_USB_STORAGE_SIERRA option in 2.6
* cleanup ordering
SVN-Revision: 29337
2011-11-25 20:47:44 +00:00
Gabor Juhos
f20797306a
ar71xx: modify phy mask of the WP543 board
...
This fixes ethernet on newer boards. Based on a patch from #9702 .
SVN-Revision: 29328
2011-11-24 20:09:43 +00:00
Gabor Juhos
c20d7378e5
ar71xx: fix wndr3800 machine name
...
This fixes the machine name in /proc/cpuinfo and luci status page machine name.
Signed-off-by: Petri Rosenström <petri.rosenstrom@gmail.com>
SVN-Revision: 29326
2011-11-24 20:09:38 +00:00
Gabor Juhos
600b6efc41
ar71xx: copy atheros initramfs images to the image directory
...
SVN-Revision: 29325
2011-11-24 20:09:35 +00:00
Gabor Juhos
d97cf76790
ar71xx: specify mtd layout in command line for the DB120 board
...
SVN-Revision: 29324
2011-11-24 20:09:32 +00:00
John Crispin
9389593db9
lantiq: drop 009-MIPS-make-oprofile-use-cp0_perfcount_irq-if-it-is-se.patch
...
This patch is/was a duplicate of generic/patches-3.1/307-mips_oprofile_fix.patch
SVN-Revision: 29294
2011-11-23 12:22:15 +00:00
John Crispin
4982ca983c
lantiq: * fixes ath5k eeprom handling * fixes sx76x * adds sx76x to userland api * minor style cleanups
...
Signed-of-by: Andrej Vlašić <andrej.vlasic0@gmail.com>
SVN-Revision: 29292
2011-11-22 18:50:51 +00:00
Florian Fainelli
718907b661
don't package gpioctl by default
...
SVN-Revision: 29288
2011-11-21 16:36:39 +00:00
Nicolas Thill
c33f21ae95
target/uml: export atomic64_* functions on 32-bit x86
...
SVN-Revision: 29287
2011-11-21 14:28:33 +00:00
Gabor Juhos
9990523a0f
ar71xx: set GE0 phy_mask for AR933x
...
SVN-Revision: 29274
2011-11-20 11:30:10 +00:00
Jo-Philipp Wich
b5739aabd9
fix D-Link DSL-2650U image generation
...
SVN-Revision: 29266
2011-11-19 21:34:51 +00:00
Jonas Gorski
8bac0df4ae
linux: update 3.0 to 3.0.9
...
SVN-Revision: 29264
2011-11-19 18:39:12 +00:00
Florian Fainelli
ae90aa4efd
build images for D-Link DSL-2650U ( #9003 )
...
SVN-Revision: 29238
2011-11-18 10:37:03 +00:00
Michael Büsch
0b86c2648a
omap24xx: Fix cbus nested IRQ acking
...
SVN-Revision: 29237
2011-11-17 22:31:27 +00:00