Commit Graph

12511 Commits

Author SHA1 Message Date
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
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
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
John Crispin
4beb468f11 lantiq: fix board_id/boardname for VGV7519
Signed-off-by: Eddi De Pieri <eddi@depieri.net>

SVN-Revision: 41672
2014-07-16 11:36:02 +00:00
Felix Fietkau
6c7de7abca au1000: remove linux 3.6 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41670
2014-07-16 06:55:19 +00:00
Hauke Mehrtens
a36ca743d6 au1000: update to kernel 3.10.44
This was tested by Bruno Randolf on au1000 (MTX-1)

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

SVN-Revision: 41669
2014-07-15 22:03:10 +00:00
Hauke Mehrtens
1636bc6704 brcm47xx: remove kmod-bgmac from profile
bgmac will be compiled into the kernel since r41594.

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

SVN-Revision: 41667
2014-07-15 21:57:13 +00:00
Hauke Mehrtens
f5955c2e6b brcm47xx: fix LEDs on WRT54GL 1.1
Ticket: #17062
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 41666
2014-07-15 21:54:38 +00:00
Hauke Mehrtens
6f417d5b4b brcm47xx: fix special board handling for some devices
Some devices were renamed when converted from diag to in kernel board detection and it was not changed in netconfig. Devices not in the
kernel board detection are removed now.

This should close: #17111, #16968, #13202

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

SVN-Revision: 41663
2014-07-14 22:16:19 +00:00
Hauke Mehrtens
7dbea92a9c brcm47xx: improve board detection for some devices
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41662
2014-07-14 22:03:59 +00:00
Gabor Juhos
2adff1734f ar71xx: add profile and build image for the EnGenius EAP300 v2 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41661
2014-07-14 21:30:30 +00:00
Gabor Juhos
54206fb0ce ar71xx: add user-space support for the EnGenius EAP300 v2 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41659
2014-07-14 21:30:28 +00:00
Gabor Juhos
aff3127956 ar71xx: add kernel support for the EnGenius EAP300 v2 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41658
2014-07-14 21:30:26 +00:00
John Crispin
85cacfd753 lantiq: vgv7519 add missing wps label to dts
Signed-off-by: Eddi De Pieri <eddi@depieri.net>

SVN-Revision: 41655
2014-07-14 18:43:02 +00:00
John Crispin
74db9511dc ramips: basic support for Planex MZK-750DHP
some gpios are still missing.

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

SVN-Revision: 41654
2014-07-14 17:10:39 +00:00
John Crispin
e33584f6b8 ramips: squelch mdio debugging info on rt2880 ethernet
Use pr_debug rather than pr_info since it is only relevant
for debugging.

Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 41653
2014-07-14 17:05:40 +00:00
Gabor Juhos
495aef39f4 ar71xx: add profile and build image for the Tube2H board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41652
2014-07-14 16:03:37 +00:00
Gabor Juhos
f27f2fec4f ar71xx: add user-space support for the Tube2H board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41650
2014-07-14 16:03:35 +00:00
Gabor Juhos
51c892053a ar71xx: add kernel support for the Tube2H board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41649
2014-07-14 16:03:34 +00:00
Imre Kaloz
d7ae7bae57 mark the default WRT1900AC image "factory"
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41648
2014-07-14 15:02:38 +00:00
Imre Kaloz
6f5a9debed handle sysupgrade tar files on the WRT1900AC
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41647
2014-07-14 15:00:36 +00:00
Gabor Juhos
907bd5345e ar71xx: fix ALFA NETWORK's name
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41643
2014-07-14 11:10:00 +00:00
Gabor Juhos
fec2596282 ar71xx: add profile and build image for the EnGenius ESR900
Signed-off-by: Forest Crossman <cyrozap@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/5715/
[juhosg: change subject]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41642
2014-07-14 10:25:53 +00:00
Gabor Juhos
50c554a475 ar71xx: add user-space support for the EnGenius ESR900
Signed-off-by: Forest Crossman <cyrozap@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/5716/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41641
2014-07-14 10:25:51 +00:00
Gabor Juhos
0bec90b830 ar71xx: add kernel support for the EnGenius ESR900
Signed-off-by: Forest Crossman <cyrozap@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/5714/
[juhosg:
  - drop nvram.c modifications,
  - create a separate kernel patch,
  - use ath79_setup_qca955x_eth_cfg helper,
  - merge esr900_{010,common}_setup functions,
  - statically init AR8327 pad configurations,
  - use pr_err instead of printk]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41640
2014-07-14 10:25:51 +00:00
John Crispin
c8bde9da4a lantiq: detect board in preinit state
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41638
2014-07-14 07:38:52 +00:00
John Crispin
e503eeb465 ar71xx: add support for nanostation m xw
SVN-Revision: 41636
2014-07-14 07:38:43 +00:00
John Crispin
de5fd0a189 ar8216: add new phyid 0x004dd043 (ar8326)
Used in ubiquity nanostation xw boards

SVN-Revision: 41635
2014-07-14 07:38:39 +00:00
John Crispin
76ba6846a2 ramips: fix port mapping and extract wmac eeprom on ZBT-WA05 board
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 41634
2014-07-14 07:38:32 +00:00
John Crispin
8c577d9fde ramips: extract mac address from flash on WHR-600D board
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 41633
2014-07-14 07:38:28 +00:00
John Crispin
4af1b51ec3 ramips: extract default lan_mac from eth0
The default case of ramips_setup_macs() is useful when mtd-mac-address is defined in dts.
But lan_mac is not set by default, this results in lan and wan having the same mac.

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

