Commit Graph

35065 Commits (750dcc755841adb27296ad5e9e405db301c4acc0)

Author SHA1 Message Date
Rafał Miłecki a047169f9d mac80211: brcmfmac: fix lockup related to P2P interface
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
2016-09-29 14:19:44 +02:00
Zoltan HERPAI 29fcc94c9a CC: openssl: update to 1.0.2j
Security fixes:
* (Severity: High) OCSP Status Request extension unbounded memory growth (CVE-2016-6304)
* (Severity: Moderate) SSL_peek() hang on empty record (CVE-2016-6305)
* (Severity: Moderate) Missing CRL sanity check (CVE-2016-7052)
* 10 Low severity issues

Security advisories:
https://www.openssl.org/news/secadv/20160922.txt
https://www.openssl.org/news/secadv/20160926.txt

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
2016-09-29 07:29:15 +02:00
Zoltan Herpai d6b3ca24c5 Merge pull request #82 from ecsv/openmesh-cc
OpenMesh MR1750(v2) and OM2P-HSv3 support for Chaos Calmer
2016-09-21 21:13:17 +02:00
Sven Eckelmann 3411c9a885 ar71xx: add MR1750v2 to the MR1750 profile
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
2016-09-21 18:16:54 +02:00
Sven Eckelmann 21560ae52e ar71xx: extract ath10k wifi board.bin for the OpenMesh MR1750v2 board
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
2016-09-21 18:16:54 +02:00
Sven Eckelmann b6c8710aa7 package/uboot-envtools: add OpenMesh MR1750v2 support
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
2016-09-21 18:16:54 +02:00
Sven Eckelmann 9f2256a4d4 package/om-watchdog: add OpenMesh MR1750v2 support
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
2016-09-21 18:16:54 +02:00
Sven Eckelmann 82d0eae9b2 ar71xx: enable sysupgrade for the OpenMesh MR1750v2
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
2016-09-21 18:16:54 +02:00
Sven Eckelmann c02d2e3885 ar71xx: add user-space support for the OpenMesh MR1750v2
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
2016-09-21 18:16:54 +02:00
Sven Eckelmann 7599f56630 ar71xx: add kernel support for the OpenMesh MR1750v2
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
2016-09-21 18:16:54 +02:00
Sven Eckelmann 563eb0eaba ar71xx: add OM2P-HSv3 to the OM2P profile
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
2016-09-21 18:16:54 +02:00
Sven Eckelmann eeaa319a63 package/uboot-envtools: add OpenMesh OM2P-HSv3 support
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
2016-09-21 18:16:54 +02:00
Sven Eckelmann d461f84d6e package/om-watchdog: add OpenMesh OM2P-HSv3 support
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
2016-09-21 18:16:54 +02:00
Sven Eckelmann 22bd3b1c0c ar71xx: enable sysupgrade for the OpenMesh OM2P-HSv3
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
2016-09-21 18:16:54 +02:00
Sven Eckelmann eaf23dc12a ar71xx: add user-space support for the OpenMesh OM2P-HSv3
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
2016-09-21 18:16:54 +02:00
Sven Eckelmann 8d88087030 ar71xx: add kernel support for the OpenMesh OM2P-HSv3
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
2016-09-21 18:16:54 +02:00
Sven Eckelmann 0e46b8641b ar71xx: add OM5P-ACv2 to the OM5P-AC profile
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>

Backport of r49155
2016-09-21 18:16:54 +02:00
Sven Eckelmann 6f84fea54e ar71xx: extract ath10k wifi board.bin for the OpenMesh OM5P-ACv2 board
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>

Backport of r49154
2016-09-21 18:16:54 +02:00
Sven Eckelmann 919ececba8 uboot-envtools: add OpenMesh OM5P-ACv2 support
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>

Backport of r49153
2016-09-21 18:16:54 +02:00
Sven Eckelmann 734f67a174 om-watchdog: add OpenMesh OM5P-ACv2 support
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>

