Commit Graph

9588 Commits (eea43ffd336abe66593e20bedd8a77205db872ee)

Author SHA1 Message Date
Felix Fietkau 741f6ba7ef x86: fix typo in alix2/net5501 default packages
SVN-Revision: 34972
2013-01-02 16:09:23 +00:00
John Crispin 569bbe4970 rt5350 switch support fix
RT5350 frame engine need reset frame engine and embedded switch together.

Signed-off-by: Serge Vasilugin <vasilugin@yandex.ru>

SVN-Revision: 34969
2013-01-02 11:28:21 +00:00
Gabor Juhos 373b0b9ad1 generic: fix UBIFS build error if XZ compression is disabled
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34959
2013-01-02 08:53:07 +00:00
Gabor Juhos d91117459c adm5120: add support for 3.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34954
2013-01-01 13:15:49 +00:00
Gabor Juhos f0520f1714 adm5120: nuke 3.3 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34953
2013-01-01 13:15:44 +00:00
Gabor Juhos b4315df8e1 adm5120: switch to 3.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34952
2013-01-01 13:15:41 +00:00
Gabor Juhos edd36342e5 adm5120: add support for 3.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34951
2013-01-01 13:15:36 +00:00
Gabor Juhos 92cd48e9ea adm5120: remove NAND_NO_AUTOINCR flag from rb1xx.c
Also add a compatibility patch for 3.3.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34950
2013-01-01 13:15:30 +00:00
Gabor Juhos 03e09078dc adm5120: use mtd_read helper in trxsplit.c
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34949
2013-01-01 13:15:20 +00:00
Gabor Juhos e1b13e15b2 adm5120: don't include asm/system.h in adm5120-hcd.c
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34948
2013-01-01 13:15:16 +00:00
Gabor Juhos cbe5d664e1 generic: add missing symbol for 3.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34947
2013-01-01 13:15:11 +00:00
Gabor Juhos e1965a1d1a ar71xx: register the NAND flash controller device on the AP135/136 boards
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34946
2013-01-01 13:10:41 +00:00
Gabor Juhos 66efec6783 ar71xx: allow to register the NAND flash controller on the QCA955x
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34945
2013-01-01 13:10:36 +00:00
Gabor Juhos 2c77e5d7b3 ar71xxx: allow to select ATH79_DEV_NFC for QCA955x
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34944
2013-01-01 13:10:34 +00:00
Gabor Juhos d8446d65fe ar71xxx: allow to build the ar934x_nfc driver for QCA955x
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34943
2013-01-01 13:10:29 +00:00
Gabor Juhos 93c322cacc ar71xx: fix NAND controller base for QCA955x SoCs
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34942
2013-01-01 13:10:26 +00:00
Gabor Juhos b57cc9a538 ar71xx: fold AP135 patch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34941
2013-01-01 13:10:22 +00:00
John Crispin 624eb36fff adds missing symbol
SVN-Revision: 34939
2012-12-30 21:31:10 +00:00
John Crispin ce57efa3ea fixes usb port on arv 4518
SVN-Revision: 34935
2012-12-30 12:38:40 +00:00
Gabor Juhos fb07876f25 ramips: rt305x: fix garbled name in mach-mzk-w300nh2.c
Signed-off-by: Samir Ibradžić <sibradzic@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34934
2012-12-30 08:23:48 +00:00
Gabor Juhos 6708d68c24 ramips: build firmware image for the Planex MZK-W300NH2 Router
Signed-off-by: Samir Ibradžić <sibradzic@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3077/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34927
2012-12-29 17:50:40 +00:00
Gabor Juhos 8b1ac2ae37 ramips: add user-space support for the Planex MZK-W300NH2 Router
Signed-off-by: Samir Ibradžić <sibradzic@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3077/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34926
2012-12-29 17:50:38 +00:00
Gabor Juhos d6d06aceb0 ramips: rt305x: add kernel support for the Planex MZK-W300NH2 Router
This is a Japanese market router, for details check
http://www.planex.co.jp/product/router/mzk-w300nh2/. It has only 16MB
RAM, but base OpenWRT install worked fine for days without issues.
Even an image with built-in Luci worked, but don't expect smooth
experience, due to the lack of RAM. Wifi was not extensively tested,
but seems it is working. GPIO LEDs & buttons, factory flash image and
switch config are confirmed working. Tested against revision 34882 +
this patch.

[juhosg: move user-space support and image generation changes into
separate patches]

Signed-off-by: Samir Ibradžić <sibradzic@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3077/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34925
2012-12-29 17:50:35 +00:00
Gabor Juhos 76537041eb ramips: build image for Airlive AIR3GII
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/2913/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34924
2012-12-29 17:50:34 +00:00
Gabor Juhos 3aad9b4c9b ramips: add user-space support for Airlive AIR3GII
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/2913/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34923
2012-12-29 17:50:32 +00:00
Gabor Juhos 3fcb8bb0dd ramips: rt305x: add kernel support for AirLive AIR3GII
AirLive AIR3GII is Ralink RT5350F based device with
100Mbps switch, USB port, 4MB flash and 32MB ram.

Works: ethernet (LAN & WAN), wps button, led, USB, sysupgrade
Does not work: wifi (chip RT5350), reset button

[   13.390000] phy0 -> rt2800_init_eeprom: Error - Invalid RT chipset 0x5350 detected.
[   13.400000] phy0 -> rt2x00lib_probe_dev: Error - Failed to allocate device.

Other problem: LAN leds is reverse (lights when not cable
connected and vice versa)

[juhosg: move user-space support and image generation changes into
separate patches]

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/2913/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34922
2012-12-29 17:50:28 +00:00
Gabor Juhos 87271e9f28 ar71xx: add support for 3.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34920
2012-12-29 16:02:31 +00:00
Gabor Juhos a3a6e0f039 ar71xx: Build the AP135 images
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34919
2012-12-29 16:02:28 +00:00
Gabor Juhos dddf05bde2 ar71xx: Add userspace support for AP135
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34918
2012-12-29 16:02:27 +00:00
Gabor Juhos 1a379c5112 ar71xx: Add support for AP135
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34917
2012-12-29 16:02:24 +00:00
Gabor Juhos c6580f64b8 ar71xx: use a backported patch to fix AR933x UART baud rate calculation
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34915
2012-12-29 13:52:38 +00:00
Felix Fietkau 348dc70c8c ar71xx: change the unaligned access hack to assume an alignment of 2 bytes, slightly improves performance and code size
SVN-Revision: 34912
2012-12-28 21:30:24 +00:00
Felix Fietkau 41a039f464 mips: use -mno-branch-likely for kernel and userspace, saves ~11k kernel size after lzma and ~12k squashfs size in the default configuration
SVN-Revision: 34909
2012-12-28 19:17:19 +00:00
Felix Fietkau 9bb8b9fadb kernel: remove the cisco SIP NAT patch, at least on 3.6 it crashes
SVN-Revision: 34901
2012-12-27 22:59:51 +00:00
Hauke Mehrtens 981b7410f8 brcm47xx: bcma: correct M25P32 serial flash ID
Thank you Rafał Miłecki.

