Commit Graph

39 Commits

Author SHA1 Message Date
Alexander Couzens eb57ede2dd ar71xx/sysmocom: enable sysupgrade on all boards 2015-04-04 17:08:09 +02:00
Alexander Couzens 7cfcabc7ae ar71xx/sysmocom/sob-jb02: fix led color - both leds are red 2015-04-04 17:08:09 +02:00
Alexander Couzens 7ddeeba72a ar71xx: ap1 + jb02: fix mac address 2015-03-17 18:32:40 +01:00
Alexander Couzens b240f36506 ar71xx/ap1 ap2: replace default network configuration with eth0.6 = mgmt 2015-03-17 14:07:05 +01:00
Alexander Couzens 2739f09d07 ar71xx/jb02: replace default network configuration with eth0.6 = mgmt 2015-03-17 12:48:27 +01:00
Alexander Couzens 64caabe995 ar71xx/sysmocom: move local admin port out of the switch 2015-03-10 17:05:56 +01:00
Alexander Couzens 79322fd883 ar71xx/sysmocom: fix ap2 calibration data location
ap2 has only 8 MB SPI flash
2015-03-10 15:27:30 +01:00
Alexander Couzens aa67259629 ar71xx/sysmocom: fix ethernet support of sysmo-ap1 & sysmo-jb02
wrong ethernet mac was used
2015-03-10 15:25:44 +01:00
Alexander Couzens e25ed2fede ar71xx/sysmocom: fix MAC address offset usage.
ath79_init_mac(*dest, *src, offset): The offset was misused.
Offset is added to the MAC address value.
2015-03-10 15:25:44 +01:00
Alexander Couzens ebeadd286c ar71xx/sysmocom: move network configuration out of _common()
The sysmo boards differs to much - put it into board configuration
to improve readability.
2015-03-10 15:25:44 +01:00
Harald Welte 931bb20e63 sob-ap2: Enable GPIO26 + GPIO27 as GPIO, not MDIO 2015-02-21 19:58:58 +01:00
Harald Welte e67d0c78a6 initial support of the new sysmocom SOB-AP2 (1xPD/3xPSE)
Port0 is uplink/PD port (IDC)
Port1-3 are downink/PSE ports (IDC)
Port4 is admin port (RJ45)

* we only have 8 MByte flash
* we use the hardware LEDs for switch ports 1-5