SVN-Revision: 41632
2014-07-14 07:38:23 +00:00
Imre Kaloz
1d11ffa4f2 use the full boardname for the wrt1900ac image
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41631
2014-07-13 22:15:03 +00:00
Imre Kaloz
81d85a717a add sysupgrade support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41630
2014-07-13 22:12:56 +00:00
Imre Kaloz
88121f229c update wrt1900ac dts
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41629
2014-07-13 22:11:43 +00:00
Gabor Juhos
26b39cc580 ar71xx: use ath79_setup_qca955x_eth_cfg helper for QCA955x based boards
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41627
2014-07-13 19:44:00 +00:00
Gabor Juhos
c4c25e741e ar71xx: add profile and build image for EnGenius ESR1750
Signed-off-by: Jon Suphammer <jon@suphammer.net>
Patchwork: http://patchwork.openwrt.org/patch/5840/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41626
2014-07-13 19:43:59 +00:00
Gabor Juhos
2d6542242a ar71xx: add user-space support for EnGenius ESR1750
Signed-off-by: Jon Suphammer <jon@suphammer.net>
Patchwork: http://patchwork.openwrt.org/patch/5840/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41625
2014-07-13 19:43:58 +00:00
Gabor Juhos
16d45d5531 ar71xx: add kernel support for EnGenius ESR1750
Signed-off-by: Jon Suphammer <jon@suphammer.net>
Patchwork: http://patchwork.openwrt.org/patch/5840/
[juhosg:
  - fix coding style in mach-esr1750.c,
  - rename and refresh kernel patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41624
2014-07-13 19:43:57 +00:00
Gabor Juhos
ee3dfafaf1 ar71xx: add a helper function for setting up ETH_CFG register on QCA955x
Signed-off-by: Jon Suphammer <jon@suphammer.net>
Patchwork: http://patchwork.openwrt.org/patch/5839/
[juhosg: fix coding style]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41623
2014-07-13 19:43:56 +00:00
Gabor Juhos
a46c7d055c ar71xx: allow ath79_nvram_parse_mac_addr parsing mac with quotes
Signed-off-by: Jon Suphammer <jon@suphammer.net>
Patchwork: http://patchwork.openwrt.org/patch/5838/
[juhosg:
  - fix coding style,
  - check the first and the last character of the MAC string
    instead of using the strchr() function]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41622
2014-07-13 19:43:54 +00:00
Gabor Juhos
a749d8163f ar71xx: add profile and build image for GL.iNet v1
Patch is based on http://patchwork.openwrt.org/patch/5273/.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr>
Signed-off-by: Mark Janssen <mark@sig-io.nl>
Signed-off-by: alzhao <alzhao@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/5653/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41621
2014-07-13 18:21:09 +00:00
Gabor Juhos
6991725a1e ar71xx: add user-space support for GL.iNet v1
Patch is based on http://patchwork.openwrt.org/patch/5273/.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr>
Signed-off-by: Mark Janssen <mark@sig-io.nl>
Signed-off-by: alzhao <alzhao@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/5652/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41619
2014-07-13 18:21:06 +00:00
Gabor Juhos
9801351c84 ar71xx: add kernel support for GL-Inet V1 boards/routers
The GL-Connect GL.iNet v1 router is basically a TP-Link TL-WR703N with
more DRAM/Flash, 2x Ethernet ports and console/GPIO header in the same
small form-factor:
<http://www.gl-inet.com/w/?lang=en>

Moreover, the manufacturer is promoting the OpenWrt usage to replace
the original firmware and proposing patches against both AA and trunk:
<http://www.gl-inet.com/w/?p=398&lang=en>

This is a clean up of the original manufacturer GPLv2 patch by alzhao,
proposed to the list by Mark Janssen.

Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr>
Signed-off-by: Mark Janssen <mark@sig-io.nl>
Signed-off-by: alzhao <alzhao@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/5273/
[juhosg:
  - remove user-space and image generation support, will be included
    from other patches,
  - fix coding style and drop superfluous comment in mach-gl-inet.c,
  - rename and refresh kernel patch,
  - adjust subject]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41618
2014-07-13 18:21:04 +00:00
Gabor Juhos
0ffe21c792 ar71xx: Support for Mikrotik RB2011UiAS
The RB2011UiAS is almost exactly the same as the RB2011UAS, which is
already supported. Hardware-wise, it adds a passive power injector on
Eth10. Software-wise, Routerboot passes a different board name on the
kernel command line. Hence the need for a patch.

Not yet working:

* touchscreen: doesn't work on RB2011UAS either. The touchscreen itself
  seems to be driven by an ADS7843-compatible IC, but figuring out which
  GPIO pins it's connected to is work for the future.
* control of power injector: remains off. Probably also GPIO-controlled.

Signed-off-by: Soren Harward <stharward@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/5841/
[juhosg: rename and refresh the kernel patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41617
2014-07-13 16:25:58 +00:00
Gabor Juhos
f089f0db34 ar71xx: select correct Kconfig symbol in the Mikrotik SXT Lite patch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41616
2014-07-13 16:25:57 +00:00
Gabor Juhos
68871def8d ar71xx: refresh patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41615
2014-07-13 16:25:56 +00:00
Gabor Juhos
d0ad8c00b6 kernel: sort Kconfig options in kernel configs
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41614
2014-07-13 16:25:54 +00:00
John Crispin
9e26031a88 ar71xx: add support for TP-LINK TL-WA860RE v1
New router/repeater from TP-LINK

- CPU: Atheros AR9341-DL3A (AP123)
- Flash: 4MB
- Ram: 32MB

Similar to TL-WA850RE.

Changes: rename file after r41596

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

SVN-Revision: 41598
2014-07-13 10:03:41 +00:00
John Crispin
42a37b2a89 ar71xx: added support for TL-WA830RE V2
Corrected patch ath79 insted of auth79. Sorry.

Signed-off-by: Fredrik Jonson <fredrik@famjonson.se>

SVN-Revision: 41596
2014-07-13 07:12:22 +00:00
Hauke Mehrtens
ba54356d49 brcm47xx: deactivate ssb and old phy code for new devices
This deactivates ssb and G-PHY code in b43 for the mips74k profile in
brcm47xx.

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

SVN-Revision: 41594
2014-07-12 15:39:31 +00:00
Jonas Gorski
2b6403722b brcm63xx: update irq affinity code to latest version
Reduces code size a bit and sets affinity to boot cpu by default.

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

SVN-Revision: 41591
2014-07-12 12:31:47 +00:00
Jonas Gorski
ba9d2f397a brcm63xx: base-files: order board names alphabetically
Restore alphatetical order in uci-defaults scripts and brcm63xx.sh

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

SVN-Revision: 41590
2014-07-12 12:31:45 +00:00
Jonas Gorski
44e187fd66 brcm63xx: Use leds script for Huawei HG556a and improve profile
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 41589
2014-07-12 12:31:43 +00:00
Jonas Gorski
e5cadabb58 brcm63xx: Fix HW553 support
- adsl and lan leds are swapped.
- internetkey is labeled as hspa.
- enable status led and reset button for failsafe.
- use new leds script.
- fix switch configuration.
- remove enet0 from board_info.
- add profile.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 41588
2014-07-12 12:31:39 +00:00
Jonas Gorski
beb25f96eb brcm63xx: Use model name for Comtrend AR-5381u
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 41587
2014-07-12 12:31:35 +00:00
Jonas Gorski
c9b2e96909 brcm63xx: Use model name for Comtrend AR-5387un
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 41586
2014-07-12 12:31:33 +00:00
Jonas Gorski
aee666d8f9 brcm63xx: Use model name for ADB P.DG A4001N1
This patch also makes use of the new leds script.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 41585
2014-07-12 12:31:30 +00:00
John Crispin
ba3988fb16 ramips: add support for WR8305RT board
Signed-off-by: Jorge Vargas <jorge.vargas@sosvia.com>
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41584
2014-07-12 06:54:03 +00:00
John Crispin
91e2f1e9a6 brcm2708: Use uci-defaults for network config
By using uci-defaults force_link is enabled, which fixes some link issues if ethernet cable isn't connected when LAN is initialized.

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

SVN-Revision: 41583
2014-07-12 06:50:21 +00:00
Luka Perkov
a145a22f66 kernel: update 3.14 to 3.14.12
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 41582
2014-07-11 13:28:44 +00:00
Luka Perkov
2bc22025dd kernel: remove 3.12 support since none of the targets is using it
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 41581
2014-07-10 22:37:28 +00:00
John Crispin
68e8614009 imagebuilder: x86 fails to build inside the imagebuilder
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41580
2014-07-10 22:02:31 +00:00
John Crispin
03faf4618e ramips: add support for Zbtlink WA05 router
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 41579
2014-07-10 22:02:28 +00:00
John Crispin
f88fde9689 imx6: put kernel and dtb into rootfs by default
this will make the rc1 images boot with the default config.

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

SVN-Revision: 41578
2014-07-10 22:02:24 +00:00
Felix Fietkau
a17a58e310 ar8216: disable EEE by default on AR8327 to fix stability issues (#14597)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41577
2014-07-10 21:11:02 +00:00
Felix Fietkau
f083ca9743 octeon: fix edgerouter pro ethernet device probe order
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41575
2014-07-10 20:44:03 +00:00
John Crispin
6134a3de30 target/linux/*: more dead package cleanups
found 2 more

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

SVN-Revision: 41574
2014-07-10 20:15:50 +00:00
Felix Fietkau
1b6dece9ea octeon: add basic board detection for UBNT EdgeRouter PRO
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41572
2014-07-10 20:14:54 +00:00
John Crispin
32e93efc73 target/linux/*: more dead package cleanups
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41571
2014-07-10 20:05:43 +00:00
Felix Fietkau
7b0ec8a5db octeon: backport a few upstream fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41568
2014-07-10 19:28:37 +00:00
John Crispin
332b4d556f lantiq: generate /tmp/sysinfo/lantiq_board_name if missing
Run lantiq_board_detect from lantiq_board_name and lantiq_board_model.

This was the one thing missing from r41474 for sysupgrade board
detection to work properly.

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>

SVN-Revision: 41567
2014-07-10 19:16:43 +00:00
John Crispin
03fef9a2d2 lantiq: enable SysupgradeNAND for BTHOMEHUBV2B
Enables SysupgradeNAND for BTHOMEHUBV2B.

Depends on the following patches:
http://patchwork.openwrt.org/patch/5817/
http://patchwork.openwrt.org/patch/5848/
http://patchwork.openwrt.org/patch/5851/

Many thanks everyone for your help the last couple of days.

Ben

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>

SVN-Revision: 41566
2014-07-10 19:16:39 +00:00
John Crispin
4e35eef1d7 lantiq xway: disable gluebi and enable ubiblock
Disables gluebi and enables ubiblock on lantiq xway. Squashfs
images on nand use ubifs instead of jffs2 for the overlay.

I'll leave the equivalent patch for xrx200 to someone who has a
board to test.

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>

SVN-Revision: 41565
2014-07-10 19:16:35 +00:00
John Crispin
f8f6678574 ar71xx: nbg6716: extract ath10k wifi board.bin
With help of this script the ath10k board.bin settings are loaded from
flash and saved to the ath10k firmware directory. The driver reads it
later in the boot process.

Signed-off-by: André Valentin <avalentin@marcant.net>

SVN-Revision: 41562
2014-07-10 19:16:23 +00:00
John Crispin
94802dca60 ralink: wpa does not exist, use wpad-mini instead
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41561
2014-07-10 19:16:19 +00:00
John Crispin
0f76f8a16e target/linux/*: kmod-fs-ext{2,3} RIP
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41560
2014-07-10 19:16:15 +00:00
Imre Kaloz
811d1682b8 enable handling of the wan led on the WRT1900AC
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41555
2014-07-10 10:19:06 +00:00
Felix Fietkau
f98306bef4 kernel: revert an upstream linux-stable commit that is causing usb regressions on some brcm47xx and ar71xx devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41554
2014-07-09 10:11:23 +00:00
Luka Perkov
f9c04c8722 kernel: 3.13: refresh patches
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 41553
2014-07-08 23:27:45 +00:00
Luka Perkov
82abc5c1d9 kernel: ledtrig-netdev: use netdev_notifier_info
Since kernel 3.11, the third parameter passed to notifier_call()
is of type struct netdev_notifier_info. This patch fixes an oops
when setting a netdev LED trigger.

Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 41552
2014-07-08 23:27:44 +00:00
Luka Perkov
90b53991a0 kernel: update 3.14 to 3.14.11
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 41551
2014-07-08 22:44:34 +00:00
Jonas Gorski
8630d101b7 brcm63xx: fixup patches borked by allowing too much fuzz
Move defines and board_info structs back to their proper locations so
(de-)selecting SOC support won't break the build.

Reported-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 41550
2014-07-08 12:27:55 +00:00
Hauke Mehrtens
0a5145e851 brcm47xx: make reboot a more reliable
A reboot is issued by setting the watchdog timer to a low value, when
the value is decreased from 1 to 0 by the hardware the system will
reboot. Setting this value to 1 does not work every time, it is a
little bit more reliable when setting it to 3. This timer runs with
some MHz or KHz so nobody will notice the increased waiting.

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

SVN-Revision: 41548
2014-07-07 20:12:40 +00:00
Hauke Mehrtens
f42c36ea60 brcm47xx: add buttons support for Netgear WNR3500L
Ticket: #14406

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 41547
2014-07-07 19:14:22 +00:00
Hauke Mehrtens
4632347879 brcm47xx: remove unneeded images from generic target
broadcom-wl now builds in the mips74k profile, so remove these chips
from the generic profile.

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

SVN-Revision: 41546
2014-07-07 17:47:24 +00:00
Felix Fietkau
8a792ca2bb rb532: remove broken mark
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 41544
2014-07-07 08:52:06 +00:00
Felix Fietkau
075249997f rb532: add wan interface
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 41543
2014-07-07 08:52:02 +00:00
Felix Fietkau
9a4ba281f6 rb532: fix jffs2 images
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 41542
2014-07-07 08:51:59 +00:00
Felix Fietkau
d4158338c9 rb532: really fix squashfs images
The previous attempt (r40717) to fix squashfx made the system bootable but
overlayfs remained broken.
This enables block2mtd again using the right partition number and naming
and adds MTD_ROOTFS_SPLIT option.
However onboard rootfs partition name had to be renamed to place overlay on
CF instead of onboard NAND.

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

SVN-Revision: 41541
2014-07-07 08:51:55 +00:00
Hauke Mehrtens
e63318d6d5 kernel: do not build kernel modules by default
No config option should be set to m in the default config, because
there is also some script needed which picks the module up into the
image and that is missing this way. Always create a kmod when building
a module.

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

SVN-Revision: 41539
2014-07-06 22:34:24 +00:00
Hauke Mehrtens
2518f83f6e mpc83xx: 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: 41538
2014-07-06 22:23:53 +00:00
Hauke Mehrtens
deee38e709 mpc52xx: 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: 41537
2014-07-06 22:05:09 +00:00
Hauke Mehrtens
157cf7e582 au1000: 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: 41534
2014-07-06 18:20:59 +00:00
Luka Perkov
354a1042cc kernel: update 3.14 to 3.14.10
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 41533
2014-07-06 18:10:49 +00:00
Jonas Gorski
ce0f954947 ar7: enable the low-memory feature flag
Most ar7 devices have only 16 MiB RAM, so select low_mem to give them
a chance to work.

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

SVN-Revision: 41532
2014-07-06 18:09:30 +00:00
Hauke Mehrtens
3f78cadedd gemini: 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: 41531
2014-07-06 17:51:14 +00:00
Hauke Mehrtens
3597b7d456 brcm47xx: image: legacy: take over old devices images
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 41530
2014-07-06 17:21:37 +00:00
Hauke Mehrtens
0eb3c26e7d brcm47xx: image: mips74k: take over some device images
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41529
2014-07-06 17:14:29 +00:00
Hauke Mehrtens
c3b3df1da8 brcm47xx: image: prepare for using mips74k subtarget
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 41528
2014-07-06 17:14:06 +00:00
Hauke Mehrtens
df8741f92b brcm47xx: fix bcm4705 rebooting when initializing the switch.
When the Ethernet controller is powered down and someone wants to
access the mdio bus like the witch driver (b53) the system crashed if
PCI_D3hot was set before. This patch deactivates this power sawing mode
when a switch driver is in use.

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

SVN-Revision: 41527
2014-07-06 13:45:43 +00:00
Hauke Mehrtens
ed0dc1c97e b53: hardcode reset GPIO for Linksys WRT300N 1.1
According to the thread https://forum.openwrt.org/viewtopic.php?id=48281
b53 uses GPIO 7:
[    4.470000] b53_common: [DBG] b53_switch_reset_gpio using 7
and causes device to self-reboot. GPIO 8 was found in CFE boot log:
"Reset switch via GPIO 8 ..."

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 41526
2014-07-06 11:40:51 +00:00
Hauke Mehrtens
ce3fb94567 cns21xx: make patch apply again
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41522
2014-07-05 23:36:05 +00:00
Hauke Mehrtens
7f2f585c13 kernel: add missing config options
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41521
2014-07-05 23:35:36 +00:00
Hauke Mehrtens
356663cdc8 brcm47xx: add LEDs for Netgear WNR3500L
https://dev.openwrt.org/ticket/14406

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41520
2014-07-05 23:25:26 +00:00
Hauke Mehrtens
8e4efd42d9 brcm47xx: make it possible to unregister the adm switch
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41517
2014-07-05 21:35:15 +00:00
Hauke Mehrtens
03e2310a38 brcm47xx: fix LEDs on WRTSL54GS
https://dev.openwrt.org/ticket/16991

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41516
2014-07-05 19:40:15 +00:00
Hauke Mehrtens
77dee19ab4 brcm47xx: increase fallback mac addresses by one
Now the mac address is increased by two for the first fallback mac
address. It could be that the address increased should be used for the
wan port.

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

SVN-Revision: 41515
2014-07-05 19:36:49 +00:00
Hauke Mehrtens
3fff38f93a brcm47xx: do not use mac addresses with 00:90:4C prefix, prevent mac address collisions.
The address prefix 00:90:4C is used by Broadcom in their initial
configuration. When a mac address with the prefix 00:90:4C is used
all devices from the same series are sharing the same mac address.
To prevent mac address collisions we replace them with a mac address
based on the base address.

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

SVN-Revision: 41513
2014-07-05 15:04:50 +00:00
Hauke Mehrtens
163fe41c75 brcm47xx: get switch name from swconfig first
Without this patch the switch config for the adm switch did not worked,
because hey are not names eth0.

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

SVN-Revision: 41512
2014-07-05 12:15:03 +00:00
Hauke Mehrtens
286ff7e322 adm6996: the GPIO interface for the adm6996l does not support switch statistics.
This patch deactivates the statistics, adds a missing lock
initialization and fixes a waring.

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

SVN-Revision: 41511
2014-07-05 12:13:56 +00:00
John Crispin
2abbe82a5a ar71xx/rb532: move rc32434-fix-broken-pci.patch to the correct target
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41507
2014-07-04 08:28:40 +00:00
Jonas Gorski
ffae660fbd brcm63xx: disable AUDIT
Reduces kernel size by about 24k (6k compressed).

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

SVN-Revision: 41506
2014-07-04 08:23:19 +00:00
John Crispin
49845f855a ar71xx: MIPS: RC32434: fix broken PCI resource initialization
https://patchwork.linux-mips.org/patch/6940/

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

SVN-Revision: 41505
2014-07-04 06:33:00 +00:00
Hauke Mehrtens
3f64bb8f8f brcm47xx: add LEDs for Asus RT-N15U and update RT-N66U
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 41501
2014-07-03 21:41:33 +00:00
Hauke Mehrtens
9467896172 brcm47xx: migrate basic network settings from old releases
Old OpenWrt releases were using network configs that are not valid
anymore. They were specifying ports tagging in a different way (or were
not tagging CPU at all) and were using VID 0 which is a reserved value.

Modifying network configuration to apply all needed changes would be
pretty tricky. Script /etc/init.d/netconfig that generates new config is
quite complex itself.
So instead let's save the most important settings, regenerate config
from the scratch and restore values. This should work for 99% of users.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 41500
2014-07-03 21:40:59 +00:00
Hauke Mehrtens
30a900cab8 kernel: add missing config option
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41499
2014-07-03 20:22:33 +00:00
Florian Fainelli
f68f14cc30 realview: set LAN interface to be in DHCP
Realview is mostly used as a QEMU development platform, which will provide a
built-in DHCP server to NAT or bridge the connection outside of the emulated
environment.

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

SVN-Revision: 41495
2014-07-03 17:19:10 +00:00
Florian Fainelli
8f4167ccbf realview: disable SWP emulation
This is not needed since our toolchain produces the expected binaries for the
target CPU.

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

SVN-Revision: 41494
2014-07-03 17:18:58 +00:00
Hauke Mehrtens
5996160a66 brcm47xx: add CONFIG_LEDS_GPIO_REGISTER
CONFIG_LEDS_GPIO_REGISTER is selected by the bcm47xx arch code.

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

SVN-Revision: 41488
2014-07-02 22:07:46 +00:00
Hauke Mehrtens
f95fc5b2d5 brcm47xx: refresh patches
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41487
2014-07-02 22:03:03 +00:00
Hauke Mehrtens
ba1b49dbab brcm47xx: backport BCM47XX Linksys WRT54G series patches
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41486
2014-07-02 21:54:59 +00:00
John Crispin
b4e46a807c kernel: disable CONFIG_IRQ_ALL_CPUS by default
this fixes the mpc85xx build error

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

SVN-Revision: 41477
2014-07-02 18:52:36 +00:00
John Crispin
bbfb3baaed ramips: add missing rt3352 usb phy node to dts
Signed-off-by: michael <igvtee@gmail.com>

SVN-Revision: 41476
2014-07-02 16:37:30 +00:00
John Crispin
62287e589d ramips: fix target rt5350 only have 28 gpios
Signed-off-by: michael <igvtee@gmail.com>

SVN-Revision: 41475
2014-07-02 16:37:26 +00:00
John Crispin
1179d4f924 lantiq: UbinizeImage instead of lantiq-specific ubinize.cfg files
New make target in lantiq to use UbinizeImage and SysupgradeNand.
Only enabled for BTHOMEHUBV2B for the moment but should be useable
for other lantiq nand boards.

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>

SVN-Revision: 41474
2014-07-02 16:37:23 +00:00
John Crispin
e2915c6981 lantiq: add support for /tmp/sysinfo
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41472
2014-07-02 16:33:11 +00:00
John Crispin
80e3282739 ralink: make xhci platform depend on mt7621
this broke CONFIG_ALL builds for mt7620

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

SVN-Revision: 41471
2014-07-02 14:32:43 +00:00
John Crispin
cad9e554b1 ar71xx: add missing config symbol
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41455
2014-07-02 08:00:44 +00:00
John Crispin
313db9d0ee lantiq: fix missing symbols
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41454
2014-07-02 07:43:32 +00:00
John Crispin
3d81a4ef82 ralink: add Wansview NCS601W IP Camera
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41453
2014-07-02 07:42:44 +00:00
John Crispin
c749b310ed ralink: register wifi firmware for WRTnode
After r41444 wifi working on WRTnode. Tested.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41452
2014-07-01 18:17:55 +00:00
John Crispin
3519322e62 ar71xx: Add support for MikroTik RouterBOARD SXT Lite
This patch adds support for the MikroTik RouterBOARD SXT Lite.

The new RB911L series is also supported as a result.

v2 of this patch fixes the wmac offset to match what is on the sticker.
v3 refreshes the patch against r41148 and defines the power led as the status led in diag.sh
v4 refreshes the patch against r41353 and fixes the patch path issue to make git am work correctly
v5 selects the kernel config option in the mikrotik profile rather than in the main ar71xx config

Signed-off-by: Matthew Reeve <mreeve@tenxnetworks.com>
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41450
2014-07-01 13:38:30 +00:00
John Crispin
5f31f01853 lantiq: Enable LANTIQ_PHY and LANTIQ_XRX200 only in XRX200 subtarget
Enable LANTIQ_PHY and LANTIQ_XRX200 only in XRX200 subtarget.

These drivers are not needed for ASE, Danube and AR9.
As side effect PHY11G and PHY22F firmwares are not included in the
kernel image, which saves 64 KB.

Signed off by: José Vázquez Fernández <ppvazquezfer@gmail.com>
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41449
2014-07-01 13:18:38 +00:00
John Crispin
9c84f72f85 ramips: set default vid of each vlan, so it won't need be set explicitly.
Signed-off-by: Xiongfei Guo <xfguo@credosemi.com>

SVN-Revision: 41448
2014-07-01 13:18:27 +00:00
John Crispin
4ddc0f9ff3 ramips: add WHR-1166 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41447
2014-07-01 10:26:42 +00:00
John Crispin
3c88de0d47 ramips: sync the WHR-600D flash layout with that of the vendor FW
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41446
2014-07-01 10:26:38 +00:00
John Crispin
2e8c6e4128 ramips: add wmac to mt7620a device tree
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41445
2014-07-01 10:26:33 +00:00
John Crispin
5f6e7e1f44 ramips: add wmac to mt7620n device tree
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 41444
2014-07-01 10:26:30 +00:00
John Crispin
bbd8f9c96a ramips: enable wmac clock for mt7620
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 41443
2014-07-01 10:26:25 +00:00
Imre Kaloz
b7b222279c set led triggers for the Linksys WRT1900AC
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41436
2014-07-01 09:45:41 +00:00
Imre Kaloz
6fa01eab80 adjust default profile, and add an evalboard one
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41435
2014-07-01 09:43:38 +00:00
Imre Kaloz
9ff59c7656 drop unneeded file
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41433
2014-07-01 09:35:22 +00:00
Jonas Gorski
2289e58252 brcm63xx: fix Livebox 1 support
The Livebox 1 support is currently broken. Fixed with this patch

Fixes:
- Redboot partitioning broken: fixed
- Replaced custom ephy reset with platform code
- USB code breaks the building process: fixed
- Led colors
- Removed unneded EHCI code since bcm6348 only has OHCI

Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com>
[jogo: drop unneded parts since merge, fixup to apply to current head]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 41424
2014-06-30 13:34:43 +00:00
Jonas Gorski
dc230d9b0f brcm63xx: 3.10: backport multi-board support
There have been no reported regressions, so backport it to 3.10.

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

SVN-Revision: 41422
2014-06-30 13:34:37 +00:00
Jonas Gorski
44ef9f7789 brcm63xx: Add support for Comtrend WAP-5813n
This adds support for Comtrend WAP-5813n.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: refresh patches]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 41421
2014-06-30 13:34:34 +00:00
Jonas Gorski
439fe41813 brcm63xx: CPVA502+ board fixes
Some fixes for Telsey CPVA502+ bcm6348 routers:
- reset the external PHY (eth1) with proper platform code, not using a led definiton
- eth1 is an external phy, not a switch, deleted forced link speed
- fixed led color

Patch made for 3.14 kernel patches.

Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com>
[jogo: also fix 3.14, refresh patches]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 41420
2014-06-30 13:34:28 +00:00
Luka Perkov
26b06940a9 mvebu: drop 3.10 support
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 41406
2014-06-29 23:29:57 +00:00
Imre Kaloz
1cebada22b fix the WPS button's GPIO number on the mamba
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41392
2014-06-29 21:26:01 +00:00
Jonas Gorski
f9aeee6a6a kernel: add missing config symbols
Spotted by several buildbots.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Patchwork: http://patchwork.openwrt.org/patch/5768/
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 41391
2014-06-29 18:36:39 +00:00
Imre Kaloz
6e59193e88 upgrade to Linux 3.14.9
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41388
2014-06-29 13:11:57 +00:00
Imre Kaloz
3e4932758e build firmware images for the Mamba (Linksys WRT1900AC)
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41387
2014-06-29 13:10:35 +00:00
Imre Kaloz
0bc385d064 set nand and squashfs features
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41386
2014-06-29 13:09:15 +00:00
Imre Kaloz
b2e9df4de3 add uboot-envtools by default
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41385
2014-06-29 13:06:48 +00:00
Imre Kaloz
974f13988c handle the dual-firmware layout on the WRT1900AC
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41384
2014-06-29 13:03:55 +00:00
Imre Kaloz
d59f68531b use the power led on the WRT1900AC for status reporting
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41383
2014-06-29 12:53:09 +00:00
Imre Kaloz
2c06f05236 fixup mac addresses on the WRT1900AC
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41382
2014-06-29 12:51:39 +00:00
Imre Kaloz
f953ed4ffb automatically generate network config
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41381
2014-06-29 12:50:12 +00:00
Imre Kaloz
38f596d8f4 update mamba dts
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41379
2014-06-29 11:44:58 +00:00
Felix Fietkau
8fe75736d8 kernel: add missing config symbol
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41378
2014-06-29 11:35:07 +00:00
Felix Fietkau
e736343df9 xburst: remove bogus led support override
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41373
2014-06-29 10:25:30 +00:00
John Crispin
639682dfdb x86/kvm_guest: fix out of sync config-3.10
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41372
2014-06-29 10:11:17 +00:00
Felix Fietkau
a75354ef53 kernel: implement optinal multicast->unicast conversion for igmp snooping
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41367
2014-06-28 22:27:54 +00:00
Felix Fietkau
33ad14a920 kernel: enable bridge igmp snooping
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41366
2014-06-28 22:27:49 +00:00
Felix Fietkau
79c8b619e4 ar71xx: refresh patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41365
2014-06-28 22:27:46 +00:00
Felix Fietkau
555e876d73 xburst: remove bogus config override
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41364
2014-06-28 19:48:03 +00:00
Florian Fainelli
54c4771077 ar7: backport an upstream fixing serial console
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 41363
2014-06-27 22:17:00 +00:00
Luka Perkov
abc694b463 kernel: update 3.14 to 3.14.9
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 41362
2014-06-27 21:10:02 +00:00
Imre Kaloz
4fe76889c0 update config for 3.14
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41361
2014-06-27 20:38:42 +00:00
Imre Kaloz
75083c6e68 build squashfs on ubi and SysupgradeNAND images
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41360
2014-06-27 13:00:25 +00:00
John Crispin
22c4f2475b ralink: refresh kernel patches
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41353
2014-06-26 13:47:50 +00:00
John Crispin
fbf8b288e1 kernel: refresh generic patches
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41352
2014-06-26 13:47:46 +00:00
John Crispin
994e5ce2f9 kernel: update 3.10.36->3.10.44
205-fix-headers_install.patch is obseleted by upstream commit 3246a0352e3d58380b9386570f1db1faf7edf8a8

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

SVN-Revision: 41351
2014-06-26 13:47:42 +00:00
John Crispin
23a9bfc655 ar71xx: r41348 is missing these files
sorry, the downside when applying patches with patch

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

SVN-Revision: 41350
2014-06-26 13:47:35 +00:00
John Crispin
e6e6a85dc9 ar71xx: add support for EasyLink M150 and M-mini
v3 refreshes the patch on trunk@41337

This patch adds support for the EasyLink EL-M150 and M-mini

http://wiki.openwrt.org/toh/easylink/el-m150
http://wiki.openwrt.org/toh/easylink/el-m-mini

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>

SVN-Revision: 41348
2014-06-26 11:49:47 +00:00
John Crispin
baa534a8b7 ar71xx: nbg6716: Enable procd nand sysupgrage
This enables the procd nand upgrade for ZyXEL NBG 6716. Also the ubi config
is cleaned up to match the wndr4300.

Signed-off-by: André Valentin <avalentin@marcant.net>

SVN-Revision: 41346
2014-06-26 11:43:38 +00:00
John Crispin
975728813a ralink: fix up WRTNode vs WRTNODE in the dts file
https://dev.openwrt.org/ticket/16899

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

SVN-Revision: 41343
2014-06-26 11:43:26 +00:00
Luka Perkov
cb3d5242ca mvebu: drop preinit script
The /lib/mvebu.sh script can now handle this task.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 41341
2014-06-26 10:21:32 +00:00
Luka Perkov
fa0b9bccea imx6: move imx6.sh to /lib/ for consistency
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 41339
2014-06-26 10:14:13 +00:00
Luka Perkov
a54f4320f9 kirkwood: move kirkwood.sh to /lib/ for consistency
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 41338
2014-06-26 10:13:47 +00:00
Luka Perkov
8416523dba kirkwood: base-files: use /lib/functions/kirkwood.sh
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 41336
2014-06-24 18:18:53 +00:00
Luka Perkov
e6aea925d3 kirkwood: base-files: add script to detect board name and populate /tmp/sysinfo
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 41335
2014-06-24 18:18:51 +00:00
John Crispin
1bb3e5c40a ar71xx: fix wndr3700v4 image header
https://dev.openwrt.org/ticket/16840

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

SVN-Revision: 41333
2014-06-24 18:14:23 +00:00
John Crispin
fcb8eb5d7d ar71xx: remove old jffs2 marker from image generation on nand targets
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41332
2014-06-24 18:14:18 +00:00
John Crispin
021e728962 ralink: Update MT7530 switch driver.
- Support set VLAN ID of each vlan.
- Support untag feature.
- Replace register address with C MACRO.
- There are 8 ports for MT7530 actually.

Signed-off-by: Xiongfei Guo <xfguo@credosemi.com>

SVN-Revision: 41331
2014-06-24 18:14:14 +00:00
John Crispin
0708bda7c6 mpc83xx: add missing kernelnames into Makefile
add missing kernelnames to Makefile because those files are needed in 'target/linux/mpc83xx/image/Makefile'. Without them a compilation for mpc83xx is not possible - the buildbot stops with the error "No such file or directory"

Signed-off-by: Claudio Thomas <ct@xmodus-systems.de>

SVN-Revision: 41330
2014-06-24 18:14:09 +00:00
John Crispin
22a35a7b11 SysupgradeNAND: include rootfs-type in image name
also add quotes to paths

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 41326
2014-06-24 18:13:51 +00:00
John Crispin
bcc7374d7d atheros[ar2315-spiflash]: remove duplicated definitions
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 41325
2014-06-24 18:13:47 +00:00
John Crispin
78bdfeb30b atheros[ar2315-spiflash]: update driver id
Make id more specific and consistent with others platform drivers.

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

SVN-Revision: 41324
2014-06-24 18:13:43 +00:00
John Crispin
69e02dadf1 atheros[ar2315-spiflash]: make local variables and functions static
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 41323
2014-06-24 18:13:39 +00:00
John Crispin
cef87d67f9 atheros[ar2315-spiflash]: I/O fixes
Directly use ioread/iowrite functions to avoid odd dependency. And
carefully annotate I/O memory pointers.

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

SVN-Revision: 41322
2014-06-24 18:13:35 +00:00
John Crispin
cce27e3b95 atheros[ar2315-spiflash]: make spiflash header local
We do not need global access to it, so move it from arch include to the
mtd subdir.

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

SVN-Revision: 41321
2014-06-24 18:13:31 +00:00
John Crispin
08a9fcb0ef atheros[ar2315-spiflash]: pass I/O mem regions via resources
Pass I/O memory regions (flash read and MMR) via platform device
resources array and use them inside spiflash driver.

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

SVN-Revision: 41320
2014-06-24 18:13:27 +00:00
John Crispin
1dab970e8b atheros[ar231x-pci]: do not touch iomem_resource ranges
Moving the start of IO mem to 0x10000000 leads to allocation conflict
with SPI flash memory region, which starts at 0x08000000.

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

SVN-Revision: 41319
2014-06-24 18:13:22 +00:00
John Crispin
79b4598a7f atheros[ar2315-spiflash]: print detected flash size
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 41318
2014-06-24 18:13:17 +00:00
John Crispin
8e3b055b2a atheros[ar2315]: don't detect flash size during board initialization
We should not detect actual flash size during board initialization to
find board config at the end of the flash, just use large enough mapping
size (currently 128 mbit). If mapping size is larger than the actual
flash size, than flash will simply be mapped multiple times. This change
simplifies code by removing duplication and saves about 200 bytes of
uncompressed kernel :)

Tested with Ubnt LS2 board equipped with STM 25p32v6p NOR flash (32 mbit).

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

SVN-Revision: 41317
2014-06-24 18:13:13 +00:00
John Crispin
f8893629ec atheros[ar231x-eth]: merge patch
Merge 3_10-updates.patch into the ar2313_ethernet.patch since it contains
only one ethernet driver fix.

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

SVN-Revision: 41316
2014-06-24 18:13:09 +00:00
John Crispin
d219e055be lantiq: remove deprecated jffs2_nand configuration
As far as I am aware, amongst the lantiq boards, jffs2_nand was
only used on the BTHOMEHUBV2B. Ubi-related modifications to the
device tree for that board mean that the resulting jffs2 images
no longer work, and are no longer required anyway. So I suggest
removing the related configuration, which this patch does.

If anyone else is using jffs2_nand on a lantiq target please speak
up!

Incidentally, for a jffs2 rootfs partition concatenated to the
kernel image to be recognised and mounted correctly on nand
this patch or something equivalent is required:
http://patchwork.openwrt.org/patch/5110/
It is marked as accepted in patchwork but doesn't seem to have
been committed. As far as I am concerned it too is deprecated.

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>

SVN-Revision: 41312
2014-06-24 18:12:52 +00:00
John Crispin
aca708e4e6 lantiq: ubinize autoresize flag for rootfs_data
Setting this flag allows rootfs_data to expand on first boot
to fill remaining free space on nand.

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>

SVN-Revision: 41310
2014-06-24 18:12:41 +00:00
Luka Perkov
70a27a518e kernel: update 3.14 to 3.14.8
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 41309
2014-06-24 12:27:36 +00:00
Jonas Gorski
43cc8c3ebe brcm63xx: allow bcm963xx and livebox support at the same time
Use the CFE_EPTSEAL to tell them apart at runtime. Added for now only
for the 3.14 until properly tested.

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

SVN-Revision: 41296
2014-06-21 19:23:38 +00:00
Jonas Gorski
21d65bb185 brcm63xx: update variant detection patches and fix VARID shift
The variant id field shift was wrong, causing the variant detection
to fail.

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

SVN-Revision: 41295
2014-06-21 19:23:28 +00:00
Jonas Gorski
f695fa358a brcm63xx: fix up borked patch
Fix up patch borked by quilt fuzzy application of patches.

SVN-Revision: 41294
2014-06-21 19:23:18 +00:00
Imre Kaloz
e1de4e27c1 coding style cleanups, drop old kernel support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41293
2014-06-21 10:00:07 +00:00
Imre Kaloz
643a8a626d update mamba dts
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41292
2014-06-20 23:05:23 +00:00
Imre Kaloz
f11de38d44 make script executable, add WRT1900AC detection
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41291
2014-06-20 22:35:09 +00:00
Imre Kaloz
a241853358 define the power led for the WRT1900AC
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41288
2014-06-20 19:13:01 +00:00
John Crispin
a8d532abf2 octeon: add sysupgrade support for the erlite
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41286
2014-06-20 13:41:16 +00:00
John Crispin
fe79b06e6b octeon: build a sysupgrade image for erlite
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41285
2014-06-20 13:41:12 +00:00
John Crispin
cf80a59dcc imx6: add sysupgrade support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41277
2014-06-19 14:13:38 +00:00
John Crispin
1a60486acb imx6: the script populating /tmp/sysinfo/ was in the wrong path
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41276
2014-06-19 14:13:34 +00:00
John Crispin
e0d57509ad octeon: enable the ext4 feature
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41275
2014-06-19 14:13:30 +00:00
John Crispin
e6e024f155 octeon: add basic board detection
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41274
2014-06-19 14:13:20 +00:00
John Crispin
0d5a6fd819 kernel: drop now unused ubi forced detach patch
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41272
2014-06-19 14:13:12 +00:00
John Crispin
9284956ad8 ramips: cleanup some rt305x profiles
move both asus boards to asus.mk
rename HW5503G profile to HW550-3G to match name in image/Makefile
(fixes #16599)

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 41271
2014-06-19 14:13:07 +00:00
John Crispin
432f7e52db lantiq: copy rootfs-overlay.ubi to bin/lantiq
At the moment, an rootfs.ubi is copied over to bin/lantiq
but rootfs-overlay.ubi is not. This adds it.

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>

SVN-Revision: 41270
2014-06-19 14:13:04 +00:00
John Crispin
6c46a10246 lantiq: refresh patches
this adds ben's ath9k fixup

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

SVN-Revision: 41269
2014-06-19 14:12:59 +00:00
Florian Fainelli
43c0ad0f00 imx6: fix typo on wandboard detection
Revision r41256 introduced a typo (wandaboard => wandboard), but later
revisions expect to match on "wandboard"

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

SVN-Revision: 41262
2014-06-18 16:34:23 +00:00
John Crispin
efcec0faaf imx6: use /lib/imx6.sh inside the uci-defaults script
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41257
2014-06-18 10:08:16 +00:00
John Crispin
2773bdfebf imx6: add a script to detect the board name and populate /tmp/sysinfo
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41256
2014-06-18 10:08:12 +00:00
John Crispin
23cdea78d8 ar71xx: Fixes for 951Ui-2HnD board support
WAN and LAN are swapped the wrong way around.  This patch fixes that by adding the 951Ui-2HnD to ar71xx.sh and the relevant entry in 02_network.

This patch also defines the ACT LED as the status LED in diag.sh.

Signed-off-by: Matthew Reeve <mreeve@tenxnetworks.com>
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41255
2014-06-18 10:08:08 +00:00
John Crispin
5aeb5c1cbc octeon: fix up the cpu flags
Signed-off-by: Martin Fäcknitz <faecknitz@hotsplots.de>

SVN-Revision: 41253
2014-06-18 10:08:01 +00:00
John Crispin
312fca5455 octeon: add 3 upstream patches that fix issues on the esr-lite
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41252
2014-06-18 10:07:57 +00:00
Luka Perkov
5e6024d526 mvebu: be consistent with kernel config file names
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 41240
2014-06-17 21:04:45 +00:00
John Crispin
575127fe1c lantiq: DGN3500 (all known variants) factory and sysupgrade image building support
This patch adds factory image building for the DGN3500, all variants,
and fixes sysupgrade images to make them play nice with the sercomm
secondary boot loader.

The factory images can be used directly in the update dialog in the
interface of the stock firmware and via the special Sercomm bootmode
and a special windows flashing utility (allegedly present in the CD
that came with the device -- but it's also compatible with the NSLU2
Upgrade_207_XP utility.) The special bootmode can be activated by
turning the device on while holding the reset button pressed, then
releasing it when the power led starts blinking red and green. Please
notice that if using the 207 utility, it will always report that the
flashing failed even though it completed successfully. Just power
cycle the router manually after the utility reports the failure and
OpenWRT will boot. This same utility (despite reporting failure in
this case too) can revert a DGN3500 (any variant) to the appropriate
stock Netgear firmware.

This patch is a heavily modified version of a package I found on the
OpenWRT forum with a couple fixes and features added -- mainly the
generation of all the different image variants to support all known
models directly, atm known variants are AnnexA-WW, AnnexA-NA and
AnnexB-DE/GR.

I tested the patch successfully on my device.

Signed-off-by: Marco Antonio Mauro <marcus90@gmail.com>

SVN-Revision: 41236
2014-06-17 15:38:54 +00:00
Imre Kaloz
85812e21f9 add dummy fixup for 3.10
SVN-Revision: 41234
2014-06-17 15:14:02 +00:00
Imre Kaloz
ac91824b36 build images for the WRT1900AC
SVN-Revision: 41233
2014-06-17 15:13:33 +00:00
Imre Kaloz
d775e4ef00 preliminary support for the WRT1900AC (work in progress)
SVN-Revision: 41232
2014-06-17 15:13:10 +00:00
Jo-Philipp Wich
93742047af mpc85xx: fix typo in TP-Link WDR4900 profile
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 41229
2014-06-17 15:01:47 +00:00
John Crispin
dc5fe5f73f ramips: RT-N56U support fixes and factory image creation
Signed-off-by: Mikko Hissa <mikko.hissa@werzek.com>

SVN-Revision: 41224
2014-06-16 18:57:20 +00:00
John Crispin
3dca5a158d procd: various cleanups to /lib/upgrade/nand.sh
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41222
2014-06-16 18:55:14 +00:00
John Crispin
c5461a78d2 kernel/3.1{0, 2, 3, 4}: mtd: m25p80: add support for EON EN25QH128
This flash is used in newer Ubnt UniFi AP Pro

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

SVN-Revision: 41219
2014-06-16 18:55:01 +00:00
John Crispin
ae8caf216f kernel: replace a ubifs patch by upstream commit
A modified version of 552-ubifs-respect-silent-mount-flag.patch has
been merged upstream. Replace the patch in OpenWrt with the version
which has been merged.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 41218
2014-06-16 18:54:57 +00:00
John Crispin
4d7ed2a8a0 ramips: fixes XDXRN502J reset button
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41217
2014-06-16 18:54:53 +00:00
John Crispin
2fe435081d ramips: add vlan configuration for asiarf awm002-evb
Without this, the ports all end up on vlan 1.  This enables a separate
WAN port that works.

Signed-off-by: Russell Senior <russell@personaltelco.net>

SVN-Revision: 41216
2014-06-16 18:54:48 +00:00
John Crispin
ab390d6c05 ramips: restore AWM002-EVB profile in asiarf.mk
In a recent revision (r41177) John Crispin removed the profile for the
AsiaRF AWM002 eval board while adding another AsiaRF board.  This
patch restores AWM002 and also corrects a misspelling and an
apparently errant reference to an Allnet ALL0239-3G device.

Signed-off-by: Galen Seitz <galens@seitzassoc.com>
Signed-off-by: Russell Senior <russell@personaltelco.net>

SVN-Revision: 41215
2014-06-16 18:54:42 +00:00
John Crispin
85ca75decd lantiq BTHOMEHUBV2B - update dts for automatic detection of ubi partition and rootfs type
This patches the BTHOMEHUB2B device tree to make use of the
new code for automatic detection of the ubi partition and the
rootfs type within it. Gets rid of the ugly alternative bootargs
lines.

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>
Acked-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 41214
2014-06-16 18:54:38 +00:00
John Crispin
e6c46554bb lantiq: fixup vgv7519 usb support
https://dev.openwrt.org/ticket/16800

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

SVN-Revision: 41213
2014-06-16 18:54:33 +00:00
Felix Fietkau
841b730f98 kernel: fix pkt_type filter mask for packet sockets
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41178
2014-06-13 09:34:03 +00:00
John Crispin
6d213a644d ramips: add asiarf awapn2403 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41177
2014-06-13 09:16:15 +00:00
Steven Barth
285af2ff08 Update UML target to 3.10 and various improvements
Updated target to 3.10.36.
Added mconsole exec patch.
Added pseudo-random MAC patch (from NetKit).

Signed-off-by: Markus Stenberg <markus.stenberg@iki.fi>
Reviewed-by: Steven Barth <steven@midlink.org>

SVN-Revision: 41172
2014-06-12 17:57:19 +00:00
Luka Perkov
f45b1a671a kernel: update 3.14 to 3.14.7
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 41150
2014-06-11 23:39:54 +00:00
Felix Fietkau
231f15c9db ramips: fix rt2x00 handling of default packages for subtargets
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41145
2014-06-11 17:01:19 +00:00
John Crispin
e9f664c879 kernel: make sure the new UBIBLOCK symbol does not break builds
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41134
2014-06-11 13:00:17 +00:00
John Crispin
4096a110fb ar71xx: activate the nand sutarget
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41133
2014-06-11 13:00:12 +00:00
John Crispin
fe6e2f8e1b ar71xx: fix up kernel config for the nand subtarget
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41132
2014-06-11 13:00:04 +00:00
John Crispin
c973fb031e ar71xx: add sysupgrade support for wndr4300
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41131
2014-06-11 13:00:00 +00:00
John Crispin
9a0b4ab4ed ar71xx: remove the explicit ubi.mtd- paramaters and rename ubiroot to ubi
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41130
2014-06-11 12:59:57 +00:00
John Crispin
ac5d5cbc79 kernel: add a NAND_SUPPORT symbol
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41122
2014-06-11 12:59:22 +00:00
John Crispin
c8d472c37f kernel: backport the ubiblock patches from 3.14->3.10
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41120
2014-06-11 12:59:15 +00:00
John Crispin
acbcd5f5b5 kernel: rootfs auto-mount on ubi
Similar to the rootfs hacks on NOR flash devices, this series
introduces support for auto-attaching (ubi device), auto-creating
(ubiblock device) and mounting the "rootfs" (ubifs or squashfs)
volume.
This is needed so OpenWrt can start without relying on the bootloader
to pass the ubi.mtd, ubi.block, rootfs and rootfstype parameters, but
instead auto-detect the root filesystem according to a simple convention.

OpenWrt-specific:
490-ubi-auto-attach-mtd-device-named-ubi-or-data-on-boot.patch
491-ubi-auto-create-ubiblock-device-for-rootfs.patch
492-try-auto-mounting-ubi0-rootfs-in-init-do_mounts.c.patch
493-ubi-set-ROOT_DEV-to-ubiblock-rootfs-if-unset.patch

sent upstream:
552-ubifs-respect-silent-mount-flag.patch
http://lists.infradead.org/pipermail/linux-mtd/2014-May/053893.html

v2: actually retry with MS_RDONLY when mounting read-only ubifs root

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 41119
2014-06-11 12:59:10 +00:00
John Crispin
d494983d02 kernel: backport ubiblock support from 3.15
Backport ubiblock support from kernel 3.15 as well as all follow-up
fixes related to ubiblock.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

 create mode 100644 target/linux/generic/patches-3.14/040-UBI-R-O-block-driver-on-top-of-UBI-volumes.patch
 create mode 100644 target/linux/generic/patches-3.14/041-UBI-block-do-not-use-term-attach.patch
 create mode 100644 target/linux/generic/patches-3.14/042-UBI-block-Mark-init-only-symbol-as-__initdata.patch
 create mode 100644 target/linux/generic/patches-3.14/043-UBI-block-Use-u64-for-the-64-bit-dividend.patch
 create mode 100644 target/linux/generic/patches-3.14/044-UBI-rename-block-device-ioctls.patch
 create mode 100644 target/linux/generic/patches-3.14/045-UBI-block-Remove-__initdata-from-ubiblock_param_ops.patch
 create mode 100644 target/linux/generic/patches-3.14/046-UBI-avoid-workqueue-format-string-leak.patch
 create mode 100644 target/linux/generic/patches-3.14/047-UBI-make-UBI_IOCVOLCRBLK-take-a-parameter-for-future.patch

SVN-Revision: 41118
2014-06-11 12:59:06 +00:00
Felix Fietkau
75b4c400c7 atheros: fix too short msleep
Use msleep(20) instead of msleep(10) to make code closer to reality
since msleep can sleep for up to 20ms even we request shorter delay.
All updated calls are located in PCI initialization routine which is
called only once upon device boot. So there should be no performance
issues caused by more longer delay.

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

SVN-Revision: 41096
2014-06-10 09:06:25 +00:00
Felix Fietkau
e49636472d atheros: shorten lines
Wrap lines over 80 chars or make them shorter by other ways.

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

SVN-Revision: 41095
2014-06-10 09:06:22 +00:00
Felix Fietkau
a6cf23b76c atheros: constify some static structures
Constify some static structures as suggested by checkpatch.

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

SVN-Revision: 41094
2014-06-10 09:06:18 +00:00
Felix Fietkau
f363db0094 atheros: avoid __FUNCTION__ usage
Use __func__ instead of gcc specific __FUNCTION__ as suggested by
checkpatch.

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

SVN-Revision: 41093
2014-06-10 09:06:14 +00:00
Felix Fietkau
70b2a81a2e atheros: trailing statements fixes
Move trailing statements to next line with indentation as suggested by
checkpatch.

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

SVN-Revision: 41092
2014-06-10 09:06:10 +00:00
Felix Fietkau
0bca3f9547 atheros: spaces fixes
Add missed spaces and remove odd space as suggested by checkpatch.

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

SVN-Revision: 41091
2014-06-10 09:06:06 +00:00
Felix Fietkau
dd31da467f atheros: indent fixes
Various indent fixes suggested by checkpatch: use tabs, use same level
of indentation for switch and case, correct indentation levels.

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

SVN-Revision: 41090
2014-06-10 09:06:03 +00:00
Felix Fietkau
66c64834f8 atheros: fix includes
Remove some unnecessary includes and use <linux/foo.h> instead of
<asm/foo.h> when it possible as suggested by checkpatch.

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

SVN-Revision: 41089
2014-06-10 09:05:58 +00:00
Felix Fietkau
90ca9a582d atheros: various printk(...) fixes
Use more particular functions dev_<level> or pr_<level>(...) insead of
direct printk(...) call. Add KERN_LEVEL to calls what missed it.

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

SVN-Revision: 41088
2014-06-10 09:05:55 +00:00
Felix Fietkau
15a2ebbc38 atheros: various braces fixes
Fix braces location, remove unnecessary empty lines before or after code
block, remove useless braces. All cases are detected by checkpatch.

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

SVN-Revision: 41087
2014-06-10 09:05:51 +00:00
Felix Fietkau
58d70ff9b3 atheros: do not initialize statics to 0 or false
as suggested by checkpatch.

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

SVN-Revision: 41086
2014-06-10 09:05:47 +00:00
Felix Fietkau
8b4323ad31 atheros: remove trailing whitespace
as suggested by checkpatch.

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

SVN-Revision: 41085
2014-06-10 09:05:43 +00:00
Felix Fietkau
3406e402ef atheros: do not assignment in if condition
Remove assignments from if conditions as suggested by checkpatch.

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

SVN-Revision: 41084
2014-06-10 09:05:40 +00:00
Felix Fietkau
5427e47e59 atheros: remove parentheses around return values
Remove parentheses around return values since return is no a function,
as suggested by checkpatch.

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

SVN-Revision: 41083
2014-06-10 09:05:36 +00:00
Felix Fietkau
630eac6638 atheros: parenthesis around complex macroses value
Use parenthesis around complex macroses value as suggested by
checkpatch.

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

SVN-Revision: 41082
2014-06-10 09:05:32 +00:00
Felix Fietkau
cb50efa835 atheros: various comments fixes
Fix comment issues detected by checkpatch. Convert C99 // comments to
ordinary /* ... */ comments. Correct block comments style or convert
them to single line comments.

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

SVN-Revision: 41081
2014-06-10 09:05:28 +00:00
Felix Fietkau
ea9360a5c6 atheros: avoid CamelCase
Change fooBar variables names to foo_bar as suggested by checkpatch,
write few tables names in lower case and correctly place __initdata
keyword.

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

SVN-Revision: 41080
2014-06-10 09:05:25 +00:00
Felix Fietkau
ad97acf46a brcm47xx: merge FEATURES lines in the legacy subtarget
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41053
2014-06-08 09:51:38 +00:00
Felix Fietkau
c48140efb8 brcm47xx: fix kmod-usb-brcm47xx build on legacy and mips74k subtargets
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41052
2014-06-08 09:45:55 +00:00
Hauke Mehrtens
ed7c73fbef brcm47xx: activate some compiler optimizations for 74K CPUs
With this patch the mips74k subtarget will be compiled with optimized
compiler options to generated smaller and faster code. This currently
breaks broadcom-wl, because the binary blob is only compiled with
mipsr1 support.

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

SVN-Revision: 41050
2014-06-07 17:36:02 +00:00
Felix Fietkau
4b953aa267 brcm47xx: move the low_mem feature flag to the legacy subtarget
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41049
2014-06-07 17:21:30 +00:00
Hauke Mehrtens
717e8b6f3c brcm47xx: remove old gpio and nvram interfaces
These were only used by broadcom-diag any more.

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

SVN-Revision: 41048
2014-06-07 17:04:37 +00:00
Hauke Mehrtens
cfa350ca39 brcm47xx: mips74k: optimize kernel config
This saves abount 15 kB of compressed kernel size.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41043
2014-06-07 15:42:33 +00:00
Hauke Mehrtens
9dc5fb9103 bcm47xx: use eth0 for switch name
This fixes some strange problems with tg3. I assume that the Ethernet
driver was not brought up if the switch was named switch0.

This was reported and tested by ernesto (Faulp3lz).

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

SVN-Revision: 41042
2014-06-07 15:41:41 +00:00
Felix Fietkau
dec0d7f025 brcm47xx: add a "legacy" subtarget that is usable for low-end 802.11g devices like WRT54G
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41041
2014-06-07 15:19:40 +00:00
Hauke Mehrtens
bffd80e3e1 brcm47xx: add mips74k subtarget for newer devices
All new devices (with MIPS 74K CPU) are based on BCMA SoC and have
Ethernet core supported by bgmac. Create a new subtarget to generate
optimized builds.
This is just a beginning, further tweaks (like kernel configuration)
are still possible. This decreases default root.squashfs by ~128 kB.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41025
2014-06-05 21:25:03 +00:00
Hauke Mehrtens
b5d42bc111 brcm47xx: move current target to "generic" subtarget
This allows creating more subtargets and optimize builds per family.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41024
2014-06-05 21:23:58 +00:00
John Crispin
7a03f41940 lantiq: fix eep handling patch
0b79a4a66d17d2c7c12cde8d13637c1b0e5152c2 broke the patch

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

SVN-Revision: 41005
2014-06-05 08:19:52 +00:00
Luka Perkov
284a07f748 imx6: kernel: update 3.14 pcie patches
Remove old irq map patch and replace it with the propper upstream patches
allowing IMX6 PCIe devices behind PCIe switches to work properly.

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

SVN-Revision: 41004
2014-06-04 23:01:30 +00:00
John Crispin
f09ac641d6 lantiq: ath5k fix in wifi and ethernet eeprom handling patch.
ath5k fix in wifi and ethernet eeprom handling patch.

Without the line that adds the patch of_ath5k_eeprom_probe cause a
kernel panic, at least with the ARV4518PW.
Tested only in the modem-router mentioned above.

This patch is based in Bruno's hack present in patch #5454.

Signed off by: Bruno Rodríguez <bruno.rodriguez.1980@gmail.com>
Signed off by: José Vázquez Fernández <ppvazquezfer@gmail.com>

SVN-Revision: 40999
2014-06-04 07:20:22 +00:00
Luka Perkov
cdd9e952e5 imx6: ventana: remove non-trunk packages from defaults
The canutils package is in the packages repo and not part of trunk, so we
should not enable them by default.

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

SVN-Revision: 40991
2014-06-02 21:23:36 +00:00
Luka Perkov
be7396bad7 imx6: ventana: add default kernel modules
Add the following kernel modules by default (which are present on most Ventana
baseboards):
 - kmod-leds-gpio (user leds)
 - kmod-sound-core (required as a dependency of the other sound modules)
 - kmod-pps-gpio (Pulse-Per-Second)

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

SVN-Revision: 40990
2014-06-02 21:23:35 +00:00
Luka Perkov
f637a1e562 imx6: update board names per device-tree updates
The Gateworks Ventana board names have been adjusted per upstream patches
to include all IMX6 SoC variants.

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

SVN-Revision: 40989
2014-06-02 21:23:34 +00:00
Luka Perkov
b87016722c imx6: update 3.14 ventana dts with upstream fixes
update the Ventana DTS files with upstream fixes:
 - The 'model' property in the imx-audio-sgtl5000 binding specifies the
   user-visible name of the audio device. This should be something common and
   not baseboard specific.
 - removed obsolete crts
 - fix include typo: The imx6q-gw51xx needs to include imx6qdl-gw51xx.dtsi
 - fix gw52xx clock for sgtl5000 ananlog audio codec
 - fix LVDS mapping for Ventana GW52xx/GW53xx/GW54xx
 - add LVDS backlight for Ventana
 - update model descriptions for all processor variants

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

SVN-Revision: 40988
2014-06-02 21:23:32 +00:00
Luka Perkov
f689e3cf8b imx6: update 3.10 ventana dts
update the Ventana DTS files with upstream fixes:
 - The 'model' property in the imx-audio-sgtl5000 binding specifies the
   user-visible name of the audio device. This should be something common an
   not baseboard specific.
 - update model descriptions for all processor variants

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

SVN-Revision: 40987
2014-06-02 21:23:29 +00:00
Luka Perkov
b6c0aca054 kernel: add another new config symbol for kernel 3.14
It was augmented by CONFIG_USB_GADGET...

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Acked-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 40986
2014-06-02 19:48:22 +00:00
Felix Fietkau
ae2c9a815a brcm47xx: enable the low-memory feature flag
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40982
2014-06-02 17:04:45 +00:00
Felix Fietkau
b24897ee5c build: add a feature flag for low-memory systems
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40980
2014-06-02 17:04:38 +00:00
Felix Fietkau
2f79cb03c5 ar71xx: fix compile error in r40969, refresh patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40977
2014-06-02 16:24:12 +00:00
John Crispin
680e0c09f3 ar71xx: WNDAP360 adding wifi LED support
I added WIFI LED support (so now AP blinks nicely), I removed WPS
button GPIO (as it doesn't exist) and changed GPIO for reset button.

Signed-off-by: Jacek Kikiewicz <jaceq@aol.pl>

SVN-Revision: 40976
2014-06-02 15:02:54 +00:00
John Crispin
5c1105d2a1 ar71xx: add profile and build image for HiWiFi HC6361.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 40975
2014-06-02 14:56:41 +00:00
John Crispin
8a3c713c97 ar71xx: add user-space support for HiWiFi HC6361 board.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 40974
2014-06-02 14:56:35 +00:00
John Crispin
05b73eb22f ar71xx: add kernel support for HiWiFi HC6361.
This board manufactured by HiWiFi has the following features.

 - Atheros 9331 SoC.
 - 16MB flash and 64MB RAM.
 - 4GB eMMC storage via SK6226 USB 2.0 controller.
 - 2 LAN and 1 WAN ethernet ports with LEDs on them.
 - 3 blue LEDs on the front panel.
 - 1 button labeled as "reset".
 - Powered by a USB cable.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 40973
2014-06-02 14:56:24 +00:00
John Crispin
85b889940d ar71xx: add support to TP-LINK TL-WA730RE v1
The TL-WA730RE seems to be almost identical to TL-WA701ND, just
that it comes without PoE and a stock-firmware claiming the device
to be a "Range Extender".

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 40972
2014-06-02 14:45:25 +00:00
John Crispin
599ddc7a85 ar71xx: fix board detection for TL-WA7510N
Detect TL-WA7510N v1 by the board name as defined in mach-tl-wa901nd.c
and add hardware ID to tplink_board_detect

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 40971
2014-06-02 14:45:21 +00:00
John Crispin
06d656be27 ar71xx: enable sysupgrade on wnr2000-v3
tested, works.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 40970
2014-06-02 14:45:17 +00:00
John Crispin
60ec05fdcb ar71xx: add support for dlink dir-615-e1
Dlink dir-615-e1 can use dir-600-a1's image, but the image can't be
uploaded through dlink's normal firmware update web page.

Add profile for dir-615-e1 so the generated image can be uploaded
through the firmware update web page.

Signed-off-by: Zhao, Gang <gamerh2o@gmail.com>

SVN-Revision: 40969
2014-06-02 14:43:35 +00:00
Felix Fietkau
897b2e4b98 target/imagebuilder: add missing package index (fixes #16675)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40968
2014-06-02 13:27:31 +00:00
John Crispin
290d01379e ar71xx: adjust OM2P profile for the OpenMesh OM2P-HSv2 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: 40966
2014-06-02 13:21:52 +00:00
John Crispin
90c5ec6374 ar71xx: add sysupgrade support for OpenMesh OM2P-HSv2
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: 40963
2014-06-02 13:21:38 +00:00
John Crispin
ac3fd59a2b ar71xx: add user-space support for OpenMesh OM2P-HSv2
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: 40962
2014-06-02 13:21:31 +00:00
John Crispin
c9f15772a1 ar71xx: add kernel support for the OpenMesh OM2P-HSv2
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: 40961
2014-06-02 13:21:26 +00:00
John Crispin
c17998a4dd ar71xx: adjust OM2P profile for the OpenMesh OM2Pv2 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: 40960
2014-06-02 13:21:22 +00:00
John Crispin
71e3d89020 ar71xx: add sysupgrade support for OpenMesh OM2Pv2
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: 40957
2014-06-02 13:21:07 +00:00
John Crispin
c788102ebc ar71xx: add user-space support for OpenMesh OM2Pv2
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: 40956
2014-06-02 13:21:02 +00:00
John Crispin
ef5f37a08d ar71xx: add kernel support for the OpenMesh OM2Pv2 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: 40955
2014-06-02 13:20:52 +00:00
John Crispin
fa48c0db1d lantiq: fix up eth_mac and ath_eep support
this patch got messed up by the last rebase

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

SVN-Revision: 40948
2014-06-02 12:45:29 +00:00
John Crispin
d29fc40039 x86: Compile xen-pci-frontend as module
modified version of -> http://patchwork.openwrt.org/patch/5535/

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

SVN-Revision: 40947
2014-06-02 12:45:25 +00:00
John Crispin
3306a4f9ab ralink: fix asiarf/awm002 switch setup
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40939
2014-06-02 12:44:57 +00:00
John Crispin
7437d84814 ralink: add seama image can be upgrade by sysupgrade
generate sysupgrade image by combine two images.
one is kernel image with seama header.
another is root fs image.

Signed-off-by: michael lee <igvtee@gmail.com>

SVN-Revision: 40922
2014-06-02 12:43:49 +00:00
John Crispin
7ba5188fe9 lantiq: Fix ARV7510PW22 etop
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 40920
2014-06-02 12:43:43 +00:00
John Crispin
d4ec98c2cc lantiq: Fix ARV4518 etop
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 40919
2014-06-02 12:43:35 +00:00
John Crispin
f933a741a9 target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGC
ARGC is a 'C-ism', but not known/valid in shell-syntax - insert the correct
var $# (=number of args) here. under normal conditions this had no impact,
but we should at least correct it. the error was observable like this:

root@box:~ [ -e "/etc/functions.sh" ] && . /etc/functions.sh
root@box:~ [ -e "/lib/functions.sh" ] && . /lib/functions.sh
root@box:~ . /lib/upgrade/platform.sh
root@box:~ . /lib/upgrade/common.sh
root@box:~ platform_check_image /tmp/myfirmware.bin
ash: bad number
root@box:~ echo $?
0

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

SVN-Revision: 40915
2014-06-02 12:43:22 +00:00
John Crispin
712dec1027 ramips: add missing profile for DIR-615-D
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 40911
2014-06-02 12:43:07 +00:00
John Crispin
9b728bebfb ramips: fix not set lan/wan mac address
The first switch case is default case. Then it will only
match default case. cause not update the lan/wan mac address.
And in the default switch case the param lan_mac is empty.
it will case error message 'arithmetic syntax error' when
call macaddr_add function.

Signed-off-by: michael lee <igvtee@gmail.com>

SVN-Revision: 40910
2014-06-02 12:43:04 +00:00
John Crispin
813a7c3827 ralink: Add support for samsung cy-swr1100 wireless router
It is base on rt3662 soc with dual band 802.11n
wireless router. Use rtl8367R switch chip.
This patch adds a profile for this board.
It use seama image header. so i also enable it
on kernel config.

Signed-off-by: michael lee <igvtee@gmail.com>

SVN-Revision: 40908
2014-06-02 12:42:52 +00:00
John Crispin
efd09832fe ramips: Support for Teltonika RUT5XX
Hi Hartmut,

Thanks for your feedback, I have reformated the patch accordingly.

Added support for Teltonika RUT5XX hardware.

Signed-off-by: Steffen Weinreich <steve@weinreich.org>

SVN-Revision: 40907
2014-06-02 12:42:48 +00:00
John Crispin
583b908bc7 ralink: Enable Asus RT-N10+ in menuconfig targets
This patch adds "Asus RT-N10+" as a target option in menuconfig. The device has been supported for a while but is currently missing a profile (.mk).
Signed-off-by: Randolph Kuntz <8D961920@galaxymail.org>

SVN-Revision: 40903
2014-06-02 12:41:45 +00:00
Luka Perkov
aa2ff3f105 kernel: update 3.14 to 3.14.5
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 40901
2014-06-02 09:25:33 +00:00
Zoltan Herpai
1bd75f114f sunxi: add support for Lemaker bananaPi
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 40898
2014-06-01 18:44:10 +00:00
Zoltan Herpai
bf43c8e717 sunxi: fix typo in uci-defaults network config
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 40895
2014-06-01 12:18:53 +00:00
Hauke Mehrtens
cdc7ea3337 bcm53xx: add support for the PCIe controller
This patch adds support for the PCIe controller
In addition to the PCIe controller a sprom is now provided by a device
tree driver to bcma from some nvram.

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

SVN-Revision: 40880
2014-05-29 19:25:40 +00:00
Luka Perkov
dfabb76883 kirkwood: cosmetic: move POGOE02 profile to different file
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 40873
2014-05-28 21:43:43 +00:00
Luka Perkov
4122af10f9 kirkwood: add support for Linksys EA4500
Support is added only for kernel 3.14 - do not show it until
the switch is made.

Following uboot env changes are needed to make it work on stock uboot:
2014-05-28 21:43:39 +00:00
Felix Fietkau
2108ca0d9a ubifs: remove obsolete CONFIG_UBIFS_FS_XATTR symbol
550-ubifs-symlink-xattr-support.patch contains a reference to the
by now obsolete config symbol CONFIG_UBIFS_FS_XATTR which leads to
the functionality originally added by the patch in r30794 being
left-out during compile since commit 1bdcc63112a0
("UBIFS: remove xattr Kconnfig option") in v3.5.
Fix this by removing the #ifdef from all affected kernels as XATTR
support is now always enabled for UBIFS as well.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 40864
2014-05-27 20:34:03 +00:00
Felix Fietkau
3ab83a078f ar71xx: disable usb workarounds for ar913x again (should fix #16610)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40846
2014-05-25 16:14:16 +00:00
Jo-Philipp Wich
f6e7074924 Revert "ar71xx: Fix tagged+untagged operation on AR8327N (#12181)"
Revert the tagged + untagged rework for now due to regressions in
vlan setup on certain AR83xx switches.

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

SVN-Revision: 40842
2014-05-24 17:04:12 +00:00
Felix Fietkau
5343c7694e ar71xx: enable usb quirks for all chipidea based devices
The most important one is qca_force_host_mode, which also sets the
'Stream Disable' bit in the usbmode register.

Fixes usb stability issues on AR933x and AR7241/AR7242

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

SVN-Revision: 40841
2014-05-24 08:01:42 +00:00
Felix Fietkau
83dc560621 ar71xx: fix typo in tl-wr710n mac setup (fixes #16469)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40840
2014-05-24 08:01:33 +00:00