SVN-Revision: 34900
2012-12-27 19:18:40 +00:00
Gabor Juhos 386c37b4c2 mpc83xx: add support for 3.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34892
2012-12-26 10:40:54 +00:00
Gabor Juhos f67a7a479e mpc83xx: nuke 3.3 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34891
2012-12-26 10:40:51 +00:00
Gabor Juhos 36af140fe4 mpc83xx: switch to 3.6.11
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34890
2012-12-26 10:40:50 +00:00
Gabor Juhos c4c8307ca1 mpc83xx: add support for 3.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34889
2012-12-26 10:40:48 +00:00
Gabor Juhos e537b8a093 mpc83xx: create package for the rbppc_cf module
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34888
2012-12-26 10:40:47 +00:00
Gabor Juhos fff75fe5b6 generic: more missing symbols for 3.{6,7}
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34887
2012-12-26 10:40:41 +00:00
Gabor Juhos f5b1cba606 ar71xx: build image for the AP136-020
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34886
2012-12-26 09:50:37 +00:00
Gabor Juhos f3f05d86fe ar71xx: add user-space support for AP136-020
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34885
2012-12-26 09:50:36 +00:00
Gabor Juhos ed1889db33 ar71xx: add kernel support for the AP136-020 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34884
2012-12-26 09:50:34 +00:00
Gabor Juhos c887a7fe4e ar71xx: rename AP136 to AP136-010
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34883
2012-12-26 09:50:31 +00:00
Gabor Juhos f8b4dfd172 ar71xx: dynamically set AR8327's PAD configuration on AP136
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34882
2012-12-25 18:45:32 +00:00
Gabor Juhos d4b4c7d102 generic: ar8216: add sgmii_delay_en field to ar8327_platform_data
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34881
2012-12-25 18:45:31 +00:00
Gabor Juhos 1dc2b6e8fa ar71xx: ag71xx: show PHY interface mode in dmesg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34880
2012-12-25 18:45:29 +00:00
Gabor Juhos 69da894432 ramips: fix ASUS WL-330N3G MAC address
The ASUS WL-330N and WL-330N3G has the MAC address stored at
offset 4, not 40. This is verified by reading original ASUS
firmware GPL_WL-330N3G_source.1028/user/rc/common_ex.c and
GPL_WL-330N_source.1021/user/rc/common_ex.c.

Tested on WL-330N3G, it now gets the same MAC as is printed on
the label on the router.

Signed-off-by: Jan Kardell <jan.kardell@arkub.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34877
2012-12-24 06:52:41 +00:00
Gabor Juhos c5a36f13f0 ramips: fix wifi EEPROM extraction on DIR-615-Dx models
Patch from #12636.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34876
2012-12-24 06:52:38 +00:00
Imre Kaloz 2c05915b24 add nol2x0 cmdline to disable l2x0 cache
L2 cache via L2X0 cache controller available on some ARM boards can
provide a performance boost in some situations but decrease performance
in others.  This adds a kernel cmdline to disable L2X0 for cns3xxx based
boards.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 34874
2012-12-23 18:53:38 +00:00
Gabor Juhos c3cb63661f generic: ar8216: don't use 0 as default VID on AR8327
VID0 is reserved for priority-tagged packets.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34862
2012-12-22 18:30:04 +00:00
Gabor Juhos fa9d06c7f4 generic: more missing symbols for 3.{6,7}
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34861
2012-12-22 17:22:41 +00:00
Gabor Juhos 8105c6badd ramips: unify eeprom file name for the built-in wireless MAC
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34860
2012-12-22 16:09:03 +00:00
Gabor Juhos c81b4475c9 ramips: rt3883: fix build error
The cpuport_cfg field has been renamed to port0_cfg.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34859
2012-12-22 13:50:47 +00:00
Gabor Juhos 64d31e6c6b ar71xx: register the second ethernet interface on the AP136
Also fix the default network configuration
according to the new setup.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34854
2012-12-22 12:12:50 +00:00
Gabor Juhos 5dec87afef ar71xx: fix ethernet device registration for QCA9558
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34853
2012-12-22 12:12:48 +00:00
Gabor Juhos 84a7051cef ar71xx: rename QCA9558 ETH_CFG bit defines
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34852
2012-12-22 12:12:46 +00:00
Gabor Juhos 4085a5773d ar71xx: fixup allowed PHY interface types for QCA9558
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34851
2012-12-22 12:12:44 +00:00
Gabor Juhos f01a786825 ar71xx: don't assign any MII bus device on QCA9558 by default
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34850
2012-12-22 12:12:43 +00:00
Gabor Juhos 9edcd9d3a3 ar71xx: ag71xx: fix mii_bus_dev sanity check
The mii_bus device is not required if phy_mask is zero.
The driver will use a fixed connection if it is not
specified.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34849
2012-12-22 12:12:41 +00:00
Gabor Juhos ad0f03d250 ar71xx: ag71xx: don't start/stop built-in switch w/o mii_bus_dev
Trying to do that causes a NULL pointer dereference:

