Commit Graph

378 Commits

Author SHA1 Message Date
Alexander Couzens 68ce59ad6f ar71xx/sysmocom: migrate led red:eth0 to red:system
Before the red:wlan led was used as system led while booting.
2015-07-21 10:58:10 +02:00
Alexander Couzens ce76671a16 ar71xx/sysmocom: add admin port to sysmocom-sob-jb02v3 2015-07-20 15:04:06 +02:00
Alexander Couzens 4e8405857a ag71xx_ar7240/export_netdevs: check if the phy is already checked early
Don't create a netdev for phy which are already attached to a netdev.
This replace kernel errors:

(null): PHY already attached
phy attach failed 4 with err -16

With:
Phy on addr 0x4 is already attached. Not creating a phy device for it.
2015-07-20 11:55:17 +02:00
Alexander Couzens cb5ddd5168 Merge remote-tracking branch 'upstream_openwrt/master'
* openssl update
* hostapd: fix remote denial of service vulnerability in WMM action frame parsing
* kernel: remove the netfilter optimization that skips the filter table, it has caused too many issues
* ath9k: fix a beacon enable handling bug
* minor bugfixes and board backports
2015-07-19 19:59:25 +02:00
Alexander Couzens 641ec9db23 ar71xx/sysmocom: register boot counter for all board
the bootcounter was only registered for ap2
2015-07-19 19:45:43 +02:00
jow 10b1d597b9 BB: openssl: update to v1.0.2d (CVE-2015-1793)
During certificate verification, OpenSSL (starting from version 1.0.1n and
1.0.2b) will attempt to find an alternative certificate chain if the first
attempt to build such a chain fails. An error in the implementation of this
logic can mean that an attacker could cause certain checks on untrusted
certificates to be bypassed, such as the CA flag, enabling them to use a valid
leaf certificate to act as a CA and "issue" an invalid certificate.

This issue will impact any application that verifies certificates including
SSL/TLS/DTLS clients and SSL/TLS/DTLS servers using client authentication.

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

Backport of r46285

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@46287 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-09 13:15:32 +00:00
Alexander Couzens 54a53a37a0 ar71xx/sysmocom: drop cb2 postfix from sob-jb02 image name to match board_name
The sysmocom flasher require images which are named exact as the board_name variable
2015-07-07 16:42:24 +02:00
Alexander Couzens 809e8c982e Merge branch 'boot-counter' 2015-07-07 14:57:37 +02:00
Alexander Couzens 1759bc10df ar71xx/sysmocom: rename image filename to be consistant with board name
sed -i 's/,sysmo-sob-/,-sysmocom-sob-/g' target/linux/ar71xx/image/Makefile
2015-07-07 14:57:22 +02:00
Alexander Couzens 9e00cdf1ae ar71xx/sysmocom: register boot counter as platform_device 2015-07-07 14:57:22 +02:00
jogo 861527622c BB: kernel: kmod-scsi-core: fix load on install
sd_mod depends on scsi_mod, but due to it being an AutoLoad and not
AutoProbe module, it was not loading when installing the package,
causing unknown symbol errors for sd_mod and anything depending on it.

Closes #14927, #18293, #19351.

Backport of r46176.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@46178 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-04 12:56:21 +00:00
jow 28e3d3f330 BB: uclibc++: make g++-uc* wrappers relocatable
The g++-uc wrapper hardcodes $(STAGING_DIR) and $(TOOLCHAIN_DIR) paths which
will not work outside of the original build environment.

Replace the hardcoded staging_dir occurences with paths relative to the
$STAGING_DIR environment variable to make the g++-uc* wrappers usable in an
SDK environment.

Fixes the libdb47 build failure reported at
  https://lists.openwrt.org/pipermail/openwrt-devel/2015-April/032455.html

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

Backport of r46162

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@46164 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-03 13:49:24 +00:00
Alexander Couzens ec81bce760 ar71xx/sysmocom: rename image filename to be consistant with board name
sed -i 's/,sysmo-sob-/,-sysmocom-sob-/g' target/linux/ar71xx/image/Makefile
2015-06-30 19:23:49 +02:00
Alexander Couzens dca38a219e ar71xx/sysmocom: remove skw postfix from jb02v3 2015-06-26 18:27:31 +02:00
Alexander Couzens cfcf15fc58 ar71xx: fix mismatch between mips machine and give machine from cmdline for SYSMOSOBJB02V3 2015-06-26 13:56:30 +02:00
cyrus d70e69464e openssl: bump to 1.0.2c
fixes CVE-2015-4000 CVE-2015-1788 CVE-2015-1789 CVE-2015-1790 CVE-2015-1792 CVE-2015-1791

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@45951 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-06-12 20:59:57 +00:00
Alexander Couzens 3426d18da0 ar71xx/sysmocom: disable RTS CTS pins on all boards 2015-06-09 16:11:16 +02:00
Alexander Couzens 1e3af1cbdf ar71xx/sysmocom: use correct gpio name for ar933x devices
Wrong gpio names were used in gpio_function_disable. But likely they had
the same value.
2015-06-09 16:09:01 +02:00
Alexander Couzens 2375915d9f ar71xx/sysmocom: fix eeprom type - 24c02 is assembled 2015-06-09 16:06:27 +02:00
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
nbd 179bab8b17 hostapd: fix remote denial of service vulnerability in WMM action frame parsing
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r45619

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@45620 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-05-06 09:47:05 +00: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
jow 229d60fdb4 BB: openssl: update to v1.0.2a (14 CVEs)
Fixes CVE-2015-0204, CVE-2015-0207, CVE-2015-0208, CVE-2015-0209,
CVE-2015-0285, CVE-2015-0286, CVE-2015-0287, CVE-2015-0288, CVE-2015-0289,
CVE-2015-0290, CVE-2015-0291, CVE-2015-0292, CVE-2015-0293, CVE-2015-1787.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@44952 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-23 14:08:16 +00:00
Alexander Couzens 7ddeeba72a ar71xx: ap1 + jb02: fix mac address 2015-03-17 18:32:40 +01:00
nbd 64ae631f20 kernel: remove the netfilter optimization that skips the filter table, it has caused too many issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r44873

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@44874 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-17 17:15:15 +00: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
nbd 8737792072 ath9k: fix a beacon enable handling bug
Backport of r44696

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@44697 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-12 16:32:07 +00: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