Commit Graph

28002 Commits

Author SHA1 Message Date
John Crispin
f424994cbc ar71xx: add kernel support for the OpenMesh OM5P board
Signed-off-by: Marek Lindner <marek@open-mesh.com>
[sven@open-mesh.com: Rebased]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 41769
2014-07-20 17:30:32 +00:00
John Crispin
4d22954db0 ramips: fix mac address partitions on ASL-26555
ASL-26555 16MB: caldata is present on uboot-env and devdata, but the proper one seems to be the devdata, since mac address corresponds to Amper, the real manufacturer, meanwhile the caldata on  uboot-env corresponds to D-Link.
ASL-26555 8MB: caldata is only present on uboot-env, but its mac address corresponds to Alpha, the real manufacturer.

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

SVN-Revision: 41768
2014-07-20 17:30:28 +00:00
John Crispin
7388053ba3 ar71xx: add RB91x boards to uci-defaults 02_network
The default case in 02_network is inappropriate for the MikroTik RouterBOARD 91x boards because they do not have a WAN port, so don't bother setting the non-existent eth1 interface as the WAN port.

Signed-off-by: Matthew Reeve <mreeve@tenxnetworks.com>

SVN-Revision: 41767
2014-07-20 17:30:24 +00:00
John Crispin
d19530c693 ar71xx: Add UBNT airGateway support
This patch adds support for the Ubiquiti Networks airGateway.

Based in part on code posted by David Hutchison <dhutchison@bluemesh.net> on openwrt-devel:
  https://lists.openwrt.org/pipermail/openwrt-devel/2013-December/023035.html

Signed-off-by: Matthew Reeve <mreeve@tenxnetworks.com>

SVN-Revision: 41766
2014-07-20 17:30:17 +00:00
Hauke Mehrtens
e23f27b72d orion: Update kernel to 3.10.44
Update the kernel of the orion target to version 3.10.44.
Refresh orion config and patches to match the changes in the kernel

Tested on WRT350N-v2 device.

Signed-off-by: Maarten Bezemer <maarten.bezemer@gmail.com>
[run make kernel_oldconfig, fold a01-dt2-fixes-for-3.3.patch into dt2-setup.c,
 make dt2-setup.c compile, fix harddisk subprofile]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41765
2014-07-20 09:42:14 +00:00
Felix Fietkau
08f9168615 x86: add back a line accidentally removed in r41763
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41764
2014-07-20 08:20:14 +00:00
Felix Fietkau
c718d0b10c x86: remove the arbitrary limitation of vmware/virtualbox images to ext4, select TARGET_IMAGES_PAD instead
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41763
2014-07-20 08:18:50 +00:00
Imre Kaloz
286780b44a fix typo
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41762
2014-07-19 20:14:49 +00:00
John Crispin
79fa8dfa1d usbmode: update to latest git and also update the device database
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41761
2014-07-19 16:57:09 +00:00
Jo-Philipp Wich
2dd087ccee firewall: implement support for abritary netmasks
Properly parse and pass arbritary netmasks to iptables, this allows
specifying ranges like '::c23f:eff:fe7a:a094/::ffff:ffff:ffff:ffff' to
match the host part of an IPv6 address regardless of the currently active
IPv6 prefix.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 41760
2014-07-19 16:30:47 +00:00
Imre Kaloz
7e2c4d5732 extract and fixup the board.bin on the archer
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41757
2014-07-19 13:20:14 +00:00
Imre Kaloz
988e29e5ad allow ath10k to initialize using the board.bin contents
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41756
2014-07-19 13:18:59 +00:00
Hauke Mehrtens
6f6b8feae6 pxa: add support for kernel 3.10
This is compile tested only, please run test and report back.

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

SVN-Revision: 41737
2014-07-18 20:45:49 +00:00
Hauke Mehrtens
5a331a91aa cobalt: add support for kernel 3.10
This is compile tested only, please run test and report back.

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

SVN-Revision: 41736
2014-07-18 19:03:16 +00:00
Felix Fietkau
5ce02632d1 procd: update to the latest version, fixes hotplug firmware loading issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41735
2014-07-18 14:42:18 +00:00
Felix Fietkau
354a835390 lzo: enable parallel build
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41734
2014-07-18 14:42:15 +00:00
Felix Fietkau
1d232f354a kernel: mtd: allow partial block erase
This fixes error erasing partial mtd partition which does not start on
eraseblock boundary and allows using fconfig to configure redboot on
devices such as the Gateworks Cambria.