CPU 0 Unable to handle kernel paging request at virtual address 00000000, epc == 801d170c, ra == 801d18d4
Oops[#1]:
Cpu 0
$ 0   : 00000000 00000000 00000000 00000001
$ 4   : 00000000 802e6390 ffff8f45 00000001
$ 8   : 804b5360 ffffff80 802f93bc 00000000
$12   : 802f93e8 00000000 00000000 00000000
$16   : 8381aba0 8381aba0 00000000 00000000
$20   : 8295eff0 00000032 80000000 004101b8
$24   : 00000000 777265b0
$28   : 82936000 82937cf0 00420000 801d18d4
Hi    : 00000000
Lo    : 00000001
epc   : 801d170c ar7240sw_reset+0x1c/0x19c
    Tainted: G           O
ra    : 801d18d4 ag71xx_ar7240_start+0x28/0xc0
Status: 1100fc03    KERNEL EXL IE
Cause : 00800008
BadVA : 00000000
PrId  : 00019750 (MIPS 74Kc)
Modules linked in: ath79_wdt ohci_hcd ledtrig_usbdev ledtrig_netdev
nf_nat_irc nf_nat_ftp nf_conntrack_irc nf_conntrack_ftp
 ipt_MASQUERADE iptable_nat nf_nat pppoe xt_conntrack xt_CT xt_NOTRACK
iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack
ehci_hcd pppox ipt_REJECT xt_TCPMSS xt_LOG xt_comment xt_multiport
xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp x_tab
les ppp_async ppp_generic slhc ath9k(O) ath9k_common(O) ath9k_hw(O)
ath(O) mac80211(O) usbcore usb_common nls_base crc_ccitt cfg80211(O) c
ompat(O) arc4 aes_generic crypto_blkcipher cryptomgr aead crypto_hash
crypto_algapi ledtrig_timer ledtrig_default_on leds_gpio gpio_button
_hotplug(O)
Process netifd (pid: 677, threadinfo=82936000, task=82cbe140, tls=77803750)
Stack : ffffffff 80087900 00000001 82937d74 8381aba0 8381aba0 00000000 00000000
        8295eff0 801d18d4 8295eff0 801fa4a4 00420000 80092158 00000002 8381aba0
        8381a800 00000000 00000080 801cf900 8027e720 00000000 00000000 8009223c
        8381a800 8381a82c 8027e720 00000000 00000000 7f9d14f0 00420000 801ec08c
        8381a800 801ebfb0 33000000 82937e30 00000001 8381a800 00001003 801ec348
        ...
Call Trace:
[<801d170c>] ar7240sw_reset+0x1c/0x19c
[<801d18d4>] ag71xx_ar7240_start+0x28/0xc0
[<801cf900>] ag71xx_open+0x1d0/0x258
[<801ec08c>] __dev_open+0xcc/0x130
[<801ec348>] __dev_change_flags+0xc0/0x160
[<801ec490>] dev_change_flags+0x20/0x6c
[<801ec5c8>] dev_ifsioc+0xec/0x348
[<801ecdb8>] dev_ioctl+0x594/0x67c
[<800ec00c>] do_vfs_ioctl+0x598/0x5ec
[<800ec0b0>] sys_ioctl+0x50/0x90
[<8006a3c4>] stack_done+0x20/0x40
Code: afbf0024  afb40020  afb10014 <8c910000> 00809021  24100104 24130704  8e440000  02002821

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34848
2012-12-22 12:12:40 +00:00
Gabor Juhos 3931c9524c generic: ar8316: allow to configure port 6 via platform data on AR8327
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34847
2012-12-22 12:12:37 +00:00
Gabor Juhos a0b31f97bb generic: ar8216: rename cpuport_cfg to port0_cfg in ar8327_platform_data
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34846
2012-12-22 12:12:35 +00:00
Gabor Juhos b44cdcde8e ramips: add support for 3.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34845
2012-12-22 12:11:13 +00:00
Gabor Juhos b81667cb23 ramips: convert to use {e,o}hci-platform driver
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34843
2012-12-22 12:11:08 +00:00
Gabor Juhos c0e1a6f342 generic/3.6: add platform specific power callbacks to {e,o}hci_platform drivers
Backport of upstream commits:

86e4cb35f2260374df4139c2352afe7fe247cb60 usb: host: ehci-platform: BUG_ON() to WARN_ON() on probe
b6dd245c4594482d46507a0bfd100439be367952 usb: host: ohci-platform: BUG_ON() to WARN_ON() on probe
04216bedafb1b3992a6c2b7f1518281d2ba5fc7b usb: host: ehci-platform: add platform specific power callback
e4d37aeb373a5edceecc1dadc76fabbe8bc18e44 usb: host: ohci-platform: addplatform specific power callback

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34842
2012-12-22 12:11:06 +00:00
John Crispin efe3225e2b ar9 did not load atm driver properly
SVN-Revision: 34840
2012-12-22 10:16:52 +00:00
John Crispin 379cd6e25e dont use input layer for gpio buttons
SVN-Revision: 34839
2012-12-21 20:04:20 +00:00
John Crispin 90a3761b0b default switch setup for WBMR
SVN-Revision: 34838
2012-12-21 20:04:12 +00:00
John Crispin ae0b9ff1ce Setting the MDC clock to 2.5MHz and changing the mii mode to rgmii seems to fix the communication issues with the ar8316 switch. (ticket #11143)
Tested only on the wbmr-hp-g300h, could affect/break other devices.

Signed-off-by: Sebastian Mayr <sebastian.mayr@student.uibk.ac.at>

SVN-Revision: 34837
2012-12-21 20:04:04 +00:00
John Crispin 9818a1f00b adds script to set wps info on boards with a wps button
SVN-Revision: 34836
2012-12-21 20:03:59 +00:00
John Crispin 3134205dfd minor tweaks to WBMR image
SVN-Revision: 34835
2012-12-21 20:03:54 +00:00
John Crispin f4b2439554 add missing PHY_BASIC_FEATURES to 100mbit phys
SVN-Revision: 34826
2012-12-21 14:41:35 +00:00
John Crispin 861bf6af49 fix typo inside fritz3370 devicetree file
SVN-Revision: 34825
2012-12-21 14:41:30 +00:00
John Crispin 54c096527a more devicetree fixes
SVN-Revision: 34824
2012-12-21 13:47:55 +00:00
John Crispin 59cc6d9ddd improve button handling
SVN-Revision: 34823
2012-12-21 13:47:50 +00:00
John Crispin 7ce4c81647 add phy-reset gpio handling to xrx200-net
SVN-Revision: 34822
2012-12-21 13:47:44 +00:00
John Crispin 42d668174e add more lantiq phy ids based on daniels uboot code
SVN-Revision: 34821
2012-12-21 13:47:40 +00:00
John Crispin 16c5946f8b refresh patch and install v1.1 gphy blobs
SVN-Revision: 34820
2012-12-21 13:47:35 +00:00
John Crispin 123343d424 make to rtl8366_smi of binding use gpio_is_valid
SVN-Revision: 34816
2012-12-21 13:47:14 +00:00
Gabor Juhos 840d0d246c kernel: add solos-pci update for 3.3
Same patches that I just merged for 3.6 and 3.7, except with one
additional fix that went into v3.4 that needed to be included.

Submitted more for the benefit of the AA branch than for trunk.

[juhosg: refresh the patch with quilt]

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34813
2012-12-21 10:38:33 +00:00
Gabor Juhos 04ce7e213f rb532: add support for 3.7
Compile tested only.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34812
2012-12-20 19:25:43 +00:00
Gabor Juhos e1b5eeeaa4 ramips: Add USB support for DAP-1350 platform.
It seems to work as intended, but only lightly tested.

Patch-by: Bryan Steele <brynet@gmail.com>
SIgned-off-by: Gabor Juhos <juhsog@openwrt.org>

SVN-Revision: 34811
2012-12-20 19:17:17 +00:00
Gabor Juhos 311d921e12 rb532: nuke 3.3 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34810
2012-12-20 19:09:03 +00:00
Gabor Juhos befb29c7a3 rb532: switch to 3.6.11
Compile tested only. The target is broken anyway,
so the kernel version does not matter too much.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34809
2012-12-20 19:09:01 +00:00
Gabor Juhos dbcb4708fb rb532: add support for 3.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34808
2012-12-20 19:09:00 +00:00
Gabor Juhos 5399d00ae6 ppc44x: add support for 3.7
Compile tested only.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34807
2012-12-20 18:11:22 +00:00
Gabor Juhos 2d6a41cf5d kernel: add solos-pci patches from 3.8 for new hardware
[juhosg: refresh patches with quilt, skip the patch for 3.3]

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34806
2012-12-20 17:14:57 +00:00
Gabor Juhos d21275a36b linux: add missing symbols for 3.{6,7}
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34805
2012-12-20 17:14:56 +00:00
Gabor Juhos a81fa11243 cns21xx: add support for 3.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34801
2012-12-20 14:51:17 +00:00
Gabor Juhos 1d7ba088e6 ppc40x: add support for 3.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34800
2012-12-20 14:51:16 +00:00
Gabor Juhos 708c8c3d0d ppc40x: add missing NULL terminator to avoid boot panic on PPC40x
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34799
2012-12-20 14:37:39 +00:00
Gabor Juhos e108cb91c0 ar71xx: rename fix-ar933x-reset patch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34798
2012-12-20 14:13:16 +00:00
Gabor Juhos 5da1d7daa5 ppc40x/44x: disable SWIOTLB
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34797
2012-12-20 14:09:39 +00:00
John Crispin 1b0aaff246 adds a fix for ar8216 mii detection on etop driver
SVN-Revision: 34795
2012-12-19 16:20:24 +00:00
Mirko Vogt 4d4b2d3ced merge /lib/functions/boot.sh and /lib/functions.sh
SVN-Revision: 34794
2012-12-19 16:07:53 +00:00
Mirko Vogt e34a4e0c7b Do not use deprecated path to functions.sh (/etc/functions.sh -> /lib/functions.sh)
SVN-Revision: 34793
2012-12-19 16:07:50 +00:00
Mirko Vogt 439a869090 Do not overload mount-call - trying to reduce confusion
The behaviour of calling 'mount' differed depending on whether it called
the busybox-mount, the mount of util-linux, the mount defined in
/lib/functions.sh and /lib/functions/boot.sh

/etc/preinit even included /lib/functions.sh and /lib/functions/boot.sh,
both re-defining 'mount'.

SVN-Revision: 34792
2012-12-19 16:07:46 +00:00
John Crispin 687920ba3e minor basefiles fixes
SVN-Revision: 34790
2012-12-19 15:17:42 +00:00
John Crispin e472671bde fix gptu clocks
SVN-Revision: 34789
2012-12-19 15:17:31 +00:00
John Crispin 5495ffbfdf more board file fixes
SVN-Revision: 34788
2012-12-19 15:17:11 +00:00
Gabor Juhos c0515a5a8b ppc44x: nuke 3.3 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34787
2012-12-19 09:45:43 +00:00
Gabor Juhos aedd9433fa ppc44x: switch to 3.6.11
Compile tested only. The target is broken anyway,
so the kernel version does not matter too much.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34786
2012-12-19 09:45:42 +00:00
Gabor Juhos 982d3e3f7a ppc44x: add support for 3.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34785
2012-12-19 09:45:40 +00:00
Gabor Juhos 5f82aa4d15 ar71xx: merge machine patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34783
2012-12-19 08:50:45 +00:00
Gabor Juhos cf99770800 ar71xx: build image for the TL-MR3220 v2
Based on the following patch:
http://patchwork.openwrt.org/patch/3043/

[juhosg: reorder MR3220 MultiProfile entry]

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34782
2012-12-19 08:50:44 +00:00
Gabor Juhos b1b7aa674e ar71xx: add user-space support for the TL-MR3220 v2
Based on the following patch:
http://patchwork.openwrt.org/patch/3043/

[juhosg: add uci-defaults/network support]

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34780
2012-12-19 08:50:41 +00:00
Gabor Juhos 0767605d17 ar71xx: add kernel support for the TL-MR3220 v2
Based on the following patch:
http://patchwork.openwrt.org/patch/3043/

[juhosg:
 - remove custom LED and button arrays
 - use separate machine specific patch
 - update Kconfig]

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34779
2012-12-19 08:50:35 +00:00
John Crispin 4aa8272c8b fix gptu patch - tapi should now load
SVN-Revision: 34777
2012-12-18 20:12:57 +00:00
Gabor Juhos c62586382a ppc40x: nuke 3.3 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34776
2012-12-18 20:10:37 +00:00
Gabor Juhos 7d0cf4f7a0 ppc40x: switch to 3.6.11
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34775
2012-12-18 20:10:34 +00:00
Gabor Juhos 565cdf58b5 ppc40x: add support for 3.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34774
2012-12-18 20:10:31 +00:00
Gabor Juhos 2143de1a3d generic: disable crashlog on ppc
It causes panic on boot:

[    0.194287] __ioremap(): phys addr 0x1f00000 is RAM lr crashlog_init_fs
[    0.200902] Unable to handle kernel paging request for data at address 0x00000000
[    0.208347] Faulting instruction address: 0xc026cb10
[    0.213282] Oops: Kernel access of bad area, sig: 11 [#1]
[    0.218586] PowerPC 40x Platform
[    0.221783] Modules linked in:
[    0.224817] NIP: c026cb10 LR: c026cb10 CTR: c000c1b8
[    0.229745] REGS: c1825ed0 TRAP: 0300   Not tainted  (3.6.11)
[    0.235435] MSR: 00029030 <EE,ME,IR,DR>  CR: 42004082  XER: 00000000
[    0.241745] DEAR: 00000000, ESR: 00000000
[    0.245724] TASK = c181e000[1] 'swapper' THREAD: c1824000
GPR00: c026cb10 c1825f80 c181e000 00000000 0000004b 0000004b c029a4dd 6f675f69
GPR08: 6e69745f c0290440 00000000 00000000 22004084 00000000 01ffc400 004011f8
GPR16: 00000001 ffffffff 00000000 007fff00 01ff6120 01f94298 01fff258 c02631b8
GPR24: c02604bc 00000019 c02a0000 c02a0000 c027c644 00000000 c02c0000 c02bd388
[    0.279089] NIP [c026cb10] crashlog_init_fs+0x30/0xe0
[    0.284095] LR [c026cb10] crashlog_init_fs+0x30/0xe0
[    0.289000] Call Trace:
[    0.291442] [c1825f80] [c026cb10] crashlog_init_fs+0x30/0xe0 (unreliable)
[    0.298185] [c1825f90] [c00023fc] do_one_initcall+0xdc/0x1c8
[    0.303812] [c1825fc0] [c02638c4] kernel_init+0x110/0x1a4
[    0.309154] [c1825ff0] [c000ad4c] kernel_thread+0x4c/0x68
[    0.314488] Instruction dump:
[    0.317429] 9421fff0 7c0802a6 bfc10008 3fc0c02c 90010014 3bfed388 3800fff4 807f0004
[    0.325117] 2f830000 41be00a4 38804000 4bda2809 <81630000> 7c691b78 907ed388 6d605e11

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34773
2012-12-18 20:10:02 +00:00
Gabor Juhos 1e8ab43834 generic: add missing symbols for 3.{6,7}
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34772
2012-12-18 20:09:58 +00:00
John Crispin af48676b28 update to 3.7.1
SVN-Revision: 34771
2012-12-18 19:32:01 +00:00
Gabor Juhos 1080f68b2b etrax: R.I.P.
It is broken and it is not maintained by anyone since long time.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34768
2012-12-18 17:54:04 +00:00
Gabor Juhos b86e82e5cc s3c2442: R.I.P.
It is broken and it is not maintained by anyone since long time.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34767
2012-12-18 17:54:02 +00:00
Gabor Juhos db831511d2 goldfish: R.I.P.
It is broken and it is not maintained by anyone since long time.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34766
2012-12-18 17:53:53 +00:00
Gabor Juhos 979bc5536d ps3: R.I.P.
It is broken and it is not maintained by anyone since long time.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34765
2012-12-18 17:53:51 +00:00
Gabor Juhos 6f794eeedb pxcab: R.I.P.
It is broken and it is not maintained by anyone since long time.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34764
2012-12-18 17:53:17 +00:00
Gabor Juhos 029553b698 refresh kernel configs with kconfig.pl
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34763
2012-12-18 15:54:15 +00:00
Gabor Juhos 7ff7340304 geos: add missing config-3.7 file
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34762
2012-12-18 15:51:45 +00:00
Gabor Juhos 149534f3ed ar71xx: image: add OpenMesh profile
It allows to build firmware images for all OpenMesh
products in one step.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34761
2012-12-18 15:16:05 +00:00
Gabor Juhos 8903f8581b kernel: update linux 3.7 to 3.7.1
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34760
2012-12-18 15:13:31 +00:00
Gabor Juhos b2caa5db24 cns21xx: remove broken flag
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34759
2012-12-18 14:51:58 +00:00
Gabor Juhos 39796c434c cns21xx: nuke 3.3 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34758
2012-12-18 14:51:58 +00:00
Gabor Juhos 991ebc29d7 cns21xx: switch to 3.6.11
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34757
2012-12-18 14:51:57 +00:00
Gabor Juhos 9e1a54296a cns21xx: fix build errors on 3.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34756
2012-12-18 14:51:55 +00:00
Gabor Juhos 5a680f1cbf geos: update to 3.7
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34755
2012-12-18 14:50:48 +00:00
Gabor Juhos 9b15d3e22a kernel: add 3.7 support for x86
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34754
2012-12-18 14:50:47 +00:00
Gabor Juhos d537f76ddd kernel: Fix Cisco SIP NAT patch to build with 3.7
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34753
2012-12-18 14:50:45 +00:00
Gabor Juhos 0c64d55b14 kernel: add missing config option BATTERY_DS2781 for 3.7
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34749
2012-12-18 14:50:41 +00:00
Gabor Juhos 44b9898251 kernel: update linux 3.6 to 3.6.11
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34748
2012-12-18 14:41:16 +00:00
Gabor Juhos fe8efb72ca ramips: nuke 3.3 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34744
2012-12-17 22:28:11 +00:00
Gabor Juhos fc0da6852e ar71xx: nuke 3.3 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34743
2012-12-17 22:28:09 +00:00
Felix Fietkau 1bdea42662 kernel: fix a warning in the O_DIRECT debloat patch
SVN-Revision: 34740
2012-12-17 20:55:49 +00:00
Felix Fietkau 2bda7a5b41 kernel: add some debloat patches, strip down procfs and make O_DIRECT support optional, saves ~15K after lzma on MIPS
SVN-Revision: 34737
2012-12-17 15:11:39 +00:00
Gabor Juhos d153bdbba9 generic: rtl836x: fix compiler warnings
CC      drivers/net/phy/rtl8366rb.o
In file included from drivers/net/phy/rtl8366s.c:16:0:
include/linux/of_platform.h:106:13: warning: 'struct device' declared inside parameter list [enabled by default]
include/linux/of_platform.h:106:13: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
drivers/net/phy/rtl8366s.c: In function 'rtl8366s_probe':
drivers/net/phy/rtl8366s.c:1094:2: warning: label 'err_out' defined but not used [-Wunused-label]
drivers/net/phy/rtl8366s.c:1055:32: warning: unused variable 'pdata'[-Wunused-variable]
  CC      drivers/net/phy/rtl8366rb.o
In file included from drivers/net/phy/rtl8366rb.c:17:0:
include/linux/of_platform.h:106:13: warning: 'struct device' declared inside parameter list [enabled by default]
include/linux/of_platform.h:106:13: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
drivers/net/phy/rtl8366rb.c: In function 'rtl8366rb_probe':
drivers/net/phy/rtl8366rb.c:1214:2: warning: label 'err_out' defined but not used [-Wunused-label]
drivers/net/phy/rtl8366rb.c:1175:32: warning: unused variable 'pdata'[-Wunused-variable]
  CC      drivers/net/phy/rtl8367.o
In file included from drivers/net/phy/rtl8367.c:15:0:
include/linux/of_platform.h:106:13: warning: 'struct device' declared inside parameter list [enabled by default]
include/linux/of_platform.h:106:13: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
drivers/net/phy/rtl8367.c: In function 'rtl8367_probe':
drivers/net/phy/rtl8367.c:1712:2: warning: label 'err_out' defined but not used [-Wunused-label]
drivers/net/phy/rtl8367.c:1677:32: warning: unused variable 'pdata' [-Wunused-variable]
  CC      drivers/net/phy/rtl8367b.o
In file included from drivers/net/phy/rtl8367b.c:15:0:
include/linux/of_platform.h:106:13: warning: 'struct device' declared inside parameter list [enabled by default]
include/linux/of_platform.h:106:13: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
drivers/net/phy/rtl8367b.c: In function 'rtl8367b_probe':
drivers/net/phy/rtl8367b.c:1494:2: warning: label 'err_out' defined but not used [-Wunused-label]
drivers/net/phy/rtl8367b.c:1459:32: warning: unused variable 'pdata' [-Wunused-variable]

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34731
2012-12-17 13:02:18 +00:00
Gabor Juhos 61d715505c ar71xx: add profile and build image for UniFi AP Pro
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34730
2012-12-17 12:28:21 +00:00
Gabor Juhos abbd18776e ar71xx: add user-space support for UniFi AP Pro
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34728
2012-12-17 12:28:11 +00:00
Gabor Juhos ff3f28265f ar71xx: add kernel support for the UniFi AP Pro
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34727
2012-12-17 12:28:02 +00:00
John Crispin 7bcb6b5479 make pinctrl-falcon honour status="disbaled";
SVN-Revision: 34714
2012-12-16 10:03:28 +00:00
John Crispin 573cf13419 fix falcon profile
SVN-Revision: 34713
2012-12-16 10:03:23 +00:00
John Crispin 33d3433d75 fix i2c-lantiq module
SVN-Revision: 34712
2012-12-16 10:03:18 +00:00
John Crispin b637eb598d add falcon devicetree files
SVN-Revision: 34711
2012-12-16 10:03:11 +00:00
Felix Fietkau 8c3306b8b6 kernel: add a missing config symbol for 3.7
SVN-Revision: 34710
2012-12-15 22:00:03 +00:00
Jonas Gorski eba8cccd88 linux: generic: rtl836*: fix compilation with !CONFIG_OF
fixes the following errors caused by r34682:

  CC [M]  drivers/net/phy/rtl8366_smi.o
In file included from drivers/net/phy/rtl8366_smi.c:26:0:
drivers/net/phy/rtl8366_smi.h:149:46: warning: 'struct platform_device' declared inside parameter list [enabled by default]
drivers/net/phy/rtl8366_smi.h:149:46: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
drivers/net/phy/rtl8366_smi.c:1398:65: warning: 'struct platform_device' declared inside parameter list [enabled by default]
drivers/net/phy/rtl8366_smi.c: In function 'rtl8366_smi_probe_plat':
drivers/net/phy/rtl8366_smi.c:1400:44: error: dereferencing pointer to incomplete type
drivers/net/phy/rtl8366_smi.c:1402:11: error: dereferencing pointer to incomplete type
drivers/net/phy/rtl8366_smi.c:1403:16: error: dereferencing pointer to incomplete type
drivers/net/phy/rtl8366_smi.c: At top level:
drivers/net/phy/rtl8366_smi.c:1415:46: warning: 'struct platform_device' declared inside parameter list [enabled by default]
drivers/net/phy/rtl8366_smi.c:1415:21: error: conflicting types for 'rtl8366_smi_probe'
drivers/net/phy/rtl8366_smi.h:149:21: note: previous declaration of 'rtl8366_smi_probe' was here
drivers/net/phy/rtl8366_smi.c: In function 'rtl8366_smi_probe':
drivers/net/phy/rtl8366_smi.c:1420:31: error: dereferencing pointer to incomplete type
drivers/net/phy/rtl8366_smi.c:1424:10: error: dereferencing pointer to incomplete type
drivers/net/phy/rtl8366_smi.c:1425:3: warning: passing argument 1 of 'rtl8366_smi_probe_of' from incompatible pointer type [enabled by default]
drivers/net/phy/rtl8366_smi.c:1392:19: note: expected 'struct device_node *' but argument is of type 'struct platform_device *'
drivers/net/phy/rtl8366_smi.c:1427:3: warning: passing argument 1 of 'rtl8366_smi_probe_plat' from incompatible pointer type [enabled by default]
drivers/net/phy/rtl8366_smi.c:1398:5: note: expected 'struct platform_device *' but argument is of type 'struct platform_device *'
drivers/net/phy/rtl8366_smi.c: At top level:
drivers/net/phy/rtl8366_smi.c:1438:1: error: conflicting types for 'rtl8366_smi_probe'
drivers/net/phy/rtl8366_smi.h:149:21: note: previous declaration of 'rtl8366_smi_probe' was here
make[7]: *** [drivers/net/phy/rtl8366_smi.o] Error 1
make[6]: *** [drivers/net/phy] Error 2
make[5]: *** [drivers/net] Error 2
make[4]: *** [drivers] Error 2

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 34703
2012-12-15 13:32:02 +00:00
John Crispin 3ca51b5399 select hcd as a default package for the dgn3500
SVN-Revision: 34702
2012-12-15 11:01:16 +00:00
John Crispin 85e4da7e23 EASY80920 has 2 usb ports
SVN-Revision: 34701
2012-12-15 11:01:11 +00:00
John Crispin 3dac521a49 remove 3.3 and 3.6
SVN-Revision: 34699
2012-12-15 02:01:08 +00:00
John Crispin 1dece11487 cleanup basefiles
SVN-Revision: 34698
2012-12-15 02:01:00 +00:00
John Crispin 601bc28669 clean up modules.mk
SVN-Revision: 34697
2012-12-15 02:00:55 +00:00
John Crispin 2c33df0376 add devicetrees
SVN-Revision: 34691
2012-12-15 02:00:20 +00:00
John Crispin 3a948770cf add linux-v3.7
SVN-Revision: 34687
2012-12-15 01:59:45 +00:00
John Crispin d8678644f9 make rtl8366 driver OF capable
SVN-Revision: 34682
2012-12-15 01:59:08 +00:00
Hauke Mehrtens 4901ac8225 brcm47xx: improve suppressing printing if a module was found in preinit function.
Thank you Bastian Bittorf

SVN-Revision: 34680
2012-12-14 22:45:12 +00:00
Gabor Juhos 57d7df3a35 generic: export include/linux/switch.h on 3.3, 3.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34678
2012-12-14 12:11:48 +00:00
Gabor Juhos a860153cce generic: disintegrate UAPI from include/linux/switch.h
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34677
2012-12-14 12:11:41 +00:00
Gabor Juhos 8aed692309 generic: refresh patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34676
2012-12-14 08:47:39 +00:00
Gabor Juhos 272ef8ac00 generic: update pci_disable_usb_common_quirks patch
Fixes the following compiler warning:
drivers/usb/host/pci-quirks.c:459:23: warning: 'quirk_usb_handoff_uhci' defined but not used [-Wunused-function]

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34675
2012-12-14 08:32:56 +00:00
Gabor Juhos 2e2c88b625 ar71xx: reorder some patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34674
2012-12-14 07:16:56 +00:00
Gabor Juhos 34411a0cbd ar71xx: merge unifi outdoor patch into the ubnt-xm one
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34673
2012-12-14 07:16:50 +00:00
Hauke Mehrtens 6c8efbfdc0 brcm47xx: Additional BCM4716 support
Additional BCM4716 support.  Still needs working ethernet driver.

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

SVN-Revision: 34672
2012-12-13 18:57:38 +00:00
Hauke Mehrtens 6672d869da brcm47xx: BCMA - Broadcom 2011 SDK Updates
I noticed these changes when reviewing the 2011 Broadcom SDK. I haven't
noticed any obvious changes in behavior with them applied; but thought I
should at least pass them on.

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

SVN-Revision: 34670
2012-12-13 18:54:04 +00:00
Hauke Mehrtens 97d22306da brcm47xx: return the real irq number in bcma_core_irq
The irq signal numbers that are send by the cpu are increased by 2 from
the number programmed into the mips core by bcma.
Return the irq number on which the irqs are send in bcma_core_irq() now.

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

SVN-Revision: 34669
2012-12-13 18:51:10 +00:00
Gabor Juhos 6e4082f170 kernel: fix solos-pci skb double-free in DMA mode
[juhosg: refresh the patches with quilt]

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34667
2012-12-13 18:39:31 +00:00
Florian Fainelli 321852348f kernel: fix perf build with uclibc toolchains on x86
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34666
2012-12-13 17:34:22 +00:00
Florian Fainelli 5e7d69554e kernel/3.6: backport an upstream build for perf with uClibc
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34662
2012-12-13 15:40:27 +00:00
Felix Fietkau 2bb7f82d8a kernel: fix porting mistakes on the 3.6+ SIP NAT patch causing crashes
SVN-Revision: 34657
2012-12-13 13:07:13 +00:00
Hauke Mehrtens 71712ec522 brcm47xx: this usb patch is not needed, the Broadcom SDK does it the other way.
SVN-Revision: 34655
2012-12-13 00:12:42 +00:00
Hauke Mehrtens 5be97468f6 brcm47xx: use kernel 3.6.10 by default now
SVN-Revision: 34654
2012-12-13 00:11:55 +00:00
Hauke Mehrtens 235c065e12 brcm47xx: suppress printing if a module was found in preinit function.
SVN-Revision: 34653
2012-12-13 00:11:11 +00:00
Hauke Mehrtens 3a4a6cfd64 kernel: in kernel 3.6.8 and later tg3 depends on hwmon.ko
SVN-Revision: 34652
2012-12-13 00:09:55 +00:00
Hauke Mehrtens 1bd8db0bd6 kernel: update bcma and ssb to master-2012-12-11-2 from wireless-testing
SVN-Revision: 34651
2012-12-12 22:42:18 +00:00
Gabor Juhos d085aad288 ar71xx: add profile and build initramfs image for the WNDR4300
It is not yet possible to use the default squasfsh/jffs2 images
on NAND flashes, so only initramfs image is supported for now.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34650
2012-12-12 16:49:52 +00:00
Gabor Juhos dcdfcb75f0 ar71xx: add user-space support for the NETGEAR WNDR4300
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34649
2012-12-12 16:49:51 +00:00
Gabor Juhos bc82db7d78 ar71xx: add kernel support for the NETGEAR WNDR4300
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34647
2012-12-12 16:49:49 +00:00
Gabor Juhos 75b71f4a74 ar71xx: add ap91_pci_init_simple helper
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34646
2012-12-12 16:49:48 +00:00
Gabor Juhos d7cebac243 ar71xx: add ath79_wmac_register_simple helper
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34645
2012-12-12 16:49:47 +00:00
Gabor Juhos ec26814b0e ar71xx: refresh 3.3 patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34644
2012-12-12 16:49:46 +00:00
Gabor Juhos cdfc300948 ar71xx: remove superfluous USB patches for 3.3
SVN-Revision: 34643
2012-12-12 16:49:43 +00:00
Gabor Juhos eece71be56 generic: fix 8139cp patch for 3.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34640
2012-12-12 08:37:27 +00:00
Gabor Juhos 2b378d11c8 kernel: update linux 3.6 to 3.6.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34639
2012-12-11 20:14:39 +00:00
Florian Fainelli ed15c452a1 kernel: update to 3.7 final
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34626
2012-12-11 11:31:17 +00:00
Florian Fainelli aa2dc106c6 switch to 3.6 kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34623
2012-12-10 21:06:10 +00:00
Florian Fainelli ff6116cbdf add 3.6 kernel support
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34622
2012-12-10 21:06:05 +00:00
Florian Fainelli 17c76e5ca8 add sound feature
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34621
2012-12-10 21:05:48 +00:00
Florian Fainelli cbfca35c76 generic: backport a fix for the input keymap-matrix module
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34620
2012-12-10 21:05:42 +00:00
Florian Fainelli 87c8808ca5 keyboard driver depends on input-matrixkmap for 3.6+
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34619
2012-12-10 21:05:36 +00:00
Florian Fainelli 5c28c5255f generic: backport an upstream fix for building snd-soc-pcm as a module
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34617
2012-12-10 21:05:27 +00:00
Florian Fainelli f016b935d3 also list kmod-sound-core in the default packages
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34615
2012-12-10 21:05:11 +00:00
Gabor Juhos dfd718d13d mac80211: ath9k: allow to load EEPROM data via firmware API
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34606
2012-12-10 15:46:15 +00:00
Florian Fainelli 374a72411a generic/kernel: add a fix for a common MIPS build failure.
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34602
2012-12-10 15:04:10 +00:00
Florian Fainelli c1c6a23f13 kernel/generic: refresh 3.7 patches
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34601
2012-12-10 15:03:55 +00:00
Florian Fainelli 0f90806014 kernel/generic: port r34599 over 3.7 kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34600
2012-12-10 15:03:51 +00:00
Florian Fainelli 67e85c0018 kernel/generic: fix build failure on missing uhci symbol
linux-3.6.8/drivers/usb/host/pci-quirks.c:471: undefined reference to
`uhci_check_and_reset_hc'

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34599
2012-12-10 14:24:28 +00:00
John Crispin c2ae0ec02a add support for Hauppauge Broadway
This patch introduces OpenWRT support for the base Hauppauge/PCTV Broadway
platform.  It doesn't deal with the TV tuner or transcoder at this point,
but the core functionality is working (Ethernet, wireless, USB, buttons,
LEDs, etc).

Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>

SVN-Revision: 34595
2012-12-10 14:13:01 +00:00
Gabor Juhos 3cbc1a49e2 ar71xx: load ar934x_nfc driver earlier
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34589
2012-12-10 10:38:11 +00:00
Gabor Juhos 1f7ae58a2c ar71xx: ar934x_nfc: allow to control DMA data swap via platform data
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34588
2012-12-10 10:38:07 +00:00
Gabor Juhos 2581173660 kernel: update linux 3.6 to 3.6.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34578
2012-12-08 15:01:33 +00:00
Gabor Juhos 47f9b2a110 ar71xx: TP-LINK also has a family TL-WDR
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34577
2012-12-07 19:10:57 +00:00
Gabor Juhos d7ba2b4840 ar71xx: add profile and build image for TP-LINK TL-WA801N/ND
Patch-by: Amir Sagie <openwrt-devel@taproot.org.il>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34576
2012-12-07 19:10:56 +00:00
Florian Fainelli deeeb5f671 create Linksys WRTU54G-TM profile
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34572
2012-12-07 18:02:31 +00:00
Florian Fainelli 33f6c5ddb9 kernel: add missing USB configuration symbols after r34501
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34568
2012-12-07 11:01:53 +00:00
Florian Fainelli 8236584b13 rename interrupt number constants
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34566
2012-12-06 22:41:14 +00:00
Florian Fainelli f1e4da0389 remove the now deprecated /proc/adm8668 interface
Proper gpiolib support is hooked instead.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34565
2012-12-06 22:41:09 +00:00
Florian Fainelli 849662a8ec add a gpiolib driver
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34564
2012-12-06 22:41:04 +00:00
Florian Fainelli 78b235cfc3 do not reset WAN and LAN blocks
This is taken care of by the tulip driver accordingly.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34563
2012-12-06 22:40:58 +00:00
Florian Fainelli b3f36553cc enable and advertise USB support
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34562
2012-12-06 22:40:54 +00:00
Florian Fainelli a5aed4ec3a add support for on-board EHCI controller
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34561
2012-12-06 22:40:49 +00:00
Florian Fainelli 88f6bf64cf remove the "old" tulip forked driver
We can now use the mainline tulip driver.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34559
2012-12-06 22:40:40 +00:00
Florian Fainelli 40ab1facd2 use the tulip platform driver
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34558
2012-12-06 22:40:36 +00:00
Florian Fainelli 445e77fdb5 patch the tulip driver to accept a platform variant
Isolate the PCI specific parts and group them under CONFIG_TULIP_PCI
CONFIG_TULIP_PLATFORM can be enabled for a platform style Tulip driver.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34557
2012-12-06 22:40:31 +00:00
Florian Fainelli b1f1381c27 move clock frequencies into clock driver
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34556
2012-12-06 22:40:26 +00:00
Florian Fainelli 60663b12b2 add CONFIG_GPIO_PL061 config symbol
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34555
2012-12-06 22:40:21 +00:00
Florian Fainelli 1232f91efb replace the custom mtd driver with a partition parser
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34554
2012-12-06 22:40:17 +00:00
Florian Fainelli b516c8d89d cleanup PCI controller code
At some point we should make the ADM5120 PCI controller driver a real
platform driver and share that one between the two targets.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34553
2012-12-06 22:40:12 +00:00
Florian Fainelli 1ed763b888 cleanup and make interrupt code more robust
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34552
2012-12-06 22:40:02 +00:00
Florian Fainelli 47ccbaaa91 remove frequency from /proc/cpuinfo
This is not the place to expose it and duplicates code reading the
system frequency.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34551
2012-12-06 22:39:57 +00:00
Florian Fainelli e37f6fb458 provide a system clock to be used by the MIPS timer
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34550
2012-12-06 22:39:52 +00:00
Florian Fainelli 79c2ce01b7 get rid of the UART defines
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34549
2012-12-06 22:39:47 +00:00
Florian Fainelli afc2b07be1 get rid of the specific UART driver and use AMBA PL010
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34548
2012-12-06 22:39:43 +00:00
Florian Fainelli 2dee2133c5 implement early_printk without an early_console
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34547
2012-12-06 22:39:33 +00:00
Florian Fainelli f85115efd8 simplify IRQ controller code
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34546
2012-12-06 22:39:27 +00:00
Florian Fainelli 50303d52e2 use platform_add_devices
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34545
2012-12-06 22:39:22 +00:00
Florian Fainelli 192c1e90bc move time related functions to their own file
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34544
2012-12-06 22:39:18 +00:00
Florian Fainelli 1f939889ca move setup-related functions to their own file
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34543
2012-12-06 22:39:08 +00:00
Felix Fietkau abc03de599 kernel: add missing config symbols
SVN-Revision: 34532
2012-12-06 14:11:16 +00:00
Felix Fietkau a3843e7ec7 kernel 3.6+: nuke obsolete patches that are messing up oprofile builds
SVN-Revision: 34506
2012-12-05 16:49:48 +00:00
Florian Fainelli 512baafc6b kernel/3.3: move OHCI and EHCI platform drivers to generic
These patches are not specific to bcm47xx and will be used on other
platforms as well.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34501
2012-12-05 14:18:05 +00:00
Florian Fainelli 822ee5053e cns3xxx: fix dwc_otg driver compat with udc-core
function.  This removes those from the dwc_otg driver and removes the patch
that comments out the linkage of udc-core so that the dwc_otg driver can
co-exist happily with other USB Device Controllers.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34475
2012-12-04 16:19:18 +00:00
Florian Fainelli fd0729f35c cns3xxx: advertise pcie usb usbgadget features
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34474
2012-12-04 16:19:12 +00:00
Florian Fainelli d9d0814fc2 Fix Comtrend AR-5381u Power LED
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34471
2012-12-04 15:19:50 +00:00
Florian Fainelli d3cda51994 do no longer rename amba-pl010 serial devices names
Back in the days when we could not override /etc/inittab, it made a lot
of sense to rename ttyAM to ttyS since this was the only supported
serial device(s), we can now just put in an appropriate /etc/inittab file
now.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34469
2012-12-03 16:18:40 +00:00
Felix Fietkau a7220cd9f8 kernel: disable more pci quirks to save space on platforms that don't need them
SVN-Revision: 34467
2012-12-03 10:33:47 +00:00
Felix Fietkau ec885796c0 kernel 3.6+: switch to a crc32 implementation that is more suitable for small caches. reduces kernel image size by ~22 KiB on mips
SVN-Revision: 34461
2012-12-02 18:37:41 +00:00
Felix Fietkau 24b31c9428 kernel: fix stripping symbol exports
SVN-Revision: 34458
2012-12-02 17:42:17 +00:00
Hauke Mehrtens 2ac9ac5163 brcm47xx: read sprom vars without prefix for boardrev and boardtype if the prefixed one is not available.
SVN-Revision: 34454
2012-12-02 16:11:39 +00:00
Felix Fietkau 38d3b8d0ea kernel: patch in a working copy of elf.h instead of using relative path based hackery in #include statements
SVN-Revision: 34449
2012-12-02 15:26:19 +00:00
Gabor Juhos e0e43655ce ramips: fix serial console for Belkin F5D8235 v1/v2
Based on a patch from #12533.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34445
2012-12-02 14:16:12 +00:00
Gabor Juhos 890f83dfb3 Update linux-atm fixes to reflect the final upstream pull request
[juhosg: refresh the patches with quilt]

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34443
2012-12-02 13:04:04 +00:00
Florian Fainelli 527afd0e9a remove target
This target is unused, does not support any off the shelf hardware and
has been a maintenance burden for quite some time now.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34430
2012-11-30 10:53:47 +00:00
Florian Fainelli c830644d97 remove Linux 3.3 support
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34426
2012-11-29 21:43:02 +00:00
Florian Fainelli 763f780553 use a default kernel command-line to mount squashfs and jffs2
This fixes bug #9055.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34424
2012-11-29 21:42:53 +00:00
Gabor Juhos 7cde0281f4 kernel: Fix 8139cp ring buffer initialisation, tx timeout recovery, add BQL
Patches queued upstream in net-next.git

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34415
2012-11-29 17:58:28 +00:00
Gabor Juhos 4f5defdc3b ar71xx: switch to 3.6.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34414
2012-11-29 17:53:42 +00:00
Gabor Juhos ea17e36482 kernel: Update Geos to 3.6.8
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34411
2012-11-29 17:37:19 +00:00
Gabor Juhos 543c2c27d1 kernel: Add ATM fixes pending upstream merge (queue reduction, race fixes)
Patches about to go into net-next.git

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34410
2012-11-29 17:37:18 +00:00
Gabor Juhos df6727639a kernel: Add missing CONFIG_BATTERY_DS2781 option to generic 3.6 config
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34409
2012-11-29 17:37:16 +00:00