aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ramips: Fix multicast ICMPv6 for the rt3050 ethernet switch.blogic2016-05-101-0/+26
| | | | | | | | | | | | | | | | | | The FCT2 esw register should be set to 0x2500C to have "unknown IPv6 multicast" packets broadcasted to every port, instead of dropped. The previous value only let those packets go through ports 1 and 3. "Unknown IPv6 multicast" packets include packets needed by ICMPv6 echo requests addressed to well-known addresses, such as ff02::1 (MAC address is 33:33:00:00:00:01 in this case). Please note that by default ICMPv6 echo requests to ff02::1 are not replied to by the router because of ip6tables considering those packets to be invalid. But this is another bug/patch. ;) Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> SVN-Revision: 49287
* ar71xx: add TP-Link TL-WR810N supportblogic2016-05-1012-0/+174
| | | | | | | | | This patch adds support for the TP-Link TL-WR810N. https://wiki.openwrt.org/toh/tp-link/tl-wr810n Signed-off-by: Jens Steinhauser <jens.steinhauser@gmail.com> SVN-Revision: 49286
* ubox: turn logd into a separate packageblogic2016-05-102-4/+18
| | | | | | | | | Currently system log is always included as a part of ubox. Add logd as a seperate package and add it to default packages list. Signed-off-by: Andrej Vlasic <andrej.vlasic@sartura.hr> SVN-Revision: 49285
* lantiq: VGV7510KW22BRN - set the phy clock sourceblogic2016-05-101-0/+6
| | | | | | | | | | | | | VGV7510KW2 with VRX288 v1.2 has brnboot 1.8 installed. Starting with this brnboot version, the "GPHY Clock Source" isn't set anymore by brnboot, with the result that xrx200-net fails to probe/initialize the phys. Use the phy clock source device tree binding to specify the clock source. Signed-off-by: Mathias Kresin <openwrt@kresin.me> SVN-Revision: 49284
* lantiq: add device tree binding for the phy clock sourceblogic2016-05-101-0/+30
| | | | | | Signed-off-by: Mathias Kresin <openwrt@kresin.me> SVN-Revision: 49283
* lantiq: VGV7510KW22BRN - support dual-imageblogic2016-05-101-1/+4
| | | | | | Signed-off-by: Mathias Kresin <openwrt@kresin.me> SVN-Revision: 49282
* lantiq: handle the dual-firmware layout of brnbootblogic2016-05-101-0/+93
| | | | | | | | | | | | | | | | | brnboot based devices can have two Image partitions. When flashing images via the brnboot recovery web interface, the Image partitions are written alternating. The current active Image partition is stored in the first byte of the Primary_Setting partition by using 0x00 for Code_Image_0 and 0x01 for Code_Image_1. By using the information about the active "Code Image", it is possible to ensure that the rootfs belongs to the current booted Image/Kernel. Signed-off-by: Mathias Kresin <openwrt@kresin.me> SVN-Revision: 49281
* lantiq: move partitions into partion table nodeblogic2016-05-1042-1006/+1253
| | | | | | | | | | Starting with kernel 4.4, the use of partitions as direct subnodes of the mtd device is discouraged and only supported for backward compatiblity reasons. Signed-off-by: Mathias Kresin <openwrt@kresin.me> SVN-Revision: 49280
* lantiq: use sysupgrade.bin postfix for tplink imagesblogic2016-05-101-3/+4
| | | | | | | | | | | | Use the same name for TP-Link images as it was with the old image build code. Move the BOARD_ID export to the TP-Link image build recipe, to indicate that the variable is only related in this context. Signed-off-by: Mathias Kresin <openwrt@kresin.me> SVN-Revision: 49279
* lantiq: VG3503J - use the same PHY led functionality as the OEM firmwareblogic2016-05-101-8/+8
| | | | | | | | | | | | | Based on the vg3503j_gphy_led.sh script published in the VG3503J wiki article, the OEM Firmware uses the following PHY led functionality: gphy led 0: LINK/ACTIVITY gphy led 1: LINK gphy led 2: ACTIVITY Signed-off-by: Mathias Kresin <openwrt@kresin.me> SVN-Revision: 49278
* ar71xx: Fix eth0 support for Ubiquiti UniFi AP ACblogic2016-05-101-0/+1
| | | | | | | Fix eth0 support for the Ubiquiti UniFi AP AC Signed-off-by: Paul Wassi <p.wassi at gmx.at> SVN-Revision: 49277
* lantiq: use the same functionality for all ethernet phys ledblogic2016-05-102-6/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The VGV7510KW22 has the leds for LAN1-3 connected to pin1 of the phys and the led for LAN4 connect to pin0 of the phy. This results with the current configuration in a fast flashing LAN4 led as soon as a network cable is connected. Something similar was reported on the forum[1] for the VGV7519 as well. Since it isn't predicable to which pin a (single) phy led is connected, use the (default) pin1 functionality Constant On: 10/100/1000MBit Blink Fast: None Blink Slow: None Pulse: TX/RX for all ethernet phy leds. After checking pictures of all vr9 boards, it looks like only the VG3503J has more than one led connected per phy. Using the phy led device tree bindings to assign the functionality to the "additional" leds, the VG3503J phy leds should behave as before. Signed-off-by: Mathias Kresin <openwrt@kresin.me> [1] https://forum.openwrt.org/viewtopic.php?pid=321523 SVN-Revision: 49270
* lantiq: fix minor typos in 11G/22F phy driverblogic2016-05-101-2/+2
| | | | | | Signed-off-by: Mathias Kresin <openwrt@kresin.me> SVN-Revision: 49269
* ramips: add support for Planex MZK-EX750NP.blogic2016-05-108-1/+174
| | | | | | | | | | | add support for Planex MZK-EX750NP. MZK-EX750NP is MT7620A and MT7610E based 11ac wifi repeater. Built-in power supply. 64MiB RAM, 8MiB SPI Flash, non Wired Ethernet. Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com> SVN-Revision: 49268
* mediatek: sync patches and add more ethernet stability fixesblogic2016-05-1095-608/+436
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 49265
* ncurses: install pkg-config files to fix util-linux build breakageFelix Fietkau2016-05-101-7/+4
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mtd: add -c option for specifying amount of data to be used for checksumRafał Miłecki2016-05-093-12/+31
| | | | | | | | | | | | | | | So far fixtrx was calculating checksum over amount of data matching partition erase size. It was mostly a workaround of checksum problem after changing anything in initial TRX content (e.g. formatting JFFS2). Its main purpose was to make bootloader accept modified TRX. This didn't provide much protection of flash data against corruption. This new option lets caller request calculating checksum over a bigger amount of data. It may be used e.g. to include whole kernel data for checksum and hopefully make bootloader go info failsafe mode if something goes wrong. Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* mtd: trx: use separated buffer for TRX headerRafał Miłecki2016-05-091-5/+18
| | | | | | | | We plan to adjust usage of the main buffer to allow reading custom amount of data for CRC32. This means we need another buffer that will be always block aligned. Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* mtd: seama: exit with error if Seama header wasn't foundrmilecki2016-05-091-1/+1
| | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* mtd: seama: fix image data handlingrmilecki2016-05-091-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>
* mtd: seama: move buf allocation to the MD5 functionrmilecki2016-05-091-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>
* mtd: seama: update MD5 using header in the first block bufferrmilecki2016-05-091-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>
* mtd: seama: add md5 to header structrmilecki2016-05-092-12/+11
| | | | | | | This allows us to drop some extra offset calculations and simplifies code a bit. Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* mtd: check for Seama magic early when fixing MD5rmilecki2016-05-091-7/+21
| | | | | | | This avoid long (and unneeded) process of reading all data in case of running on MTD not containig Seama entity. Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* mtd: add missing breaks in a switchrmilecki2016-05-091-0/+2
| | | | | | | On platforms supporting both: TRX and Seama calling "fixtrx" was resulting in trying to fix Seama as well. Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* mtd: use tabs for indentsrmilecki2016-05-091-7/+7
| | | | | | This makes code style consistent across the whole file. Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* ncurses: remove libncurses, provide it via libncurseswFelix Fietkau2016-05-091-45/+8
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* metadata.pl: add support for selecting packages available only via PROVIDESFelix Fietkau2016-05-091-20/+30
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: add workaround to rebuild vdso-o32.so.dbgStijn Tintel2016-05-091-2/+13
| | | | | | | | | | | | | | Building for octeon fails with 'arch/mips/vdso/vdso-o32.so.dbg' already contains a '.MIPS.abiflags' section if the file already exists from a prior build. Use the same workaround as the one for vdso.so.dbg committed in 9eb155353a5f5137ec85a5b5b0287af63c544710. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* toolchain: gcc: fix build with GCC 6Matthias Schiffer2016-05-081-0/+117
| | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* tools: mkimage: sync include/linux/compiler*.h with u-boot masterMatthias Schiffer2016-05-082-87/+702
| | | | | | Fixes build with GCC 6. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* tools: pkg-config: fix build with GCC 6Matthias Schiffer2016-05-081-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>
* mt76: update to the latest versionFelix Fietkau2016-05-052-13/+2
| | | | | | Fixes a tx locking error and adds a pci id Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: fix rebuild on CONFIG_PACKAGE_MAC80211_MESH changesFelix Fietkau2016-05-051-0/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: add support for specifying extra package dependencies for prepared, ↵Felix Fietkau2016-05-051-3/+3
| | | | | | configured and built Signed-off-by: Felix Fietkau <nbd@nbd.name>
* toolchain: rename OpenWrt into LEDEAlexander Couzens2016-05-052-4/+4
| | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* sdk: rename OpenWrt into LEDEAlexander Couzens2016-05-052-4/+4
| | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* imagebuilder: rename OpenWrt into LEDEAlexander Couzens2016-05-052-2/+2
| | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* tools: make-ext4fs: fix build regression on mac os xFelix Fietkau2016-05-051-2/+2
| | | | | | Including sys/sysmacros.h is not portable Signed-off-by: Felix Fietkau <nbd@nbd.name>
* base-files: evaluate uci-defaults on run-time installationsDaniel Golle2016-05-041-0/+11
| | | | | | | | | | | | Packages may install scripts into /etc/uci-defaults to be executed once after installation, usually at the first boot of the target. This works fine if the package was installed to the rootfs during build or using the ImageBuilder. If the package is installed using opkg during run-time uci-defaults were applied only after a reboot of the device. Avoid the need to reboot by evaluting the package's uci-defaults in default-postinst. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* openssl: Update to version 1.0.2hMichal Hrusecky2016-05-041-2/+2
| | | | | | | | 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: Michal Hrusecky <Michal.Hrusecky@nic.cz>
* firewall3: fix mark rules for local traffic, fix race conditionJo-Philipp Wich2016-05-021-3/+4
| | | | | | | Update to latest HEAD in order to fix MARK rule generation for local traffic, also fix a possible race condition during firewall start. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* libiconv: add all ASCII aliasesGergely Kiss2016-05-022-1/+10
| | | | | | This patch adds missing ASCII aliases to the libiconv stub in order to avoid conversion errors like https://github.com/openwrt/packages/issues/2373 Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
* xtables-addons: Avoid redefinition of SHRT_MAX in lua packet scriptHans Dedecker2016-05-021-3/+6
| | | | | | | | Patch Lua packet script defines SHRT_MAX which is already defined in <linux/kernel.h> and is included indirectly by lauxlib.h. Fix the redefintion as it leads to compile failure on systems which treat macro redefinition as an error Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* signing: remove unatteded build key and use current keyring insteadJo-Philipp Wich2016-04-302-6/+3
| | | | | | | | Remove the public unatteded buildkey from the opkg package to avoid having hardcoded keys in tree. Use the external keyring package instead which can be easily updated by users. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* fstools: fix snapshot supportJohn Crispin2016-04-291-4/+4
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* fstools: update to latest git HEADJohn Crispin2016-04-291-2/+2
| | | | | | fixes snapshot support Signed-off-by: John Crispin <john@phrozen.org>
* base-files: fix group/user settings after sysupgradeJohn Crispin2016-04-291-0/+11
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* base-files: split user/group addition code into a functionJohn Crispin2016-04-291-4/+10
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* scripts: add "r" to revisionJohn Crispin2016-04-291-1/+2
| | | | | | 343c3be45451e4a11f03109bd6cb1dd9061ec5eb accidentially removed the "r" Signed-off-by: John Crispin <john@phrozen.org>