The image boots and is able to establish links on both eth0 and eth1.
However, the LED support is not yet working as expected.
2015-02-21 11:34:52 +01:00
Alexander Couzens 59f13eb186 ar71xx/sysmocom: fix JB02 mips machine
setup function name wasn't renamed when mach file split up for both boards
2015-02-18 03:15:47 +01:00
Alexander Couzens fecdb0e772 ar71xx/sysmocom: fix build of sysmocom board
sysmocom boards wasn't build because they aren't included by a Makefile
2015-02-18 03:15:41 +01:00
Alexander Couzens 6547fca3bd ar71xx/sysmocom: use config symbol ATH79_MACH_SYSMOCOM for all sysmocom boards 2015-02-18 03:14:42 +01:00
Alexander Couzens 7c5dcd7b26 ar71xx/sysmocom: fix sysmocom miswritten mach type in mach-sysmocom.c 2015-02-18 01:54:24 +01:00
Alexander Couzens ee389e3c9e sysmocom use a multiprofile for both boards AP1 + JB02 2015-02-10 15:51:12 +01:00
Alexander Couzens bbc86587e4 add sysmocom devices SOB-AP1 SOB-JB02 2015-02-10 15:51:12 +01:00
nbd d12dc6e491 ar71xx: backport restart fix from r43777 (fixes #17839)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@44065 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-20 16:41:46 +00:00
blogic 8d615537e2 ar71xx: add support for TL-WA701ND v2
Signed-off-by: Luigi Tarenga <luigi.tarenga@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@44064 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-20 15:49:04 +00:00
nbd 0484ab40b5 ar71xx: Fix LED definitions for the DRAGINO2 board
This patch fixes LED definitions for the DRAGINO2 board.

1. It renames the Router/USB led to System, as it is now marked "SYS" on the board.
2. It gives control of the LAN and WAN leds and some other GPIOs to Linux.
3. It fixes the active_low property for the LAN and WAN leds.
4. It sets up WLAN, LAN and WAN leds in the UCI defaults.
5. It allows usage of the System led by the diag.sh script, so it will be used to indicate boot and failsafe status.

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>

Backport of r42897

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@43867 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-07 16:47:38 +00:00
rmilecki 12f3e4d121 kernel: makefiles: make use of new var KERNEL_PATCHVER
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

Inspired by r43047


git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@43067 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-26 13:27:27 +00:00
nbd 7f95aef182 ar71xx: disable irq on reboot to fix hang issues (fixes #17839)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r42955

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42956 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-18 19:26:22 +00:00
nbd 509e168418 ar71xx: ack completed tx descriptors only after the full frame has been completed
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r42457

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42475 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-11 15:14:05 +00:00
nbd a2a0b9f4dd ath79: dev-eth: Don't advertise 1gbit in link code word on ar9331
While the AR9331 has a gigabit MAC towards the internal switch, the
integrated PHYs however are only 100-base-tx capable.  The existing code
however advertieses gigabit capability in the link status word.  If you
attach such a PHY to a gigabit capable switch on the remote end, with
some probability it attempts to negotiate gigabit and fails, falling
baco to the AR9331 assuming a 10mbit half-duplex link.  This has been
observed quite frequently with the Carambola2 and gigabit capable
switches.

In ath79_register_eth(), "pdata->has_gbit = 1;" is set unconditionally
for both AR9331 ethernet ports. This is most likely wrong. Despite the
two MAC IP cores being gigabit MACs, the MAC for eth1 is connected to a
100base-T PHY via MII. The has_gbit attribute is used in the ethernet
driver to determine the supported link modes.

So either pdata->has_gbit is not set to 1 anymore, or the ethernet
driver needs to be modified to determine the advertised link code word
on another criteria than pdata->has_gbit.  This patch implements the
former solution.

Signed-off-by: Harald Welte <laforge@gnumonks.org>

Backport of r42432

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42434 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-07 09:46:41 +00:00
nbd 50018dedf8 ar71xx: merge ethernet tx descriptor splitting from trunk (as of r42429) to fix ar716x performance issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42433 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-07 09:46:39 +00:00
blogic b24a61d6b7 add support for the NC-LINK SMART-300
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

Backport of r42130

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42393 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:22:12 +00:00
blogic b402d2d109 ar71xx: add Support for RB2011UiAS-2HnD
Backport of r42317

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42387 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:22:04 +00:00
blogic 895b47c8c9 ar71xx: use ETH_ALEN for consistency
Signed-off-by: Forest Crossman <cyrozap@gmail.com>

Backport of r42280

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42381 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:56 +00:00
blogic d2534fef1c ar71xx: enable sysupgrade for the EnGenius ESR900
Signed-off-by: Forest Crossman <cyrozap@gmail.com>

Backport of r42279

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42380 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:55 +00:00
blogic 96b714042b ar71xx: TL-WR1043N/ND v2: Fix MAC address of WMAC
This sets the MAC address of the WLAN interface to the "official" primary MAC
address (the one on the label under the devices, and the one used with the stock
firmware). The MAC address used so far (primary-1) isn't even used at all with
the stock firmware, which sets (primary) on LAN and WLAN and (primary+1) on the
WAN interface (like OpenWrt does with this patch).

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

Backport of r42193

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42367 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:34 +00:00
blogic c7396c35b3 ar71xx: build factory image for EnGenius ESR900 and ESR1750
Signed-off-by: Forest Crossman <cyrozap@gmail.com>

Backport of r42189

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42364 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:29 +00:00
blogic 7e5a3393fc ar71xx: Fix 2.4G WiFi LED of the OpenMesh MR600 board
The OpenMesh MR600(v1) can only enable the 2.4G WiFi PHY LED through the
mini-PCIe device. Not configuring the LED pin inside the platform data
makes it impossible to configure it through any standard OpenWrt tool.

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

Backport of r42184

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42363 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:27 +00:00
blogic b9b30bccd1 ar71xx: changed the EnGenius ESR900 mtdparts to match that of the ESR1750 since they have the same flash layout
Signed-off-by: Forest Crossman <cyrozap@gmail.com>

Backport of r42177

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42356 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-01 13:21:13 +00:00
cyrus aa875769db ar71xx: Add support for the WNDR3800CH
Apparently this is a fairly common refurb unit of the 3800 series now,
with merely the recognition string changed in the boot loader.

Signed-off-by: Dave Taht <dave.taht@bufferbloat.net>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42031 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-07 10:00:30 +00:00
nbd 4968efa5e4 ar71xx: update Carambola2 platform data
Change list:
 * Remove button info on GPIO12, there is no button there.
 * Remove nvram mtd partition, as it's not used for anything, saves 64k for user data.

Tested building for carambola2 target.

Signed-off-by: Mantas Pucka <mantas@8devices.com>

Backport of r41993

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42013 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-06 10:30:21 +00:00
blogic da4d52d5d7 ar71xx: oolite: the buttons are not active_low
this caused factory resets when reboot was pressed

Signed-off-by: Brent Thomson <brentthomson@gmail.com>
Signed-off-by: John Crispin <blogic@openwrt.org>

Backport of r41932

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41972 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-03 11:15:45 +00:00
blogic 85ec9ac9d6 ar71xx: add RTC feature flag to ar71xx/nand
without this the build for NBG6716 fails due to missing packages

https://dev.openwrt.org/ticket/17325

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

Backport of r41930

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41971 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-03 11:15:43 +00:00
nbd e345c9a277 create branch for barrier breaker (from trunk r41863)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@41864 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-28 23:18:57 +00:00