Commit Graph

29125 Commits (56e5be943d5fa65a23507f02a2ffdb6b5baa37f6)

Author SHA1 Message Date
John Crispin 56e5be943d ralink: backport various fixes from linux-mti
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39329 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-19 17:27:22 +00:00
John Crispin cbd4880e3c ralink: add xhci driver
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39328 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-19 17:27:13 +00:00
John Crispin c0a637de03 scripts/kconfig.pl: Indicate which file we couldn't open
Signed-off-by: Daniel Colascione <dancol@dancol.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39327 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-19 17:27:04 +00:00
Jonas Gorski 8e8c4d76c3 brcm63xx: fix typo breaking build in r39325
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39326 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-19 14:00:18 +00:00
Jonas Gorski 7b6a9cdb85 brcm63xx: set usb host port number for some devices
Update a few devices with their actual port numbers, especially those
with two ports.

Should allow properly using the second port on the Neufboxen and HW553
and HW556.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39325 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-19 13:46:25 +00:00
Jonas Gorski 0a591288e2 brcm63xx: allow setting the number of usb host ports for boards
Allow setting the number of available usb host ports for boards with
additional sanity checks to allow using the second port on devices
where it is available.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39324 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-19 13:46:14 +00:00
Jonas Gorski 97174e266f brcm63xx: add USB support for BCM63268
Add and enable USB support for the BCM63268 family of SoCs.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39323 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-19 13:46:05 +00:00
Jonas Gorski bb35646894 brcm63xx: BCM6318 needs to select _HAS_OHCI/EHCI too
USB will fail to work if compiling with BCM6318 only if BCM63XX_HAS_EHCI
and BCM63XX_HAS_OHCI are not selected.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39322 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-19 13:45:55 +00:00
Jonas Gorski 1a2e8d8f27 brcm63xx: prevent usb clock state inconsistency on BCM6318
Return the same clock for usbh and usbd on BCM6318 to prevent the clock
getting disabled despite being supposed to be enabled, e.g. by the
following sequence:

	clk_enable(usbh); <- usbh->usage = 1, enabled
	clk_enable(usbd); <- usbd->usage = 1, enabled (no effect)
	clk_disable(usbd); <- usbd->usage = 0,  -> disabled!

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39321 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-19 13:45:42 +00:00
Imre Kaloz 7804da9d6e [ar71xx]: generate images for the On Networks N150 (rebranded Netgear WNR612v2)
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39320 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-18 19:44:40 +00:00
Steven Barth c5a32525eb odhcpd: Fix a memory corruption when static leases are used
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39319 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-18 10:11:03 +00:00
John Crispin 1f0ac4101b sysupgrade: do not kill any processes in failsafe
sysugrade killed the lock causing failsafe to stop

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39318 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-17 22:12:05 +00:00
John Crispin 9743a51ce5 usbmode: update usb-modeswitch-data version to 20131113
https://dev.openwrt.org/ticket/14762

Signed-off-by: Alif M. Ahmad <ama_alif@yahoo.co.id>
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39317 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-17 21:45:55 +00:00
John Crispin 7ca1a50c8a ubox: update to latest git
- fix duplicate device wildcard
- fix elf 64bit elf parsing

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39316 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-17 21:35:32 +00:00
Steven Barth b5449fcb1e odhcpd: be even less verbose and don't start unnecessary relays
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39315 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-17 19:05:54 +00:00
Steven Barth 8abf4d5c65 odhcpd: fix logspam
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39314 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-17 15:53:43 +00:00
Steven Barth 6e6ceb1473 odhcpd: use hybrid management mode by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39313 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-17 15:48:02 +00:00
Steven Barth 39ecf08d2d dnsmasq: add dnsmasq.d config folder & improve odhcpd coexistence
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39312 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-17 14:00:09 +00:00
Steven Barth 00769bba6c odhcp6c: Use sourcerouting by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39311 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-17 14:00:04 +00:00
Steven Barth 70bad4076a odhcp6c: fix several small issues + decrease size
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39310 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-17 14:00:00 +00:00
Steven Barth 037762bb2c target: replace 6relayd with odhcpd by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39309 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-17 13:59:55 +00:00
Steven Barth 259bddfde7 odhcpd: several bugfixes and improved integration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39308 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-17 13:59:51 +00:00
Steven Barth 6e39ca25a8 6in4, 6rd, 6to4: Use source-restricted routes by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39307 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-17 13:59:47 +00:00
Steven Barth 62fa26dd74 netifd: Add IFUPDATE-flags and use main IPv6 routing table again
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39306 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-17 13:59:40 +00:00
John Crispin d13538ba06 kexec: bump to latest head revision
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39305 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-17 13:57:25 +00:00
Florian Fainelli 07eb492643 brcm63xx: do not add twice the same field to board
Changeset r39302 updated a board section and added twice .has_ehci0,
this is not necessary, so fix it.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39304 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-16 00:45:19 +00:00
John Crispin ac3caf5ea4 lantiq: Add support for Astoria ARV7510PW22
This board is pretty similar to ARV752DPW22.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39303 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-15 19:16:51 +00:00
Florian Fainelli 91594d2f84 brcm63xx: add USB support to BCM6318
BCM6318 has a special initialization sequence which involves touching
PLL control registers in the USBH_PRIV register space, as well as
toggling a bit the Simulation control register.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39302 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-15 19:05:57 +00:00
Luka Perkov 830cc0c621 mvebu: fix build failures when initramfs is not selected
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39301 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-15 18:38:51 +00:00
John Crispin d356a6f223 firewall: improve logging in hotplug script
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39300 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-15 18:29:59 +00:00
John Crispin cf7697def4 ramips: Add profile for the Edimax BR-6475nD
Signed-off-by: Christopher Lais <chris+openwrt@zenthought.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39299 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-15 18:29:51 +00:00
John Crispin 00482d1b77 ramips: Add userspace support for the Edimax BR-6475nD
The rt2x00 wifi driver may still need updating to
function with this device.

