1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-05 11:40:37 +02:00
Commit Graph

8870 Commits

Author SHA1 Message Date
juhosg
170eccd8a7 linux/3.2: allow to set platform_data for phy devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-12 16:28:00 +00:00
juhosg
d4fa1a974d linux/3.3: add missing config symbol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30904 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-12 16:27:58 +00:00
juhosg
c385265566 ar71xx: remove a 3.3 patch, it is already in 3.3-rc7
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30903 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-12 16:27:57 +00:00
juhosg
918793b48a ar71xx: fix Compex WPE72 detection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30902 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-12 16:27:56 +00:00
juhosg
c74f622197 ramips: add RT3350 detection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-12 16:12:13 +00:00
jow
d4b1ee15d1 [generic] expose CONFIG_NETFILTER_NETLINK for external kmods
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-12 00:09:23 +00:00
juhosg
6eda38a432 ramips: rt305x: rewrite SoC detection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30890 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-11 19:05:59 +00:00
juhosg
2886c1d472 ramips: rt305x: rename SYSTEM_CONFIG_* defines to RT305X_SYSCFG_*
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30889 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-11 19:05:57 +00:00
juhosg
5a2708d192 ramips: replace RALINK_SOC_* macros with global variables
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30888 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-11 19:05:56 +00:00
juhosg
9fb8ca891c ramips: introduce ramips_soc_prom_init and move SoC detection into that
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30887 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-11 19:05:53 +00:00
juhosg
86b5f9e15f generic: ar8216: use usleep_range in ar8216_mii_{read,write}
msleep(1) can sleep for up to 20ms.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30885 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-11 17:19:14 +00:00
juhosg
91f1cdc854 generic: ar8216: add a helper function for writing PHY debug registers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30884 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-11 16:49:35 +00:00
juhosg
7c3e076bdf generic: ar8216: add lockep assertion to ar8216_rmw
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30883 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-11 16:49:33 +00:00
juhosg
46495ea2d9 ramips: build initramfs image for DIR-{3,6}00 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30882 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-11 16:39:31 +00:00
juhosg
1df87f4bee linux/3.3: show correct name for MIPS 24KEc in /proc/cpuinfo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30881 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-11 16:39:30 +00:00
juhosg
a26c9305b4 linux/3.2: show correct name for MIPS 24KEc in /proc/cpuinfo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30880 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-11 16:39:28 +00:00
juhosg
cd601754a4 ramips: allow to use DSP ASE on RT3xxx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30879 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-11 16:39:26 +00:00
juhosg
5539c13cff ar71xx: stop image building if a loader is missing
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30877 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-11 14:03:28 +00:00
hauke
291b4a98c4 brcm47xx: make patch apply
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30876 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-11 13:36:46 +00:00
hauke
c0db65fee9 brcm47xx: BCMA - Find names of non BCM cores
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30875 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-11 12:55:20 +00:00
hauke
a1294657c3 BCMA - Account for variable PCI memory base/size
Thank you Nathan Hintz for the patch


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30874 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-11 12:52:43 +00:00
hauke
4f345fdc56 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30873 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-11 11:50:59 +00:00
juhosg
4c5cdbb16b generic: ar8216: coding style cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30857 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-08 10:21:14 +00:00
juhosg
9044daabf7 generic: ar8216: don't use static variable in ar8236_hw_init
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-08 10:21:12 +00:00
juhosg
d118a7af95 generic: ar8216: move register inititalization into hw_init
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30855 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-08 10:21:11 +00:00
juhosg
7c5576c278 generic: ar8216: set chip type directly in ar8216_id_chip
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30854 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-08 10:21:10 +00:00
juhosg
1130aa078f generic: ar8216: simplify ar8216_config_init
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30853 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-08 10:21:08 +00:00
juhosg
c9de293cbb ar71xx: add watchdog driver to the default package list
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-08 09:00:17 +00:00
juhosg
5cec240735 linux/3.{2,3}: even more NAND symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 22:32:54 +00:00
juhosg
f69d75cd5e ar71xx: fix WPS button polarity on TL-WR2543N
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 19:50:53 +00:00
juhosg
823a90641e generic: ar8216: move port initialization into a separate function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 16:32:46 +00:00
juhosg
f7dadcb854 generic: ar8216: improve ar8216_wait_bit function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30847 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 16:32:45 +00:00
juhosg
47f3a7dbc1 generic: ar8216: use ar8216_read_port_link to get the CPU port link parameters
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30846 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 16:32:43 +00:00
juhosg
f8b56bc9d2 generic: ar8216: use the generic get_port_link implementation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30845 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 16:32:42 +00:00
juhosg
b1fa0c1a37 generic: rtl8367: use the generic get_port_link implementation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30844 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 16:32:40 +00:00
juhosg
1f9f293936 generic: rtl8366s: use the generic get_port_link implementation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30843 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 16:32:38 +00:00
juhosg
34271f8723 generic: rtl8366rb: use the generic get_port_link implementation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30842 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 16:32:37 +00:00
juhosg
d32129c110 ar71xx: ag71xx: fix get_port_link callback
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30841 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 16:32:35 +00:00
juhosg
4a420c6fa2 ar71xx: ag71xx: use the generic get_port_link implementation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30840 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 16:32:34 +00:00
juhosg
e660b7606b generic: swconfig: add a generic get_port_link implementation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30839 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 16:32:33 +00:00
juhosg
6977635623 generic: ar8216: use mdiobus_write in ar8236_hw_init
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30838 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 16:32:31 +00:00
juhosg
044f0f9c5a generic: ar8216: use bus->mdio_lock directly in ar8216_mii_{read,write}
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 16:32:30 +00:00
juhosg
6ac61155e0 generic: ar8216: fix phy driver name
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30836 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 16:32:28 +00:00
jow
e94efa5d8e [generic] enable EFI partition support by default, adds ca. 8K uncompressed on ar71xx (#8672)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30835 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 14:14:52 +00:00
juhosg
7faa796dd3 linux/3.2: fix crypto4xx build failure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30834 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 11:57:49 +00:00
juhosg
0201c4a9a8 linux/3.1: add missing NAND symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30827 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-05 18:01:54 +00:00
juhosg
be49435553 linux/3.0: add missing NAND symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30826 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-05 18:01:52 +00:00
florian
51118e2cb8 [brcm63xx] remove 3.1 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30823 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-05 16:50:42 +00:00
florian
3db8db156f [brcm63xx] rename 96348GW-1{0,1}-gen to 96348GW-1{0,1}-generic
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30822 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-05 14:49:34 +00:00
florian
f6da629e31 [brcm63xx] generate generic images for BCM96358VW and BCM96358VW2 (#10666)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30821 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-05 14:49:31 +00:00
florian
35958232eb [brcm63xx] wire bcm96348gw-10 reset button (#10854)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30820 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-05 14:23:45 +00:00
florian
18982296c7 Merge branch 'bcm63xx'
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30819 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-05 13:29:54 +00:00
nbd
1a06585f6d kernel: fix powerpc unused-but-set variables
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30817 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-05 00:51:12 +00:00
nbd
4e7ffa2545 kernel: remove the crtsavres dependency, the patched gcc will no longer emit references to that code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30816 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-05 00:51:08 +00:00
nbd
7485bf2113 kernel: fix vmalloc stack traces triggered by module with an empty init section (mostly happens on x86)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30813 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-05 00:12:44 +00:00
juhosg
b3a7f52fd6 linux/3.3: add more NAND symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30811 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-04 18:23:59 +00:00
juhosg
f0227ffae9 linux/3.2: add more NAND symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30810 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-04 18:23:56 +00:00
juhosg
a88314062b 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30809 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-04 16:09:13 +00:00
juhosg
6e1646817e 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30808 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-04 16:09:11 +00:00
juhosg
bcaf6136f4 ppc40x: preliminary support for 3.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30804 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-04 12:39:46 +00:00
juhosg
6e6999c3a1 linux/3.3: add missing config symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30803 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-04 12:39:44 +00:00
juhosg
19cbc62044 linux/3.2: add missing NAND symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30802 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-04 12:39:42 +00:00
juhosg
d5161a8aa9 ar71xx: refresh patches against 3.3-rc5
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30801 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-03 14:10:29 +00:00
juhosg
bfc29614e5 linux/3.3: merge recent ubifs patches from 3.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30800 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-03 14:10:27 +00:00
juhosg
251353c250 linux/3.3: refresh patches against 3.3-rc5
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30799 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-03 14:10:24 +00:00
nbd
2f3210027c omap24xx: fix compile error with new binutils (#11072)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30798 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-03 12:00:48 +00:00
juhosg
7f4e210d6f linux/3.2: add symlink xattr support to ubifs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30794 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-02 23:09:00 +00:00
juhosg
f2f3e7072a linux/3.2: add XZ decompression support to ubifs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30793 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-02 23:08:59 +00:00
juhosg
241aa9defd linux/3.2: add XZ decompressor support to crypto
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30792 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-02 23:08:56 +00:00
juhosg
a0784c78e1 ppc40x: switch to 3.2.9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30791 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-02 18:04:02 +00:00
juhosg
68f91f9c17 linux/3.2: add a bunch of missing symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30790 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-02 18:04:01 +00:00
juhosg
087640c854 ppc40x: fix build errors in the CF and ISP116X drivers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30789 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-02 18:03:59 +00:00
florian
d45352ad01 [adm8668] mark variables as might be unused
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30787 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-02 13:23:38 +00:00
florian
8f83f6c6c3 [adm8668] remove unused variables and defines
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30786 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-02 13:23:35 +00:00
florian
057ff99ae1 [kernel/2.6.39] MIPS: fix kexec build on 64-bits targets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30785 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-02 13:19:13 +00:00
florian
fe9bc76c6b [kernel/2.6.39] refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30784 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-02 13:19:10 +00:00
florian
e2d176b262 [kernel/2.6.39] MIPS: fix printing of size_t arg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30783 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-02 13:19:08 +00:00
florian
ecd739427b [kernel/2.6.37] MIPS: mark unused variables
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30782 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-02 13:19:05 +00:00
florian
ae774d3615 [kernel/2.6.37] refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30781 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-02 13:19:02 +00:00
florian
8e5a93687f [kernel/2.6.36] MIPS: mark unused variables
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30780 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-02 13:19:00 +00:00
florian
a4906e04da [kernel/2.6.36] refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30779 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-02 13:18:56 +00:00
florian
5929a7798b [kernel/2.6.32] MIPS: mark unused variables
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30778 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-02 13:18:53 +00:00
florian
f704d60b0b [kernel/2.6.32] refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30777 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-02 13:18:47 +00:00
juhosg
78859ab57d ar71xx: ag71xx: keep VLAN tags if VLAN is not enabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-01 19:49:05 +00:00
juhosg
57b73bf423 kernel: update linux 3.2 to 3.2.9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-01 19:49:02 +00:00
hauke
d861364e21 brcm47xx: use kernel 3.2 by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-28 20:12:46 +00:00
jow
61489954f3 [generic] revert unrelated change in previous commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30738 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-27 09:34:31 +00:00
jow
294b1ab0fc [generic] partly revert r30708, it breaks various arches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30737 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-27 09:33:36 +00:00
juhosg
c369186781 ramips: don't read RAMIPS_RX_CALC_IDX0 register in the loop
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30733 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-26 10:54:13 +00:00
juhosg
bcc8770afa 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30732 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-26 10:54:12 +00:00
juhosg
c3157bd40e 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30731 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-26 10:54:10 +00:00
nbd
adfe634bb8 ixp4xx: fix a compile error
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30728 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-25 22:12:11 +00:00
jow
1c824716f1 [generic] add some missing 2.6.39 kernel symbols observed on x86/generic builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30718 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-25 13:17:32 +00:00
jow
eb0c9b79d7 [x86] enable RTC_CLASS for Linux 3.2 and 3.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30717 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-25 13:06:26 +00:00
juhosg
b83545fa99 ramips: raeth: don't process disabled interrupts
Also rename the 'fe_int' variable.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30713 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-25 11:59:19 +00:00
juhosg
ebeffb64e9 ar71xx: use v6.0.0 in UBTN-XM firmwares (closes #11038)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30712 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-24 20:41:38 +00:00
juhosg
86f0a453a3 ramips: fix FONERA20N image generation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30710 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-24 16:18:46 +00:00
jow
73c4fa4d10 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30708 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-24 10:35:20 +00:00
juhosg
e59f7e59ce ramips: image: increase minimum kernel partition size to 896k
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30706 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-23 19:58:16 +00:00
juhosg
aef9836e3e ramips: image: cleanup and sort templates/profiles
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30705 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-23 19:58:15 +00:00
juhosg
3512e35131 ramips: image: use GENERIC_4M template for the ALL0256N board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30704 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-23 19:58:14 +00:00
juhosg
3bc6de1a9c ramips: image: introduce mkmtd/{,phys,spi} helpers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30703 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-23 19:58:12 +00:00
juhosg
8674a3608c ramips: image: pass mtdlayout variables by value
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30702 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-23 19:58:11 +00:00
juhosg
1a418e58fd ramips: image: merge F5D8235V{1,2} templates
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30701 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-23 19:58:10 +00:00
juhosg
2114850f4f ramips: image: use generic template for the WR6202, OMNIEMB, W502U boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30700 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-23 19:58:07 +00:00
juhosg
de6db64de9 ramips: image: introduce mkcmdline helper
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30699 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-23 19:58:06 +00:00
juhosg
c329c451b2 ramips: image: use the GENERIC_4M template for the V11ST-FE board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30698 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-23 19:58:04 +00:00
juhosg
550d82fa19 ramips: image: simplify Makefile a bit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30697 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-23 19:58:03 +00:00
juhosg
77394481fe ramips: image: add MkImageLzma wrapper
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30696 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-23 19:58:02 +00:00
juhosg
eada36fe53 ramips: image: allow to build board specific initramfs images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30695 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-23 19:58:01 +00:00
blogic
2f20008d73 [atm] drop backported patches as they cause regressions and oopses
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30690 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-23 07:42:04 +00:00
blogic
1863b32a32 [lantiq] fixes etop locking issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30689 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-23 07:42:00 +00:00
juhosg
f8f3c2b274 ramips: merge identical switch configuration entries
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30688 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-22 19:46:19 +00:00
juhosg
180721623a ramips: use unified switch identifiers in uci-defaults/network
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30687 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-22 19:46:17 +00:00
juhosg
88c727bd85 ramips: fix VLAN config of the RT-N15
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30686 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-22 19:46:15 +00:00
juhosg
edd0b0744e ramips: raeth: show interrupt statistics in debugfs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30681 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-22 13:06:44 +00:00
juhosg
fe2aef1465 ramips: raeth: add debugfs support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-22 13:06:42 +00:00
juhosg
487e30dc6b ramips: raeth: rename main source file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30679 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-22 13:06:41 +00:00
juhosg
8b52220866 ramips: raeth: add missing Kconfig and Makefile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30671 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-21 09:44:30 +00:00
juhosg
3ac2b4e29a ramips: move the ethernet driver into a separate directory
Also clean up the Kconfig symbols.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30670 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-21 09:26:43 +00:00
juhosg
d7185880b9 ramips: rename the spi driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30669 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-21 09:26:41 +00:00
nbd
70862d497d ar71xx: switch to kmod-gpio-button-hotplug
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30660 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-20 10:51:48 +00:00
nbd
1002850a01 kernel: strip unnecessary symbol table information from kernel modules, reduces default squashfs size on ar71xx by about 4k
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30657 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-20 09:03:17 +00:00
juhosg
342ac43e68 ramips: rt3883: make rt3883_nand_data visible
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30655 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-19 19:40:37 +00:00
juhosg
5b5e6922c6 ramips: merge 3.2 fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-19 17:52:23 +00:00
juhosg
5e8b0f2f94 ramips: nuke 2.6.39 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30651 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-19 17:52:20 +00:00
juhosg
e1527acc5f ramips: rt305x: nuke built-in MTD partition maps
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30650 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-19 17:52:15 +00:00
juhosg
058c28d6fe ramips: rt288x: nuke built-in MTD partition maps
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30649 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-19 17:52:11 +00:00
juhosg
68d60e45f2 ramips: build sysupgrade image for the V11ST-FE board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-19 17:52:08 +00:00
juhosg
f6ba1d4f8c 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30645 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-19 16:44:49 +00:00
hauke
ddd5150a30 brcm47xx: add code to generate images for some netgear devices
This is commented out until we get report of working devices.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30639 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-18 23:21:47 +00:00
hauke
035f06d698 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30638 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-18 23:08:26 +00:00
juhosg
7005c79799 ralink: rt3883: disable the 2GHz band on the RT-N56U
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30632 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-18 17:36:21 +00:00
juhosg
78d0623f6c ramips: rt3883: make rt3883_wlan_data visible
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30631 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-18 17:36:16 +00:00
juhosg
694c4439dc generic: add disable_[25]ghz to struct rt2x00_platform_data
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30630 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-18 17:36:13 +00:00
juhosg
8930617368 ar71xx: fix image signature for UBNT-XM boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30626 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-18 14:45:52 +00:00
juhosg
a03baaa96f generic/2.6.37: fix 'set but unused' build errors on MIPS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30615 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-17 17:21:03 +00:00
juhosg
c2da468a0c ramips: extract eeprom for the built-in wlan module on the RT-N56U
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 20:06:22 +00:00
juhosg
37f21ebf4d ramips: rt3883: change eeprom file name
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30603 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 20:06:21 +00:00
acinonyx
7d27a0b34d [x86] Disable by default padding of images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30590 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 17:54:07 +00:00
acinonyx
4916a0ea0e [x86] Allow gzipping of squashfs images with padded jffs2 partition
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30589 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 17:54:04 +00:00
acinonyx
05c64b9247 [x86] GZip only ext4 and padded images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30588 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 17:54:01 +00:00
acinonyx
8176b71781 [x86] Make gzipping of images configurable via menuconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30587 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 17:53:57 +00:00
juhosg
a0ef5265a1 ar71xx: remove duplicated define from the D-Link profile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30577 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 09:03:27 +00:00
juhosg
50f7b22bd7 ramips: select HW_HAS_PCI on per-board basis
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30576 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 08:17:54 +00:00
juhosg
9e8e8b51d6 ramips: rt3883: remove a stray character from rt3883.h
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30575 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 08:17:53 +00:00
juhosg
d81767c119 ramips: rt288x: don't register the PCI controller on each board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30574 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 08:17:52 +00:00
juhosg
013dc5a5d6 ramips: raeth: separate ring allocation and setup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30573 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 08:17:50 +00:00
juhosg
5279a11d68 generic: add SND_PPC symbol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30572 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 07:51:44 +00:00
cshore
10724eda20 [ar71xx] Add Ubiquiti UniFi Profile; It's an AP without USB so don't include USB drivers by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 07:45:28 +00:00
cshore
5e4fce2233 [ar71xx] d-link: Add DIR-601 Profile Definition; It needs different factory images than DIR-600
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30570 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 07:38:33 +00:00
cshore
d24315ad26 [ar71xx] Fix partitions for Cameo-based boards; kernel 3.2 is bigger
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 07:29:26 +00:00
cshore
1a609bdce0 [ar71xx] image: For Cameo-based board fix adding mtd layout to kernel commandline)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30568 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 07:24:45 +00:00
jow
6a43915f2b linux 3.2: missing generic symbols
These symbols are dependent on CONFIG_PCI being enabled.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30565 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-15 23:37:47 +00:00
juhosg
6660855cb6 ramips: rt288x: fix PCI resource conflict
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30563 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-15 21:19:02 +00:00
florian
5ad3941a70 [ramips] correct PCI IO/Mem resource swapping
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30562 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-15 21:13:21 +00:00
florian
62c0190fa5 [ramips] 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30561 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-15 21:13:11 +00:00
juhosg
43d6f57e67 ramips: raeth: add a helper function for skb allocation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30555 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-15 18:33:42 +00:00
juhosg
c99c1bd913 ramips: raeth: use netdev_alloc_skb
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-15 18:33:41 +00:00
juhosg
0564ef75aa ramips: raeth: add '__packed __aligned(4)' annotation to dma descritor structures
This helps GCC to generare more efficient code.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30553 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-15 18:33:40 +00:00
juhosg
eaae1ec1de ramips: raeth: use 're' instead of 'priv' everywhere
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30552 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-15 18:33:38 +00:00
juhosg
d0794e0d35 ramips: raeth: force link down in ramips_phy_stop
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30550 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-15 13:47:52 +00:00
juhosg
815334db9c ramips: raeth: serialize ramips_link_adjust calls
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30549 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-15 13:47:50 +00:00
juhosg
d214321c8c ramips: raeth: add PHYLIB support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30547 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-15 06:47:12 +00:00
blogic
ca06b03a8e 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30541 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-14 20:11:24 +00:00
blogic
12ee6100a2 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-14 20:11:22 +00:00
blogic
6aa1eddee7 [lantiq] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30537 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-14 19:07:11 +00:00
blogic
f1215ac7aa [lantiq] fix compile error in previous commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30534 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-14 19:07:05 +00:00
blogic
61b8a7cdc6 [lantiq] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30532 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-14 17:48:04 +00:00
juhosg
d54a0c39e1 ramips: extract eeprom for the PCIe wlan module on the RT-N56U
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30529 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-14 17:32:45 +00:00
juhosg
073aa05f36 ramips: rt3883: enable PCI on the RT-N56U board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30528 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-14 17:32:44 +00:00
juhosg
0dad89e259 ramips: rt3883: add PCI support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30527 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-14 17:32:42 +00:00
juhosg
34acde8e5f ramips: rt3883: sync 2.6.39 config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30526 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-14 17:32:41 +00:00
juhosg
5775cc2b9c ramips: use SoC specific irq.h
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30525 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-14 17:32:40 +00:00
blogic
13595a7a28 [lantiq] fixes irq locking in ethernet driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30522 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-14 15:05:58 +00:00
blogic
d4d4e1aa21 [lantiq] fixes gpio_export patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30521 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-14 15:05:57 +00:00
blogic
f8d8046b51 [ltq-dsl] add annex selection support to ltq_dsl package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30518 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-14 15:05:49 +00:00
juhosg
3c97dc485a ar71xx: add profile and build image for the TP-Link TL-WR842N/ND v1 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30508 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-13 17:11:58 +00:00
juhosg
a433c026e5 ar71xx: add model detection for TL-WR842N/ND
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30507 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-13 17:11:57 +00:00
florian
8ac28fce23 [malta] update to 3.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30503 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-13 16:05:30 +00:00
florian
3e65a7b3dd [ar7] fix titan gpio register size
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30502 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-13 16:05:27 +00:00
juhosg
e95d1bebf7 ramips: rt3883: update package list in the default profile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30499 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-13 15:18:05 +00:00
juhosg
2223374185 ramips: add preliminary support for the Asus RT-N56U board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-13 15:18:04 +00:00
juhosg
10a983eea1 ramips: raeth: enable MDIO code for RT3883
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30497 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-13 15:18:03 +00:00
juhosg
07c8d27309 ramips: add preliminary support for the RT3662/RT3883 SoCs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30495 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-13 15:17:59 +00:00
florian
17d0a31e9d [malta] add support for 3.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30492 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-13 12:36:34 +00:00
hauke
adf8b5a51f brcm47xx: deactivate CONFIG_NO_HZ as it seams not to be needed.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30488 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 22:41:20 +00:00
hauke
e1a53dd6b0 brcm47xx: activate config bug to show warnings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30487 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 22:40:01 +00:00
juhosg
71da0d9534 ramips: use GENERIC_{4,8}M image template for WR5123GN
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30483 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 18:04:47 +00:00
juhosg
85b1ee0e18 ramips: rt305x: pass MTD partition map to the ALL0256N via cmdline
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30482 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 18:04:46 +00:00
hauke
1b56ff8998 brcm47xx: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30481 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 16:45:27 +00:00
hauke
6d7798dc01 brcm47xx: update usb driver for brcm47xx.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30480 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 16:38:10 +00:00
juhosg
dd584f3173 ramips: add initial support for 3.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30476 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 12:52:14 +00:00
juhosg
c9a5f3f810 ramips: include 'linux/module.h' in the ramips_spi driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30475 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 12:52:13 +00:00
juhosg
4c24144f1f ramips: rt288x: remove per-board physmap_flash_data instances
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 12:52:12 +00:00
juhosg
40c07f37d9 ramips: rt305x: remove per-board physmap_flash_data instances
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30473 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 12:52:10 +00:00
kaloz
9701922238 [cns3xxx]: enable another l2 cache errate on newer kernels
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 11:22:08 +00:00
juhosg
129f9cacb9 ramips: load gpio-polled keys module
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30463 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 20:37:34 +00:00
juhosg
e24fe32095 ramips: remove yet another CONFIG_MTD_PARTITION ifdef
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30462 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 19:37:11 +00:00
juhosg
d33e1ea7fd ramips: use gpio-keys-polled instead of gpio-buttons
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30461 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 19:37:06 +00:00
kaloz
1e4941a025 [generic/3.3]: add some missing symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30460 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 18:38:28 +00:00
juhosg
baa5c31303 ramips: add MIPS platform file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 18:16:11 +00:00
juhosg
8aed6bf98c generic/2.6.39: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 18:16:08 +00:00
kaloz
06d33a010d [generic/3.3]: refresh patches to -rc3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30456 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 17:43:06 +00:00
juhosg
a6fcd662b4 ramips: add MDIO bus support for RT288X
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 16:49:56 +00:00
kaloz
c6114b60db [cns3xxx]: rename 3.1 patches directory as it will be used for newer kernels as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30454 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:59:23 +00:00
kaloz
63815e7b5d [cns3xxx]: rename 2.6.39 patches directory
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30453 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:58:14 +00:00
juhosg
3613a73356 ramips: fix Belkin F5D8235-v2 VLAN setup
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30452 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:31:18 +00:00
juhosg
3120faed8b ramips: raeth: make debugging messages configurable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:12:10 +00:00
juhosg
ad0b8c49bf ramips: raeth: use device pointer in DMA API calls
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30449 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:12:08 +00:00
juhosg
5b41176cdc ramips: raeth: add netdev pointer to private structure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30448 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:12:06 +00:00
juhosg
1e38789510 ramips: raeth: cleanup DMA API usage in ramips_eth_hard_start_xmit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30447 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:12:05 +00:00
juhosg
9b2ee01ff5 ramips: raeth: unmap rx DMA address in ramips_cleanup_dma
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30446 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:12:04 +00:00
juhosg
606588b4e9 ramips: raeth: add rx_dma array to store the DMA address of the rx packets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30445 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:12:02 +00:00
juhosg
bbc71f5154 ramips: raeth: use dma_addr_t for the descriptors
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:12:01 +00:00
juhosg
cce4c079c4 ramips: raeth: unmap DMA memory when a packet is received
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:56 +00:00
juhosg
cd69289b3e ramips: raeth: add a temporary pktlen variable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30442 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:55 +00:00
juhosg
0e485dd80d ramips: raeth: protect macro parameters
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30441 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:50 +00:00
juhosg
202c4f386c ramips: raeth: indicate dropped packets in stats
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30440 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:49 +00:00
juhosg
b10ad5f4e0 ramips: raeth: use the NUM_TX_DESC for the tx_skb array
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:47 +00:00
juhosg
f9626b56d5 ramips: use uncached address in detect_mem_size
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30438 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:45 +00:00
juhosg
a88c8014e5 ramips: rt305x: remove CONFIG_MTD_PARTITION ifdefery from machine files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30437 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:43 +00:00
juhosg
2a62a21658 ramips: rt288x: remove CONFIG_MTD_PARTITION ifdefery from machine files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30436 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:41 +00:00
juhosg
21cf4e76e0 ramips: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30435 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:40 +00:00
juhosg
7a5c327fcf 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30434 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:36 +00:00
juhosg
d69d16fbbd ramips: rt305x: merge duplicated mac address setup
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30433 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:34 +00:00
juhosg
2cc897979d ramips: rt305x: add profile for the Belkin f5d8235v2
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-11 15:11:32 +00:00
hauke
2139db24ad brcm47xx: print the chip id and rev found by ssb and bcma
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30428 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 22:42:43 +00:00
juhosg
5d13bee59c ar71xx: zero partition parser data in m25p80
Ths fixes parsing of RedBoot partitions.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30427 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 20:19:06 +00:00
juhosg
3218c675a1 ramips: fix compiler warning in prom.c
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30424 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 17:38:46 +00:00
hauke
d4a8a448fa brcm47xx: update bcm5354 support patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30423 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 17:22:26 +00:00
juhosg
314c3a2a09 ar71xx: fix platform description
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30419 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 15:27:49 +00:00
juhosg
548962afd2 generic: fix yaffs2 build warnings on 3.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30418 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 15:21:43 +00:00
juhosg
ee8624ffde ar71xx: ag71xx: add BQL support
It will be usable only from linux-3.3.

Based on a patch by Dave Taht <dave.taht@bufferbloat.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30417 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 14:56:47 +00:00
juhosg
2ffafb14db ar71xx: add dummy DQL helper functions for 3.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30416 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 14:56:44 +00:00
juhosg
33ec8951f8 ar71xx: add preliminary support for 3.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30410 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 11:53:56 +00:00
nbd
d2514fe7ac ar71xx: disable DDR flush for ethernet on AR934x, it is no longer necessary
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30409 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 11:46:37 +00:00
nbd
f243888497 ar71xx: fix db120 board detection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30408 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 11:46:31 +00:00
juhosg
1d05b280c9 ar71xx: allow to build ag71xx w/o PCI support enabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30407 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 11:46:10 +00:00
juhosg
8940cbc303 ar71xx: merge 3.2 fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30406 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 08:19:33 +00:00
juhosg
d9077e15ae ar71xx: merge files-3.2 to files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30405 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 08:19:31 +00:00
juhosg
a25bc14378 ar71xx: nuke 2.6.39 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30404 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 08:19:28 +00:00
juhosg
8fbe7bf211 ar71xx: switch to 3.2.5
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30403 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 08:19:27 +00:00
juhosg
7666a203c2 ar71xx: refresh 3.2 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30402 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 08:19:25 +00:00
juhosg
0fc12e3d4f kernel: update linux 3.2 to 3.2.5
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30401 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-10 08:19:23 +00:00
juhosg
821bbd90e1 ar71xx: 3.2: remove stray semicolons from the PCI fixup patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30400 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-09 21:19:57 +00:00
nbd
3ca45835c8 ar71xx: fix ar934x usb reset handling on 3.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30399 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-09 20:39:41 +00:00
juhosg
d038b562d6 generic: fix kexec build error for MIPS with gcc-4.6-linaro
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30395 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-09 14:06:44 +00:00
juhosg
5e02263a06 generic: 3.3: add missing config symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30393 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-09 08:07:52 +00:00
juhosg
f48c3fb212 generic: 3.3: fix yaffs2 build error
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30392 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-09 08:07:50 +00:00