aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | ar71xx: add user-space support for the OpenMesh OM2P-HSv3Sven Eckelmann2016-09-213-0/+5
| | | | | | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
| * | ar71xx: add kernel support for the OpenMesh OM2P-HSv3Sven Eckelmann2016-09-212-0/+11
| | | | | | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
| * | ar71xx: add OM5P-ACv2 to the OM5P-AC profileSven Eckelmann2016-09-211-2/+2
| | | | | | | | | | | | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49155
| * | ar71xx: extract ath10k wifi board.bin for the OpenMesh OM5P-ACv2 boardSven Eckelmann2016-09-211-1/+2
| | | | | | | | | | | | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49154
| * | uboot-envtools: add OpenMesh OM5P-ACv2 supportSven Eckelmann2016-09-211-0/+1
| | | | | | | | | | | | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49153
| * | om-watchdog: add OpenMesh OM5P-ACv2 supportSven Eckelmann2016-09-211-1/+1
| | | | | | | | | | | | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49152
| * | ar71xx: enable sysupgrade for the OpenMesh OM5P-ACv2Sven Eckelmann2016-09-212-2/+5
| | | | | | | | | | | | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49151
| * | ar71xx: add user-space support for the OpenMesh OM5P-ACv2Sven Eckelmann2016-09-212-1/+5
| | | | | | | | | | | | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49150
| * | ar71xx: add kernel support for the OpenMesh OM5P-ACv2 boardSven Eckelmann2016-09-213-0/+256
| | | | | | | | | | | | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49149
| * | ar71xx: create profile and build image for the OpenMesh OM5P-AC boardSven Eckelmann2016-09-212-1/+13
| | | | | | | | | | | | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49148
| * | ar71xx: extract ath10k wifi board.bin for the OpenMesh OM5P-AC boardSven Eckelmann2016-09-211-0/+4
| | | | | | | | | | | | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49147
| * | uboot-envtools: add OpenMesh OM5P-AC supportSven Eckelmann2016-09-211-0/+1
| | | | | | | | | | | | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49146
| * | om-watchdog: add OpenMesh OM5P-AC supportSven Eckelmann2016-09-211-0/+3
| | | | | | | | | | | | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49145
| * | ar71xx: enable sysupgrade for the OpenMesh OM5P-ACSven Eckelmann2016-09-212-3/+10
| | | | | | | | | | | | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49144
| * | scripts/om-fwupgradecfg-gen.sh: add support for the OM5P-ACSven Eckelmann2016-09-211-2/+2
| | | | | | | | | | | | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49143
| * | ar71xx: add user-space support for the OpenMesh OM5P-ACSven Eckelmann2016-09-213-0/+11
| | | | | | | | | | | | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49142
| * | ar71xx: add kernel support for the OpenMesh OM5P-AC boardSven Eckelmann2016-09-213-0/+232
| | | | | | | | | | | | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49141
| * | scripts/om-fwupgradecfg-gen.sh: Generate sha256sum for uboot verificationSven Eckelmann2016-09-211-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | scripts/om-fwupgradecfg-gen.sh: Fix u-boot image md5sum checkSven Eckelmann2016-09-211-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | ar71xx: Use private version of ath79_setup_qca955x_eth_cfg for MR1750Sven Eckelmann2016-09-211-1/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | ar71xx: Use private version of ath79_setup_qca955x_eth_cfg for MR900Sven Eckelmann2016-09-211-1/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | ar71xx: Use PHY fixups for Open Mesh MR1750Sven Eckelmann2016-09-211-3/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | ar71xx: Use PHY fixups for Open Mesh MR900Sven Eckelmann2016-09-211-3/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | ar71xx: Add QCA955X GPIO mux and function definitionsSven Eckelmann2016-09-212-28/+77
| | | | | | | | | | | | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49075
| * | ar71xx: Add support for ath79_gpio_function_* on QCA955XSven Eckelmann2016-09-211-1/+11
| | | | | | | | | | | | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49074
| * | ar71xx: Allow to use ath79_gpio_output_select on QCA955xSven Eckelmann2016-09-211-0/+60
| | | | | | | | | | | | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r46459
| * | ar71xx: Use *_eth_cfg helper for Open Mesh MR900 boardsSven Eckelmann2016-09-211-20/+1
| | | | | | | | | | | | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r46241
| * | ar71xx: Extend the list of bits in QCA955X_GMAC_REG_ETH_CFGSven Eckelmann2016-09-211-1/+18
| | | | | | | | | | | | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r49027
| * | ar71xx: create profile and build image for the OpenMesh MR1750 boardSven Eckelmann2016-09-212-2/+14
| | | | | | | | | | | | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r46932
| * | package/uboot-envtools: add OpenMesh MR1750 supportSven Eckelmann2016-09-211-0/+1
| | | | | | | | | | | | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r46931
| * | package/om-watchdog: add OpenMesh MR1750 supportSven Eckelmann2016-09-211-1/+1
| | | | | | | | | | | | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r46930
| * | ar71xx: enable sysupgrade for the OpenMesh MR1750Sven Eckelmann2016-09-212-1/+8
| | | | | | | | | | | | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r46929
| * | scripts/om-fwupgradecfg-gen.sh: add support for the MR1750Sven Eckelmann2016-09-211-2/+2
| | | | | | | | | | | | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r46928
| * | ar71xx: add user-space support for the OpenMesh MR1750 boardSven Eckelmann2016-09-214-0/+13
| | | | | | | | | | | | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r46927
| * | ar71xx: add kernel support for the OpenMesh MR1750 boardSven Eckelmann2016-09-213-0/+169
| | | | | | | | | | | | | | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Backport of r46926
| * | ar71xx: Generate sysupgrade images for OpenMesh devicesSven Eckelmann2016-09-211-0/+3
|/ / | | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge pull request #83 from ecsv/gcc6Zoltan Herpai2016-09-214-93/+850
|\ \ | |/ |/| toolchain: fix build with GCC 6
| * toolchain: gcc: fix build with GCC 6Matthias Schiffer2016-09-011-0/+130
| | | | | | | | | | | | | | At least for GCC 4.8, which is used by most targets. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
| * tools: mkimage: sync include/linux/compiler*.h with u-boot masterMatthias Schiffer2016-09-012-93/+702
| | | | | | | | | | | | | | Fixes build with GCC 6. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
| * tools: pkg-config: fix build with GCC 6Matthias Schiffer2016-09-011-0/+18
|/ | | | | | | | | | | | Fixes the following error: gdate.c: In function ‘g_date_strftime’: gdate.c:2497:7: error: format not a string literal, format string not checked [-Werror=format-nonliteral] tmplen = strftime (tmpbuf, tmpbufsize, locale_format, &tm); ^~~~~~ Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* iw: backport support for "channels" commandRafał Miłecki2016-06-191-0/+234
| | | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r49388 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49389 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: brcmfmac: fix support for BCM4366Rafał Miłecki2016-06-193-0/+233
| | | | | | | | | | | | 1) Fix setting AP channel 2) Improve BSS management to avoid: [ 3602.929199] brcmfmac: brcmf_ap_add_vif: timeout occurred Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r49383 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49386 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: brcmfmac: add support for get_channelRafał Miłecki2016-06-192-0/+338
| | | | | | | | | | | It's very useful for debugging problems with brcmfmac setting requested channel. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r49382 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49385 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: brcmfmac: fix support for up to 4 AP interfacesRafał Miłecki2016-06-193-2/+121
| | | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r49381 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49384 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: brcmfmac: return -ENFILE if interface existsRafał Miłecki2016-06-191-1/+1
| | | | | | | | | This makes brcmfmac compatible with mac80211 which uses dev_alloc_name (and so returns -ENFILE on error). Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49378 3c298f89-4303-0410-b956-a3cf2f4a3e73
* openssl: Update to version 1.0.2hLuka Perkov2016-06-191-2/+2
| | | | | | | | | | | | openssl: Update to version 1.0.2h Bump to the latest version, fixes several security issues: * CVE-2016-2107, CVE-2016-2105, CVE-2016-2106, CVE-2016-2109, CVE-2016-2176 More details at https://www.openssl.org/news/openssl-1.0.2-notes.html Signed-off-by: Mohammed Berdai <mohammed.berdai@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49363 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd: seama: exit with error if Seama header wasn't foundRafał Miłecki2016-06-191-1/+1
| | | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r49314 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49315 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd: seama: fix image data handlingRafał Miłecki2016-06-191-28/+18
| | | | | | | | | | | | | | | | 1) Put sanity checks in one place 2) Respect provided offset 3) Read only as much data as needed for MD5 calculation Thanks to the last change this is a great speedup and memory saver. On devices with NAND flash we were allocating & reading about 128 MiB while something about 8 MiB is enough. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r49309 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49313 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd: seama: move buf allocation to the MD5 functionRafał Miłecki2016-06-191-16/+22
| | | | | | | | | | This buf is only used in this function now, so lets move it there. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r49308 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49312 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtd: seama: update MD5 using header in the first block bufferRafał Miłecki2016-06-191-4/+3
| | | | | | | | | | | This will allow separating first block buffer from a buffer used for MD5 calculation. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Backport of r49307 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49311 3c298f89-4303-0410-b956-a3cf2f4a3e73