Commit Graph

8182 Commits

Author SHA1 Message Date
Felix Fietkau
b957208807 swconfig: use a mutex instead of a spinlock, many swconfig calls sleep
SVN-Revision: 30952
2012-03-15 19:32:31 +00:00
Felix Fietkau
404a4c1fcd ar8216: fix a MTU related regression
Switch reset on AR8316 appears to clobber the MTU configuration register
and possibly other global config registers. Move global configuration
register init writes back to the reset callback.

SVN-Revision: 30951
2012-03-15 16:57:27 +00:00
Gabor Juhos
c00b53f3d0 ar71xx: move micrel PHY driver to the generic linux target
SVN-Revision: 30946
2012-03-15 09:25:53 +00:00
Gabor Juhos
0011804302 linux/3.3: build mdio_register_board_info into the kernel if PHYLIB is selected
SVN-Revision: 30945
2012-03-15 09:25:49 +00:00
Gabor Juhos
eb096bca59 linux/3.2: build mdio_register_board_info into the kernel if PHYLIB is selected
SVN-Revision: 30944
2012-03-15 09:25:47 +00:00
Hauke Mehrtens
cee31ca238 brcm47xx: add support for NAND flash on devices using bcma
This patch add support for the NAND flash on BCM5357 based devices like the WNR3500Lv2.

Thank you Tathagata Das <tathagata@alumnux.com> for the patch

SVN-Revision: 30943
2012-03-14 22:59:39 +00:00
Hauke Mehrtens
7fee567dc0 brcm47xx: move and rename the patches
The patches are now grouped by the part what they are doing and are using three digest numbers.

This does not remove or adds anything

SVN-Revision: 30942
2012-03-14 21:48:23 +00:00
Jonas Gorski
fab5be9b4f lantiq: load dwc_otg early
Needed for using external rootfs on usb sticks.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>

