Commit Graph

346 Commits

Author SHA1 Message Date
Alexander Couzens 820cfa16a7 linux: implement regdump of phys via debugfs
Allow a regdump of the phy register space via debugfs.
hexdump /sys/kernel/debug/mdio_bus/ag71xx_mdio/ag71xx-mdio.1:00/regdump
2015-05-26 18:53:07 +02:00
Alexander Couzens fe3973c6b1 ar71xx/sysmocom: rename machine id support patch 2015-05-20 12:58:54 +02:00
Alexander Couzens 5f90cba27a ar71xx: add size depend partition generation
Partitions are generated depending on the size of the flash chip.
The layout on which the partition based is hardcoded into the module.
Using this new partition layout it makes possible to have 8mb and 16mb within
the same board definition.
2015-05-20 12:58:53 +02:00
Alexander Couzens acd543359d ar71xx/sysmocom: set art table even for 8mb devices to the last sector of 16mb
This is possible because the memory will be wrapped around when using
the mapped spi memory space.
2015-05-18 22:32:28 +02:00
Alexander Couzens f79215acdd ar71xx/sysmocom: build image for jb02v3-skw when using sysmocom profile 2015-05-13 16:56:06 +02:00
Alexander Couzens fb426b964f ar71xx/sysmocom: add support for jb02v3 2015-05-12 17:46:02 +02:00
Alexander Couzens 063fd0f34e ar71xx/sysmocom: rename jb02 image to jb02v2-cb2 2015-05-12 16:37:52 +02:00
Alexander Couzens 8175affc55 linux: move net phy backport patch into the correct directory 2015-05-09 11:51:55 +02:00
Alexander Couzens 21f5cd2f8a RFC: ag71xx_ar7240 add new switch func export_netdevs
export_netdevs will export a net device for every port. These netdev represent a port
with out traffic.
When such a device is broght down via ifconfig the port is shutdown and
vice versa. Carrier sense is working too and ethtool can be used to
control advertise, autoneg, ...
2015-05-09 11:39:10 +02:00
Alexander Couzens af54c0148b linux: add net phy backports for phy port patch 2015-05-09 11:09:49 +02:00
Alexander Couzens 745887a828 linux: backport support for thermal sensor lm75b
It's included in generic lm75 driver.
2015-05-07 20:49:16 +02:00
Alexander Couzens 22bd48f95c linux: backport support for light sensor APDS9300 using iio framework 2015-05-07 20:49:06 +02:00
Alexander Couzens 607bcc2386 ar71xx/sysmocom: register i2c bus + devices 2015-05-07 20:46:33 +02:00
Alexander Couzens 1755472d2e ar71xx/sysmocom: switch mac address of eth0 + eth1
The lowest mac address should assigned to the switch
2015-04-06 20:09:06 +02:00
Alexander Couzens df9021e78b ar71xx/sysmocom: fix default state of wlan led
Because of using the wlan led as diag led this led will remain on even when the wifi is off
2015-04-04 20:18:16 +02:00
Alexander Couzens 9a0f07ec12 packages/uboot-envtools: add support for sysmocom boards 2015-04-04 19:47:34 +02:00
Alexander Couzens 78eabd2db9 ar71xx/sysmocom/ap2: set a static ip to the local port (wan/top) 2015-04-04 18:55:09 +02:00
Alexander Couzens 89ace1cf94 ar71xx/sysmocom: set wlan led as diag led for recovery 2015-04-04 17:08:10 +02:00
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 1c00a18a38 package/lldp: add eth0 to listening interfaces 2015-03-17 13:21:56 +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 c8cd9a10ce add i2c-utils package (found in old openwrt svn)
not sure why it was removed from openwrt mainline, it is very
useful to be able to do raw i2c operations from the shell.
2015-02-21 20:00:02 +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
cyrus e602c6df19 openssl: fix upstream regression for non-ec builds
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@44365 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-09 15:28:09 +00:00
cyrus a31e28ae0c openssl: bump to 1.0.2
Fixes CVE-2014-3513, CVE-2014-3567, CVE-2014-3568, CVE-2014-3566

Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@44347 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-02-09 12:13:06 +00:00
blogic 7d01d821b0 kernel: add support for NFSv4
To: openwrt-devel@lists.openwrt.org

This work is based on Daniel Colascione's submission to the OpenWrt
devel mailing list on January 15th, 2014. I modified his patch so that
it applied to the current OpenWrt Barrier Breaker tree.

Signed-off-by: W. Michael Petullo <mike@flyn.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@44162 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-28 12:01:51 +00:00
blogic 43067a7e80 ca-certificates: update to 20141019
update to version 20141019 and
create symbolic link for certificate hashes during installation

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@44161 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-28 12:01:44 +00:00
blogic 27723a734e BB : ramips : Backport for Kingston MLWG2
Backport r43990 to Barrier Breaker.

http://wiki.openwrt.org/toh/kingston/mlwg2

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

 target/linux/ramips/base-files/etc/diag.sh                 |   3 +++
 target/linux/ramips/base-files/etc/uci-defaults/01_leds    |   4 +++
 target/linux/ramips/base-files/etc/uci-defaults/02_network |   4 +++
 target/linux/ramips/base-files/lib/ramips.sh               |   3 +++
 target/linux/ramips/base-files/lib/upgrade/platform.sh     |   1 +
 target/linux/ramips/dts/MLWG2.dts                          | 118 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 target/linux/ramips/image/Makefile                         |   2 ++
 7 files changed, 135 insertions(+)

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@44160 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-28 10:37:51 +00:00
jow d393895c8a BB: fix subject in generated certificates
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

Backport of r44149

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@44152 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 23:56:05 +00:00
jow ccac7ce177 BB: px5g: generate unique serial numbers
Generate a random serial from /dev/urandom when creating selfsigned certs.
Fixes "sec_error_reused_issuer_and_serial" with Firefox.

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

Backport of r43168

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@44151 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-25 23:56:02 +00:00
jow 5a87b12359 BB: gmp: use http instead of ftp download (#18805)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r44082

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@44095 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-24 13:08:49 +00: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
jow 179d925d85 BB: polarssl: update to v1.3.9 and patch CVE-2015-1182
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@44061 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-20 13:02:38 +00:00
nbd 60abf1305e kernel: bridge: multicast: backport a few more fixes for 3.10
The following patches unfortunately didn't hit the kernel stable
branches yet, therefore cherrypicking them for OpenWRT here:

* bridge: fix netfilter/NF_BR_LOCAL_OUT for own, locally generated queries
* bridge: multicast: enable snooping on general queries only
* bridge: multicast: add sanity check for general query destination

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>

Backport of r43841

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@44049 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-19 01:13:25 +00:00