Signed-off-by: Christopher Lais <chris+openwrt@zenthought.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39298 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-15 18:29:44 +00:00
John Crispin bbbec80e51 ramips: rt3883: Fix a typo in rt3883.dtsi
Signed-off-by: Christopher Lais <chris+openwrt@zenthought.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39297 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-15 18:29:03 +00:00
Luka Perkov e0afecf748 lantiq: update kernel configuration
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39296 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-15 14:11:36 +00:00
Zoltan HERPAI da2b046743 packages: ifenslave: add kernel dependencies as source was removed from 3.12
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39295 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-15 09:28:41 +00:00
Florian Fainelli 55ee2d5854 brcm63xx: fix BCM96318MVWG LEDs
Power LED is not active low, and ppp-fail is red, not green.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39294 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-15 00:06:08 +00:00
Florian Fainelli 3a7d2c894e brcm63xx: remove config-3.11
This was not supposed to be committed, remove it.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39293 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-15 00:05:51 +00:00
Florian Fainelli 1b2c77588b brcm63xx: 96368MVWG supports USB gadget, enable it
Enable the use of the USB gadget device at the board level so we can use
bcm63xx_udc on this board.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39292 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-14 23:56:46 +00:00
Florian Fainelli 83567d367c brcm63xx: replace gadget driver build fix with upstream submission
Also fixing a build warning due to a misplaced parenthesis in the
previous submission.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39291 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-14 23:56:28 +00:00
Hauke Mehrtens 21bb75a937 gpio-button-hotplug: add wwan button
The wimax key will be used as a generic wwan key starting with Linux 
3.13. The brcm47xx target uses this key for the 3g buttons. Also remove 
the ifdef around KEY_WPS_BUTTON, this is in the kernel for a long time 
now. 

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39290 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-14 23:11:10 +00:00
Hauke Mehrtens 7e841ddd7c packages: kernel: reverse kernel dependencies logic
This will select the correct dependencies also for more recent kernel versions.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39289 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-14 22:51:30 +00:00
John Crispin 3c2c7eca1e hostapd: fix mcast_rate setting
Introduced by ("netifd: add wireless configuration support and port mac80211 to
the new framework")

Reported-by: René van Weert <r.vanweert@sowifi.com>
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39288 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-14 19:35:55 +00:00
Zoltan HERPAI 365b71ec95 [modules] ipt-tproxy: nf_tproxy_core was moved out of 3.12, adding a check for kernel version
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39287 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-14 14:09:35 +00:00
Florian Fainelli 9b4d6818c3 brcm63xx: add support for the BCM96318REF_P300 board
Very similar to the BCM96318REF board except for the name and the
SDRAM/DDR configuration which is totally transparent for us.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39286 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-14 05:24:19 +00:00
Florian Fainelli 99fea7511f busybox: enable the devmem applet
The devmem applet allows poking at HW registers and as such is a
valuable tool to have to avoid recompiling kernels or resorting to
external HW adapters to modify HW behavior.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39285 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-14 05:24:09 +00:00
Florian Fainelli 2c33d1fc8f brcm63xx: enable 6318 support
BCM6318 support is usable enough to be enabled by default, turn it on.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39284 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-14 05:23:58 +00:00
Florian Fainelli 9c9989b205 brcm63xx: add basic support for the BCM96318REF board
Add basic support for the BCM96318REF board which is comprised of:
- HS-SPI flash support
- Ethernet switch support
- USB slave device support

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39283 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-14 05:23:49 +00:00
Florian Fainelli b3476a2a89 brcm63xx: improve BCM6318 support
Provide clock toggling for the USB host and slave controller as well as
for the Ethernet Switch. The bcm63xx_enetsw driver is changed not to use
request_mem_region() as the Roboswitch register overlaps with the
Roboswitch IUDMA channels, hence making the driver return -EBUSY. A
future fix might be to use variable size RSET_ENETSW sizes depending on
the chip we are targetting.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-14 05:23:39 +00:00
Florian Fainelli cbbb8fc7ce brcm63xx: package the USB gadget module (bcm63xx_udc)
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39281 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-14 05:23:20 +00:00
Florian Fainelli 1a7560eba0 brcm63xx: target supports USB gadget devices
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39280 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-01-14 05:23:08 +00:00