Backport of r49152
2016-09-21 18:16:54 +02:00
Sven Eckelmann 85584fd4d4 ar71xx: enable sysupgrade for the OpenMesh OM5P-ACv2
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>

Backport of r49151
2016-09-21 18:16:54 +02:00
Sven Eckelmann 88160843cd ar71xx: add user-space support for the OpenMesh OM5P-ACv2
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>

Backport of r49150
2016-09-21 18:16:54 +02:00
Sven Eckelmann 1348284297 ar71xx: add kernel support for the OpenMesh OM5P-ACv2 board
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>

Backport of r49149
2016-09-21 18:16:54 +02:00
Sven Eckelmann 6aaf2d1c0c ar71xx: create profile and build image for the OpenMesh OM5P-AC board
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>

Backport of r49148
2016-09-21 18:16:54 +02:00
Sven Eckelmann 85e7ec9bfd ar71xx: extract ath10k wifi board.bin for the OpenMesh OM5P-AC board
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>

Backport of r49147
2016-09-21 18:16:54 +02:00
Sven Eckelmann 1104930079 uboot-envtools: add OpenMesh OM5P-AC support
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>

Backport of r49146
2016-09-21 18:16:54 +02:00
Sven Eckelmann 9ea881a3cd om-watchdog: add OpenMesh OM5P-AC support
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>

Backport of r49145
2016-09-21 18:16:54 +02:00
Sven Eckelmann e2a8a159fd ar71xx: enable sysupgrade for the OpenMesh OM5P-AC
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>

Backport of r49144
2016-09-21 18:16:54 +02:00
Sven Eckelmann 5b9f6412ed scripts/om-fwupgradecfg-gen.sh: add support for the OM5P-AC
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>

Backport of r49143
2016-09-21 18:16:54 +02:00
Sven Eckelmann 1c49922ada ar71xx: add user-space support for the OpenMesh OM5P-AC
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>

Backport of r49142
2016-09-21 18:16:54 +02:00
Sven Eckelmann bdf20fd1f1 ar71xx: add kernel support for the OpenMesh OM5P-AC board
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>

Backport of r49141
2016-09-21 18:16:54 +02:00
Sven Eckelmann d64a7f65b3 scripts/om-fwupgradecfg-gen.sh: Generate sha256sum for uboot verification
Future Open Mesh u-boot versions are changing the check of the image files
(vmlinux, rootfs) from md5 to sha256. Having both in them should be enough
to ensure backward and forward compatibility.

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

Backport of r49140
2016-09-21 18:16:54 +02:00
Sven Eckelmann d6cd09a0d0 scripts/om-fwupgradecfg-gen.sh: Fix u-boot image md5sum check
The u-boot on Open Mesh devices checks the whole transfered image against a
md5sum. This is stored inside the option filemd5sum inside the
fwupgrade.cfg. The bootloader will not check it when this setting is
missing and could therefore write invalid images to the flash.

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

Backport of r46925
2016-09-21 18:16:54 +02:00
Sven Eckelmann 5ec3e29ac9 ar71xx: Use private version of ath79_setup_qca955x_eth_cfg for MR1750
The MR1750 must unset some bits in ETH_CFG which were set by u-boot to work
correctly under OpenWrt. But the global function
ath79_setup_qca955x_eth_cfg will not unset all of them to increase the
backward compatiblity with older mach-* files. A private (simplified)
version for MR1750 can be used instead.

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

Backport of r49070
2016-09-21 18:16:54 +02:00
Sven Eckelmann f8d1f1c678 ar71xx: Use private version of ath79_setup_qca955x_eth_cfg for MR900
The MR900 must unset some bits in ETH_CFG which were set by u-boot to work
correctly under OpenWrt. But the global function
ath79_setup_qca955x_eth_cfg will not unset all of them to increase the
backward compatiblity with older mach-* files. A private (simplified)
version for MR900 can be used instead.

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

Backport of r49069
2016-09-21 18:16:54 +02:00
Sven Eckelmann b92fcfb75e ar71xx: Use PHY fixups for Open Mesh MR1750
The delays of PHY/MAC on the MR1750 are done by u-boot and OpenWrt in
different ways. u-boot only modifies the ETH_CFG of the QCA955x based on
the link speed. But OpenWrt can only modify the PHY delays based on the
link speed.

