Gabor Juhos
393163b098
generic: ar8216: add defines for the AR8316 POSTRIP register
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35539
2013-02-10 13:18:48 +00:00
Gabor Juhos
5ed480598d
generic: ar8216: don't probe the chip multiple times
...
It is only needed when the private data is allocated.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35538
2013-02-10 13:05:15 +00:00
Gabor Juhos
774da6c7a4
generic: ar8216: add sanity check to ar8216_probe
...
Verify that the mdio bus has PHY devices with
a supported PHY ID at address 0-4.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35537
2013-02-10 13:05:14 +00:00
Gabor Juhos
4720c75cf7
generic: ar8216: skip probe on unused PHY addresses
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35536
2013-02-10 13:05:12 +00:00
Jonas Gorski
f07a33afc2
ar71xx: register the micro sd card reader on RB493G
...
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 35535
2013-02-10 12:31:38 +00:00
Jonas Gorski
eedc3554fe
generic: b53: fix reverted error check in probe
...
b53_switch_detect returns value returned by b53_read8, which is 0 for
success. So fail (and return error) only if b53_switch_detect returned
something else than 0. This fixes supported and advertising being zeros
for MDIO access.
Cc: Jonas Gorski <jogo@openwrt.org>
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 35534
2013-02-10 12:31:36 +00:00
Jonas Gorski
200359a520
bcm63xx: handle huawei nvram layout
...
Use a different length for calculating the nvram checksum on hauwei
boards. Fixes boot on HW553 and HW556.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 35533
2013-02-10 12:31:31 +00:00
Gabor Juhos
de123c4409
generic: ar8216: move sleep out of the loop
...
It is enough to sleep once after ANEG is enabled on
all PHYs. This reduces boot time on boards with
AR8316 switch.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35532
2013-02-09 13:26:04 +00:00
Gabor Juhos
6ff973bdda
ar71xx: Routerboard 751 Mac Address Offset Fix
...
We utilize many Routerboard 751's and discovered that our latest batch
of RB751's would not initialize the wireless radio. We have determined
Mikrotik has changed where the mac address was located inside hardconfig.
As such we utilize "routerboot_find_tag" to find the location of the mac
address. We should remove "RB751_MAC_ADDRESS_OFFSET" as it is ambiguous
by machine manufacturing date. The newer batch of RB751's that we received
had a RB751_MAC_ADDRESS_OFFSET 0x10.
Signed-off-by: Davey Hutchison <dhutchison@bluemesh.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35519
2013-02-08 09:34:53 +00:00
Gabor Juhos
aa04441904
generic: ar8216: simplify phy features setup
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35518
2013-02-08 09:13:18 +00:00
Gabor Juhos
9c1f95a416
generic: ar8216: don't use mdio bus specific functions in ar8216_id_chip
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35517
2013-02-08 09:13:14 +00:00
Gabor Juhos
5393efc0c7
generic: ar8216: use inline function to convert swdev to ar8216
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35514
2013-02-07 15:18:36 +00:00
Gabor Juhos
b87a1c757d
generic: ar8216: add mii_bus field to struct ar8216_priv
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35513
2013-02-07 15:18:35 +00:00
Gabor Juhos
c130a3feac
generic: mvswitch: add detach callback
...
Use the detach callback to disable packet mangling
to avoid possible NULL pointer dereference.
Compile tested only.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35512
2013-02-07 15:18:34 +00:00
Gabor Juhos
4be8c22e74
generic: ar8216: add detach callback
...
The current code uses the 'remove' callback to disable
packet mangle on the underlying ethernet device.
However the attached_dev is always NULL when the
'remove' callback is called by phylib, and this causes
NULL pointer dereference, like this:
[ 475.300000] CPU 0 Unable to handle kernel paging request at virtual address 000000f0, epc == 801cdcf0, ra == 801c7eac
[ 475.310000] Oops[#1 ]:
[ 475.310000] Cpu 0
[ 475.310000] $ 0 : 00000000 00000000 00000000 00000001
[ 475.310000] $ 4 : 828dde00 00000005 828dde08 ffffffff
[ 475.310000] $ 8 : 00380081 00380081 82902a40 00000001
[ 475.310000] $12 : 00000037 00370081 00000001 00000000
[ 475.310000] $16 : 82865000 828dde08 828dde00 00000001
[ 475.310000] $20 : 00000080 00460000 00000002 77151448
[ 475.310000] $24 : 00000000 801abfd4
[ 475.310000] $28 : 82cc2000 82cc3d58 0053c3c4 801c7eac
[ 475.310000] Hi : 00000007
[ 475.310000] Lo : 00000004
[ 475.310000] epc : 801cdcf0 ar8216_remove+0x1c/0x94
[ 475.310000] Tainted: G O
[ 475.310000] ra : 801c7eac phy_remove+0x4c/0x6c
[ 475.310000] Status: 1000cc03 KERNEL EXL IE
[ 475.310000] Cause : 00800008
[ 475.310000] BadVA : 000000f0
[ 475.310000] PrId : 00019750 (MIPS 74Kc)
[ 475.310000] Modules linked in: ath79_wdt ledtrig_usbdev ledtrig_netdev ag71xx(-) nf_nat_irc nf_nat_ftp nf_conntrack_irc nf_conntrack_ft
p ipt_MASQUERADE iptable_nat xt_nat nf_nat_ipv4 nf_nat pppoext_conntrack xt_CT iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_co
nntrack ehci_hcd pppox ipt_REJECT xt_TCPMSS xt_LOG xt_comment xt_multiport xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpu
dp x_tables ppp_async ppp_generic slhc ath9k(O) ath9k_common(O) ath9k_hw(O) ath(O) mac80211(O) usbcore usb_common nls_base crc_ccitt cfg80
211(O) compat(O) arc4 crypto_blkcipher aead ledtrig_timer ledtrig_default_on leds_gpio gpio_button_hotplug(O)
[ 475.310000] Process rmmod (pid: 1160, threadinfo=82cc2000, task=83969920, tls=7747c440)
[ 475.310000] Stack : 828dde08 802f5004 802f4680 00000001 828ddf70 801c7eac 802f4680 801ad6d8
82902940 00000000 828dde08 802f5004 802f4680 801ad770 00000002 80269d94
00000000 00000001 00000080 828dde08 828dde3c 801ad7fc 82902940 00000000
83859100 00000000 8384dd2c 8384dd2c 828dde08 801ad230 82902800 00000000
00000000 001a0041 828dde08 828dde08 802e80e8 801aac44 00000080 00460000
...
[ 475.310000] Call Trace:
[ 475.310000] [<801cdcf0>] ar8216_remove+0x1c/0x94
[ 475.310000] [<801c7eac>] phy_remove+0x4c/0x6c
[ 475.310000] [<801ad770>] __device_release_driver+0x6c/0xd0
[ 475.310000] [<801ad7fc>] device_release_driver+0x28/0x40
[ 475.310000] [<801ad230>] bus_remove_device+0xd8/0x10c
[ 475.310000] [<801aac44>] device_del+0x110/0x170
[ 475.310000] [<801aacb8>] device_unregister+0x14/0x28
[ 475.310000] [<801c92b0>] mdiobus_unregister+0x4c/0x70
[ 475.310000] [<82913060>] ag71xx_remove_ar8216_header+0xdc/0x5a8 [ag71xx]
[ 475.310000]
[ 475.310000]
Code: 1200001c 8c82017c ac800128 <8c4500f0> 3c03ffdf 3463ffff 00a31824 ac4300f0 ac4000e0
Add a detach callback and disable packet mangling in
that to fix the problem.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35511
2013-02-07 15:18:32 +00:00
Gabor Juhos
fe61fc2d7d
generic: add detach callback to struct phy_driver
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35510
2013-02-07 15:18:24 +00:00
Hauke Mehrtens
07db9e8eab
brcm47xx: fix name of kmod-ocf-ubsec-ssb
...
This also removes kmod-ocf, because kmod-crypto-ocf is automatically selected by kmod-ocf-ubsec-ssb.
Thank you Manuel Munz <freifunk@somakoma.de> for the patch.
SVN-Revision: 35509
2013-02-06 22:51:25 +00:00
Hauke Mehrtens
a52832164b
brcm47xx: bgmac: make it possible to set the devices into promisc mode when it is already up
...
This fixes #12927 .
SVN-Revision: 35507
2013-02-06 14:57:00 +00:00
Florian Fainelli
6b0da6db6a
remove support for 3.6 kernel
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 35506
2013-02-05 22:36:54 +00:00
Florian Fainelli
e22926a46b
make default version 3.7.6
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 35505
2013-02-05 22:36:50 +00:00
Florian Fainelli
57803a98ec
remove superfluous calls to /lib/brcm63xx.sh
...
The first preinit script 03_do_brcm63xx.sh does the right job of
exporting variables for the other subsequent preinit scripts to use
them.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 35504
2013-02-05 22:25:30 +00:00
Florian Fainelli
84d306d23c
remove references to the old switch driver
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 35503
2013-02-05 22:25:19 +00:00
Mirko Vogt
ec19a23bae
fix trx checksum after first boot and add led/button definitions for boards RTA770BW and RTA770W
...
SVN-Revision: 35501
2013-02-05 14:57:43 +00:00
Mirko Vogt
f460388ce2
add support for board named RTA770W
...
Actually this board is the very same as the rta770bw,
where the additional 'b' within the name just
indicates 'Annex B'. The ADSL Modem itself is able
to handle both, Annex A as well as Annex B -
the loaded firmware makes the only difference
SVN-Revision: 35500
2013-02-05 14:57:40 +00:00
Gabor Juhos
395d0bdc1f
generic: ar8216: clear driver specific data pointer in phy_device
...
This is needed to avoid a NULL pointer dereference:
[ 19.525270] Unable to handle kernel paging request for data at address 0x00000018
[ 19.532750] Faulting instruction address: 0xc016e104
[ 19.537714] Oops: Kernel access of bad area, sig: 11 [#1 ]
[ 19.543102] P1010 RDB
[ 19.545365] Modules linked in: booke_wdt nf_nat_irc nf_nat_ftp nf_conntrack_irc nf_conntrack_ftp ipt_MASQUERADE iptable_nat xt_nat d
[ 19.590725] NIP: c016e104 LR: c0171490 CTR: 00000000
[ 19.595681] REGS: c4bc3c10 TRAP: 0300 Tainted: G W O (3.7.6)
[ 19.602284] MSR: 00029000 <CE,EE,ME> CR: 82002022 XER: 20000000
[ 19.608381] DEAR: 00000018, ESR: 00000000
[ 19.612382] TASK = c4cd9c80[2070] 'ifconfig' THREAD: c4bc2000
GPR00: 00000001 c4bc3cc0 c4cd9c80 00000000 c7811000 00000000 00000000 0000e8ec
GPR08: 0000e8eb 00000000 00029000 00000001 00000000 100801f8 1005c51c 1005c514
GPR16: 1005c468 1005c54c 1005c258 1005c530 10060000 00000000 c7811000 ffff8914
GPR24: c7815030 c793e400 10063adb 00000000 c7811000 c045594c c78ca600 c7815000
[ 19.646352] NIP [c016e104] register_switch+0x98/0x2d0
[ 19.651397] LR [c0171490] ar8216_config_init+0x2d8/0x3f4
[ 19.656697] Call Trace:
[ 19.659138] [c4bc3cc0] [c0170490] ar8216_mii_read+0x64/0xc4 (unreliable)
[ 19.665835] [c4bc3d00] [c0171490] ar8216_config_init+0x2d8/0x3f4
[ 19.671835] [c4bc3d20] [c016cf8c] phy_init_hw+0x50/0x6c
[ 19.677053] [c4bc3d30] [c016d078] phy_attach_direct+0xd0/0xf8
[ 19.682793] [c4bc3d50] [c016d154] phy_connect_direct+0x24/0x68
[ 19.688621] [c4bc3d70] [c0183b70] of_phy_connect+0x48/0x6c
[ 19.694102] [c4bc3d90] [c0175aac] gfar_enet_open+0x254/0x3d8
[ 19.699755] [c4bc3db0] [c019acc4] __dev_open+0xc0/0x120
[ 19.704975] [c4bc3dd0] [c019af98] __dev_change_flags+0xd4/0x15c
[ 19.710888] [c4bc3df0] [c019b0d4] dev_change_flags+0x1c/0x60
[ 19.716544] [c4bc3e10] [c01ebb94] devinet_ioctl+0x290/0x690
[ 19.722111] [c4bc3e70] [c01ec8d4] inet_ioctl+0x88/0xbc
[ 19.727245] [c4bc3e80] [c0186b98] sock_ioctl+0x258/0x294
[ 19.732551] [c4bc3ea0] [c009c00c] do_vfs_ioctl+0x6a4/0x728
[ 19.738031] [c4bc3f10] [c009c0d4] sys_ioctl+0x44/0x70
[ 19.743077] [c4bc3f40] [c000c74c] ret_from_syscall+0x0/0x3c
[ 19.748646] --- Exception: c01 at 0x48091b34
[ 19.748646] LR = 0x480e4b64
[ 19.756033] Instruction dump:
[ 19.758991] 2f830000 907f0050 3860fff4 419e021c 837f0000 38000000 901f0038 901f0040
[ 19.766744] 901f003c 7f600034 5400d97e 0f000000 <801b0018> 2f800000 40be0010 801b001c
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35497
2013-02-05 08:39:26 +00:00
Gabor Juhos
2e7f38c243
generic: ar8216: unregister switch on error path
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35496
2013-02-05 08:39:24 +00:00
Gabor Juhos
1bb8ad6050
mpc85xx: enable GPIO sysfs interface
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35495
2013-02-05 07:48:02 +00:00
Gabor Juhos
6ba265a573
mpc85xx: enable Freescale eSPI driver and m25p80 support
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35494
2013-02-05 07:48:01 +00:00
Gabor Juhos
eea43ffd33
mpc85xx: sync kernel config
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35493
2013-02-05 07:47:59 +00:00
Hauke Mehrtens
8ba8225686
brcm47xx: fix detection of Asus RT-N16
...
This fixes #12936 .
SVN-Revision: 35492
2013-02-04 22:49:05 +00:00
Hauke Mehrtens
a1e3c0ca46
Add Failsafe support for Linksys E3000V1 / WRT610NV2
...
Adds specification of the correct cpu_port for Linksys E3000V1 and WRT610NV2
in /lib/preinit/05_init_interfaces_brcm. The list of devices will need to
be expanded. Is there a way to determine the correct cpu_port to use in a
generic sense; for instance, if "/proc/switch/eth0/port/8" exists, or if
"/sys/class/net/eth0/device/driver/module/drivers/bcma:bgmac" exists? Could
a similar method be used in "/etc/init.d/netconfig"?
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 35491
2013-02-04 22:40:57 +00:00
Hauke Mehrtens
c2198aba32
brcm47xx: Fix switch config on 4716/53115 devices
...
Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
SVN-Revision: 35490
2013-02-04 22:38:37 +00:00
Gabor Juhos
b97aee1ee8
coldfire: R.I.P.
...
The target still uses 2.6.38. The support of that
kernel version has been removed ~9 months ago.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35489
2013-02-04 15:23:10 +00:00
Gabor Juhos
c41002971a
leon: R.I.P.
...
It is broken since ~9 months and nobody takes care of that.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35488
2013-02-04 15:23:08 +00:00
Gabor Juhos
539e0b5b84
imx21: R.I.P.
...
It is broken since ~22 months and nobody takes care of that.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35487
2013-02-04 15:23:07 +00:00
Gabor Juhos
e7dee4ea87
octeon: R.I.P.
...
It is broken since ~8 months and nobody takes care of that.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35486
2013-02-04 15:23:05 +00:00
Gabor Juhos
da44b916cf
omap35xx: R.I.P.
...
It is broken since ~22 months and nobody takes care of that.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35485
2013-02-04 15:23:04 +00:00
Jonas Gorski
8506964e6d
bcm63xx: add support for linux 3.8
...
Based on 3.8-rc6
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 35482
2013-02-04 10:19:55 +00:00
Jonas Gorski
3b4fced67d
bcm63xx: add support for linux 3.7
...
Based on 3.7.6.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 35481
2013-02-04 10:19:50 +00:00
Jonas Gorski
0e9365b346
kernel: generic: update the ehci overcurrent patch to upstream submission
...
Adds support for setting this in the generic platform driver's platform_data.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 35480
2013-02-04 10:19:37 +00:00
Jonas Gorski
e0fe5596f8
kernel: generic: add back the patch exporting bcm63xx tag header
...
It went missing when adding linux 3.7 support.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 35479
2013-02-04 10:19:35 +00:00
Jonas Gorski
34ad8f4e75
kernel: generic: update to 3.8-rc6
...
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 35478
2013-02-04 10:19:28 +00:00
Jonas Gorski
a15e1a950d
bcm63xx: refresh 3.6 patches
...
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 35477
2013-02-04 10:19:24 +00:00
Gabor Juhos
08ff976720
kernel: update linux 3.7 to 3.7.6
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35476
2013-02-04 10:02:56 +00:00
Gabor Juhos
b1168e70d3
ar71xx: use backported PCI_MEM_SIZE patches
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35470
2013-02-02 18:17:58 +00:00
Gabor Juhos
b9b341f05a
ar71xx: rename ar933x_uart patch
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35469
2013-02-02 18:17:53 +00:00
Gabor Juhos
9ed81a91f3
ramips: build image for the Omnima EMB HPM board
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35468
2013-02-02 17:21:06 +00:00
Gabor Juhos
813aec6796
ramips: add user-space support for the Omnima EMB HPM board
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35467
2013-02-02 17:21:05 +00:00
Gabor Juhos
d578f3ac38
ramips: rt3883: add kernel support for the Omnima EMB HPM board
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35466
2013-02-02 17:21:01 +00:00
Gabor Juhos
b99b2ff553
ramips: add userspace support for the Edimax BR-6425
...
[juhosg: remove sysupgrade changes]
Signed-off-by: Yuval Adam <yuv.adm@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35463
2013-02-02 17:01:50 +00:00
Gabor Juhos
0a42e38bad
ramips: add kernel support for the Edimax BR-6425 board
...
Signed-off-by: Yuval Adam <yuv.adm@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35462
2013-02-02 17:01:47 +00:00
Gabor Juhos
4ac6eb480b
x86/kvm_guest: add support for 3.7
...
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35460
2013-02-02 15:31:57 +00:00
Gabor Juhos
c340ef2ae2
x86: add missing symbols for 3.7
...
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35459
2013-02-02 15:31:55 +00:00
Gabor Juhos
0f46f47512
x86/kvm_guest: add missing symbols for 3.3
...
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35458
2013-02-02 15:31:54 +00:00
Gabor Juhos
ab3e3cacaa
alix2: convert from kernel version 3.3.8 to 3.7.5
...
[juhosg: use 3.7.5 instead of 3.7.3]
Signed-off-by: Russell Senior <russell@personaltelco.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35457
2013-02-02 15:31:52 +00:00
Gabor Juhos
4c223d7d4f
generic: convert crypto-ocf from kernel_thread to kthread
...
recent kernels have finally stopped exporting kernel_thread, since a
deprecation circa 2006. This patch attempts to convert to the newer
kernel kthread API, particularly in random.c
[juhosg: remove randomproc variable, it is not required after the patch]
Signed-off-by: Russell Senior <russell@personaltelco.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35456
2013-02-02 15:31:44 +00:00
Gabor Juhos
7c87d28054
ar71xx: fixes whitespaces for dir-825-c1
...
Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35455
2013-02-02 15:02:19 +00:00
Gabor Juhos
ecf55822bb
mpc85xx: nuke 3.6 support
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35453
2013-02-02 10:05:43 +00:00
Gabor Juhos
242859abae
mpc85xx: switch to 3.7
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35452
2013-02-02 10:05:40 +00:00
Gabor Juhos
cde71c305c
mpc85xx: add support for linux 3.7
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35451
2013-02-02 10:05:37 +00:00
Gabor Juhos
bbfd8cbf94
linux/3.7: add missing config symbols
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35450
2013-02-02 10:05:08 +00:00
Gabor Juhos
9a438b2271
ar71xx: build images for the TP-LINK TL-WR743ND v2
...
AR9331 based, these same as 741v4
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35449
2013-02-02 10:01:15 +00:00
Gabor Juhos
668e529220
generic: fix gc_sections patch
...
Due to the patch, essential '.data..*' sections are merged
into the '.data' section:
--- vmlinux.good.sect 2013-02-01 23:49:16.000000000 +0100
+++ vmlinux.bad.sect 2013-02-01 23:49:02.000000000 +0100
@@ -1,5 +1,5 @@
-vmlinux.good: file format elf32-powerpc
+vmlinux.bad: file format elf32-powerpc
Sections:
Idx Name Size VMA LMA File off Algn
@@ -53,43 +53,35 @@
CONTENTS, ALLOC, LOAD, READONLY, DATA
24 .machine.desc 00000460 c04e1000 004e1000 004f1000 2**2
CONTENTS, ALLOC, LOAD, DATA
- 25 .data 0000f6a0 c04e2000 004e2000 004f2000 2**12
+ 25 .data 0001635c c04e2000 004e2000 004f2000 2**12
CONTENTS, ALLOC, LOAD, DATA
- 26 .data..init_task 00002000 c04f2000 004f2000 00502000 2**3
- CONTENTS, ALLOC, LOAD, DATA
- 27 .data..page_aligned 00002000 c04f4000 004f4000 00504000 2**12
- CONTENTS, ALLOC, LOAD, DATA
- 28 .data..cacheline_aligned 00000c00 c04f6000 004f6000 00506000
2**5
- CONTENTS, ALLOC, LOAD, DATA
- 29 .data..read_mostly 000015e0 c04f6c00 004f6c00 00506c00 2**3
- CONTENTS, ALLOC, LOAD, DATA
- 30 .sbss 000002e0 c04f9000 004f9000 005081e0 2**3
+ 26 .sbss 000002e0 c04fa000 004fa000 0050835c 2**3
<...>
This causes boot hang on powerpc. Modify the patch to
ensure that the kernel specific '.data..*' sections
remain separate.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35447
2013-02-02 09:30:47 +00:00
Gabor Juhos
31af0dc186
ar71xx: fix mac address calculation on the OpenMesh MR600
...
Signed-off-by: Marek Lindner <marek@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35446
2013-02-02 08:47:41 +00:00
Gabor Juhos
257b21f2d4
mpc85xx: nuke 3.3 support
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35445
2013-02-01 17:49:56 +00:00
Gabor Juhos
cf2faab4ae
mpc85xx: switch to 3.6
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35444
2013-02-01 17:49:54 +00:00
Gabor Juhos
56849d146c
mpc85xx: add support for 3.6
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35443
2013-02-01 17:49:53 +00:00
Gabor Juhos
630fffbead
mpc85xx: fix dts name for P1010RDB
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35442
2013-02-01 17:49:52 +00:00
Gabor Juhos
a2529eab2b
linux/3.6: add missing config symbols
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35441
2013-02-01 17:30:18 +00:00
Gabor Juhos
fb936218a1
linux/3.6: refresh patches
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35440
2013-02-01 17:30:15 +00:00
Gabor Juhos
495820f7a0
mpc85xx: remove broken flag
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35439
2013-02-01 17:28:54 +00:00
Gabor Juhos
4cb7e749ab
mpc85xx: build fdt file for the PB1010RDB board
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35438
2013-02-01 17:28:51 +00:00
Gabor Juhos
20ca35570e
mpc85xx: enable PB1010RDB support
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35437
2013-02-01 17:28:49 +00:00
Gabor Juhos
21b15ddda5
mpc85xx: image: fix building of multiple dtb files
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35436
2013-02-01 17:28:47 +00:00
Gabor Juhos
d158dfc607
linux/3.3: disable crashlog on PPC
...
It causes NULL pointer dereference:
[ 0.638235] __ioremap(): phys addr 0x7f00000 is RAM lr c025d61c
[ 0.644090] Unable to handle kernel paging request for data at address 0x00000000
[ 0.651533] Faulting instruction address: 0xc025d620
[ 0.656483] Oops: Kernel access of bad area, sig: 11 [#1 ]
[ 0.661856] P1010 RDB
[ 0.664113] Modules linked in:
[ 0.667152] NIP: c025d620 LR: c025d61c CTR: c000dc38
[ 0.672101] REGS: c7831ef0 TRAP: 0300 Not tainted (3.3.8)
[ 0.677740] MSR: 00029000 <CE,EE,ME> CR: 42022082 XER: 20000000
[ 0.683817] DEAR: 00000000, ESR: 00000000
[ 0.687811] TASK = c782c000[1] 'swapper' THREAD: c7830000
[ 0.693017] GPR00: a1ee0000 c7831fa0 c782c000 00000000 0000214c ffffffff c7831ea6 0001ffff
[ 0.701350] GPR08: c03697cc c035fba0 c03697cc c0360000 42022022 00000000 00000000 00000000
[ 0.709682] GPR16: c0000a00 00000014 3fffffff 00ffa000 00000015 07fc42bc c0360000 00000000
[ 0.718015] GPR24: 00000000 00000000 00001680 c0360000 00000000 c025d5e8 c0390000 c038b824
[ 0.726535] NIP [c025d620] crashlog_init_fs+0x38/0xd8
[ 0.731560] LR [c025d61c] crashlog_init_fs+0x34/0xd8
[ 0.736503] Call Trace:
[ 0.738939] [c7831fa0] [c025d61c] crashlog_init_fs+0x34/0xd8 (unreliable)
[ 0.745712] [c7831fb0] [c0001e98] do_one_initcall+0xd4/0x198
[ 0.751357] [c7831fe0] [c02537f4] kernel_init+0x9c/0x120
[ 0.756647] [c7831ff0] [c000c2dc] kernel_thread+0x4c/0x68
[ 0.762022] Instruction dump:
[ 0.764975] 3860fff4 bfc10008 3fc0c039 90010014 3bfeb824 801f0004 2f800000 41be00a0
[ 0.772699] 7c030378 38804000 4bdb38cd 3c00a1ee <81630000> 6000dead 7c691b78 907eb824
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35435
2013-02-01 17:28:44 +00:00
Gabor Juhos
fb2e2a56d7
refresh kernel configs
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35434
2013-02-01 17:28:40 +00:00
Gabor Juhos
6805275fdc
ar71xx: sysupgrade - fix OpenMesh MR600 total flash size
...
Signed-off-by: Marek Lindner <marek@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35433
2013-02-01 15:50:54 +00:00
Gabor Juhos
979676ffcc
ar71xx: add sysupgrade support for OpenMesh MR600v2
...
Signed-off-by: Marek Lindner <marek@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35430
2013-02-01 15:50:47 +00:00
Gabor Juhos
2af995ba1d
ar71xx: add user-space support for OpenMesh MR600v2
...
Signed-off-by: Marek Lindner <marek@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35429
2013-02-01 15:50:45 +00:00
Gabor Juhos
8837d3a49b
ar71xx: add kernel support for the OpenMesh MR600v2
...
Signed-off-by: Marek Lindner <marek@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35428
2013-02-01 15:50:42 +00:00
Gabor Juhos
150bb9d0b1
ar71xx: remove unused OpenMesh MR600 led definitions
...
Signed-off-by: Marek Lindner <marek@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35427
2013-02-01 15:50:39 +00:00
Gabor Juhos
fe3db74276
ar71xx: remove unused OpenMesh MR6000 platform code
...
Signed-off-by: Marek Lindner <marek@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35426
2013-02-01 15:50:37 +00:00
Gabor Juhos
492cbcdd6b
ar71xx: build image for the TL-WDR3500 board
...
Based on http://patchwork.openwrt.org/patch/3208/
Thanks-to: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Gui Iribarren <gui@altermundi.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35425
2013-02-01 15:50:34 +00:00
Gabor Juhos
119dc460a3
ar71xx: add user-space support for TL-WDR3500 board
...
Based on http://patchwork.openwrt.org/patch/3208/
Thanks-to: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Gui Iribarren <gui@altermundi.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35424
2013-02-01 15:50:32 +00:00
Gabor Juhos
5bd02ca895
ar71xx: add kernel support for the TL-WDR3500 board
...
WDR3500 is similar to WDR3600 except it doesn't have gigabit ethernet,
and has only 1 USB port.
Pending issues:
* Leds are not working at all (except power and wlan_5g)
* LAN switch ethernet ports are reversed with respect to case label.
[Label] -> soft device
[LAN1] -> eth0.4
[LAN2] -> eth0.3
[LAN3] -> eth0.2
[LAN4] -> eth0.1
Based on http://patchwork.openwrt.org/patch/3208/
Thanks-to: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Gui Iribarren <gui@altermundi.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35423
2013-02-01 15:50:29 +00:00
Jonas Gorski
ce8b226046
bcm63xx: replace kmod-switch with swconfig in default package set
...
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 35407
2013-01-30 00:19:21 +00:00
Gabor Juhos
f7ff677169
ar71xx: add profile and build image for dir-825-c1
...
Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35403
2013-01-29 22:50:57 +00:00
Gabor Juhos
2a5193308f
ar71xx: add user space support for dir-825-c1
...
[juhosg: fix whitespaces in some scripts]
Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35402
2013-01-29 22:50:54 +00:00
Gabor Juhos
800da21cb1
ar71xx: add kernel support for dir-825-c1
...
[juhosg:
- remove unused GPIO stuff
- use a separate kernel patch for machine integration]
Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35401
2013-01-29 22:50:50 +00:00
Gabor Juhos
5a2aa8f184
generic: fix default compression selection in ubifs
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35398
2013-01-29 21:32:22 +00:00
Gabor Juhos
da9a704e92
ar71xx: add profile and generate images for the AP132 board
...
Based on http://patchwork.openwrt.org/patch/3162/
Signed-off-by: Embedded Wireless GmbH <info at embeddedwireless.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35397
2013-01-29 19:12:34 +00:00
Gabor Juhos
5d4ddbce72
ar71xx: add user-space support for the AP132 board
...
Based on http://patchwork.openwrt.org/patch/3162/
Signed-off-by: Embedded Wireless GmbH <info at embeddedwireless.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35396
2013-01-29 19:12:32 +00:00
Gabor Juhos
5ca187570f
ar71xx: add kernel support for Atheros AP132 Reference Board
...
Based on http://patchwork.openwrt.org/patch/3162/
Signed-off-by: Embedded Wireless GmbH <info at embeddedwireless.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35395
2013-01-29 19:12:30 +00:00
Gabor Juhos
8a9d92f125
ar71xx: fix ethernet device registration for the QCA9556 SoC
...
Based on http://patchwork.openwrt.org/patch/3162/
Signed-off-by: Embedded Wireless GmbH <info at embeddedwireless.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35394
2013-01-29 19:12:28 +00:00
Gabor Juhos
e9dbff1193
ar71xx: add kernel support for the QCA9556 SoC
...
Based on http://patchwork.openwrt.org/patch/3162/
Signed-off-by: Embedded Wireless GmbH <info at embeddedwireless.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35393
2013-01-29 19:12:26 +00:00
Gabor Juhos
df15e5cd61
ar71xx: enable fast flash read on dual-flash devices
...
This improves flash read speed on various Buffalo units.
mtd_speedtest results on the WZR-HP-AG300H:
old new delta
eraseblock read speed: 726 KiB/s 2068 KiB/s +184.85%
page read speed: 699 KiB/s 1973 KiB/s +182.26%
2 page read speed: 711 KiB/s 2043 KiB/s +187.34%
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35392
2013-01-29 19:12:25 +00:00
Gabor Juhos
562ba537fc
kernel: update linux 3.7 to 3.7.5
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35390
2013-01-29 18:29:45 +00:00
John Crispin
c6744513a3
fix mtd_mp25p80_add_gd25q32_gd25q64.patch
...
SVN-Revision: 35378
2013-01-29 11:06:57 +00:00
Florian Fainelli
714b2cfef3
Fix GigaDevice GD25Q32/GD25Q64 SPI Flash bad commit
...
Fix GigaDevice GD25Q32/GD25Q64 SPI Flash bad commit.
The patch was added to "linux/generic/patches-3.6" instead of
"target/linux/generic/patches-3.6".
I also fixed a missing patch space and refreshed generic patches.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 35367
2013-01-29 09:46:11 +00:00
Gabor Juhos
e252a1492c
generic: fix build failure in MIPS kexec code if SMP is enabled
...
Fix it for older kernels as well.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35366
2013-01-29 09:44:58 +00:00
Gabor Juhos
22ce389e6a
ar71xx: add TP-LINK WA-801ND to run-time model detection
...
A small cosmetic fix to show the HW model name correctly in LuCI.
Patch-by: Amir Sagie <openwrt-devel@taproot.org.il>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35365
2013-01-29 09:40:29 +00:00
Gabor Juhos
1b3c6ad1fb
generic: fix build failure in MIPS kexec code if SMP is enabled
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35364
2013-01-29 09:40:23 +00:00
John Crispin
756a7c5451
fix for non-blinking LAN LEDs
...
https://dev.openwrt.org/ticket/12830
SVN-Revision: 35359
2013-01-28 18:06:31 +00:00
John Crispin
a0f7a3c214
dont load gptu on ase
...
fixes #12792
SVN-Revision: 35357
2013-01-28 17:46:07 +00:00
John Crispin
d93706154b
ramips: reset switch on single-port devices
...
Signed-off-by: Daniel Gole <dgolle@allnet.de>
SVN-Revision: 35356
2013-01-28 17:44:41 +00:00
John Crispin
0de0955931
refresh patches
...
SVN-Revision: 35355
2013-01-28 17:44:20 +00:00
John Crispin
0183df8ed9
Fix ARV7518 USB
...
This patch correctly fixes USB on Lantiq ARV7518.
There was a failed attempt on fixing this on r35077 (https://dev.openwrt.org/changeset/35077/ ).
Signed-off-by: José Vázquez Fernández <ppvazquezfer@gmail.com>
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 35354
2013-01-28 17:43:35 +00:00
John Crispin
3534757bb9
Add ath9k eeprom and pci fixup support
...
Add ath9k eeprom and pci fixup support (again) for linux 3.7.
On linux 3.3, the fixup forced the regdomain to 0x67, causing low TX power.
This patch only corrects checksum, the rest of the EEPROM isn't changed.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 35353
2013-01-28 17:43:25 +00:00
John Crispin
5eb43d4cf8
Add support for ARV4518PW R01 and rename R01A.
...
There are two different versions of SMC7908A-ISP: R01 and R01A.
R01 has an internal clock for PCI, meanwhile R01A has an external clock.
This fixes: https://dev.openwrt.org/ticket/12884
Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 35352
2013-01-28 17:42:59 +00:00
Felix Fietkau
1dc9c8ef69
kernel: disable CONFIG_CRYPTO_MANAGER2, it is not needed
...
SVN-Revision: 35342
2013-01-27 23:23:39 +00:00
Hauke Mehrtens
68aeb7af8e
brcm47xx: load pps_core and ptp before tg3 to make the interface available for failsafe.
...
SVN-Revision: 35341
2013-01-27 21:48:28 +00:00
Hauke Mehrtens
a9175c90cf
kernel: b53: the b53 spi driver depends on spi
...
SVN-Revision: 35340
2013-01-27 21:39:53 +00:00
Hauke Mehrtens
62554217fc
kernel: add packages for pps and ptp, they are needed by tg3 in kernel 3.8
...
SVN-Revision: 35336
2013-01-27 21:18:52 +00:00
Felix Fietkau
8193bbe59a
netfilter: add support for flushing conntrack via /proc
...
SVN-Revision: 35330
2013-01-27 19:02:38 +00:00
Felix Fietkau
156a6e7999
kernel: clean up crypto kconfig options on 3.8
...
SVN-Revision: 35329
2013-01-27 17:49:09 +00:00
Hauke Mehrtens
721bf97863
kernel: remove __devinit, __devexit and __devexit_p for kernel 3.8
...
These attributes where removed with kernel 3.8 and are now causing compile errors.
SVN-Revision: 35328
2013-01-27 17:48:48 +00:00
Felix Fietkau
ed7ca5d44e
kernel: clean up crypto related kconfig options
...
SVN-Revision: 35327
2013-01-27 17:23:12 +00:00
Felix Fietkau
8a1091ad53
ar71xx: disable support for unsupported mtd configuration, saves about 5K kernel size after lzma
...
SVN-Revision: 35326
2013-01-27 16:38:27 +00:00
Felix Fietkau
044c316167
kernel: prevent cryptomgr from pulling in useless extra dependencies for tests that are not run
...
Reduces kernel size after LZMA by about 5k on MIPS
SVN-Revision: 35325
2013-01-27 16:21:08 +00:00
Hauke Mehrtens
e083c7926b
brcm47xx: create image for Netgear WNDR3400 V1
...
SVN-Revision: 35323
2013-01-26 20:34:38 +00:00
Hauke Mehrtens
05623aebef
brcm47xx: add initial board detection code
...
SVN-Revision: 35322
2013-01-26 20:34:00 +00:00
Hauke Mehrtens
a83d7bb109
brcm47xx: add gpio to irq function again
...
SVN-Revision: 35321
2013-01-26 20:33:23 +00:00
Felix Fietkau
8933b918cd
kernel: use -ffunction-sections, -fdata-sections and --gc-sections on mips
...
in combination with kernel symbol export stripping this significantly reduces
the kernel image size
SVN-Revision: 35320
2013-01-26 16:26:13 +00:00
Gabor Juhos
15be1c9ee7
kernel: update linux 3.7 to 3.7.4
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35318
2013-01-24 17:08:37 +00:00
Florian Fainelli
680f460861
kernel: refresh 3.8 patches
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 35317
2013-01-24 17:04:52 +00:00
Florian Fainelli
9781461a3d
mvebu: update to 3.8-rc4
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 35316
2013-01-24 17:04:46 +00:00
Hauke Mehrtens
4a69e20a10
kernel: add missing config options for 3.8
...
SVN-Revision: 35315
2013-01-24 14:48:15 +00:00
Hauke Mehrtens
76c12ff797
brcm47xx: change generic profiles
...
The default profile now contains Ethernet drivers for all the types
found on supported boards. There are other profiles for each Ethernet
driver.
SVN-Revision: 35314
2013-01-24 14:38:10 +00:00
Felix Fietkau
b60fc82ce5
kernel: remove the cisco sip phone patch for 3.7 and 3.8 as well
...
SVN-Revision: 35310
2013-01-23 16:31:38 +00:00
Felix Fietkau
8ce8960959
ar71xx: sync kernel sizes where possible to fix images for some devices ( #12874 )
...
SVN-Revision: 35309
2013-01-23 16:29:25 +00:00
Jonas Gorski
8411e5c06e
bcm63xx: switch to b53 and swconfig
...
Switch to using the B53 switch driver where appropriate.
Use a non-tagged default config where it isn't confirmed to be
working.
Remove the switch configuration in preinit as the switch will now
be configured by the driver to use port isolation to prevent leakage
between lan and wan.
While at it, also provide a switch config for Neufbox 6.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 35307
2013-01-23 10:12:40 +00:00
Jonas Gorski
17d51121a6
bcm63xx: expose the internal switch to b53
...
Allow b53 access to the internal switch of BCM6328, BCM6362 and BCM6368.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 35306
2013-01-23 10:12:37 +00:00
Jonas Gorski
bb0118c66f
generic: add b53 swconfig switch driver
...
Add swconfig switch driver for Broadcom BCM53XX switch chips. Supports
switches connected through MDIO, SPI or memory mapped registers, and
supports BCM5325, BCM539x, BCM531x5 and the BCM63XX internal switch
chips.
Tested are BCM5325 trough MDIO, BCM53115 through SPI, and BCM6328.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 35305
2013-01-23 10:12:33 +00:00
Jonas Gorski
3e998d9cf9
bcm63xx: move bcm63xx-spi into the kernel
...
The SPI driver is needed for supporting to boot from SPI flash on BCM6358
and BCM6368, and for SPI connected switches.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 35304
2013-01-23 10:12:13 +00:00
Felix Fietkau
46e4246d61
kernel: remove 340-module_alloc_size_check.patch from linux 3.8, it is not necessary anymore
...
SVN-Revision: 35248
2013-01-19 19:14:37 +00:00
Gabor Juhos
ed6d399f8d
ramips: add profile and build image for the Tenda 3G300M
...
Factory image should be used to flash from
original firmware.
[juhosg: use the GENERIC_4M template]
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35246
2013-01-19 17:05:07 +00:00
Gabor Juhos
9891603eb5
ramips: add user-space support for the Tenda 3G300M
...
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35245
2013-01-19 17:05:06 +00:00
Gabor Juhos
7eff5d2df0
ramips: add kernel support for the Tenda 3G300M
...
Ralink RT3052F, 4MB flash, 32MB ram, one USB 2.0, two buttons
and seven leds.
Factory image should be used to flash from original firmware.
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35244
2013-01-19 17:05:03 +00:00
Gabor Juhos
f7a943694f
ramips: use MkImage for Hauppauge Broadway, Netcore NW718 and Tenda W306R V2.0
...
These targets need custom image names specified in the uImage header.
MkImage accepts an optional 4th argument to do exactly that. Reuse the
facility to generate factory images.
Compile-tested, the generated files inspected with "file" utility.
[juhosg:
- keep the factory.bin images to avoid users confusion,
- use GENERIC_4M template for the W306R V2.0
- update commit log]
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35243
2013-01-19 15:36:13 +00:00
Gabor Juhos
6aebe6a65d
ramips: allow to override image name/suffix in GENERIC_{4,8}M macros
...
Sysupgrade/KRuImage and BuildFirmware/Generic macros
are changed as well.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35242
2013-01-19 15:36:11 +00:00
Gabor Juhos
60dde219d4
ramips: do not stop the build if some targets fail
...
This becomes crucial when you are using a generic profile to build an image
larger than 4M, e.g. for w502u.
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35238
2013-01-19 08:51:45 +00:00
Jonas Gorski
c3eeff807f
generic: rtl8366_smi: only assign pvid if no pvid was set yet
...
Only assign a pvid if the current pvid is 0. Fixes using mixed tagged
and untagged traffic on a port and the untagged vlan isn't the last one
of which the port is a member.
Tested on RTL8366S and RTL8367R.
Fixes #8501 .
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 35227
2013-01-18 15:19:11 +00:00
Jo-Philipp Wich
3a2cccda2e
all targets: use numerically prefixed uci-defaults file names to better control order of execution
...
SVN-Revision: 35217
2013-01-18 12:42:53 +00:00
Gabor Juhos
0de21d9747
kernel: update linux 3.7 to 3.7.3
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35216
2013-01-18 11:44:42 +00:00
Florian Fainelli
c8215775f3
mvebu: enable PCI in kernel configuration
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 35214
2013-01-17 22:29:26 +00:00
Florian Fainelli
5e45a4344c
mvebu: enable PCIe on Marvell Armada 370 Reference Design
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 35213
2013-01-17 22:29:22 +00:00
Florian Fainelli
cf9343ac86
mvebu: enable USB on Armada 370 Reference Design
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 35212
2013-01-17 22:29:18 +00:00
Florian Fainelli
7e1e7063c2
mvebu: add preliminary support for PCI express
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 35211
2013-01-17 22:29:13 +00:00
Florian Fainelli
29c21b973b
mvebu: refresh patches
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 35210
2013-01-17 22:28:58 +00:00
Florian Fainelli
28acc6588d
kernel: refresh 3.8 patches
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 35209
2013-01-17 22:28:53 +00:00
Florian Fainelli
a286a55c6f
mvebu: add board detection scripts
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 35208
2013-01-17 22:28:48 +00:00
Florian Fainelli
f7858466e2
mvebu: enable /proc/devicetree usage
...
This is going to be used for proper user-space board identification (ala
mcs814x).
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 35207
2013-01-17 22:28:37 +00:00
Florian Fainelli
15b4681e3e
mvebu: add default profile
...
Such that relevant kernel modules are selected (USB, I2C, SATA, RTC,
SDIO)
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 35206
2013-01-17 22:28:33 +00:00
Jo-Philipp Wich
7399df1d69
x86: explicitely pass staging directory to grub-mkimage instead of relying on build time defaults ( #12821 )
...
SVN-Revision: 35200
2013-01-17 15:46:26 +00:00
Gabor Juhos
57f7408b8a
generic: add EHCI|OHCI platform driver fix to 3.[36]
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35194
2013-01-17 13:54:14 +00:00
Felix Fietkau
576aa2af0c
ramips: enable BR6425N in kernel config
...
Though originally contained in the patch applied in r35020, the move to 3.7 in
r34845 lost the kernel .config option. Reintroduce it to config-3.7.
Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 35191
2013-01-17 09:39:44 +00:00
Florian Fainelli
05466923b8
mvebu: add support for EHCI controller
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 35181
2013-01-15 19:55:50 +00:00
Florian Fainelli
c53a347034
mvebu: add support for the Marvell Armada 370 Reference Design board
...
Keep the patches in sync with the upstream developments.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 35179
2013-01-15 19:55:40 +00:00
Florian Fainelli
58f8c5d87a
mvebu: enable SMP with SMP on UP enabled
...
The same kernel works ok for both Armada 370 (UP) and Armada XP (SMP)
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 35178
2013-01-15 19:55:31 +00:00
Florian Fainelli
fa1afc1fa9
mvebu: add support for RTC
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 35176
2013-01-15 19:55:19 +00:00
Felix Fietkau
b3b04e9fb1
kernel: port 203-kallsyms_uncompressed.patch and 305-mips_module_reloc.patch to 3.8
...
SVN-Revision: 35162
2013-01-14 18:55:36 +00:00
Gabor Juhos
78dc69e1d4
generic: remove EHCI platform driver fix from 3.8
...
It is not needed on 3.8.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35160
2013-01-14 17:53:55 +00:00
Gabor Juhos
b035c594ae
generic: add EHCI|OHCI platform driver fix from the cns21xx target
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35159
2013-01-14 17:47:23 +00:00
Florian Fainelli
1e103b2ecc
target: enable XZ BCJ decompressor code after r35097
...
Required to actually be able to mount squashfs xz compressed
filesystems.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 35156
2013-01-14 16:34:25 +00:00
Felix Fietkau
e0e3509b5c
kernel: add a config option for keeping the kallsyms table uncompressed, saving ~9kb kernel size after lzma on ar71xx
...
SVN-Revision: 35154
2013-01-14 16:08:18 +00:00
Felix Fietkau
1474359bd3
ar71xx: fix unaligned access in cls_u32
...
SVN-Revision: 35132
2013-01-13 16:48:23 +00:00
Felix Fietkau
e67b6ee395
ar71xx: fix unaligned access in a few more places
...
SVN-Revision: 35130
2013-01-13 15:37:58 +00:00
Felix Fietkau
b5bcbdfbb5
ar71xx: improve unaligned access patches, add a net_hdr_word() macro which assumes 2-byte aligned access and generates better code than {get,put}_unaligned_cpu32
...
SVN-Revision: 35129
2013-01-13 14:54:39 +00:00
Felix Fietkau
53e0ba49b9
ar71xx: avoid __packed define in the unaligned access hack patch, make the ipv6 address struct also 2-byte-aligned/packed
...
SVN-Revision: 35127
2013-01-13 13:06:09 +00:00
Felix Fietkau
5d55cece6e
kernel: add back the mips module relocation patch
...
SVN-Revision: 35126
2013-01-13 12:23:42 +00:00
Felix Fietkau
764520975c
ar71xx: add more cpu feature overrides, slightly reduces kernel size
...
SVN-Revision: 35125
2013-01-13 11:33:48 +00:00
Felix Fietkau
310724c14d
ar71xx: extend the unaligned access hacks to a few more places that showed up in the new kernel
...
SVN-Revision: 35124
2013-01-13 11:33:44 +00:00
Hauke Mehrtens
2bf03f971d
brcm47xx: BCMA - Update default IRQ assignment per upstream change
...
Update the default IRQ assignment for unrecognized devices per
the upstream change.
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 35121
2013-01-12 15:00:01 +00:00
Gabor Juhos
5d1ecfc26d
refresh kernel configs with kconfig.pl
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35119
2013-01-12 12:29:55 +00:00
Gabor Juhos
ef75e6c71a
malta: remove 3.6 support
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35118
2013-01-12 12:29:53 +00:00
Gabor Juhos
3d057de4db
malta: build lzma and gzip compressed uImages
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35117
2013-01-12 12:29:52 +00:00
Gabor Juhos
df8a8f2515
adm5120: remove 3.6 support
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35116
2013-01-12 12:25:42 +00:00
Gabor Juhos
d472567997
adm5120: switch to 3.7
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35115
2013-01-12 12:25:40 +00:00
Gabor Juhos
eb2188c0e2
ar71xx: remove 3.6 support
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35114
2013-01-12 12:25:38 +00:00
Gabor Juhos
fe86bc9370
ar71xx: switch to 3.7
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35113
2013-01-12 12:25:36 +00:00
Gabor Juhos
ca882f230d
mpc83xx: remove 3.6 support
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35112
2013-01-12 12:25:34 +00:00
Gabor Juhos
eba037cd1f
mpc83xx: switch to 3.7
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35111
2013-01-12 12:25:32 +00:00
Gabor Juhos
ff2ce330a5
ramips: remove 3.6 support
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35110
2013-01-12 12:25:30 +00:00
Gabor Juhos
d53f8c3ded
ramips: switch to 3.7
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35109
2013-01-12 12:25:28 +00:00
Gabor Juhos
f8f009ca43
rb532: remove 3.6 support
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35108
2013-01-12 12:25:26 +00:00
Gabor Juhos
cd71dcdab7
rb532: switch to 3.7
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35107
2013-01-12 12:25:24 +00:00
Gabor Juhos
7098354885
ppc44x: remove 3.6 support
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35106
2013-01-12 12:25:21 +00:00
Gabor Juhos
83fccacec2
ppc44x: switch to 3.7
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35105
2013-01-12 12:25:20 +00:00
Gabor Juhos
9d3bae8f0e
ppc40x: remove 3.6 support
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35104
2013-01-12 12:25:18 +00:00
Gabor Juhos
06fea75afb
ppc40x: switch to 3.7
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35103
2013-01-12 12:25:16 +00:00
Gabor Juhos
a51f602494
cns21xx: remove 3.6 support
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35102
2013-01-12 12:25:14 +00:00
Gabor Juhos
bdc6ec4974
cns21xx: switch to 3.7
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35101
2013-01-12 12:25:12 +00:00
Gabor Juhos
c19c30cefd
kernel: update linux 3.7 to 3.7.2
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35100
2013-01-12 11:43:08 +00:00
Florian Fainelli
ecf230710f
mvebu: update to 3.8-rc3
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 35086
2013-01-10 17:20:25 +00:00
Hauke Mehrtens
548cb59826
brcm47xx: update bgmac driver to the version in mainline kernel
...
SVN-Revision: 35083
2013-01-10 14:22:19 +00:00
Hauke Mehrtens
885eea1842
kernel: update bcma and ssb to master-2013-01-09 from wireless-testing
...
SVN-Revision: 35080
2013-01-10 14:05:18 +00:00
Imre Kaloz
a2950fabd4
clean up PCI bus topology
...
This makes the PCI bus topology more standard for devices behind a bridge
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
SVN-Revision: 35079
2013-01-10 13:25:12 +00:00
Imre Kaloz
b63b970866
clean up PCI bus topology
...
This makes the PCI bus topology more standard for devices behind a bridge
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
SVN-Revision: 35078
2013-01-10 13:23:33 +00:00
John Crispin
64910f4490
fixes USB reset on ARV7518
...
SVN-Revision: 35077
2013-01-10 06:44:58 +00:00
John Crispin
4834d09a3f
fixes none-pci build
...
SVN-Revision: 35062
2013-01-09 09:04:09 +00:00
Florian Fainelli
25475a095e
mvebu: add inital support for Marvell Armada XP/370 SoCs
...
This brings in the initial support for the Marvell Armada XP/370 SoCs.
Successfully tested on RD-A370-A1 and DB-MV784MP-GP boards the following
interfaces:
- Ethernet
- SDIO
- GPIOs
- SATA
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 35058
2013-01-08 22:20:16 +00:00
Florian Fainelli
97acd10458
add support for 3.8 kernel
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 35057
2013-01-08 22:20:11 +00:00
Florian Fainelli
9b601b79d0
add support for 3.8 kernel
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 35056
2013-01-08 22:20:06 +00:00
Florian Fainelli
8dbed04ec9
kernel: add support for 3.8-rc2
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 35055
2013-01-08 22:19:31 +00:00
Hauke Mehrtens
7b0af8193b
brcm47xx: BGMAC Driver corrections
...
1) Fix what appears to be a logic error in bgmac_phy_advertise.
2) Fix bgmac_ioctl to use passed phy_id; needed for switch-robo
interface w/ the driver to work correctly. I still have the issue
with the interface always being HD when the speed/duplex is set
manually (e.g., echo "100FD" > /proc/switch/eth0/port/N/media).
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 35052
2013-01-07 22:51:39 +00:00
Florian Fainelli
4ec57bdc06
update to 3.7
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 35045
2013-01-07 18:16:36 +00:00
Gabor Juhos
ba4de984b9
ar71xx: disable PHY_SWAP and PHY_ADDR_SWAP bits on TL-WR703N/MR3020/MR3040/MR11U boards
...
The PHY_SWAP and PHY_ADDR_SWAP bits are initialized
differently by different versions of the bootloader.
This leads to broken ethernet connection with OpenWrt
on some boards.
Turn both SWAP bits OFF on these boards to make it
consistent regardless of the bootloader used.
Based on a patch by Michel Stempin <michel.stempin@wanadoo.fr>.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35037
2013-01-07 14:30:37 +00:00
Gabor Juhos
251e4608b0
ar71xx: add missing Makefile entry to the 74HC153 GPIO patch
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35035
2013-01-07 14:14:41 +00:00
Felix Fietkau
5154270694
orion: debloat the kernel some more
...
SVN-Revision: 35023
2013-01-06 15:09:47 +00:00
Felix Fietkau
75657ff8a9
kernel: add missing config symbol
...
SVN-Revision: 35021
2013-01-06 15:09:39 +00:00
John Crispin
f2f9332350
adds support for Edimax BR-6524N
...
fixes #12754
Signed-off-by: <rq@akl.lt>
SVN-Revision: 35020
2013-01-06 11:11:42 +00:00
John Crispin
d5d2e8b4db
missing underscore in 3.3 regmap patch
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 35018
2013-01-06 10:01:53 +00:00
Felix Fietkau
2e8409cce3
kernel: port the regmap fix to 3.6 ( #12749 ), refresh patches for other versions
...
SVN-Revision: 35016
2013-01-05 13:33:44 +00:00
John Crispin
e6aac19237
fix regmap debloat patch
...
SVN-Revision: 35015
2013-01-05 00:20:05 +00:00
Jonas Gorski
e952eaa112
bcm63xx: Add Huawei HG556a support
...
Add Huawei EchoLife HG556a support.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo@openwrt.org: added some code style fixes]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 35011
2013-01-04 14:47:57 +00:00
Jonas Gorski
0e58173fa5
bcm63xx: Fix caldata partition mtd patch
...
Allow bcm63xxpart to receive a caldata offset if calibration data is contained in flash.
Tested-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
SVN-Revision: 35010
2013-01-04 14:47:50 +00:00
Jonas Gorski
10fc07daac
bcm63xx: remove 3.3 support
...
3.6 is tested enough to be considered stable.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 35009
2013-01-04 14:47:43 +00:00
Felix Fietkau
96f3911981
kernel: move regmap bloat out of the kernel image if it is only being used in modules
...
SVN-Revision: 34999
2013-01-03 18:39:50 +00:00
Hauke Mehrtens
a105eea1a1
brcm47xx: various fixes and code cleanups for irq code
...
This is based on a patch send by Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 34997
2013-01-03 16:56:54 +00:00
Hauke Mehrtens
4443997fd8
brcm47xx: add bgmac driver
...
This Ethernet driver is in early development stage and still has some problems.
This was working on my bcm4716 based device.
Thanks to Rafał Miłecki <zajec5@gmail.com> for writing this driver.
SVN-Revision: 34995
2013-01-03 02:05:22 +00:00
Hauke Mehrtens
8f6bdcffa1
brcm47xx: build b44 as a module
...
SVN-Revision: 34994
2013-01-03 02:00:25 +00:00
Hauke Mehrtens
22d62d311a
brcm47xx: run ifup before starting the switch
...
In addition check_module is not needed, nobody checks the return value.
SVN-Revision: 34993
2013-01-03 01:59:43 +00:00
Hauke Mehrtens
97b2b601c7
brcm47xx: BCMA - IRQ Update - Fix IRQ Flag for I2S Core
...
Adjust the IRQ Flag value from 8 to 7 for I2S Core for BCM4716 and
BCM4748 (per the Broadcom SDK). IRQ Flag values greater than 7 are
ignored when setting the interrupt masks.
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 34990
2013-01-03 01:56:13 +00:00
Hauke Mehrtens
f74e847301
brcm47xx: improve IRQ handling for bcma based devices
...
This was party inspirited by patches send by Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 34989
2013-01-03 01:55:34 +00:00
Hauke Mehrtens
25afeba608
brcm47xx: add a new version of the nvram rewrite patch
...
This is the version like it was send for mainline inclusion.
SVN-Revision: 34988
2013-01-03 01:53:30 +00:00
Hauke Mehrtens
edc7ab525f
brcm47xx: move patches already in the mainline kernel to the front
...
SVN-Revision: 34987
2013-01-03 01:51:31 +00:00
Hauke Mehrtens
76c767f122
brcm47xx: remove support for kernel version 3.3
...
SVN-Revision: 34986
2013-01-03 01:48:43 +00:00
Jo-Philipp Wich
7a73c2f91f
generic: add some missing kernel config symbols spotted on x86
...
SVN-Revision: 34981
2013-01-02 19:10:24 +00:00
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