Commit Graph

12216 Commits

Author SHA1 Message Date
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