This can lead to communication problems when u-boot initializes the ETH_CFG
for a specific link speed (e.g. 10BASE-T) but then OpenWrt the sets the PHY
delays to an incompatible value.

Instead reset the ETH_CFG delay bits of the QCA955x to a specific value and
only rely on the AT803x PHY settings.

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

Backport of r49031
2016-09-21 18:16:54 +02:00
Sven Eckelmann 9bac508e46 ar71xx: Use PHY fixups for Open Mesh MR900
The delays of PHY/MAC on the MR900 are done by u-boot and OpenWrt in
different ways. u-boot only modifies the ETH_CFG of the QCA955x based on
the link speed. But OpenWrt can only modify the PHY delays based on the
link speed.

This can lead to communication problems when u-boot initializes the ETH_CFG
for a specific link speed (e.g. 10BASE-T) but then OpenWrt the sets the PHY
delays to an incompatible value.

Instead reset the ETH_CFG delay bits of the QCA955x to a specific value and
only rely on the AT803x PHY settings.

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

Backport of r49030
2016-09-21 18:16:54 +02:00
Sven Eckelmann 5ba0cfb798 ar71xx: Add QCA955X GPIO mux and function definitions
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>

Backport of r49075
2016-09-21 18:16:54 +02:00
Sven Eckelmann 601462ea2f ar71xx: Add support for ath79_gpio_function_* on QCA955X
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>

Backport of r49074
2016-09-21 18:16:54 +02:00
Sven Eckelmann 1702e3b2a9 ar71xx: Allow to use ath79_gpio_output_select on QCA955x
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>

Backport of r46459
2016-09-21 18:16:54 +02:00
Sven Eckelmann d103186192 ar71xx: Use *_eth_cfg helper for Open Mesh MR900 boards
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>

Backport of r46241
2016-09-21 18:16:54 +02:00
Sven Eckelmann 4bddce1be0 ar71xx: Extend the list of bits in QCA955X_GMAC_REG_ETH_CFG
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>

Backport of r49027
2016-09-21 18:16:54 +02:00
Sven Eckelmann 37ec7eca7a ar71xx: create profile and build image for the OpenMesh MR1750 board
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>

Backport of r46932
2016-09-21 18:16:54 +02:00
Sven Eckelmann 84c90a1e82 package/uboot-envtools: add OpenMesh MR1750 support
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>

Backport of r46931
2016-09-21 18:16:54 +02:00
Sven Eckelmann 55f8c0d590 package/om-watchdog: add OpenMesh MR1750 support
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>

Backport of r46930
2016-09-21 18:16:54 +02:00
Sven Eckelmann fc2657851d ar71xx: enable sysupgrade for the OpenMesh MR1750
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>

Backport of r46929
2016-09-21 18:16:54 +02:00
Sven Eckelmann b445afc79d scripts/om-fwupgradecfg-gen.sh: add support for the MR1750
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>

Backport of r46928
2016-09-21 18:16:54 +02:00
Sven Eckelmann 4643507288 ar71xx: add user-space support for the OpenMesh MR1750 board
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>

Backport of r46927
2016-09-21 18:16:54 +02:00
Sven Eckelmann 579c3580e3 ar71xx: add kernel support for the OpenMesh MR1750 board
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>

Backport of r46926
2016-09-21 18:16:54 +02:00
Sven Eckelmann 4332d73411 ar71xx: Generate sysupgrade images for OpenMesh devices
Some OpenWrt based firmwares like Gluon expect that a sysupgrade image
exists when a device firmware can be updated via sysupgrade. This image
wasn't created until now because OpenMesh devices use the same image for
factory and sysupgrade flash. Copying the image from *factory.bin to
*sysupgrade.bin is therefore enough to make the sysupgrade functionality
visible.

Reported-by: Matthias Schiffer <mschiffer@universe-factory.net>
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
2016-09-21 18:16:54 +02:00