Signed-off-by: Maciej Skrzypek <maciej.skrzypek@flytronic.pl>

SVN-Revision: 41733
2014-07-18 14:36:38 +00:00
Felix Fietkau
51fbfde474 netifd: update to the latest version, adds a small validation fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41731
2014-07-18 11:45:42 +00:00
Felix Fietkau
4ecb9289ef qos-scripts: convert to procd
Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41730
2014-07-18 11:25:07 +00:00
Hauke Mehrtens
48494962d1 lzo: Update to version 2.08
lzo: Update to 2.08, fixes CVE-2014-4607

Signed-off-by: Luis Dallos <ld@nkvd.ignorelist.com>

SVN-Revision: 41707
2014-07-17 22:06:04 +00:00
Hauke Mehrtens
7435b628c6 brcm47xx: fix switch detection with kernel 3.14
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41706
2014-07-17 20:34:18 +00:00
Steven Barth
c05d6ba1ff odhcpd: rewrite NDP proxy feature
SVN-Revision: 41703
2014-07-17 19:11:17 +00:00
Felix Fietkau
daae0b7c93 kernel/3.1{3, 4}: fix AMD USB HDC wakeup quirk disabling
Declare inline placeholder when usb_hcd_amd_remote_wakeup_quirk() not
compiled due CONFIG_PCI_DISABLE_COMMON_QUIRKS.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 41702
2014-07-17 16:44:04 +00:00
Felix Fietkau
5e0bd41bbe atheros: update macroses names
Use AR2315_ prefix for macroses specific to AR2315/AR2316/AR2317 chips,
use AR5312_ prefix for macroses specific to AR5312/AR2312/AR2313 chips,
and use AR231X_ prefix for common macroses.

This patch should not cause any functional changes, only make clear
which macros is common and which macros is specific.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 41701
2014-07-17 16:36:55 +00:00
Felix Fietkau
04f3012fba atheros[uart]: pass only physical I/O mem address to 8250 driver
Pass only physical address to 8250 serial port driver and set flag to
remap I/O memory inside the driver. Also fix AR5312 UART base address
definition, which seems specified already mapped.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 41700
2014-07-17 16:36:52 +00:00
Felix Fietkau
e744878636 atheros[uart]: use 32-bit aligned I/O
Use 32-bit aligned I/O and update base UART address (remove +3 offset).

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 41699
2014-07-17 16:36:49 +00:00
Felix Fietkau
572b532e6a atheros[ar231x-eth]: pass PHY I/O memory via device resources
Pass PHY I/O memory region via platform resources and remap them
unconditionally.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 41698
2014-07-17 16:36:46 +00:00
Felix Fietkau
9041410017 atheros[ar231x-eth]: pass phys address of I/O memory via platform res
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 41697
2014-07-17 16:36:43 +00:00
Felix Fietkau
a145d0410b atheros: simplify gpiolib realization
Each SoCs generation has own independent gpiolib realization, so we
have no reason to keep these realizations in semiuniversal form.
Following modifications are made:
 * Remove valid_mask field
 * Remove ar231x_gpio_chip structure
 * Rename AR2315_GPIO_CR to AR2315_GPIO_DIR
 * Fix count of AR5312 GPIOs
 * Simplify gpio_chip methods realization

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 41696
2014-07-17 16:36:39 +00:00
Felix Fietkau
82e4cde1ce atheros: use irq_set_chained_handler()
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 41695
2014-07-17 16:36:36 +00:00
Felix Fietkau
0a785ebb7d atheros: simplify AR2315 misc IRQ (un)masking
Currently AR5312 misc IRQ numbers are used for AR2315+ chips, what cause
us to use switch-case to map IRQ number to ISR bit. Introduce AR2315
specific misc IRQs set and simplify interrupt (un)mask operation.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 41694
2014-07-17 16:36:33 +00:00
Felix Fietkau
d29b61b5f0 atheros: rename some interrupt control handlers
Rename interrupt control handlers to be consistent with operation names
and add IRQ chips names.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 41693
2014-07-17 16:36:30 +00:00
Felix Fietkau
fceb7f7045 atheros: move AR2315 misc IRQ dispatching to separate function
Align code with AR5312 realization.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 41692
2014-07-17 16:36:26 +00:00
Felix Fietkau
5c030111a9 atheros: pass UART IRQ number via function argument
UART IRQ number could be different for different SoCs, so make them
configurable.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 41691
2014-07-17 16:36:23 +00:00
Felix Fietkau
e819113e2e atheros[ar231x-eth]: move driver to atheros subdirectory
Move driver code to respective vendor subdirectory and fix config
symbol name.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 41690
2014-07-17 16:36:19 +00:00
Felix Fietkau
6be418e3e1 atheros[ar231x-eth]: update MAC and PHY reset method
Pass reset_set and reset_clear callback functions pointers via
platform_data instead of reset register address.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 41689
2014-07-17 16:36:16 +00:00
Felix Fietkau
4f05d696ad atheros[ar2315-wdt]: update I/O handling
* Pass iomem and IRQ via platform device resources
 * Remap iomem and use iowrite32 accessor function

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 41688
2014-07-17 16:36:13 +00:00
Felix Fietkau
5ea0cff89c atheros[ar2315-wdt]: update interrupt handling
Acknowledge watchdog interrupt in arch irq dispatcher and remove odd
watchdog enable call from probe function.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 41687
2014-07-17 16:36:10 +00:00
Felix Fietkau
d0f9972f1c atheros: use correct address space and pointer type for register access
Make sparse happy :)

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 41686
2014-07-17 16:36:07 +00:00
Felix Fietkau
579481b4f5 atheros[ar2315-wdt]: rename config symbol
Rename config symbol to AR2315_WDT to avoid confusion with other Atheros
SoCs.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 41685
2014-07-17 16:36:03 +00:00
Felix Fietkau
5e76534b23 atheros[ar2315-wdt]: update initialization
* update driver id to be consistent with other ar231x drivers
 * remove odd module_{init,exit}
 * add module metadata (description, name, etc.)

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 41684
2014-07-17 16:35:59 +00:00
Felix Fietkau
51b11ba5ea netifd: update to the latest version, enables igmp snooping by default
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41683
2014-07-17 14:55:17 +00:00
Felix Fietkau
4ef8d2e014 qos-scripts: fix ingress packet marking with ifb
Split connection mark into two parts:

