Commit Graph

11741 Commits

Author SHA1 Message Date
Felix Fietkau
7131a104f5 ar71xx: add support for the TP-LINK TL-WR841N/ND v9
Everything seems to be working fine. Potential issues:

* VLAN port IDs are reversed with regard to the numbers on the case.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 40400
2014-04-07 08:00:02 +00:00
Felix Fietkau
f80f0c7d22 ar71xx: add support for QCA953x SoC
I don't have access to the specs, so I'm not sure about every detail, but I
haven't seen any problems with my test system, a TL-WR841N v9. It looks pretty
much like a QCA955x without PCI, a little twist in the clock calculation and
a AR9331-compatible switch.

Features not yet supported:

* EHCI (my test system doesn't have USB)
* ? (I have no idea if the QCA953x has any other features I don't know about
that aren't used by the TL-WR841N v9)

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 40399
2014-04-07 07:59:45 +00:00
Jonas Gorski
dba8a58b46 brcm63xx: hack around jffs2 corruption with SMP
mempy_fromio seems to be randomly failing when the destination is
unaligned; work around it by forcing the name to be aligned in memory.

Should fix jffs2 and SMP for now, but needs to be some additional
looking into as it does not fix the source.

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

SVN-Revision: 40396
2014-04-06 22:03:42 +00:00
John Crispin
c821836395 lantiq: remove unmaintained code
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40392
2014-04-06 09:21:44 +00:00
Felix Fietkau
8f41856f1f ramips: fix regression from r39949 (#15382)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40391
2014-04-06 00:09:50 +00:00
Jonas Gorski
663083d930 brcm63xx: sync mips counters during bringup of cpus
Fixes gettimeofday returning different values depending on which cpu
it is called.

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

SVN-Revision: 40387
2014-04-05 18:32:34 +00:00
John Crispin
f464b7d176 lantiq: cleanup the dsl control scripts
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40381
2014-04-05 16:34:20 +00:00
Jonas Gorski
b519908e84 brcm63xx: update development kernel to linux 3.14
Now that 3.13 will be EOL soon, switch to 3.14.

Known issues:
 * 74x164 is not available because upstream dropped non-DT support
 * jffs2 breaks with SMP

Unknown issues:
 * probably plenty

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

SVN-Revision: 40380
2014-04-04 10:17:08 +00:00
Jonas Gorski
a8363fadcd kernel: make sched_act_connmark compile for 3.14
The upstream API changed, which allowed to simplify the code a bit.

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

SVN-Revision: 40376
2014-04-04 10:16:49 +00:00
Jonas Gorski
96c4e3eed0 kernel: make sched_esfq compile for 3.14
net_random was replaced with prandom_u32.

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

SVN-Revision: 40375
2014-04-04 10:16:47 +00:00
Jonas Gorski
e24b601b56 kernel: add missing config symbol for linux 3.14
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 40374
2014-04-04 10:16:44 +00:00
John Crispin
a05356f48a lantiq: nand fixes
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40372
2014-04-03 14:27:02 +00:00
John Crispin
15139d468c lantiq: BT Home Hub 2B support - userspace
Basic userspace configuration for BT Home Hub 2B

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

SVN-Revision: 40371
2014-04-03 14:26:58 +00:00
John Crispin
709cab91d2 lantiq: BT Home Hub 2B support - board support
Board support patch for BT Home Hub 2B

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

SVN-Revision: 40370
2014-04-03 14:26:54 +00:00
John Crispin
469b8297fa lantiq: BT Home Hub 2B support - jedec probe
Lantiq nor patch. Adds support for jedec probing if cfi
probing fails.

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

SVN-Revision: 40369
2014-04-03 14:26:50 +00:00
John Crispin
78a7ae428f lantiq: make td8970 wifi led work
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40368
2014-04-03 14:26:46 +00:00
John Crispin
58eccdac4f lantiq: fix vr9 ubi handling
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40364
2014-04-03 14:26:24 +00:00
Felix Fietkau
78a3f697a5 x86: xen_domu is functional, remove broken flag
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40363
2014-04-02 20:45:09 +00:00
Florian Fainelli
c18cc9aa49 orion: create a macro for zImage with machine id
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 40360
2014-04-01 22:21:11 +00:00
Florian Fainelli
3d0ec6bd08 orion: fix KERNELNAME
uImage cannot be built in parallel properly until zImage is ready

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

SVN-Revision: 40359
2014-04-01 22:21:00 +00:00
Florian Fainelli
5b6d0b1818 orion: fix initramfs uImage generation
We would fail to copy an non-existent uImage-initramfs to $(BIN_DIR)

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

SVN-Revision: 40358
2014-04-01 22:20:49 +00:00
Imre Kaloz
36fefbb60e 3.14 final is out
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 40352
2014-03-31 13:43:06 +00:00
Hauke Mehrtens
bdde12b13a kernel: backport BCM5357 fix for GPIOs
This backports: bcma: gpio: register 32 GPIOs on BCM5357

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

SVN-Revision: 40347
2014-03-30 19:08:37 +00:00
Hauke Mehrtens
c286feac80 brcm47xx: backport 3.14 patch for nvram GPIO pin read
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 40346
2014-03-30 19:07:46 +00:00
Hauke Mehrtens
499d1f1401 brcm47xx: Name LEDs colors for Linksys E1000 V2.1
Handle it by creating a new patch for simple database changes.

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

SVN-Revision: 40345
2014-03-30 19:07:13 +00:00
Hauke Mehrtens
a1f4a43cef brcm47xx: update workarounds patch to V3
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 40344
2014-03-30 19:06:24 +00:00
John Crispin
5b6ceab69b ralink: fix chuncked-io module
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40342
2014-03-30 19:03:55 +00:00
John Crispin
3972b47458 revert: kernel: rtl8306: fix max pvid & remove port isolation
apparently this one was nt a good idea to merge

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

SVN-Revision: 40330
2014-03-30 10:04:55 +00:00
John Crispin
e36568e74b lntiq: add support for Astoria ARV7519RW.
These patches add support for the Astoria ARV7519RW aka Livebox 2.1
The PCI and PCIe interfaces have been disabled. Also, because there are
two revisions of this board with different GPHY firmwares, two targets
were defined.
V2: rewrote partitions to work with an u-boot specifically made for
these boards.

Signed off by: Esteban Benito <estebanjbs@gmail.com>
Signed off by: Carles Gadea <carlesgrg@gmail.com>
Tested by: José Vázquez Fernández <ppvazquezfer@gmail.com>

SVN-Revision: 40329
2014-03-30 10:02:30 +00:00
John Crispin
42e8cb6388 lantiq: do an endianness swap to the RT2860 eeprom for ARV752DPW(22)
ARV7510PW22, ARV752DPW and ARV752DPW22 have the RT2860 eeprom stored in
flash as big-endian, but the driver needs it in little-endian format. We
have to swab it before handing it over. This requires my earlier patch
for busybox.

Funnily enough, ARV752DPW works also with the incorrect eeprom, but
undoubtedly unoptimally. I have a hunch that also the final remaining
Lantiq board would require this swabbing, but I'm not sure, so I just
swab it in the three boards that I know about.

v2:
* Swab also on ARV7510PW22 based on feedback from Alvaro Rojas
* Fix the offset with bs=2

Signed-off-by: Matti Laakso <malaakso at elisanet.fi>

SVN-Revision: 40328
2014-03-30 09:16:52 +00:00
John Crispin
5a6268c078 lantiq: add esi
http://patchwork.openwrt.org/patch/3703/

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

SVN-Revision: 40326
2014-03-30 09:16:43 +00:00
John Crispin
8b0507c9ca lantiq: fix mtd_split for brnboot firmware images
The existing code only tries to split a parition with name "rootfs"
while actually looking for kernel+rootfs, where usually "firmware" is
used as a partition name. This doesn't make sense, as even if there
was a partition 'rootfs' given by mtdparts or via device-tree, this
code would lead to another partition called 'rootfs' being created
which would not be properly distinguished in the current user-space
code.

While potentially we could use CONFIG_MTD_SPLIT_FIRMWARE_NAME to make
that configurable, the lack of users of brnboot and the fact that we
can freely decide the partition name made me simply change the
hard-coded string constant from "rootfs" to "firmware".

(I'm going to add support for ARV7506PW which run brnboot and needs
this change)

SVN-Revision: 40324
2014-03-30 09:16:35 +00:00
John Crispin
0c73e85cd0 lantiq: fixup ath5k support
http://patchwork.openwrt.org/patch/4417/

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

SVN-Revision: 40323
2014-03-30 09:16:31 +00:00
John Crispin
112059073e lantiq: fix initial VLAN conf for P2601HNFX
Signed-off-by: Antonios Vamporakis <ant@area128.com>

SVN-Revision: 40321
2014-03-30 09:16:23 +00:00
John Crispin
5a98a6b9cf lantiq: P2601HNFX dts update for STP and buttons
- Set correct AltSel for STP pins
- Set front button to rfkill

Signed-off-by: Antonios Vamporakis <ant@area128.com>

SVN-Revision: 40320
2014-03-30 09:16:19 +00:00
John Crispin
e733242a23 lantiq: add support for Arcadyan ARV7519PW
This patch adds almost full support for this board.

- WiFi is still not working
- USB will not power up. According to some reports, it may be a passive port

Signed-off-by: Antonios Vamporakis <ant@area128.com>

SVN-Revision: 40319
2014-03-30 09:16:15 +00:00
John Crispin
3a43738e21 lantiq: reset gphys on reboot
If gphys are not reset upstream uboot can not use them anymore.

Signed-off-by: Antonios Vamporakis <ant@area128.com>

SVN-Revision: 40318
2014-03-30 09:16:10 +00:00
John Crispin
9531390aad lantiq: add support for ZyXEL P2812HNUFX
This patch adds almost full support for this board. WiFi is still not working.
The FXS ports are not functional due to missing support for the TAPI driver on
VR9 SoC.

Signed-off-by: Antonios Vamporakis <ant@area128.com>
Tested-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 40317
2014-03-30 09:16:06 +00:00
John Crispin
9b78e13aa3 lantiq: add ubifs support in image Makefile
Signed-off-by: Antonios Vamporakis <ant@area128.com>

SVN-Revision: 40316
2014-03-30 09:16:02 +00:00
John Crispin
2803e79be6 lantiq: add ubifs to FEATURES
Signed-off-by: Antonios Vamporakis <ant@area128.com>

SVN-Revision: 40315
2014-03-30 09:15:58 +00:00
John Crispin
07eb49b7e0 lantiq: xrx200: add ubi support in the kernel
Signed-off-by: Antonios Vamporakis <ant@area128.com>

SVN-Revision: 40314
2014-03-30 09:15:54 +00:00
John Crispin
82da5ca248 lantiq: add inital support for xrx200 switch
Signed-off-by: Antonios Vamporakis <ant@area128.com>

SVN-Revision: 40313
2014-03-30 09:15:50 +00:00
John Crispin
32e2246270 lantiq: xrx200: fix duplex
Both the GPL driver from ZyXEL and the xrx200 driver have this error. The flags
are reversed. Full duplex is marked as half and the other way around. With this
fix the switch will push full GBit speeds.

Signed-off-by: Antonios Vamporakis <ant@area128.com>

SVN-Revision: 40312
2014-03-30 09:15:46 +00:00
John Crispin
93e5c8cefc lantiq: fixup 3370 dts file
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40311
2014-03-30 09:15:41 +00:00
John Crispin
561a7ef93b lantiq: fix nand/ebu locking
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40310
2014-03-30 09:15:37 +00:00
John Crispin
d6a138141c lantiq: add tffs driver
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40309
2014-03-30 09:15:33 +00:00
John Crispin
bc03add273 kernel: export gluebi info to sysfs
Export the ubi_num and vol_id into the sysfs record of the gluebi-
emulated mtd device. Previously userspace didn't have a way to
map gluebi-emulated devices back to their corresponding ubi volumes.

SVN-Revision: 40306
2014-03-30 09:15:20 +00:00
John Crispin
deba38f2a7 kernel: rtl8306: fix vlan support on lantiq ar9 p2601hnfx
If the CPU port is not forced up, the link, at least on this board, is lost after
changes are applied. This makes sure that the link is restored. Regression tests
should confirm it doesn't break other boards.

Signed-off-by: Antonios Vamporakis <ant@area128.com>

SVN-Revision: 40305
2014-03-30 09:15:16 +00:00
John Crispin
72cdb34ae8 kernel: rtl8306: fix max pvid & remove port isolation
- hide port pvid - vlan index relation
- switch initialises with vlans disabled so port isolation is not used
- remove special treatment of cpu port

Signed-off-by: Antonios Vamporakis <ant@area128.com>

SVN-Revision: 40304
2014-03-30 09:15:11 +00:00
John Crispin
6a72dc4082 kernel: rtl8306: cosmetic changes for swconfig
Changes to:
- show the correct "enable_vlan" value under "Global attributes"
- show tagged ports under "Vlan: ports"
- use get_port_link method to report link status

Signed-off-by: Antonios Vamporakis <ant@area128.com>

SVN-Revision: 40303
2014-03-30 09:15:07 +00:00