aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* imagebuilder: remove existing debug kernel imageFelix Fietkau2017-01-131-0/+1
| | | | | | Reduces tarball size and improves build time Signed-off-by: Felix Fietkau <nbd@nbd.name>
* imagebuilder: remove existing root filesystem imagesFelix Fietkau2017-01-131-0/+1
| | | | | | Reduces tarball size and improves build time Signed-off-by: Felix Fietkau <nbd@nbd.name>
* xburst: remove hack to determine entry pointFelix Fietkau2017-01-131-6/+1
| | | | | | xburst has CONFIG_BOOT_RAW set, so jumping to the load address is valid Signed-off-by: Felix Fietkau <nbd@nbd.name>
* malta: remove hack to determine entry pointFelix Fietkau2017-01-131-5/+1
| | | | | | Malta has CONFIG_BOOT_RAW set, so jumping to the load address is valid Signed-off-by: Felix Fietkau <nbd@nbd.name>
* sdk: exclude locale files to save some spaceFelix Fietkau2017-01-131-1/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* firewall: fix forwarding local subnet trafficJo-Philipp Wich2017-01-131-3/+3
| | | | | | | | | | | | | Packets which are merely forwarded by the router and which are neither involved in any DNAT/SNAT nor originate locally, are considered INVALID from a conntrack point of view, causing them to get dropped in the zone_*_dest_ACCEPT chains, since those only allow stream with state NEW or UNTRACKED. Remove the ctstate restriction on dest accept chains to properly pass- through unrelated 3rd party traffic. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* mvebu: simplify etc/board.d/02_networkPaul Wassi2017-01-132-9/+5
| | | | | | | | | Unify switch configuration on Linksys WRTxx00AC series. LAN = eth0, WAN = eth1 Signed-off-by: Paul Wassi <p.wassi@gmx.at> [Álvaro]: also change WAN LEDs Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* mvsw61xx: add support for MV88E6352Imre Kaloz2017-01-132-0/+7
| | | | | | MV88E6352 is used on Linksys WRT3200ACM Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
* mvebu: several fixes for Linksys WRT3200ACMÁlvaro Fernández Rojas2017-01-131-44/+40
| | | | | | | | - Fix WLAN LEDs definition. - Fix USB pinctrl definition. - Remove SDHCI definition. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* mxs: gzip ext4 imagesFelix Fietkau2017-01-131-0/+3
| | | | | | Significantly reduces disk usage Signed-off-by: Felix Fietkau <nbd@nbd.name>
* arc770: gzip rootfs image to save some spaceFelix Fietkau2017-01-131-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* archs38: gzip rootfs image to save some spaceFelix Fietkau2017-01-131-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: add generic function for gzipping images if enabledFelix Fietkau2017-01-131-0/+7
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mvebu: remove the clearfog-bundleFelix Fietkau2017-01-131-13/+1
| | | | | | It is obsoleted by proper SD card image support Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image: when using the new image build code, gzip ext4 images by defaultFelix Fietkau2017-01-132-2/+6
| | | | | | | | | This reduces the amount of hacks in the makefile code. Remove the apm821xx code to do the same - it was broken and left both compressed and uncompressed images in $(BIN_DIR) Signed-off-by: Felix Fietkau <nbd@nbd.name>
* dnsmasq: use ubus signalling in ntp hotplug scriptKevin Darbyshire-Bryant2017-01-131-3/+3
| | | | | | | Use ubus process signalling instead of 'kill pidof dnsmasq' for SIGHUP signalling to dnsmasq when ntp says time is valid. Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
* x86: disable crashlogFelix Fietkau2017-01-132-1/+2
| | | | | | | | It could cause crashes with some forms of virtualization, and it is unlikely to work properly with most systems. It's safer to just disable it. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* x86: disable a workaround for a buggy glibc versionFelix Fietkau2017-01-131-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* octeon: disable ext4 imagesFelix Fietkau2017-01-131-1/+1
| | | | | | They're pretty large and squashfs images tend to be more useful anyway Signed-off-by: Felix Fietkau <nbd@nbd.name>
* netifd: update to the latest versionFelix Fietkau2017-01-131-3/+3
| | | | | | | This disables IGMP snooping by default, which was causing various issues over time, like FS#95 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: use LINUX_KARCH rather than ARCH for mkitsIan Pozella2017-01-132-2/+2
| | | | | | | | | | | The generated 'its' is passed to mkimage which expects linux arch strings rather than the full arch (e.g. mips not mipsel). It currently works in some cases where LINUX_KARCH == ARCH but otherwise you get an unknown arch build error. Signed-off-by: Ian Pozella <Ian.Pozella@imgtec.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
* uqmi: mark as nonshared because of the usb dependenciesFelix Fietkau2017-01-131-0/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* umbim: mark as nonshared because of the usb dependenciesFelix Fietkau2017-01-131-0/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* comgt: mark as nonshared because of the usb dependenciesFelix Fietkau2017-01-131-0/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* polarssl: remove packageFelix Fietkau2017-01-132-316/+0
| | | | | | | The mbedTLS 1.3 branch has been EOL since end of 2016 and now all remaining users have been converted. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* armvirt: add kernel config change missing from 0d44f0cbFelix Fietkau2017-01-131-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: default to external USB power on RB-912UAGFelix Fietkau2017-01-131-1/+1
| | | | | | | | | There's a GPIO that can switch between power to USB pins for the internal MiniPCIe slot or the external USB port. People are more likely to use the external one so enable it by default. Existing configurations should be unaffected Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: let make check warn about use of legacy PKG_MD5SUM variable in feedsFelix Fietkau2017-01-131-3/+0
| | | | | | | The variable rename change has been merged in OpenWrt now, so it's possible to convert the feeds as well. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* cmake: properly pass host cflags/ldflags to the buildFelix Fietkau2017-01-131-1/+2
| | | | | | | | This should hopefully fix build issues where libraries that we ship in tools/ were accidentally picked up from other places on the system, e.g. /usr/local Signed-off-by: Felix Fietkau <nbd@nbd.name>
* cmake: support verbose build that shows compiler commandsFelix Fietkau2017-01-131-0/+4
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* cmake: restore parallel build support for bootstrapFelix Fietkau2017-01-132-1/+17
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* x86/64: enable the fusion scsi driverFelix Fietkau2017-01-131-0/+6
| | | | | | | Is it used by VMware Fusion by default. This allows images to boot without further config changes in VMware. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: fix broken spatial multiplexing defaultsFelix Fietkau2017-01-132-2/+43
| | | | | | | | | Most mac80211 drivers leave the SMPS field in the HT capabilities uninitialized (unfortunately defaults to static SMPS), which leads to some devices limiting themselves to single-stream rates in some modes (mostly mesh and IBSS). Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ath10k-fw: Update to latest CT firmwareBen Greear2017-01-131-7/+7
| | | | | | | | | For 988X, 9980, 9984 CT firmware. This should allow IBSS + RSN on at least the 988X firmware, and includes recent stability fixes for all firmware. Signed-off-by: Ben Greear <greearb@candelatech.com>
* ath10k-ct: Update to latest CT 4.7 ath10k driver.Ben Greear2017-01-131-2/+2
| | | | | | | | This at least makes it harder to hit some txq related crashes on firmware restart, a potential memory leak, and some other fixes. Signed-off-by: Ben Greear <greearb@candelatech.com>
* armvirt: enable the USB feature flagFelix Fietkau2017-01-131-1/+1
| | | | | | USB devices can be passed through from the host to the guest Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mountd: drop USB related dependenciesFelix Fietkau2017-01-131-1/+1
| | | | | | That way we can avoid making it nonshared Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: fix WLI-TX4-AG300N boot and networkYo Abe2017-01-131-2/+11
| | | | | | | | | | | | | | | | Partition label "linux" prevents the root file system to be mounted at boot time leading to a kernel panic. After changing it to "firmware", the 2 uimage partitions "kernel", "rootfs" and squashfs "rootfs_data" are correctly recognized. The attached IP175C 10/100 MBit switch cannot connect to a link with fixed 1000Mbit speed. The correct link speed is 100MBit. The switch is detected and can be configured via mdio bus and should allow two separable VLANs to be configured for the 4 available ports. Signed-off-by: Yo Abe <abe.geel@gmail.com> [picked from openwrt/PR#330] Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: add support for VoCore2Andrew Yong2017-01-137-0/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds support for the VoCore VoCore2 and its complementary "ultimate" dock. Specifications: - SoC: MediaTek MT7628AN (580MHz, ramips) - RAM: 128MB DDR2 166MHz - Storage: 16MB NOR SPI flash onboard + microSD slot on dock - Wireless: Built into MT7628AN (mt76) with 1T1R firmware on VoCore2 boards with onboard 1x chip antenna - Ethernet: 1x100M (port0) on dock, 1x100M (port2) on PCB header - Dock hardware: - USB 2.0 socket - MicroSD socket - 100Mbps Ethernet x1 - 3.5mm headphone jack (TRRS) connected to Everest Semi ES8388 I2S DAC/ADC (support WIP) - Micro USB for power and console (UART2) Initial installation: - VoCore2 comes preinstalled with a fork of OpenWrt CC and AP on SSID "VoCore2" - Connect to VoCore2 by Ethernet or Wi-Fi - `ssh root@192.168.1.1` (password is "vocore") - scp/wget/etc. LEDE sysupgrade.bin to VoCore2 - `sysupgrade -n <your image>.bin` (don't keep old config, as the original firmware uses Ralink SDK Wi-Fi drivers and not mt76+mac80211) - after sysupgrade completes, Wi-Fi will be disabled by default so use Ethernet or the micro USB console to configure Wi-Fi again Signed-off-by: Andrew Yong <me@ndoo.sg>
* ar71xx: enable serial console on Mikrotik RB411/RB433David Varga2017-01-131-1/+3
| | | | | | | | | This patch adds support for serial console on Mikrotik RB411 and RB433 series devices. Signed-off-by: David Varga <duvi@duvinet.hu> [picked from FS#377] Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: rt3883: fix typo in pinctrl lna_g_funcDaniel Golle2017-01-131-0/+26
| | | | | | | | Spotted by forum users https://forum.openwrt.org/viewtopic.php?pid=347439#p347439 Reported-by: Tom Psyborg <pozega.tomislav@gmail.com> Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* map: take over maintainershipHans Dedecker2017-01-121-1/+1
| | | | | Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> Acked-by: Jo-Philipp Wich <jo@mein.io>
* odhcp6c: take over maintainershipHans Dedecker2017-01-121-1/+1
| | | | | Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> Acked-by: Jo-Philipp Wich <jo@mein.io>
* odhcpd: take over maintainershipHans Dedecker2017-01-121-1/+1
| | | | | Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> Acked-by: Jo-Philipp Wich <jo@mein.io>
* Revert "dnsmasq: change 'add_local_hostname' to use dnsmasq '--interface-name'"Hans Dedecker2017-01-122-31/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This causes problem when a FQDN is configured in /etc/config/system. The domain name will appear twice in reverse DNS. Next to that, there seems to be a bug in dnsmasq. From the manual page: --interface-name=<name>,<interface>[/4|/6] Return a DNS record associating the name with the primary address on the given interface. This flag specifies an A or AAAA record for the given name in the same way as an /etc/hosts line, except that the address is not constant, but taken from the given interface. The interface may be followed by "/4" or "/6" to specify that only IPv4 or IPv6 addresses of the interface should be used. If the interface is down, not configured or non-existent, an empty record is returned. The matching PTR record is also created, mapping the interface address to the name. More than one name may be associated with an interface address by repeating the flag; in that case the first instance is used for the reverse address-to-name mapping. It does not just create an A/AAAA record for the primary address, it creates one for all addresses. And what is worse, it seems to actually resolve to the non-primary address first. This is quite annoying when you use floating IP addresses (e.g. VRRP), because when the floating IP is on the other device, SSH failes due to incorrect entry in the known hosts file. I know that this is not a common setup, but it would be nice if there was an option to restore the previous behaviour, rather than just forcing this new feature on everybody. Reported-by: Stijn Tintel <stijn@linux-ipv6.be> Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* map: delete map-t device when tearing down map interfaceHans Dedecker2017-01-122-2/+12
| | | | | | | | | | | | Delete the map-t device when tearing down the map-t interface; as such there's no conflict when the map-t interface comes up again when trying to add the map-t device as the map-t device was still present (Can not add: device 'map-wan6_4' already exists!). Only call ifdown in teardown for map-e and lw6o4 map interfaces types in order to suppress the trace "wan6_4 (6652): Interface wan6_4_ not found" Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* Revert the recent dependency and metadata scanning reworkFelix Fietkau2017-01-114-4/+4
| | | | | | | | | | | | | | | This reverts the following commits: fbe522d1204149b6c128d55e360bfc15fa8258e1 278ad007ee03c4455c3507322e34b0e3e6ec050d 863888e44f7a1fb1675a2e7a2eaabfec3561d2a2 96daf6352f6e04bc22789466cb5409b93fbec191 cfd83555fc4f0bab18a26f6812da18e64df46ff3 This seems to trigger some mconf bugs when built with all feeds packages, so I will try to find a less intrusive solution before the release. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* comgt: allow build without USB_SUPPORTFelix Fietkau2017-01-111-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* umbim: allow build without USB_SUPPORTFelix Fietkau2017-01-111-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* uqmi: allow build without USB_SUPPORTFelix Fietkau2017-01-111-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>