SVN-Revision: 30940
2012-03-14 10:59:52 +00:00
Gabor Juhos
e3af7c82f8 generic: ar8216: merge multiple if statements in ar8216_hw_apply
SVN-Revision: 30928
2012-03-13 17:33:12 +00:00
Gabor Juhos
6a57a1fbdb imagebuilder: fix parallel building (closes #11117)
SVN-Revision: 30927
2012-03-13 17:29:40 +00:00
Gabor Juhos
ff909edf94 ar71xx: ag71xx: fix ARP frame reception on AR934x switch ports
SVN-Revision: 30926
2012-03-13 17:29:38 +00:00
Gabor Juhos
cd6a4cde13 ar71xx: ag71xx: start aneg on switch PHYs after reset
SVN-Revision: 30925
2012-03-13 17:29:37 +00:00
Gabor Juhos
7c9534cfd7 ar71xx: ag71xx: poll PHY status of all available switch ports
SVN-Revision: 30924
2012-03-13 17:29:36 +00:00
Gabor Juhos
8449eecf5f ar71xx: ag71xx: allow to use port 5 of the AR934x built-in switch
SVN-Revision: 30923
2012-03-13 17:29:34 +00:00
Gabor Juhos
1c5ac02a29 ar71xx: reset the switch on AR934x before ethernet device registration
SVN-Revision: 30922
2012-03-13 17:29:33 +00:00
Gabor Juhos
17d3131d3c ar71xx: fix a typo in ar71xx_regs.h
SVN-Revision: 30921
2012-03-13 17:29:31 +00:00
Florian Fainelli
07486c4d96 remove udc patch since it is unused
SVN-Revision: 30920
2012-03-13 14:06:44 +00:00
Felix Fietkau
b387cfd6e4 kernel: bypass all netfilter hooks if the sysctls for that functionality have been disabled - eliminates the overhead of enabling CONFIG_BRIDGE_NETFILTER in the kernel config
SVN-Revision: 30917
2012-03-13 10:06:45 +00:00
Gabor Juhos
66df117d1b ar71xx: use a dummy callback for interfaces with fixed speed
SVN-Revision: 30913
2012-03-12 20:38:58 +00:00
Gabor Juhos
8b2b37ae58 ar71xx: merge ar934x_bo_ddr_flush patch
SVN-Revision: 30912
2012-03-12 20:38:57 +00:00
Gabor Juhos
b0bb0793b9 ar71xx: enable UART function for early_printk/console
SVN-Revision: 30909
2012-03-12 17:32:39 +00:00
Gabor Juhos
727a8c20c0 linux/3.3: refresh patches against 3.3-rc7
SVN-Revision: 30908
2012-03-12 17:32:38 +00:00
Gabor Juhos
18f7081e17 ramips: rt305x: add profile for the AZtech HW-5503G board
Patch from #11085.

SVN-Revision: 30907
2012-03-12 17:29:06 +00:00
Gabor Juhos
fdb175f909 linux/3.3: allow to set platform_data for phy devices
SVN-Revision: 30906
2012-03-12 16:28:01 +00:00
Gabor Juhos
1f79bfec0b linux/3.2: allow to set platform_data for phy devices
SVN-Revision: 30905
2012-03-12 16:28:00 +00:00
Gabor Juhos
2c2c288a3c linux/3.3: add missing config symbol
SVN-Revision: 30904
2012-03-12 16:27:58 +00:00
Gabor Juhos
ccc939ebc0 ar71xx: remove a 3.3 patch, it is already in 3.3-rc7
SVN-Revision: 30903
2012-03-12 16:27:57 +00:00
Gabor Juhos
0814e61841 ar71xx: fix Compex WPE72 detection
SVN-Revision: 30902
2012-03-12 16:27:56 +00:00
Gabor Juhos
0f77d0b2ba ramips: add RT3350 detection
SVN-Revision: 30900
2012-03-12 16:12:13 +00:00
Jo-Philipp Wich
2dedd94d66 expose CONFIG_NETFILTER_NETLINK for external kmods
SVN-Revision: 30894
2012-03-12 00:09:23 +00:00
Gabor Juhos
05d3f559f5 ramips: rt305x: rewrite SoC detection
SVN-Revision: 30890
2012-03-11 19:05:59 +00:00
Gabor Juhos
8cf8ee8f9d ramips: rt305x: rename SYSTEM_CONFIG_* defines to RT305X_SYSCFG_*
SVN-Revision: 30889
2012-03-11 19:05:57 +00:00
Gabor Juhos
acb4ad86e5 ramips: replace RALINK_SOC_* macros with global variables
SVN-Revision: 30888
2012-03-11 19:05:56 +00:00
Gabor Juhos
8cff770eb3 ramips: introduce ramips_soc_prom_init and move SoC detection into that
SVN-Revision: 30887
2012-03-11 19:05:53 +00:00
Gabor Juhos
2149facb53 generic: ar8216: use usleep_range in ar8216_mii_{read,write}
msleep(1) can sleep for up to 20ms.

SVN-Revision: 30885
2012-03-11 17:19:14 +00:00
Gabor Juhos
77d0a8ca85 generic: ar8216: add a helper function for writing PHY debug registers
SVN-Revision: 30884
2012-03-11 16:49:35 +00:00
Gabor Juhos
dad19ac8b2 generic: ar8216: add lockep assertion to ar8216_rmw
SVN-Revision: 30883
2012-03-11 16:49:33 +00:00
Gabor Juhos
6c51c47962 ramips: build initramfs image for DIR-{3,6}00 boards
SVN-Revision: 30882
2012-03-11 16:39:31 +00:00
Gabor Juhos
f400a9cdd9 linux/3.3: show correct name for MIPS 24KEc in /proc/cpuinfo
SVN-Revision: 30881
2012-03-11 16:39:30 +00:00
Gabor Juhos
c9d71c8387 linux/3.2: show correct name for MIPS 24KEc in /proc/cpuinfo
SVN-Revision: 30880
2012-03-11 16:39:28 +00:00
Gabor Juhos
4e15457e0e ramips: allow to use DSP ASE on RT3xxx
SVN-Revision: 30879
2012-03-11 16:39:26 +00:00
Gabor Juhos
088dd4e879 ar71xx: stop image building if a loader is missing
SVN-Revision: 30877
2012-03-11 14:03:28 +00:00
Hauke Mehrtens
067a065305 brcm47xx: make patch apply
SVN-Revision: 30876
2012-03-11 13:36:46 +00:00
Hauke Mehrtens
7dcdf69388 brcm47xx: BCMA - Find names of non BCM cores
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 30875
2012-03-11 12:55:20 +00:00
Hauke Mehrtens
d6d40b2d60 BCMA - Account for variable PCI memory base/size
Thank you Nathan Hintz for the patch

SVN-Revision: 30874
2012-03-11 12:52:43 +00:00
Hauke Mehrtens
bbf739a59f BCMA - Reorder SPROM fill
The SPROM is initialized in bcm47xx_fill_sprom, so move the call to bcm47xx_fill_sprom_ethernet after it.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 30873
2012-03-11 11:50:59 +00:00
Gabor Juhos
1ad06d4c3a generic: ar8216: coding style cleanup
SVN-Revision: 30857
2012-03-08 10:21:14 +00:00
Gabor Juhos
e2d3cb69a1 generic: ar8216: don't use static variable in ar8236_hw_init
SVN-Revision: 30856
2012-03-08 10:21:12 +00:00
Gabor Juhos
291e2dd583 generic: ar8216: move register inititalization into hw_init
SVN-Revision: 30855
2012-03-08 10:21:11 +00:00
Gabor Juhos
e3538fa852 generic: ar8216: set chip type directly in ar8216_id_chip
SVN-Revision: 30854
2012-03-08 10:21:10 +00:00
Gabor Juhos
a6c69e63b6 generic: ar8216: simplify ar8216_config_init
SVN-Revision: 30853
2012-03-08 10:21:08 +00:00
Gabor Juhos
31584880bf ar71xx: add watchdog driver to the default package list
SVN-Revision: 30852
2012-03-08 09:00:17 +00:00
Gabor Juhos
127a2b1a4d linux/3.{2,3}: even more NAND symbols
SVN-Revision: 30850
2012-03-07 22:32:54 +00:00
Gabor Juhos
2d89fa7f43 ar71xx: fix WPS button polarity on TL-WR2543N
SVN-Revision: 30849
2012-03-07 19:50:53 +00:00
Gabor Juhos
52a89cd95c generic: ar8216: move port initialization into a separate function
SVN-Revision: 30848
2012-03-07 16:32:46 +00:00
Gabor Juhos
0097cf7161 generic: ar8216: improve ar8216_wait_bit function
SVN-Revision: 30847
2012-03-07 16:32:45 +00:00
Gabor Juhos
2370828599 generic: ar8216: use ar8216_read_port_link to get the CPU port link parameters
SVN-Revision: 30846
2012-03-07 16:32:43 +00:00
Gabor Juhos
d8a8df51ca generic: ar8216: use the generic get_port_link implementation
SVN-Revision: 30845
2012-03-07 16:32:42 +00:00
Gabor Juhos
215e07177e generic: rtl8367: use the generic get_port_link implementation
SVN-Revision: 30844
2012-03-07 16:32:40 +00:00
Gabor Juhos
9e1be3b809 generic: rtl8366s: use the generic get_port_link implementation
SVN-Revision: 30843
2012-03-07 16:32:38 +00:00
Gabor Juhos
e2f0264afe generic: rtl8366rb: use the generic get_port_link implementation
SVN-Revision: 30842
2012-03-07 16:32:37 +00:00
Gabor Juhos
c455a0f7be ar71xx: ag71xx: fix get_port_link callback
SVN-Revision: 30841
2012-03-07 16:32:35 +00:00
Gabor Juhos
5a83b3a5c7 ar71xx: ag71xx: use the generic get_port_link implementation
SVN-Revision: 30840
2012-03-07 16:32:34 +00:00
Gabor Juhos
759c341e68 generic: swconfig: add a generic get_port_link implementation
SVN-Revision: 30839
2012-03-07 16:32:33 +00:00
Gabor Juhos
fc9db6f410 generic: ar8216: use mdiobus_write in ar8236_hw_init
SVN-Revision: 30838
2012-03-07 16:32:31 +00:00
Gabor Juhos
7112130105 generic: ar8216: use bus->mdio_lock directly in ar8216_mii_{read,write}
SVN-Revision: 30837
2012-03-07 16:32:30 +00:00
Gabor Juhos
a31e090255 generic: ar8216: fix phy driver name
SVN-Revision: 30836
2012-03-07 16:32:28 +00:00
Jo-Philipp Wich
9a047b52d4 enable EFI partition support by default, adds ca. 8K uncompressed on ar71xx (#8672)
SVN-Revision: 30835
2012-03-07 14:14:52 +00:00
Gabor Juhos
f03e7f2c7a linux/3.2: fix crypto4xx build failure
SVN-Revision: 30834
2012-03-07 11:57:49 +00:00
Gabor Juhos
43a20aa4c6 linux/3.1: add missing NAND symbols
SVN-Revision: 30827
2012-03-05 18:01:54 +00:00
Gabor Juhos
bdcbf426ee linux/3.0: add missing NAND symbols
SVN-Revision: 30826
2012-03-05 18:01:52 +00:00
Florian Fainelli
1029786936 remove 3.1 support
SVN-Revision: 30823
2012-03-05 16:50:42 +00:00
Florian Fainelli
75b5f4a6b4 rename 96348GW-1{0,1}-gen to 96348GW-1{0,1}-generic
SVN-Revision: 30822
2012-03-05 14:49:34 +00:00
Florian Fainelli
c327915156 generate generic images for BCM96358VW and BCM96358VW2 (#10666)
SVN-Revision: 30821
2012-03-05 14:49:31 +00:00
Florian Fainelli
ca1e59660e wire bcm96348gw-10 reset button (#10854)
SVN-Revision: 30820
2012-03-05 14:23:45 +00:00
Florian Fainelli
631a035a76 Merge branch 'bcm63xx'
SVN-Revision: 30819
2012-03-05 13:29:54 +00:00
Felix Fietkau
63a1a106fb kernel: fix powerpc unused-but-set variables
SVN-Revision: 30817
2012-03-05 00:51:12 +00:00
Felix Fietkau
8821950069 kernel: remove the crtsavres dependency, the patched gcc will no longer emit references to that code
SVN-Revision: 30816
2012-03-05 00:51:08 +00:00
Felix Fietkau
e308da91e7 kernel: fix vmalloc stack traces triggered by module with an empty init section (mostly happens on x86)
SVN-Revision: 30813
2012-03-05 00:12:44 +00:00
Gabor Juhos
4b408b69ce linux/3.3: add more NAND symbols
SVN-Revision: 30811
2012-03-04 18:23:59 +00:00
Gabor Juhos
991cd3db2c linux/3.2: add more NAND symbols
SVN-Revision: 30810
2012-03-04 18:23:56 +00:00
Gabor Juhos
0e486d2fd2 ramips: add support for unbranded XDX-RN502J board
This patch adds support for routers using a PCB marked XDX-RN502J
V2.0, such as some unbranded routers like this:

http://www.mediafire.com/?8acv87h6snn9fj6
http://www.mediafire.com/?do7xonw7scor4kn
http://www.mediafire.com/?1ad49zvx3e7jyix
http://www.mediafire.com/?i46cqiq66maa197

http://www.aliexpress.com/product-fm/516397994-Free-Shipping-300M-3G-WAN-Wireless-N-WiFi-USB-AP-Router-2-Antennas-wholesalers.html

some reports also state the Aceex 22Y uses the same board.

more information can be found in the following openwrt forum post
https://forum.openwrt.org/viewtopic.php?id=34878

[juhosg: fix checkpatch warnings, use the GENERIC_4M template]

Signed-off-by: bruno schwander <bruno@tinkerbox.org>

SVN-Revision: 30809
2012-03-04 16:09:13 +00:00
Gabor Juhos
44c8b396f9 ramips: board support for Asus RT-N10+
[juhosg: fix indentation in platform scripts, and remove debug
messages from 06_set_iface_mac]

Signed-off-by: Patrick van Staveren <trick@vanstaveren.us>

SVN-Revision: 30808
2012-03-04 16:09:11 +00:00
Gabor Juhos
be4e5a29a9 ppc40x: preliminary support for 3.3
SVN-Revision: 30804
2012-03-04 12:39:46 +00:00
Gabor Juhos
4daa2c31dc linux/3.3: add missing config symbols
SVN-Revision: 30803
2012-03-04 12:39:44 +00:00
Gabor Juhos
01832303ff linux/3.2: add missing NAND symbols
SVN-Revision: 30802
2012-03-04 12:39:42 +00:00
Gabor Juhos
86d852927e ar71xx: refresh patches against 3.3-rc5
SVN-Revision: 30801
2012-03-03 14:10:29 +00:00
Gabor Juhos
da628121b0 linux/3.3: merge recent ubifs patches from 3.2
SVN-Revision: 30800
2012-03-03 14:10:27 +00:00
Gabor Juhos
419d9e2f54 linux/3.3: refresh patches against 3.3-rc5
SVN-Revision: 30799
2012-03-03 14:10:24 +00:00
Felix Fietkau
d5ec28c734 omap24xx: fix compile error with new binutils (#11072)
SVN-Revision: 30798
2012-03-03 12:00:48 +00:00
Gabor Juhos
632db63ed0 linux/3.2: add symlink xattr support to ubifs
SVN-Revision: 30794
2012-03-02 23:09:00 +00:00
Gabor Juhos
5202e9908b linux/3.2: add XZ decompression support to ubifs
SVN-Revision: 30793
2012-03-02 23:08:59 +00:00
Gabor Juhos
b8bc1eca45 linux/3.2: add XZ decompressor support to crypto
SVN-Revision: 30792
2012-03-02 23:08:56 +00:00
Gabor Juhos
5a471e23ad ppc40x: switch to 3.2.9
SVN-Revision: 30791
2012-03-02 18:04:02 +00:00
Gabor Juhos
ec9fd1f7a8 linux/3.2: add a bunch of missing symbols
SVN-Revision: 30790
2012-03-02 18:04:01 +00:00
Gabor Juhos
b98f798df4 ppc40x: fix build errors in the CF and ISP116X drivers
SVN-Revision: 30789
2012-03-02 18:03:59 +00:00
Florian Fainelli
dcbeaed9a0 mark variables as might be unused
SVN-Revision: 30787
2012-03-02 13:23:38 +00:00
Florian Fainelli
2dc1c8ac70 remove unused variables and defines
SVN-Revision: 30786
2012-03-02 13:23:35 +00:00
Florian Fainelli
7f88380664 MIPS: fix kexec build on 64-bits targets
SVN-Revision: 30785
2012-03-02 13:19:13 +00:00
Florian Fainelli
c31b597763 refresh patches
SVN-Revision: 30784
2012-03-02 13:19:10 +00:00
Florian Fainelli
90481d9b3a MIPS: fix printing of size_t arg
SVN-Revision: 30783
2012-03-02 13:19:08 +00:00
Florian Fainelli
112d6c7b74 MIPS: mark unused variables
SVN-Revision: 30782
2012-03-02 13:19:05 +00:00
Florian Fainelli
c203860016 refresh patches
SVN-Revision: 30781
2012-03-02 13:19:02 +00:00
Florian Fainelli
0d3f5b980e MIPS: mark unused variables
SVN-Revision: 30780
2012-03-02 13:19:00 +00:00
Florian Fainelli
b8f7592a92 refresh patches
SVN-Revision: 30779
2012-03-02 13:18:56 +00:00
Florian Fainelli
cd3b60c14c MIPS: mark unused variables
SVN-Revision: 30778
2012-03-02 13:18:53 +00:00
Florian Fainelli
c25f266680 refresh patches
SVN-Revision: 30777
2012-03-02 13:18:47 +00:00
Gabor Juhos
7052847972 ar71xx: ag71xx: keep VLAN tags if VLAN is not enabled
SVN-Revision: 30768
2012-03-01 19:49:05 +00:00
Gabor Juhos
9698a499b6 kernel: update linux 3.2 to 3.2.9
SVN-Revision: 30767
2012-03-01 19:49:02 +00:00
Hauke Mehrtens
12537aa190 brcm47xx: use kernel 3.2 by default
SVN-Revision: 30751
2012-02-28 20:12:46 +00:00
Jo-Philipp Wich
e5b04d57ef revert unrelated change in previous commit
SVN-Revision: 30738
2012-02-27 09:34:31 +00:00
Jo-Philipp Wich
47b27500cf partly revert r30708, it breaks various arches
SVN-Revision: 30737
2012-02-27 09:33:36 +00:00
Gabor Juhos
72599f0c61 ramips: don't read RAMIPS_RX_CALC_IDX0 register in the loop
SVN-Revision: 30733
2012-02-26 10:54:13 +00:00
Gabor Juhos
100f76a010 ramips: raeth: add rx_info structure
This helps to reduce code size on RX path:

add/remove: 0/0 grow/shrink: 3/1 up/down: 68/-56 (12)
function                                     old     new   delta
ramips_eth_open                             1104    1144     +40
ramips_ring_free                             212     232     +20
ramips_eth_stop                              400     408      +8
ramips_eth_rx_hw                             648     592     -56

SVN-Revision: 30732
2012-02-26 10:54:12 +00:00
Gabor Juhos
32e7b1c7d9 ramips: raeth: add tx_info structure
This helps to reduce code size on TX path:

add/remove: 0/0 grow/shrink: 1/4 up/down: 56/-92 (-36)
function                                     old     new   delta
ramips_eth_open                             1048    1104     +56
ramips_eth_tx_housekeeping                   156     148      -8
ramips_ring_free                             224     212     -12
ramips_eth_stop                              420     400     -20
ramips_eth_hard_start_xmit                   480     428     -52

SVN-Revision: 30731
2012-02-26 10:54:10 +00:00
Felix Fietkau
8b91bad57e ixp4xx: fix a compile error
SVN-Revision: 30728
2012-02-25 22:12:11 +00:00
Jo-Philipp Wich
fe66f30aae add some missing 2.6.39 kernel symbols observed on x86/generic builds
SVN-Revision: 30718
2012-02-25 13:17:32 +00:00
Jo-Philipp Wich
bafdae9233 enable RTC_CLASS for Linux 3.2 and 3.3
SVN-Revision: 30717
2012-02-25 13:06:26 +00:00
Gabor Juhos
30143b715c ramips: raeth: don't process disabled interrupts
Also rename the 'fe_int' variable.

SVN-Revision: 30713
2012-02-25 11:59:19 +00:00
Gabor Juhos
6b37484883 ar71xx: use v6.0.0 in UBTN-XM firmwares (closes #11038)
SVN-Revision: 30712
2012-02-24 20:41:38 +00:00
Gabor Juhos
6990f66861 ramips: fix FONERA20N image generation
SVN-Revision: 30710
2012-02-24 16:18:46 +00:00
Jo-Philipp Wich
74db55a982 config: deprecated symbol CONFIG_LEDS_GPIO_PLATFORM
CONFIG_LEDS_GPIO_PLATFORM went away a while ago.

http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=commit;h=2bcc7ed5b83b0a59c6976476e8788675038fb11b

Also, most platforms comment out CONFIG_LEDS_GPIO but not x86 for some reason.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 30708
2012-02-24 10:35:20 +00:00
Gabor Juhos
9afeeae65e ramips: image: increase minimum kernel partition size to 896k
SVN-Revision: 30706
2012-02-23 19:58:16 +00:00
Gabor Juhos
7089b5213e ramips: image: cleanup and sort templates/profiles
SVN-Revision: 30705
2012-02-23 19:58:15 +00:00
Gabor Juhos
c8718a220b ramips: image: use GENERIC_4M template for the ALL0256N board
SVN-Revision: 30704
2012-02-23 19:58:14 +00:00
Gabor Juhos
507c7d30f5 ramips: image: introduce mkmtd/{,phys,spi} helpers
SVN-Revision: 30703
2012-02-23 19:58:12 +00:00
Gabor Juhos
5f63ea18aa ramips: image: pass mtdlayout variables by value
SVN-Revision: 30702
2012-02-23 19:58:11 +00:00
Gabor Juhos
49e53c06b9 ramips: image: merge F5D8235V{1,2} templates
SVN-Revision: 30701
2012-02-23 19:58:10 +00:00
Gabor Juhos
00e7277a4c ramips: image: use generic template for the WR6202, OMNIEMB, W502U boards
SVN-Revision: 30700
2012-02-23 19:58:07 +00:00
Gabor Juhos
554010d55b ramips: image: introduce mkcmdline helper
SVN-Revision: 30699
2012-02-23 19:58:06 +00:00
Gabor Juhos
32c6d63acf ramips: image: use the GENERIC_4M template for the V11ST-FE board
SVN-Revision: 30698
2012-02-23 19:58:04 +00:00
Gabor Juhos
ab65053cf0 ramips: image: simplify Makefile a bit
SVN-Revision: 30697
2012-02-23 19:58:03 +00:00
Gabor Juhos
9017fce3a2 ramips: image: add MkImageLzma wrapper
SVN-Revision: 30696
2012-02-23 19:58:02 +00:00
Gabor Juhos
c9d8f471fc ramips: image: allow to build board specific initramfs images
SVN-Revision: 30695
2012-02-23 19:58:01 +00:00
John Crispin
b168535b10 drop backported patches as they cause regressions and oopses
SVN-Revision: 30690
2012-02-23 07:42:04 +00:00
John Crispin
e5798d7c9b fixes etop locking issue
SVN-Revision: 30689
2012-02-23 07:42:00 +00:00
Gabor Juhos
c0974b46a5 ramips: merge identical switch configuration entries
SVN-Revision: 30688
2012-02-22 19:46:19 +00:00
Gabor Juhos
a9101a144c ramips: use unified switch identifiers in uci-defaults/network
SVN-Revision: 30687
2012-02-22 19:46:17 +00:00
Gabor Juhos
b6522f372f ramips: fix VLAN config of the RT-N15
SVN-Revision: 30686
2012-02-22 19:46:15 +00:00
Gabor Juhos
a18a821733 ramips: raeth: show interrupt statistics in debugfs
SVN-Revision: 30681
2012-02-22 13:06:44 +00:00
Gabor Juhos
214216c04d ramips: raeth: add debugfs support
SVN-Revision: 30680
2012-02-22 13:06:42 +00:00
Gabor Juhos
c1e4d709fa ramips: raeth: rename main source file
SVN-Revision: 30679
2012-02-22 13:06:41 +00:00
Gabor Juhos
5e6bc97d0c ramips: raeth: add missing Kconfig and Makefile
SVN-Revision: 30671
2012-02-21 09:44:30 +00:00
Gabor Juhos
3ba0f4e1ca ramips: move the ethernet driver into a separate directory
Also clean up the Kconfig symbols.

SVN-Revision: 30670
2012-02-21 09:26:43 +00:00
Gabor Juhos
a6d904b1d6 ramips: rename the spi driver
SVN-Revision: 30669
2012-02-21 09:26:41 +00:00
Felix Fietkau
c918810414 ar71xx: switch to kmod-gpio-button-hotplug
SVN-Revision: 30660
2012-02-20 10:51:48 +00:00
Felix Fietkau
058d331a39 kernel: strip unnecessary symbol table information from kernel modules, reduces default squashfs size on ar71xx by about 4k
SVN-Revision: 30657
2012-02-20 09:03:17 +00:00
Gabor Juhos
dd001a4b0f ramips: rt3883: make rt3883_nand_data visible
SVN-Revision: 30655
2012-02-19 19:40:37 +00:00
Gabor Juhos
62f213eab9 ramips: merge 3.2 fixes
SVN-Revision: 30652
2012-02-19 17:52:23 +00:00
Gabor Juhos
18fdaee00b ramips: nuke 2.6.39 support
SVN-Revision: 30651
2012-02-19 17:52:20 +00:00
Gabor Juhos
e2ea72515f ramips: rt305x: nuke built-in MTD partition maps
SVN-Revision: 30650
2012-02-19 17:52:15 +00:00
Gabor Juhos
de6405c898 ramips: rt288x: nuke built-in MTD partition maps
SVN-Revision: 30649
2012-02-19 17:52:11 +00:00
Gabor Juhos
e7f59b9326 ramips: build sysupgrade image for the V11ST-FE board
SVN-Revision: 30648
2012-02-19 17:52:08 +00:00
Gabor Juhos
3489515a7e ramips: rt305x: add support for the Skyline SL-R7205 Wireless 3G router
[juhosg:
- don't switch back to 2.6.39
- update config-3.2
- change machine id to SL-R7205
- reorder case entries in platform scripts
- remove button hotplug script]

Signed-off-by: Haipoh Teoh <hpteoh@ceedtec.com>

SVN-Revision: 30645
2012-02-19 16:44:49 +00:00
Hauke Mehrtens
5dec9dd3b2 brcm47xx: add code to generate images for some netgear devices
This is commented out until we get report of working devices.

SVN-Revision: 30639
2012-02-18 23:21:47 +00:00
Hauke Mehrtens
1122b231f9 brcm47xx: sprom for nvram parsing
This adds support for parsing sprom form nvram for sprom version form 1 to 9.
It also adds sprom from nvram support for devices on the bcma bus.

SVN-Revision: 30638
2012-02-18 23:08:26 +00:00
Gabor Juhos
990ed96a2a ralink: rt3883: disable the 2GHz band on the RT-N56U
SVN-Revision: 30632
2012-02-18 17:36:21 +00:00
Gabor Juhos
5710530c41 ramips: rt3883: make rt3883_wlan_data visible
SVN-Revision: 30631
2012-02-18 17:36:16 +00:00
Gabor Juhos
799e9cbec8 generic: add disable_[25]ghz to struct rt2x00_platform_data
SVN-Revision: 30630
2012-02-18 17:36:13 +00:00
Gabor Juhos
3d20de331d ar71xx: fix image signature for UBNT-XM boards
SVN-Revision: 30626
2012-02-18 14:45:52 +00:00
Gabor Juhos
383008635a generic/2.6.37: fix 'set but unused' build errors on MIPS
SVN-Revision: 30615
2012-02-17 17:21:03 +00:00
Gabor Juhos
e17a3ffbbd ramips: extract eeprom for the built-in wlan module on the RT-N56U
SVN-Revision: 30604
2012-02-16 20:06:22 +00:00
Gabor Juhos
dabca24361 ramips: rt3883: change eeprom file name
SVN-Revision: 30603
2012-02-16 20:06:21 +00:00
Vasilis Tsiligiannis
eed8e2a4fd Disable by default padding of images
SVN-Revision: 30590
2012-02-16 17:54:07 +00:00
Vasilis Tsiligiannis
8676e49d9d Allow gzipping of squashfs images with padded jffs2 partition
SVN-Revision: 30589
2012-02-16 17:54:04 +00:00
Vasilis Tsiligiannis
ab09db09fc GZip only ext4 and padded images
SVN-Revision: 30588
2012-02-16 17:54:01 +00:00
Vasilis Tsiligiannis
b4f51343c6 Make gzipping of images configurable via menuconfig
SVN-Revision: 30587
2012-02-16 17:53:57 +00:00
Gabor Juhos
3004f30f01 ar71xx: remove duplicated define from the D-Link profile
SVN-Revision: 30577
2012-02-16 09:03:27 +00:00
Gabor Juhos
00d963999d ramips: select HW_HAS_PCI on per-board basis
SVN-Revision: 30576
2012-02-16 08:17:54 +00:00
Gabor Juhos
fc967295ec ramips: rt3883: remove a stray character from rt3883.h
SVN-Revision: 30575
2012-02-16 08:17:53 +00:00
Gabor Juhos
b4af07d5c0 ramips: rt288x: don't register the PCI controller on each board
SVN-Revision: 30574
2012-02-16 08:17:52 +00:00
Gabor Juhos
f8a56dc8df ramips: raeth: separate ring allocation and setup
SVN-Revision: 30573
2012-02-16 08:17:50 +00:00
Gabor Juhos
d186c17aa6 generic: add SND_PPC symbol
SVN-Revision: 30572
2012-02-16 07:51:44 +00:00
Daniel Dickinson
1bb8a7613e Add Ubiquiti UniFi Profile; It's an AP without USB so don't include USB drivers by default
SVN-Revision: 30571
2012-02-16 07:45:28 +00:00
Daniel Dickinson
b797f72319 d-link: Add DIR-601 Profile Definition; It needs different factory images than DIR-600
SVN-Revision: 30570
2012-02-16 07:38:33 +00:00
Daniel Dickinson
c736e2d4b0 Fix partitions for Cameo-based boards; kernel 3.2 is bigger
SVN-Revision: 30569
2012-02-16 07:29:26 +00:00
Daniel Dickinson
4685a51301 image: For Cameo-based board fix adding mtd layout to kernel commandline)
SVN-Revision: 30568
2012-02-16 07:24:45 +00:00
Jo-Philipp Wich
8dc1ff6cb1 linux 3.2: missing generic symbols
These symbols are dependent on CONFIG_PCI being enabled.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 30565
2012-02-15 23:37:47 +00:00
Gabor Juhos
49fc54be3d ramips: rt288x: fix PCI resource conflict
SVN-Revision: 30563
2012-02-15 21:19:02 +00:00
Florian Fainelli
37f8c19028 correct PCI IO/Mem resource swapping
SVN-Revision: 30562
2012-02-15 21:13:21 +00:00
Florian Fainelli
3ceebbba14 add Ralink V11ST-FE board support
This board is equipped with:
- 4MB of NOR Flash
- 32MB of SDRAM
- IC+ IP175C switch
- one Mini-PCI slot

SVN-Revision: 30561
2012-02-15 21:13:11 +00:00
Gabor Juhos
8b8d9a8336 ramips: raeth: add a helper function for skb allocation
SVN-Revision: 30555
2012-02-15 18:33:42 +00:00
Gabor Juhos
e57546de83 ramips: raeth: use netdev_alloc_skb
SVN-Revision: 30554
2012-02-15 18:33:41 +00:00
Gabor Juhos
064855314b ramips: raeth: add '__packed __aligned(4)' annotation to dma descritor structures
This helps GCC to generare more efficient code.

SVN-Revision: 30553
2012-02-15 18:33:40 +00:00
Gabor Juhos
8c95385d78 ramips: raeth: use 're' instead of 'priv' everywhere
SVN-Revision: 30552
2012-02-15 18:33:38 +00:00
Gabor Juhos
b3b79365f3 ramips: raeth: force link down in ramips_phy_stop
SVN-Revision: 30550
2012-02-15 13:47:52 +00:00
Gabor Juhos
3e7b461431 ramips: raeth: serialize ramips_link_adjust calls
SVN-Revision: 30549
2012-02-15 13:47:50 +00:00
Gabor Juhos
dcb13d4098 ramips: raeth: add PHYLIB support
SVN-Revision: 30547
2012-02-15 06:47:12 +00:00
John Crispin
23b2bd9494 linux-atm: update solos-pci driver to upstream
Fixes for the solos-pci driver.

- Corrects calculation of headroom for padding.
- Removes pointless debug messages.
- Expose Bis A and Bis M annex capabilities.
- Expose hardware revision.

Signed-off-by: Philip Prindeville <philipp_subx@redfish-solutions.com>

SVN-Revision: 30541
2012-02-14 20:11:24 +00:00
John Crispin
9e5b8ad833 linux-atm: headroom/padding fixes
Submitted upstream to netdev by Chas Williams on linux-atm.

Signed-off-by: Philip Prindeville <philipp_subx@redfish-solutions.com>

SVN-Revision: 30540
2012-02-14 20:11:22 +00:00
John Crispin
1a71f07d00 generate uboot environment data in target
With this patch it is possible to generate uboot environment config file
inside lantiq target. Currently it is only supporting GIGASX76X board.

uboot environment config is used by fw_printenv fw_setenv tools.

Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

SVN-Revision: 30537
2012-02-14 19:07:11 +00:00
John Crispin
7416a5f0aa fix compile error in previous commit
SVN-Revision: 30534
2012-02-14 19:07:05 +00:00
John Crispin
cd1a204365 Support booting the Speedport W502V using BRN-BOOT.
While the disadvantage is less available flash space, it's easy and
safe to flash without opening the device.
Going back to the original firmware is also possible.

This patch add two firmware utilities, mkbrncmdline and mkbrnboot.

mkbrncmdline patches the uncompressed kernel so the registeres a0 to
a3 are initialized and the memory size is passed in.

mkbrnboot takes the lzma compressed kernel and squashfs images and
creates a firmware image that can be flashed using the BRN-BOOT
recovery kernel, which is booted by holding both buttons when
powering up the device and will listen on http://192.168.2.1.

The firmware file from bin/lantiq/ to use is
openwrt-lantiq-danube-ARV4525PW-BRNDTW502-brnImage

The BRN-BOOT recovery kernel does size-check the image, so if it's
too big to fit into flash it will complain accordingly.

A second patch is needed to make the wired network interface work
since there is no u-boot to pre-initialise it.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

SVN-Revision: 30532
2012-02-14 17:48:04 +00:00
Gabor Juhos
02a01a16c7 ramips: extract eeprom for the PCIe wlan module on the RT-N56U
SVN-Revision: 30529
2012-02-14 17:32:45 +00:00
Gabor Juhos
43d1a2c3ab ramips: rt3883: enable PCI on the RT-N56U board
SVN-Revision: 30528
2012-02-14 17:32:44 +00:00
Gabor Juhos
784be92e39 ramips: rt3883: add PCI support
SVN-Revision: 30527
2012-02-14 17:32:42 +00:00
Gabor Juhos
10f00dc48b ramips: rt3883: sync 2.6.39 config
SVN-Revision: 30526
2012-02-14 17:32:41 +00:00
Gabor Juhos
ed79921fe5 ramips: use SoC specific irq.h
SVN-Revision: 30525
2012-02-14 17:32:40 +00:00
John Crispin
0b07769898 fixes irq locking in ethernet driver
SVN-Revision: 30522
2012-02-14 15:05:58 +00:00
John Crispin
55bf39e98c fixes gpio_export patch
SVN-Revision: 30521
2012-02-14 15:05:57 +00:00
John Crispin
976d3eb854 add annex selection support to ltq_dsl package
SVN-Revision: 30518
2012-02-14 15:05:49 +00:00
Gabor Juhos
9a0e17857e ar71xx: add profile and build image for the TP-Link TL-WR842N/ND v1 boards
SVN-Revision: 30508
2012-02-13 17:11:58 +00:00
Gabor Juhos
1c57a22aae ar71xx: add model detection for TL-WR842N/ND
SVN-Revision: 30507
2012-02-13 17:11:57 +00:00
Florian Fainelli
e16916480d update to 3.2
SVN-Revision: 30503
2012-02-13 16:05:30 +00:00
Florian Fainelli
7bed2e2225 fix titan gpio register size
SVN-Revision: 30502
2012-02-13 16:05:27 +00:00
Gabor Juhos
8d5dfa75e6 ramips: rt3883: update package list in the default profile
SVN-Revision: 30499
2012-02-13 15:18:05 +00:00
Gabor Juhos
99c019fb0d ramips: add preliminary support for the Asus RT-N56U board
SVN-Revision: 30498
2012-02-13 15:18:04 +00:00
Gabor Juhos
97e641a0e6 ramips: raeth: enable MDIO code for RT3883
SVN-Revision: 30497
2012-02-13 15:18:03 +00:00
Gabor Juhos
e532fa5fd4 ramips: add preliminary support for the RT3662/RT3883 SoCs
SVN-Revision: 30495
2012-02-13 15:17:59 +00:00
Florian Fainelli
4a0dc3a32a add support for 3.2
SVN-Revision: 30492
2012-02-13 12:36:34 +00:00
Hauke Mehrtens
30408f1cc4 brcm47xx: deactivate CONFIG_NO_HZ as it seams not to be needed.
SVN-Revision: 30488
2012-02-12 22:41:20 +00:00
Hauke Mehrtens
e7bd7f7e85 brcm47xx: activate config bug to show warnings
SVN-Revision: 30487
2012-02-12 22:40:01 +00:00
Gabor Juhos
22ec8b4839 ramips: use GENERIC_{4,8}M image template for WR5123GN
SVN-Revision: 30483
2012-02-12 18:04:47 +00:00
Gabor Juhos
b7f129e19b ramips: rt305x: pass MTD partition map to the ALL0256N via cmdline
SVN-Revision: 30482
2012-02-12 18:04:46 +00:00
Hauke Mehrtens
fa21aef5ab brcm47xx: refresh patches
SVN-Revision: 30481
2012-02-12 16:45:27 +00:00
Hauke Mehrtens
838c363886 brcm47xx: update usb driver for brcm47xx.
SVN-Revision: 30480
2012-02-12 16:38:10 +00:00
Gabor Juhos
a287c60a61 ramips: add initial support for 3.2
SVN-Revision: 30476
2012-02-12 12:52:14 +00:00
Gabor Juhos
388013b0ce ramips: include 'linux/module.h' in the ramips_spi driver
SVN-Revision: 30475
2012-02-12 12:52:13 +00:00
Gabor Juhos
faae4235c4 ramips: rt288x: remove per-board physmap_flash_data instances
SVN-Revision: 30474
2012-02-12 12:52:12 +00:00
Gabor Juhos
3502e2b93f ramips: rt305x: remove per-board physmap_flash_data instances
SVN-Revision: 30473
2012-02-12 12:52:10 +00:00
Imre Kaloz
143e861708 enable another l2 cache errate on newer kernels
SVN-Revision: 30472
2012-02-12 11:22:08 +00:00
Gabor Juhos
3a11dcdaa8 ramips: load gpio-polled keys module
SVN-Revision: 30463
2012-02-11 20:37:34 +00:00
Gabor Juhos
323ece9474 ramips: remove yet another CONFIG_MTD_PARTITION ifdef
SVN-Revision: 30462
2012-02-11 19:37:11 +00:00
Gabor Juhos
32b9e8c750 ramips: use gpio-keys-polled instead of gpio-buttons
SVN-Revision: 30461
2012-02-11 19:37:06 +00:00
Imre Kaloz
8ce80f7454 add some missing symbols
SVN-Revision: 30460
2012-02-11 18:38:28 +00:00
Gabor Juhos
80b40497de ramips: add MIPS platform file
SVN-Revision: 30459
2012-02-11 18:16:11 +00:00
Gabor Juhos
80a535ba58 generic/2.6.39: refresh patches
SVN-Revision: 30458
2012-02-11 18:16:08 +00:00
Imre Kaloz
440a7fbc3b refresh patches to -rc3
SVN-Revision: 30456
2012-02-11 17:43:06 +00:00
Gabor Juhos
4e1b870f3e ramips: add MDIO bus support for RT288X
SVN-Revision: 30455
2012-02-11 16:49:56 +00:00
Imre Kaloz
0ace4636db rename 3.1 patches directory as it will be used for newer kernels as well
SVN-Revision: 30454
2012-02-11 15:59:23 +00:00
Imre Kaloz
1fb5ff4e04 rename 2.6.39 patches directory
SVN-Revision: 30453
2012-02-11 15:58:14 +00:00
Gabor Juhos
34a9ccf544 ramips: fix Belkin F5D8235-v2 VLAN setup
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 30452
2012-02-11 15:31:18 +00:00
Gabor Juhos
8916c02b47 ramips: raeth: make debugging messages configurable
SVN-Revision: 30450
2012-02-11 15:12:10 +00:00
Gabor Juhos
aac3ad4c0e ramips: raeth: use device pointer in DMA API calls
SVN-Revision: 30449
2012-02-11 15:12:08 +00:00
Gabor Juhos
1fd8724e94 ramips: raeth: add netdev pointer to private structure
SVN-Revision: 30448
2012-02-11 15:12:06 +00:00
Gabor Juhos
c6fa11d00f ramips: raeth: cleanup DMA API usage in ramips_eth_hard_start_xmit
SVN-Revision: 30447
2012-02-11 15:12:05 +00:00
Gabor Juhos
2d055f130e ramips: raeth: unmap rx DMA address in ramips_cleanup_dma
SVN-Revision: 30446
2012-02-11 15:12:04 +00:00
Gabor Juhos
7bd7ddcf4e ramips: raeth: add rx_dma array to store the DMA address of the rx packets
SVN-Revision: 30445
2012-02-11 15:12:02 +00:00
Gabor Juhos
647af823d9 ramips: raeth: use dma_addr_t for the descriptors
SVN-Revision: 30444
2012-02-11 15:12:01 +00:00
Gabor Juhos
df5892d1f1 ramips: raeth: unmap DMA memory when a packet is received
SVN-Revision: 30443
2012-02-11 15:11:56 +00:00
Gabor Juhos
617954ca5d ramips: raeth: add a temporary pktlen variable
SVN-Revision: 30442
2012-02-11 15:11:55 +00:00
Gabor Juhos
d1d492eaf9 ramips: raeth: protect macro parameters
SVN-Revision: 30441
2012-02-11 15:11:50 +00:00
Gabor Juhos
8250692359 ramips: raeth: indicate dropped packets in stats
SVN-Revision: 30440
2012-02-11 15:11:49 +00:00
Gabor Juhos
c67adbbddb ramips: raeth: use the NUM_TX_DESC for the tx_skb array
SVN-Revision: 30439
2012-02-11 15:11:47 +00:00
Gabor Juhos
a2c8789578 ramips: use uncached address in detect_mem_size
SVN-Revision: 30438
2012-02-11 15:11:45 +00:00
Gabor Juhos
ba4c9b3a8f ramips: rt305x: remove CONFIG_MTD_PARTITION ifdefery from machine files
SVN-Revision: 30437
2012-02-11 15:11:43 +00:00
Gabor Juhos
f2dd67dc09 ramips: rt288x: remove CONFIG_MTD_PARTITION ifdefery from machine files
SVN-Revision: 30436
2012-02-11 15:11:41 +00:00
Gabor Juhos
d6b9f88743 ramips: refresh patches
SVN-Revision: 30435
2012-02-11 15:11:40 +00:00
Gabor Juhos
9cde29f1a7 ramips: rt305x: add support for Accton WR6202 / SMCWBR11S-3GN
This patch adds support for the Accton WR6202 Mini 3G broadband router.
Full details for this device are available at
http://www.awbnetworks.com/products03.php?Fullkey=19.

This device is identical to the SMCWBR11S-3GN:
http://www.smc-asia.com/products03.php?Fullkey=210

It's also worth noting that this board has a GPIO line to control the
power to the USB port.

[juhosg:
 - fix checkpatch warnings,
 - reorder Kconfig entry,
 - merge the sysupgrade patch,
 - add GPL header]

Signed-off-by: Johnathan Boyce <jon.boyce@globalreach.eu.com>

SVN-Revision: 30434
2012-02-11 15:11:36 +00:00
Gabor Juhos
59b474732c ramips: rt305x: merge duplicated mac address setup
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 30433
2012-02-11 15:11:34 +00:00