The lower nibble contains the confirmed conntrack mark which is not
generated by default/reclassify rules.
The upper nibble contains the current value specified by
default/reclassify rules.

For egress, the default/reclassify value is preferred
For ingress, the connection mark is preferred

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41682
2014-07-17 12:02:06 +00:00
John Crispin
f44d3f9980 ramips: soc wmac eeprom cleanup
Move eeprom extraction from scripts to dts files.
Additionally there are few other changes like:
- whitespace fixes
- add partition labels where needed
- BR6524N board doesn't exist (lost in translation?)
- fix Edimax 3g-6200nl model
- add wmac eeprom to dts for Asus RT-N14U board

Compile tested all subtargets and their profiles.
Run tested on:
- Asus RT-N15
- Asus RT-N14U
- Buffalo WHR-600D
- Argus ATP52B
- Sparklan WCR-150GN

Few problems noted:
- many boards didn't have wmac eeprom information defined at all
- several boards don't have any patitions defined (see FIXME comments in dts)

Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 41680
2014-07-17 10:55:31 +00:00
Hauke Mehrtens
d8e47a92b1 ep93xx: add support for kernel 3.10
This is compile tested only, please run test and report back.

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

SVN-Revision: 41679
2014-07-16 21:29:16 +00:00
Hauke Mehrtens
d84579def5 kernel: add CONFIG_I2C_AU1550 config option
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41678
2014-07-16 20:45:20 +00:00
Hauke Mehrtens
7a8f2a73ce mac80211: add new b43 config option to issue rebuild
With this patch mac80211 will be rebuild when one of these config
options was changed.

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

SVN-Revision: 41677
2014-07-16 20:30:30 +00:00
Hauke Mehrtens
f857ae864a mac80211: b43: fix PHY_G support.
I missed adding B43_PHY_G to .local-symbols, without this it will not
be added to autoconf.h

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

SVN-Revision: 41676
2014-07-16 20:28:08 +00:00
Felix Fietkau
1ecb74024b iwinfo: fix crash on parsing mtd (#15807)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41675
2014-07-16 18:57:23 +00:00
Felix Fietkau
0af20bbfc8 libubox: update to the latest version, fixes a jshn parsing error (#17128)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41674
2014-07-16 18:35:25 +00:00