Commit Graph

374 Commits (7eeb254cc49c4e9f837c980826ec112b9404f341)

Author SHA1 Message Date
Florian Fainelli 733b0a1ff8 rework ar7 profiles to separate dsl firmwares, annex-a being now the default and most widespread
SVN-Revision: 16201
15 years ago
Florian Fainelli c2df3a7179 refresh patches
SVN-Revision: 16156
15 years ago
Florian Fainelli fc72d90103 revert part of r16112, the setup.c part needs more testing
SVN-Revision: 16113
15 years ago
Florian Fainelli 33f6145c51 include missing atm-tools to setup pppoe/a links
SVN-Revision: 16112
15 years ago
Florian Fainelli 9e9ac96aeb include atm drivers in default images, otherwise firmware is just useless
SVN-Revision: 16051
15 years ago
Florian Fainelli 3b92b4de00 I recently came across an ar7 device which has the vlynq hardwired so that the clocks are always generated by the remote device instead of the local one.
Upon initialization the current version of vlynq driver disables
remote clock generation and causes the entire bus to hang on my
device.

This patch adds support for detecting which device (local or remote)
is responsible of clock generation and implements clock
initialization based on detection result.

Signed-off-by: Antti Seppala <a.seppala at gmail.com>

SVN-Revision: 16049
15 years ago
Imre Kaloz e965c02820 even more config file cleanup
SVN-Revision: 15913
15 years ago
Imre Kaloz e1e531253d without generic 2.6.26 support it doesn't make sense to keep 2.6.26 configs around..
SVN-Revision: 15862
15 years ago
Imre Kaloz 91e866f383 config cleanups
SVN-Revision: 15861
15 years ago
Imre Kaloz 6bfddb152f some additional config file cleanup..
SVN-Revision: 15845
15 years ago
Imre Kaloz a9c958c2de make kernels use /etc/preinit by default
SVN-Revision: 15840
15 years ago
Florian Fainelli ee7fcc6d27 include kmod-acx in default images
SVN-Revision: 15691
15 years ago
Florian Fainelli 6239eb2c7b update to 2.6.27 (#4122)
SVN-Revision: 15665
15 years ago
Imre Kaloz e9b397805d some more kernel config cleanup.. last for today :)
SVN-Revision: 15606
15 years ago
Imre Kaloz 0f2b1d070a more cleanup
SVN-Revision: 15605
15 years ago
Imre Kaloz a614251e6c cleanup MTD option handling
SVN-Revision: 15602
15 years ago
Felix Fietkau 16defbb2bd nuke obsolete kernel stuff
SVN-Revision: 14875
15 years ago
Florian Fainelli 4906d4533a include pppoa and br2684 packages by default (#4648)
SVN-Revision: 14626
16 years ago
Florian Fainelli 086b7e33f1 do not patch the local copy of ar7part.c to be exactly like what is mainline already
SVN-Revision: 14625
16 years ago
Felix Fietkau 11014b5cea disable all kernel config options that are set to =m
SVN-Revision: 14611
16 years ago
Gabor Juhos d5bfba98ce refresh 2.6.26 patches
SVN-Revision: 13527
16 years ago
Gabor Juhos 919a8a9fe0 make mips_machine stuff available for other MIPS targets
SVN-Revision: 13492
16 years ago
Imre Kaloz a695fa76a4 move THERMAL symbols into the generic config
SVN-Revision: 13346
16 years ago
Florian Fainelli a936c402fc Fix this nasty patch which prevented others from applying
SVN-Revision: 13343
16 years ago
Gabor Juhos 88cda758c3 update to 2.6.25.20, 2.6.26.8, 2.6.27.5 and refresh patches * based on a patch by Hauke Mehrtens * closes #4193
SVN-Revision: 13192
16 years ago
Gabor Juhos a1bf28950d refresh 2.6.26 patches
SVN-Revision: 13135
16 years ago
Florian Fainelli 1ac53fbf06 Update to 2.6.26.7
SVN-Revision: 13036
16 years ago
Florian Fainelli 6585073a04 Add missing evaloader specific changes from #2830
SVN-Revision: 13018
16 years ago
Gabor Juhos 821170133f update to 2.6.26.5 and 2.6.25.17
SVN-Revision: 12718
16 years ago
Nicolas Thill 3029c2fd53 disable CONFIG_USB_SUPPORT in generic config for 2.6.25 & 2.6.26 and enable it on targets where USB is supported
SVN-Revision: 12690
16 years ago
Felix Fietkau c3ae8337f4 AR7 watchdog supports magic close
This patch adds the magic close flag (stopping the watchdog on an expected close
by wrting 'V' to the device before closing it) to the watchdogs list, which the
AR7 watchdog code actually supports.

Signed-off-by: Axel Gembe <ago@bastart.eu.org>

SVN-Revision: 12666
16 years ago
Florian Fainelli 0fdecd35bd Treat vlynq external divisor just like automatic, fix comment about it, thanks sn9
SVN-Revision: 12467
16 years ago
Florian Fainelli 3ab8360af0 Fix divisor calculation and configuration from previous commit, thanks sn9
SVN-Revision: 12454
16 years ago
Florian Fainelli 219145702e Build images for the AG310, thanks sn9
SVN-Revision: 12446
16 years ago
Florian Fainelli 701d82cc8e Sync ar7 default network configuration with latest firewall and network settings, thanks sn9
SVN-Revision: 12444
16 years ago
Florian Fainelli 3abe371efd Fix divisor settings for external devices like wireless devices, thanks sn9
SVN-Revision: 12443
16 years ago
Florian Fainelli 291abdac58 Build images for WAG54GP2v1 and v2, thanks sn9
SVN-Revision: 12438
16 years ago
Florian Fainelli 8ef58746f5 Add 2.6.26 kernel configuration file
SVN-Revision: 12437
16 years ago
Florian Fainelli 1fd291063a Switch ar7 to 2.6.26, thanks sn9
SVN-Revision: 12436
16 years ago
Gabor Juhos 184c6b06f2 update to 2.6.26.3 and 2.6.25.16
SVN-Revision: 12371
16 years ago
Gabor Juhos e5fa05d788 update to 2.6.25.15 and 2.6.26.2
SVN-Revision: 12242
16 years ago
Gabor Juhos 104b3386a2 update to 2.6.25.12
SVN-Revision: 11933
16 years ago
Matteo Croce e027e87a89 ar7: initial 2.6.26 patches
SVN-Revision: 11824
16 years ago
Imre Kaloz 492ba57b56 update targets to 2.6.25.10
SVN-Revision: 11667
16 years ago
Imre Kaloz dee39d10ee upgrade to 2.6.25.9
SVN-Revision: 11584
16 years ago
Gabor Juhos 4af6ac74fb upgrade to 2.6.25.7, and refresh patches
SVN-Revision: 11523
16 years ago
Matteo Croce d1c097e3d0 ar7: refresh patches
SVN-Revision: 11452
16 years ago
Imre Kaloz 2eb6751084 upgrade to 2.6.25.6
SVN-Revision: 11435
16 years ago
Gabor Juhos b0b3bc5f00 refresh kernel patches
SVN-Revision: 11196
16 years ago
Gabor Juhos f9719b35c8 upgrade to latest kernel versions (2.6.25.4; 2.6.24.7; 2.6.23.17; 2.6.22.19)
SVN-Revision: 11184
16 years ago
Gabor Juhos 936b0e3cc7 use the righ value in the DSP clock calculation
SVN-Revision: 11123
16 years ago
Matteo Croce 8639678081 no unicode in C source, please
SVN-Revision: 11046
16 years ago
Matteo Croce 4bc59b8552 ar7: backport small fixes from linux-mips
SVN-Revision: 11045
16 years ago
Matteo Croce 326c6c3d1d set default atm-bridge payload to 'bridged' so we don't break old configs
SVN-Revision: 11044
16 years ago
Matteo Croce 53a0e5d97c ar7: add support for bridged ATM in network setup
SVN-Revision: 11033
16 years ago
Matteo Croce 3c9bce3c46 ar7: enable ethernet driver and use the 2.6.25.1 kernel
SVN-Revision: 11032
16 years ago
Matteo Croce 2036ae2056 ar7: 2.6.25.1 support
SVN-Revision: 11023
16 years ago
Imre Kaloz 68943e35c2 upgrade to 2.6.24.5
SVN-Revision: 10959
16 years ago
Nicolas Thill c6fe45ed55 properly disable CONFIG_CRYPTO_HW
SVN-Revision: 10952
16 years ago
Matteo Croce 518419f5ec cpmac fix (closes #3124)
SVN-Revision: 10896
16 years ago
Matteo Croce a8761e71b7 ar7: nuke unneeded patch
SVN-Revision: 10792
16 years ago
Matteo Croce e4775082d8 ar7: remove useless chunks from a patch
SVN-Revision: 10778
16 years ago
Florian Fainelli b56c1cfc8f Add the firmware generation for the AG241v2b device (#3315)
SVN-Revision: 10776
16 years ago
Matteo Croce 4a85d8edac ar7: remove volatiles definitely
SVN-Revision: 10762
16 years ago
Matteo Croce f9f4afa8ff vlynq: revert volatiles until we find a good way to remove them
SVN-Revision: 10760
16 years ago
Matteo Croce 9d41b1731d ar7: use SLUB allocator, it gives slighty more TCP throughput
SVN-Revision: 10758
16 years ago
Matteo Croce d84f27f264 ar7: remove useless volatiles
SVN-Revision: 10757
16 years ago
Matteo Croce 78e07d75cd ar7: remove unneeded packed and array initialization
SVN-Revision: 10752
16 years ago
Matteo Croce cc823e6c53 fixed wrong path in diff
SVN-Revision: 10748
16 years ago
Matteo Croce 320c915b13 cpmac: fix race condition (closes #3019)
SVN-Revision: 10747
16 years ago
Matteo Croce 67dc179e05 vlynq: small fixes
SVN-Revision: 10711
16 years ago
Matteo Croce af4c2c041f add proper email addresses to the comment headers
SVN-Revision: 10709
16 years ago
Matteo Croce c96a4d1808 Let authors holds copyright of the AR7 code (closes #2369)
SVN-Revision: 10708
16 years ago
Matteo Croce 9b93a436c7 vlynq: probe for an external clock first, needed to enable acx on the Leonardo board
SVN-Revision: 10707
16 years ago
Matteo Croce 27c0dc833b ar7: fixed cpmac, now it doesn't fails to register the phy. Signed-off-by: beistin@gmail.com
SVN-Revision: 10640
16 years ago
Matteo Croce cfe5ea11d3 cpmac: fixed phy seems to be broken, hack cpmac to always report link up
SVN-Revision: 10627
16 years ago
Matteo Croce c25cc7e6e5 fix serial patch
SVN-Revision: 10602
16 years ago
Matteo Croce 8988d03a8e cpmac: patch to reimplement rx ring with EOQ markers to avoid reset storms (closes #2569)
SVN-Revision: 10585
17 years ago
Matteo Croce 001f82bf2c Add AG241 code pattern (fixes #1089)
SVN-Revision: 10584
17 years ago
Matteo Croce 9c4f6c192f fix cpmac in a more elegant way, thanks Anton Vorontsov
SVN-Revision: 10546
17 years ago
Matteo Croce 321918aa56 fixed_phy seems to be broken, this simple workaround fixes it
SVN-Revision: 10545
17 years ago
Imre Kaloz 3a0e58b2e1 upgrade & standardize kernel versions
SVN-Revision: 10443
17 years ago
Matteo Croce cae0acba53 cpmac: reapply [9664]
SVN-Revision: 10424
17 years ago
Matteo Croce ccb82915f5 build cpmac driver
SVN-Revision: 10422
17 years ago
Matteo Croce b2b102fdcc Update kernel to 2.6.24
SVN-Revision: 10421
17 years ago
Matteo Croce fb5be81fe7 make current AR7 code 2.6.24 aware, for future use
SVN-Revision: 10415
17 years ago
Matteo Croce 55a6c2091f more 2.6.24 patches
SVN-Revision: 10410
17 years ago
Felix Fietkau 0ae7379775 DG834G Power LED fix
This patch enables the new "default-on" trigger for the AR7 target and uses it to ensure the "power" LED on the DG834G is initialised in the ON state.

Previously this LED would turn off when the driver loaded and stay off until turned back on from userspace. With this patch it remains on throughout the boot process, but can still be controlled from userspace if required.

Signed-off-by: Nick Forbes <nick.forbes@incepta.com>

SVN-Revision: 10349
17 years ago
Matteo Croce c4a4fff789 fixed war.h path
SVN-Revision: 10316
17 years ago
Matteo Croce 72506a987f added missing war.h
SVN-Revision: 10315
17 years ago
Matteo Croce 08933608f5 AR7 2.6.24 config file
SVN-Revision: 10304
17 years ago
Matteo Croce 9746531b1c refresh vlynq patch
SVN-Revision: 10301
17 years ago
Florian Fainelli 7ef96948af Add support for european DSL-502t leds (#2880)
SVN-Revision: 10210
17 years ago
Matteo Croce af9cf4a7a8 gpio: revert it back, wrong and useless
SVN-Revision: 10181
17 years ago
Matteo Croce 5d249c898d GPIO fix
SVN-Revision: 10180
17 years ago
Matteo Croce fae9e82aad cache GPIO addresses to be more efficent
SVN-Revision: 10179
17 years ago
Florian Fainelli b5ccc2e505 Add dg834 leds support from #2817
SVN-Revision: 10105
17 years ago
Florian Fainelli 548bf0de30 Resync ar7 kernel config (#2966)
SVN-Revision: 10098
17 years ago
Felix Fietkau 3f7af01bb0 fix initramfs
SVN-Revision: 10080
17 years ago
Matteo Croce 12ac58dd2f AR7 2.6.24, removed duplicate patches
SVN-Revision: 10053
17 years ago
Matteo Croce 807fb4a8f5 AR7 2.6.24 patches
SVN-Revision: 10052
17 years ago
Florian Fainelli 80c5643c01 Add LEDs definitions for the D-Link DSL-502T (#2746)
Signed-off-by: Oliver <oliver@opencloud.com>

SVN-Revision: 9776
17 years ago
Florian Fainelli 0d88baa016 Disable CONFIG_NETDEVICES_MULTIQUEUE for ar7 until we fix the race condition
SVN-Revision: 9698
17 years ago
Felix Fietkau eeebde136d Minor patch to the AR7 diag.sh to make the status LED a bit more useful. From the patch:
This setup gives us 3.5 distinguishable states:

- Solid OFF:  Bootloader running, or kernel hung (timer task stalled)
- Solid ON:   Kernel hung (timer task stalled)
- 5Hz blink:  preinit
- Heartbeat:  normal operation

Signed-off-by: oliver@opencloud.com

SVN-Revision: 9666
17 years ago
Felix Fietkau f648fc7bc0 Reimplement rx ring with EOQ markers to avoid reset storms
Signed-off-by: oliver@opencloud.com

SVN-Revision: 9665
17 years ago
Felix Fietkau 6111ac6f94 Fix race between device reset and start_xmit
Signed-off-by: oliver@opencloud.com

SVN-Revision: 9664
17 years ago
Felix Fietkau 5dc134c542 Fix VLYNQ device enable for DG834Gv1
This patch allows VLYNQ devices on the DG834Gv1 to be successfully
enabled.

Currently the "__vlynq_enable_device" function attempts to set the VLYNQ
device clock divisor to values from 1 through 8 until a link is
successfully established. On the DG834Gv1 (but not the DG834Gv2),
setting the VLYNQ device clock divisor to 1 (full rate) results in all
further VLYNQ operations failing (including software reset), so the
device is never enabled. This patches changes the function to only
attempt divisors 2 through 8, and hence the device is successfully
enabled.

Signed-off-by: Nick Forbes <nick.forbes@huntsworth.com>

---------

SVN-Revision: 9656
17 years ago
Felix Fietkau 1bca0cc517 make the image filenames a bit shorter
SVN-Revision: 9533
17 years ago
Matteo Croce 788a010131 ar7_gpio: remove unneeded checks and volatile
SVN-Revision: 9419
17 years ago
Eugene Konev ce9584fad9 ar7: fix eva image generation
SVN-Revision: 9417
17 years ago
Florian Fainelli 486492b407 We are now at .23.1
SVN-Revision: 9415
17 years ago
Eugene Konev 6bf1f9a467 ar7: add eva image generation (thanks Axel Gembe)
SVN-Revision: 9401
17 years ago
Eugene Konev 1e5a1f2aa5 fritzbox leds detection (thanks Axel Gembe)
SVN-Revision: 9357
17 years ago
Eugene Konev 53f219cc2b Fix tx error handling (#2552). Make rx ring size actually configurable through ethtool
SVN-Revision: 9333
17 years ago
Eugene Konev a40dd0b5cc enable NETDEVICES_MULTIQUEUE
SVN-Revision: 9283
17 years ago
Eugene Konev 1a3f45fa87 fix the case when NETDEVICES_MULTIQUEUE is not enabled (#2506)
SVN-Revision: 9282
17 years ago
Eugene Konev 4f430b08cc use acx-mac80211 in profile
SVN-Revision: 9254
17 years ago
Eugene Konev 4b23cd0283 remove version checks
SVN-Revision: 9253
17 years ago
Eugene Konev 76fdf7d7b0 we are using leds-gpio now
SVN-Revision: 9252
17 years ago
Eugene Konev 982d054c27 locking rework, drop non-napi rx, multiqueue tx, misc cleanups
SVN-Revision: 9251
17 years ago
Eugene Konev c18f441ebe switch ar7 to 2.6.23
SVN-Revision: 9235
17 years ago
Matteo Croce 92378640d2 backport ar7_wdt from linux-2.6-watchdog-mm
SVN-Revision: 9182
17 years ago
Eugene Konev 3c4062a45f cleanup vlynq. drop vlynq-pci
SVN-Revision: 9143
17 years ago
Eugene Konev 3120f8a5c0 add ar7 2.6.23 patches and config
SVN-Revision: 9115
17 years ago
Eugene Konev e10dfa5129 more cpmac cleanups (#2452): * don't use net_device::mem* * use net_device::stats * use per-device rx ring size configurable through ethtool * use more ethernet generics (get_stats, set_mac_address, change_mtu)
SVN-Revision: 9098
17 years ago
Eugene Konev 822b666935 add usb controller definition
SVN-Revision: 9087
17 years ago
Nicolas Thill 05f0755426 revert to vlynq bus clock divisor guessing
SVN-Revision: 9086
17 years ago
Eugene Konev 4e6f272ba1 don't enable rts/cts by default (thanks nabcore, #2400)
SVN-Revision: 9078
17 years ago
Gabor Juhos 438dfe5c6f get rid of per-profile base-files
SVN-Revision: 9069
17 years ago
Eugene Konev bb8c985261 add necessary includes
SVN-Revision: 8974
17 years ago
Eugene Konev 6e7564b640 add initial generic gpio-leds support
SVN-Revision: 8918
17 years ago
Eugene Konev 041a03c5bd make gpio conformant to generic gpio spec.
SVN-Revision: 8911
17 years ago
Matteo Croce 951550023b fix silliness in [8886]
SVN-Revision: 8889
17 years ago
Matteo Croce e2148dbae1 replace deprecated u_char with u8
SVN-Revision: 8887
17 years ago
Matteo Croce 8d162264af Make ar7_part more readable and endianness safe
SVN-Revision: 8886
17 years ago
Matteo Croce f0f0047aec small cpmac fixes
SVN-Revision: 8881
17 years ago
Matteo Croce 2bdbb3915b remove useless dependency
SVN-Revision: 8880
17 years ago
Eugene Konev 1af0f14c44 use set_irq_chip_and_handler (#2408)
SVN-Revision: 8852
17 years ago
Matteo Croce 5fac6f67f1 style cleanups (make checkpatch.pl happy)
SVN-Revision: 8851
17 years ago
Felix Fietkau 236d7e62ca clean up jffs2 config options
SVN-Revision: 8848
17 years ago
Eugene Konev c4cd598161 cleanup (use dma API, use accessors, debugging/printk cleanup)
SVN-Revision: 8839
17 years ago
Eugene Konev 79c783309b We have generic irqs now.
SVN-Revision: 8835
17 years ago
Matteo Croce aa1144ff37 detect ar7 at runtime in set_except_vector and remove useless volatile
SVN-Revision: 8824
17 years ago
Matteo Croce 495ab00a60 don't broke other archs, we're close to mainstream (i hope)
SVN-Revision: 8778
17 years ago
Eugene Konev 5d3031cfb0 fix previous commit
SVN-Revision: 8774
17 years ago
Eugene Konev 438d168a98 add *dma_mask's to cpmacs
SVN-Revision: 8773
17 years ago
Eugene Konev fbd19377fa fix watchdog seek test (#2383)
SVN-Revision: 8772
17 years ago
Eugene Konev a5472471a0 fix CAC_ADDR/UNCAC_ADDR macros
SVN-Revision: 8770
17 years ago
Eugene Konev 2f0762749d mmzone.h is not needed anymore
SVN-Revision: 8769
17 years ago
Eugene Konev b972859fec 128 irqs is not enough...
SVN-Revision: 8768
17 years ago
Eugene Konev 4056fefe8a copy-paste typo, lost static's
SVN-Revision: 8767
17 years ago
Matteo Croce c0c12e278b use ebase instead of CAC_BASE, some cosmetic fixes
SVN-Revision: 8766
17 years ago
Matteo Croce 64f9a22679 Enabled working ar7_wdt, style cleanups
SVN-Revision: 8764
17 years ago
Matteo Croce 87cef9d9a2 added ar7_wdt fix by Alex
SVN-Revision: 8762
17 years ago
Matteo Croce 339eba5fbd Style fixes
SVN-Revision: 8761
17 years ago
Eugene Konev 89333ac8f7 there is no need in two identical actions
SVN-Revision: 8760
17 years ago
Eugene Konev db5e143756 vlynq cleanups: * drivers can now set a clock divisor * irq handling cleanup, drivers now can handle error irqs themselves * style cleanup
SVN-Revision: 8759
17 years ago
Matteo Croce 09b45caf09 more AR7 cleanups & fixes
SVN-Revision: 8758
17 years ago
Matteo Croce 1349562f8d no memset after kzalloc
SVN-Revision: 8757
17 years ago
Matteo Croce 0efffbaf30 AR7: Cleanups (closes: #2323)
SVN-Revision: 8756
17 years ago
Nicolas Thill 2ef23a0fd9 disable dsp freq use for vlynq bus clock init, disable external clocking (it locks up on c54apra2+) and revert to internal clocking trying various clock divisors. cleanup: * remove volative and use readl & writel accessors instead * use set_irq_chip & friends for irq setup * use kzalloc instead of kmalloc * secure VINT_VECTOR macro argument * remove unused vlynq_local_id function
SVN-Revision: 8750
17 years ago
Nicolas Thill 6fcca3ff7e fix typo
SVN-Revision: 8747
17 years ago
Eugene Konev 46dc089d5e Style cleanup
SVN-Revision: 8746
17 years ago
Eugene Konev 7b30c695dd Style cleanup
SVN-Revision: 8744
17 years ago
Eugene Konev 65235a2bb9 AR7: IRQ handlng cleanup
SVN-Revision: 8743
17 years ago
Florian Fainelli 042186d5ab AR7 will also be running in big-endian on zyxel devices
SVN-Revision: 8741
17 years ago
Florian Fainelli 58c85a4be7 Remove useless EXTRA_CFLAGS stuff
SVN-Revision: 8740
17 years ago
Florian Fainelli ba9fafe6eb Fix comments to the mtd driver (see http://www.linux-mips.org/archives/linux-mips/2007-09/msg00064.html)
SVN-Revision: 8738
17 years ago
Felix Fietkau 87a88cebc7 adapt profiles for subtarget changes
SVN-Revision: 8695
17 years ago
Felix Fietkau a9d683ca91 major target cleanup. it is now possible to have subtargets that can override many target settings, including arch - merge adm5120, adm5120eb. target profiles still need to be adapted for subtargets
SVN-Revision: 8694
17 years ago
Eugene Konev 538479305e Use PHYS_OFFSET.
SVN-Revision: 8685
17 years ago
Eugene Konev 3520251c21 Add TNETW1350 to known devices. Style cleanups.
SVN-Revision: 8684
17 years ago
Nicolas Thill 929f86c30e cosmetic fixes for ar7: indent, use lowercase hex notation, format
SVN-Revision: 8656
17 years ago
Felix Fietkau 56231056ea strip the kernel version suffix from target directories, except for brcm-2.4 (the -2.4 will be included in the board name here). CONFIG_LINUX_<ver>_<board> becomes CONFIG_TARGET_<board>, same for profiles.
SVN-Revision: 8653
17 years ago