Commit Graph

8556 Commits (a13cb527c95ed1a4a84644faf4ac18e56b53b8dd)

Author SHA1 Message Date
Gabor Juhos e008acff75 ar71xx: add uboot-envtools to the default package list
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29407 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-03 16:33:40 +00:00
Gabor Juhos 0f72e36a61 ar71xx: reclaim unused space in WNDR3700/3800 images
Patch by: Mark Mentovai <mark@moxienet.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29406 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-03 16:33:38 +00:00
Gabor Juhos d55531f7b7 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29397 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:49:05 +00:00
Gabor Juhos 897691c597 ar71xx: add support for Ubiquiti AirRouter
Signed-off-by: Gergely Barta <gergely.barta@printerfairkft.hu>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29395 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:49:02 +00:00
Gabor Juhos 64834fd3a6 ar71xx: configure default led behavior for the OM2P
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29394 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:48:59 +00:00
Gabor Juhos 7e3d291cee ramips: enable sysupgrade on the RT-N15 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29393 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:48:58 +00:00
Gabor Juhos 15b6e5575c ramips: wrap long line in platform upgrade script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29392 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:48:57 +00:00
Gabor Juhos 85c9f9860b 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29391 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:48:55 +00:00
Gabor Juhos d1754575ec ramips: setup default network configuration for RT-N15
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
2011-12-01 22:48:54 +00:00
Gabor Juhos 68c76b9f54 ramips: rt288x: add swconfig and rtl8366{s,_smi} drivers to the default profile
It is needed by the RT-N15 board.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29389 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:48:53 +00:00
Gabor Juhos 0aaf068e51 ramips: remove default network configuration, and generate that from uci-defaults
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29387 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:48:51 +00:00
Gabor Juhos cebe9384fa ramips: use /lib/functions/uci-defaults.sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29386 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:48:48 +00:00
Gabor Juhos c2898515e9 ar71xx: use /lib/functions/uci-defaults.sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29385 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:48:47 +00:00
Gabor Juhos 46cb8a93ff ramips: simplify uci-defaults/network script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:48:45 +00:00
Gabor Juhos 1c16097588 ramips: setup mac and network interfaces from separate functions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29382 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:48:43 +00:00
Gabor Juhos 33678d2d30 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29381 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:48:42 +00:00
Gabor Juhos f25326846b 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29380 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:48:41 +00:00
Gabor Juhos a253c0d6fb ramips: fix package name of kmod-input-gpio-buttons
Based on a patch from Omnima Limited.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29379 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:48:39 +00:00
Gabor Juhos 12ebf7f0a8 ramips: move kmod-rt2800-pci to DEFAULT_PACKAGES
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29378 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:48:38 +00:00
Gabor Juhos c42e834587 ramips: setup bc2 mac addresses from the generic network script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29377 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:48:37 +00:00
Gabor Juhos 576ea7dee8 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29376 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-01 22:48:35 +00:00
John Crispin 2b4010111d omap24xx: bump to 3.1.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29349 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-28 12:46:18 +00:00
John Crispin 35fe83070a lantiq: bump to 3.1.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29348 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-28 10:22:58 +00:00
Nicolas Thill c2bdcfd9f2 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29337 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-25 20:47:44 +00:00
Gabor Juhos dcab0017e4 ar71xx: modify phy mask of the WP543 board
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
2011-11-24 20:09:43 +00:00
Gabor Juhos dc19d51869 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29326 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-24 20:09:38 +00:00
Gabor Juhos 1df32b6140 ar71xx: copy atheros initramfs images to the image directory
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29325 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-24 20:09:35 +00:00
Gabor Juhos f738f055b7 ar71xx: specify mtd layout in command line for the DB120 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29324 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-24 20:09:32 +00:00
John Crispin 78a3a35804 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29294 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-23 12:22:15 +00:00
John Crispin 3e358d18e2 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29292 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-22 18:50:51 +00:00
Florian Fainelli 3361c4d1bf [brcm63xx] don't package gpioctl by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29288 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-21 16:36:39 +00:00
Nicolas Thill 29e5ed5992 target/uml: export atomic64_* functions on 32-bit x86
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29287 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-21 14:28:33 +00:00
Gabor Juhos 4c134d64ea ar71xx: set GE0 phy_mask for AR933x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29274 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-20 11:30:10 +00:00
Jo-Philipp Wich d724cd4a24 [brcm63xx] fix D-Link DSL-2650U image generation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29266 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-19 21:34:51 +00:00
Jonas Gorski 16fd48e131 linux: update 3.0 to 3.0.9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29264 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-19 18:39:12 +00:00
Florian Fainelli 7d6a631816 [brcm63xx] build images for D-Link DSL-2650U (#9003)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29238 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-18 10:37:03 +00:00
Michael Büsch 71954c593e omap24xx: Fix cbus nested IRQ acking
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29237 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-17 22:31:27 +00:00
Michael Büsch b22066dc6f omap24xx: Fix initialization of software IRQ mask
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29236 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-17 21:02:00 +00:00
Michael Büsch d976d63d95 omap24xx: Update 3.1 config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29234 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-17 19:35:57 +00:00
Michael Büsch 53f6feb557 omap24xx: Some retu/tahvo IRQ fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29233 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-17 18:06:19 +00:00
Michael Büsch 48937bced2 omap24xx: Add basic kexec fixes.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29232 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-17 14:57:34 +00:00
Michael Büsch 46a5094e4e omap24xx: Add workaround for omapfb locking bug.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29201 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-16 22:34:38 +00:00
Michael Büsch 0da89768b6 Revert r29193
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29195 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-16 19:03:23 +00:00
Michael Büsch cf42d675f5 omap24xx: Set platform specific optimization flags
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29194 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-16 19:02:12 +00:00
Michael Büsch 59676bb6a3 n810: Add xmodmap to profile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29193 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-16 19:01:19 +00:00
Florian Fainelli 60662c31e9 [rdc] include bridge and 8021q modules by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29164 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-15 22:24:22 +00:00
John Crispin c8c032629a lantiq: add runtime generation of /etc/config/network
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29161 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-15 18:21:00 +00:00
John Crispin 8f83f4a62f lantiq: fix falcon build breakage
dev-wifi-rt2x00 fails to build on falcon due to missing pci

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29129 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 18:55:58 +00:00
Gabor Juhos 0ec8a8b387 ar71xx: fix USB LED on the DB120 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29126 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 17:43:15 +00:00
Gabor Juhos a8b9399527 ar71xx: add a function for selecting output signal on a given GPIO pin
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29125 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 17:43:14 +00:00
Gabor Juhos cee3153f01 ar71xx: fix GPIO function handling on AR934x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29124 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 17:43:13 +00:00
Gabor Juhos 2db6e74505 ar71xx: add AR71XX_ prefix to GPIO_REG_* defines
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29123 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 17:43:11 +00:00
Gabor Juhos de3ee69258 ar71xx: merge nand scan patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29122 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 17:43:10 +00:00
Gabor Juhos 1fdbb4fcbd ar71xx: fix a compiler warning
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29110 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 13:07:47 +00:00
Gabor Juhos 33c5c80fa5 ar71xx: fix GPIO count for AR934x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29109 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 13:07:45 +00:00
Gabor Juhos 54d08f41c9 ar71xx: flush DDR writeback buffers for WMAC and PCIe on AR934X
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29108 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 11:49:53 +00:00
Gabor Juhos 546895e938 ar71xx: use a dummy irq chip for WMAC and PCIe irq hadling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29107 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 11:49:51 +00:00
Gabor Juhos a921ab0827 ar71xx: add AR934X_RESET_REG_PCIE_WMAC_INT_STATUS defines
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29106 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 11:49:49 +00:00
Gabor Juhos ed73833a62 ar71xx: add an irq parameter for ar724x_pcibios_init
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29105 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 11:49:47 +00:00
Gabor Juhos 6e87fe5dc5 ar71xx: remove hardwired interface parameters from mach-* files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29103 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 07:38:09 +00:00
Gabor Juhos 6f6b552473 ar71xx: force hardwired interface parameters in ar71xx_add_device_eth
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29102 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 07:38:07 +00:00
Gabor Juhos 75a8898840 ar71xx: use if-else instead of conditional operators in ar71xx_add_device_eth
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29101 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-14 07:38:05 +00:00
Florian Fainelli fb3e9ac6b0 [brcm63xx] build images for Pirelli A226M (#10409)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29045 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 19:19:22 +00:00
Florian Fainelli 150feffb3b [brcm63xx] register uart0 on DWV-S0 boards (#10409)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29044 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 19:19:18 +00:00
Florian Fainelli dea0392387 [kernel] refresh 3.0 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29043 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 19:19:14 +00:00
Florian Fainelli 9efe7cdbb7 [kernel] refresh 2.6.39 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29042 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 19:19:10 +00:00
Florian Fainelli f849b5a225 [brcm63xx] rename 456-board_DWV-S0_ehci.patch to 456-board_DWV-S0_fixes.patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29041 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 19:19:05 +00:00
Florian Fainelli 351f04672c [rdc] fix typo, load ip17xx switch module
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29039 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 18:41:26 +00:00
Gabor Juhos 562bd7628c ar71xx: enable has_gbit flag on AR724{0,1}
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29026 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 17:36:36 +00:00
Gabor Juhos 81359fd675 ar71xx: fixup onboard PCIe chip registration on the DB120 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 12:48:03 +00:00
Gabor Juhos 23823d7a65 ar71xx: drop DB120_WMAC_MAC_OFFSET, it is not needed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29021 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 12:48:01 +00:00
Gabor Juhos 8e7450e3c2 ar71xx: ag71xx: add support for getting switch port link status
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29017 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 11:27:04 +00:00
Gabor Juhos 25722074a3 ar71xx: remove mii_ctrl resources of the ethernet devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29016 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 11:27:03 +00:00
Gabor Juhos 0e2b6d0d25 ar71xx: ag71xx: remove unused mii_ctrl field from struct ag71xx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 11:27:01 +00:00
Gabor Juhos f0a3d94dff ar71xx: ag71xx: remove unused mii_cfg related functions and defines
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29014 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 11:27:00 +00:00
Gabor Juhos 51b1d36e03 ar71xx: set MII interface speed from the set_speed callbacks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29013 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 11:26:59 +00:00
Gabor Juhos 0839b18e6f ar71xx: rename set_pll callback to set_speed in ag71xx_platform_data
Also rename the corresponding callback functions.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29012 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 11:26:57 +00:00
Gabor Juhos 7e0c585208 ar71xx: ag71xx: remove MII interface setup code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29011 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 11:26:56 +00:00
Gabor Juhos b28f1d9516 ar71xx: configure MII interface type from ar71xx_setup_phy_if_mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 11:26:54 +00:00
Gabor Juhos 819f6df245 ar71xx: fix occasional kernel hangs during boot on AR934x
The patch taken from the linux-mips mailing list.

The Kernel hangs occasionally during boot after
"Calibrating delay loop..". This is caused by the
c0_compare_int_usable() routine in cevt-r4k.c
returning false which causes the system to disable
the timer and hang later. The false return happens
because the routine is using a series of four calls
to irq_disable_hazard() as a delay while it waits
for the timer changes to propagate to the cp0 cause
register. On newer MIPS cores, like the 74K, the
series of irq_disable_hazard() calls turn into ehb
instructions and can take as little as a few clock
ticks for all 4 instructions. This is not enough of
a delay, so the routine thinks the timer is not
working.

This fix uses up to a max number of cycle counter
ticks for the delay and uses back_to_back_c0_hazard()
instead of irq_disable_hazard() to handle the hazard
condition between cp0 writes and cp0 reads.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29009 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 11:26:52 +00:00
Gabor Juhos 003cbe35e2 ar71xx: refresh kernel patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29008 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 11:26:51 +00:00
Jonas Gorski e30803b3df linux: update 3.1 to 3.1.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 10:48:05 +00:00
John Crispin b94c5c5031 lantiq: add uci-defaults code for handling leds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29004 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 23:40:21 +00:00
John Crispin 508789fa68 lantiq: add /lib/lantiq.sh and make hotplug handlers use it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 23:40:16 +00:00
John Crispin 39c1578720 lantiq: rename leds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29002 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 23:40:12 +00:00
John Crispin a7830ac4e2 lantiq: split compat headers out of bsp header patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29001 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 23:40:07 +00:00
John Crispin 4d22bffe5b lantiq: adds hotplug handler for loading rt2x00 firmware
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 23:40:01 +00:00
John Crispin e685dc989d lantiq: adds hotplug handler for handling buttons and makes w303v work with it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28999 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 23:39:56 +00:00
John Crispin 5d23a8d4b2 lantiq: cleanup default package selection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28998 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 23:39:51 +00:00
John Crispin a6a4c7a38a lantiq: w303v has its rt2860 eep on the nor flash. tell compat-wireless how to use it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28994 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 18:41:15 +00:00
Gabor Juhos be0c011b6e kernel: ar8216: add support for the AR8236 switch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28993 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 14:09:52 +00:00
Gabor Juhos 663c9eaaa1 kernel: ar8216: move port vlan setup into a separate function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28992 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 14:09:50 +00:00
Gabor Juhos 96e3c5d0b8 ar71xx: use the button for WPS control on the DB120
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28990 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 12:50:20 +00:00
Gabor Juhos 0b8f0e8e22 ar71xx: register the second ethernet interface on the DB120 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28989 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 12:50:19 +00:00
Gabor Juhos 547b567ada ar71xx: implement SoC specific phy interface setup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28988 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 12:50:18 +00:00
Gabor Juhos 2d684997e3 ar71xx: move phy interface setup into a separate function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28987 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 12:50:16 +00:00
Gabor Juhos a680542669 ar71xx: register both MDIO bus on the DB120 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28986 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 12:09:59 +00:00
Gabor Juhos aee435407b ar71xx: add AR934X specific MDIO registration code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28985 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 12:09:56 +00:00
Gabor Juhos 61471eaa03 ar71xx: add a secondary mdio bus
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28984 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 12:09:54 +00:00
Gabor Juhos 008f0239fb ar71xx: rename ar71xx_mdio_* structures to ar71xx_mdio0_*
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28983 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 12:09:50 +00:00
Gabor Juhos cf263134a7 ar71xx: add an id argument to ar71xx_add_device_mdio
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28982 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 12:09:48 +00:00
Gabor Juhos ff698943a3 ar71xx: pass netdev and miidev pointer to ar71xx_add_device_dsa
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28981 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 12:09:42 +00:00
Gabor Juhos c3d1b40766 ar71xx: add AR934x specific USB setup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28980 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 10:54:20 +00:00
Gabor Juhos 86beed68ca ar71xx: register the first ethernet interface on the DB120 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28979 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 10:54:18 +00:00
Gabor Juhos aa72cd1c08 ar71xx: allow to register ethernet interfaces for AR934X
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28978 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 10:54:17 +00:00
Gabor Juhos 44a0cc9d1b ar71xx: ag71xx: use fixed link parameters if the mii bus is not registered
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28977 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 10:54:16 +00:00
Gabor Juhos 4faf62a121 ar71xx: add AR934X specific bootstrap and reset register bits
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28976 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 10:54:15 +00:00
Gabor Juhos ab5f1bf090 ar71xx: add diag support for the DB120 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28975 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 10:54:10 +00:00
Gabor Juhos 856b67cb13 ar71xx: fix GPIO direction setup for AR934x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28974 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 10:54:09 +00:00
Gabor Juhos 4bafa258d8 ar71xx: fix AR934X clock frequency calculation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28973 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 10:54:08 +00:00
Gabor Juhos 3e6d0203d3 ar71xx: generate ubootenv from uci-defaults instead of providing defconfig
I noticed most of /etc/defconfig was replaced by /etc/uci-defaults, which is
indeed much nicer. So I moved over ubootenv from having a defconfig-entry to
also be generated from uci-defaults.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28971 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-12 10:54:04 +00:00
John Crispin 796b2be4f5 lantiq: improve falcon package selection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28962 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-11 21:59:11 +00:00
John Crispin 9b8ac845a1 lantiq: fix breakage introduced in 3.1 bump
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28961 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-11 21:59:01 +00:00
Jo-Philipp Wich d75509fe4d base-files, target: assign name to system timeserver section, makes it easier to set servers on the cli
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28933 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-10 12:16:41 +00:00
Jonas Gorski fba8b20978 target: linux: mtd: fix MTDREFRESH to an arbitrary high number
To make the ioctl number "stable", use an arbitrary high number to prevent
conflicts with new mtd ioctls that would push MTDREFRESH's number.

Also make mtd use the in-kernel mtd headers.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-09 21:16:36 +00:00
Felix Fietkau a31e4087d1 ar71xx: remove dead code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-08 00:33:20 +00:00
Felix Fietkau ebb2f0d93b ar71xx: on ar7240, exclude ports from their own port vlan destination mask
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-08 00:33:15 +00:00
Felix Fietkau bb2e9e6c50 kernel: add a top level menuconfig option for enabling lockdep
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-08 00:32:57 +00:00
Gabor Juhos f324cde661 ar71xx: create TL-WA901ND network config from uci-defaults
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28833 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 21:44:24 +00:00
Gabor Juhos 7fa7bf413a ar71xx: create ALL0258N network config from uci-defaults
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28832 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 21:44:23 +00:00
Gabor Juhos ce845599cf ar71xx: create NBG{460N,550N,550NH} network config from uci-defaults
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28831 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 21:44:20 +00:00
Gabor Juhos 0282878582 ar71xx: create WZR-HP-G300NH network config from uci-defaults
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28830 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 21:44:17 +00:00
Gabor Juhos c5759b1fb1 ar71xx: create RB-493G network config from uci-defaults
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28829 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 21:44:12 +00:00
Gabor Juhos e9214fa4f2 ar71xx: create TL-WR1043ND network config from uci-defaults
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28828 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 21:44:11 +00:00
Gabor Juhos ffab58baa6 ar71xx: create WRT160NL network config from uci-defaults
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28827 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 21:44:09 +00:00
Gabor Juhos 0a1c3b4bb1 ar71xx: create PB92 network config from uci-defaults
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28826 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 21:44:08 +00:00
Gabor Juhos bcb5dba8ba ar71xx: create DIR-825-B1 network config from uci-defaults
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28825 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 21:44:07 +00:00
Gabor Juhos cf735fe893 ar71xx: create TL-WR{841N-v1,941ND} network config from uci-defaults
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28824 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 21:44:03 +00:00
Gabor Juhos 71d946496e ar71xx: create RB-450 network config from uci-defaults
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28823 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 21:44:02 +00:00
Gabor Juhos d72b269a99 ar71xx: create RB-450G, RouterStation Pro network config from uci-defaults
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28822 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 21:44:01 +00:00
Gabor Juhos 986666a07d ar71xx: create RB-433{,U} network config from uci defaults
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28821 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 21:43:58 +00:00
Gabor Juhos 3b52c3653c ar71xx: create even more network configs from the uci-defaults script
Create the default network configuration dynamically for the
AR724x/AR9331 boards. Some other boards are using the same
configuration, so convert those as well.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28820 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 21:43:56 +00:00
Gabor Juhos 5f5bb28ad3 ar71xx: create more network configs from the uci-defaults script
Create the default network configuration dynamically for the boards with
swapped eth0, eth1 interfaces.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28819 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 21:43:54 +00:00
Gabor Juhos 2037793081 ar71xx: create a bunch of network configs from the uci-defaults script
Create the default network configuration dynamically for the boards with
a single ethernet interface.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28818 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 21:43:52 +00:00
Gabor Juhos 23e7014185 ar71xx: create generic network config from an uci-defaults script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28817 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 21:43:51 +00:00
Gabor Juhos 1c203e5ff8 ar71xx: remove AP81 defconfig, it is the same as the generic config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28816 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 21:34:33 +00:00
Gabor Juhos c20327d5ff ar71xx: change generated Buffalo firmware versions
With version 1.76 the upgrade may fail with newer Buffalo firmwares with
a message like this:
"You can not update the firmware because the firmware version is earlier
than 1.82. Please use 1.82 or later version for firmware update."

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28815 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 21:34:32 +00:00
Imre Kaloz 63a2c4b8e1 [cns3xxx]: update 3.1 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28814 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 21:13:13 +00:00
Imre Kaloz 022bf6081b [generic/3.1]: update arm mach-types
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28813 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 21:12:26 +00:00
Gabor Juhos b949f4133d ar71xx: enable sysupgrade on the WHR-G301N and WHR-HP-GN boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28812 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 20:25:00 +00:00
Gabor Juhos d2593ad142 ar71xx: wrap long lines in the upgrade script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28811 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 20:24:59 +00:00
Gabor Juhos 5290614fac ar71xx: fix WHR-HP-G300N firmware partition offset
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28810 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 20:24:57 +00:00
Gabor Juhos 1517713d89 ar71xx: add default network configuration for the WHR-HP-GN
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28807 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 13:32:43 +00:00
Gabor Juhos f56da26294 ar71xx: build image for the Buffalo WHR-HP-GN
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28806 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 12:59:11 +00:00
Gabor Juhos 10c12741af ar71xx: add support for the Buffalo WHR-HP-GN board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28805 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 12:59:10 +00:00
Gabor Juhos ca96dda8d8 ar71xx: build image for the Buffalo WHR-G301N
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28804 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 12:59:08 +00:00
Gabor Juhos affce809d6 ar71xx: add support for the Buffalo WHR-G301N board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28803 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 12:59:07 +00:00
Gabor Juhos c94b4af3dc ar71xx: fix WHR-HP-G300N image generation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28802 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 12:59:05 +00:00
Gabor Juhos d1bc81ae49 ar71xx: enable WHR-HP-G300N support in kernel config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28801 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 12:59:04 +00:00
Gabor Juhos 9e10ecd5d2 ar71xx: fix WHR-HP-G300N MTD partitions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28800 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-07 12:59:03 +00:00