Commit Graph

11713 Commits

Author SHA1 Message Date
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
John Crispin
defdec0f3a lantiq: drop old svip folders
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40294
2014-03-27 13:34:56 +00:00
Gabor Juhos
627baa28d3 kernel: update 3.10 to 3.10.34
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40291
2014-03-27 09:28:33 +00:00
Gabor Juhos
b68564ed3f ar71xx: build image for TL-WDR4300v1 (IL)
The version of TL-WDR4300 sold in Israel comes with a different
hardware id.

Patch-by: Daniel <daniel@makrotopia.org>
Patchwork: http://patchwork.openwrt.org/patch/5001/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40038
2014-03-27 06:36:59 +00:00
Gabor Juhos
4ea54b827f ar71xx: add profile and build firmware image for the Oolite v1 board
Patch-by: Lars Bøgild Thomsen <lth@cow.dk>
Patchwork: http://patchwork.openwrt.org/patch/4922/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40036
2014-03-27 06:36:57 +00:00
Gabor Juhos
02f2e90d5f ar71xx: add user space support for the Oolite v1 board
Patch-by: Lars Bøgild Thomsen <lth@cow.dk>
Patchwork: http://patchwork.openwrt.org/patch/4922/
[juhosg: use correct board name in uci-defaults/02_network]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40033
2014-03-27 06:36:47 +00:00
Gabor Juhos
5256bbdc56 ar71xx: add kernel support for the Oolite v1 board
Patch-by: Lars Bøgild Thomsen <lth@cow.dk>
Patchwork: http://patchwork.openwrt.org/patch/4922/
[juhosg:
 - use a separate patch for kernel changes,
 - reorder Kconfig and Makefile entries,
 - change function and variable names to be lowercase only
   and fix misaligned tabs in mach-gs-oolite.c,
   ... ]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40032
2014-03-27 06:36:46 +00:00
Gabor Juhos
f0dc89b46f ar71xx: rename RB951Ui specific kernel patch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40031
2014-03-27 06:35:55 +00:00
Imre Kaloz
132f7d3cc9 update to 3.14-rc8
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 40023
2014-03-26 14:14:20 +00:00
Imre Kaloz
b8e295aa7b upgrade 3.13 targets to 3.13.7
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 40022
2014-03-26 11:34:39 +00:00
Felix Fietkau
7c78ab8c21 x86_64: fix sysupgrade
Function move_config should be called after or during preinit_mount_root
hook in do_mount_root function. At this state sysupgrade.tgz is not in its
place during that time when do_mount_root is called. Function move_config
is called later so the sysupgrade.tgz stays in root directory to the second
restart when it is unpacked properly.

This patch adds move_config function to preinit_mount_root hook instead
of preinit_main and changes the filename of script to be called before
80_mount_root is called. It will prepare the sysupgrade archive for do_mount_root
within preinit_mount_root hook.

This issue was introduced for target x86. Since the target for x86_64 is
similar to x86, this issue is present also in this target. It solves the
ticket #15042 and #14088.

Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
Tested-By: Stefan Hellermann <stefan@the2masters.de>

SVN-Revision: 39997
2014-03-21 15:55:11 +00:00
Felix Fietkau
a14437024c x86: fix sysupgrade
Function move_config should be called after or during preinit_mount_root
hook in do_mount_root function. At this state sysupgrade.tgz is not in its
place during that time when do_mount_root is called. Function move_config
is called later so the sysupgrade.tgz stays in root directory to the second
restart when it is unpacked properly.

This patch adds move_config function to preinit_mount_root hook instead
of preinit_main and changes the filename of script to be called before
80_mount_root is called. It will prepare the sysupgrade archive for do_mount_root
within preinit_mount_root hook.

This patch solves ticket #15042 and #14088.

Signed-off-by: Jiri Slachta <slachta@cesnet.cz>

SVN-Revision: 39996
2014-03-21 15:55:07 +00:00
Zoltan Herpai
a51ffcc1d1 sunxi: init eth0 as lan instead of wan, add a couple boards
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39973
2014-03-20 22:46:18 +00:00
Zoltan Herpai
73f14ca63b sunxi: enable /proc/device-tree - used for board detection
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39972
2014-03-20 21:59:52 +00:00
Zoltan Herpai
0534e2c79c sunxi: various changes - fix mmc, sata, usb (partially) on CubieTruck - fix hstimer DT on A20
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
Signed-off-by: Zalan Blenessy <zalan.blenessy@gmail.com>

SVN-Revision: 39971
2014-03-20 21:40:07 +00:00
Felix Fietkau
479b0c82a2 kernel/generic: fix define in 642-bridge_port_isolate.patch
Patch 642-bridge_port_isolate.patch needs to be updated
for kernels 3.12, 3.13 and 3.14 as the define for BR_ISOLATE_MODE
conflicts with BR_LEARNING

Signed-off-by: Jonas Eymann <j.eymann@gmx.net>

SVN-Revision: 39955
2014-03-19 14:26:48 +00:00
John Crispin
4835ea949f ralink: add missing OF node
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39950
2014-03-18 19:22:13 +00:00
John Crispin
332b94fbd5 ralink: refresh patches
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39949
2014-03-18 19:21:56 +00:00
Imre Kaloz
8a97da18e0 switch the am335x-evmsk to the new wlcore bindings
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39948
2014-03-18 19:05:37 +00:00
Imre Kaloz
aabce5cf6a switch to the newer DT bindings for wl1xxx
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39946
2014-03-18 18:54:27 +00:00
Zoltan Herpai
18ab115d89 sunxi: fix mmc support on sun4i
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39943
2014-03-17 22:32:42 +00:00
Felix Fietkau
2a5f6cadd1 target/sdk: strip host binaries before packing
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39915
2014-03-13 14:14:00 +00:00
Felix Fietkau
8c9fed34e4 target/sdk: leave out some unnecessary directories
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39914
2014-03-13 14:13:57 +00:00
Felix Fietkau
ee4110aff0 target/sdk: use .config instead of unconditionally enabling all build dirs
Call make defconfig on every build to catch newly added packages

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

SVN-Revision: 39913
2014-03-13 12:12:58 +00:00
Felix Fietkau
fd27fb770d target/sdk: fix parallel build calls
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39912
2014-03-13 12:12:50 +00:00
Felix Fietkau
2d52430c25 target/sdk: remove obsolete make calls for the ancient package directory format
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39911
2014-03-13 12:12:46 +00:00
Hauke Mehrtens
fbb5b8af8e kernel: fix 990-gpio_wdt.patch patch
This uses the correct include now.

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

SVN-Revision: 39906
2014-03-12 23:29:42 +00:00
Hauke Mehrtens
00dc53dd2e brcm47xx: add initial support for kernel 3.14
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39905
2014-03-12 23:28:41 +00:00
Hauke Mehrtens
128bb9f1a3 kernel: add missing config options for kernel 3.14
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39904
2014-03-12 23:16:27 +00:00