Commit Graph

31681 Commits (b20a2b48901195a79d86eaecb386d45fe5d63c39)
 

Author SHA1 Message Date
John Crispin 5e5c821233 kernel: remove stmmac kernel package
We just moved the stmmac support in the kernel for ipq806x. Therefore,
nobody needs this driver so we'll just get rid of it.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

SVN-Revision: 45872
9 years ago
John Crispin ff324050c3 ipq806x: move stmmac support in the kernel binary
Ethernet GMAC is built-in the SoC, so there is no need to enable it as a
module. We'll just assume we need it. That's what is done for other
platform where this driver is used so it'll make things more consistent.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

SVN-Revision: 45871
9 years ago
Jo-Philipp Wich 0d19e8da7f include: image.mk: ensure that $(KDIR)/tmp exists in the IB case as well
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 45870
9 years ago
Jonas Gorski 9c6945d7a1 brcm63xx: delete uncompressed kernels after use
Delete the dtb appended, uncompressed kernels after having compressed
them, so they don't end in the image builder.

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

SVN-Revision: 45869
9 years ago
Jonas Gorski 43c0a725af lantiq: fix VG3503J rootfs offset
In r44391 the kernel partion size was increased to allow larger kernels,
but the rootfs partition offset was missed. Fix this by setting the
rootfs offset to the expected value.

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

SVN-Revision: 45868
9 years ago
Steven Barth 09ad0ae4bd odhcp6c: silence fw3 warnings
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 45867
9 years ago
Jo-Philipp Wich 11f05afd26 imagebuilder: create cache directory if needed (#18629)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 45866
9 years ago
Rafał Miłecki 6bc9e00e94 kernel: backport ssb fix for WRT350N v1 (BCM4705) reboots
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45865
9 years ago
John Crispin c0c8d3a95f au1000: add a missing dependency to the pcmcia module
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45864
9 years ago
Jo-Philipp Wich 570790173d iwinfo: fix segfault in mtd parsing code (#19768)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 45863
9 years ago
John Crispin 1cc4a10d2c kernel: bluetooth: Add dependency to kmod-crypto-ecb
Add dependency of kmod-crypto-ecb to kmod-bluetooth to avoid the kernel warning
"Bluetooth: Unable to create crypto context".

Signed-off-by: Bruno Randolf <br1@einfach.org>

SVN-Revision: 45860
9 years ago
John Crispin 2bc9e8e50c lldpd: disable xml explicitly
This prevents auto-detection of libxml2 and thus the error:
Package lldpd is missing dependencies for the following libraries:
libxml2.so.2

Preventing a dependency to libxml2 is preferred, since libxml2
would be a out-of-(core-)tree dependency.

Reported-by: Buildbot
Signed-off-by: Michael Heimpold <mhei@heimpold.de>

SVN-Revision: 45859
9 years ago
John Crispin 157c9199b3 ca-certificates: update to version 20150426
update to version 20150426

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>

SVN-Revision: 45858
9 years ago
John Crispin 6938dac23b malta: add default network configuration
I didn't figure out how to achieve this using uci-defaults-new.sh,
so use old-school uci-defaults script as that's what is used on
realview as well.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 45857
9 years ago
Felix Fietkau fa2dfdb74b mac80211: make netifd script create AP interface directly
Before starting hostapd we create interface for it. The problem is we
try to create STA interface just to let hostapd change it to AP later.

It may fail if device doesn't support STA interfaces or if we already
hit a limit. Consider following phy (it's from BCM43602 and brcmfmac):
$ iw phy phy0 info | tail
        valid interface combinations:
                 * #{ IBSS, managed } <= 1, #{ AP } <= 4, #{ P2P-client, P2P-GO } <= 1, #{ P2P-device } <= 1,
                   total <= 3, #channels <= 1

Trying to setup 2 interfaces: STA + AP results in:
radio0 (1101): command failed: Operation not supported (-95)
radio0 (1101): command failed: Operation not supported (-95)
radio0 (1101): command failed: Operation not supported (-95)
radio0 (1101): command failed: Operation not supported (-95)
radio0 (1101): Configuration file: /var/run/hostapd-phy0.conf
radio0 (1101): Could not read interface wlan0-1 flags: No such device

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45856
9 years ago
Felix Fietkau 677741ef95 ar71xx: use Image/BuildLoaderPatched for TPLINK-SAFELOADER images
Building the loader in Image/Build/TPLINK-SAFELOADER would break the image
builder as no target compiler is available in that stage.

Fixes #19580

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 45855
9 years ago
Felix Fietkau 64b789db56 ar71xx: add Image/BuildLoaderPatched macro
In contrast to Image/BuildLoader, Image/BuildLoaderPatched first patches the
kernel command line in the image and then builds the loader without command
line. This allows building loaders for systems which don't boot correctly when
the kernel command line is provided by the loader (like the TP-LINK CPE series).

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 45854
9 years ago
Jo-Philipp Wich 531a7e469a uhttpd: use 307 for HTTPS redirections to retain request method
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 45853
9 years ago
Jo-Philipp Wich 4f58248a7d uhttpd: add support for enforcing https
Also set HTTPS environment variable for CGI programs on SSL connections.

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

SVN-Revision: 45852
9 years ago
John Crispin b34988d5d0 lantiq: fix imagebuilder
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45851
9 years ago
Jo-Philipp Wich be16b184e2 uhttpd: inhibit chunked transfer encoding for static file responses
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 45850
9 years ago
Jo-Philipp Wich aa304279c3 kernel: kmod-stmmac depends on kmod-libphy
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 45849
9 years ago
John Crispin 50da78705a kernel: upstream fix: mount overlayfs r/o if workdir cannot be created
move the patch to the proper folder

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45848
9 years ago
Felix Fietkau e56b6f6e66 ramips: fix swapped colors for router LED on WHR-1166D (thx, Björn)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45847
9 years ago
Felix Fietkau 1e659c29ec ramips: rename status led to wifi on WHR-300HP2, WHR-1166D, WHR-600D
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45846
9 years ago
Felix Fietkau a6df9f0472 ramips: fix buttons on WHR-300HP2, WHR-1166D, WHR-600D
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45845
9 years ago
Felix Fietkau 5d6788f773 ramips: extract MAC address on WHR-300HP2, WHR-1166D, WHR-600D
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45844
9 years ago
Felix Fietkau 420cdb3783 ramips: fix partition layout of WHR-300HP2, WHR-1166D, WHR-600D
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45843
9 years ago
Felix Fietkau 8b42d93358 ramips: implement sysupgrade support for whr-300hp2
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45842
9 years ago
Jo-Philipp Wich 129ce36806 uboot-omap: allow generating dummy ipks, fixes omap imagebuilder
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 45841
9 years ago
Jonas Gorski aafc3092e2 ixp4xx: use usb-*-pci where appropriate
Most boards use pci connected usb controllers, so make sure to include
the pci drivers.

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

SVN-Revision: 45840
9 years ago
Jo-Philipp Wich dcd7479a99 sunxi: correct default package selection, fixes imagebuilder
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 45839
9 years ago
Felix Fietkau 1520df3387 ar71xx: use Image/BuildKernel/Initramfs template to fix image builder errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45838
9 years ago
Felix Fietkau bf93fde164 build: do not call initramfs build from within the image builder
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45837
9 years ago
Felix Fietkau d1372992c4 build: in new image building code, do not rebuild kernel images in the image builder
Some kernel images need to be wrapped in a loader, which cannot be built
without a working toolchain.
Also, this speeds up the image builder run.

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

SVN-Revision: 45836
9 years ago
Felix Fietkau ddf120fc03 build: store initramfs kernels in $(KDIR)/tmp - prevents them from being included in the image builder tarball
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45835
9 years ago
Felix Fietkau a6ad9f8ad8 build: store firmware images in $(KDIR)/tmp - prevents them from being included in the image builder tarball
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45834
9 years ago
John Crispin afbf104a4e generic: mount overlayfs r/o if workdir cannot be created
This is the case e.g. if JFFS2 partition is full.

see: https://www.mail-archive.com/linux-unionfs@vger.kernel.org/msg00246.html
(a small error in a logmessage was changed and reported upstream)

runtime tested on ar71xx with kernel 3.18.11 and r45772
this paritially fixes #19564

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
Acked-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 45833
9 years ago
John Crispin 6301009ae3 qca-nss-gmac: delete package
nss-gmac has been replaced by its upstream counterpart "stmmac", to
which we added the SoC glue layer required for it to run on IPQ806x.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

SVN-Revision: 45832
9 years ago
John Crispin d2a2eb7e48 ipq806x: replace caf nss-gmac driver by upstream stmmac
This driver has been cherry-picked and backported from the following
LKML thread:
*https://lkml.org/lkml/2015/5/26/744

It also updates the DT accordingly.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

SVN-Revision: 45831
9 years ago
John Crispin 72369c2976 ipq806x: enable kernel support for Fixed PHY emulation
Most ipq806x platforms use an ethernet switch, and the new upstream
GMAC driver makes use of the Fixed PHY emulation to force the link
settings despite the lack of PHY.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

SVN-Revision: 45830
9 years ago
John Crispin 99a42f204b kernel: add stmmac as a new kernel package
Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

SVN-Revision: 45829
9 years ago
John Crispin fe844bf0b4 kernel: add missing STMMAC options in generic configs
STMMAC_PLATFORM and STMMAC_PCI have been added recently in the kernel,
but show up only when STMMAC driver is enabled. So se'll add it in the
generic config, so the kernel build doesn't stall whenever we enable
this driver.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

SVN-Revision: 45828
9 years ago
John Crispin 30bbe0b388 ipq806x: move arm-gic include into pcie patch
This include is necessary starting at the PCIe patch, which has a lower
number. So in order to keep the patches consistent, we'll move the
arm-gic include in the first patch who needs it.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

SVN-Revision: 45827
9 years ago
John Crispin 590be1fd87 ixp4xx: fix imagebuilder
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45826
9 years ago
Jo-Philipp Wich 0d7666fd73 kernel: fix kmod-k10temp target dependencies
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 45825
9 years ago
John Crispin a5a935b49a brcm2708: fix imagebuilder
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45824
9 years ago
John Crispin 12772b66fe ipq806x: fix imagebuilder
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45823
9 years ago
John Crispin 1985e88b35 gemini: fix imagebuilder
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45822
9 years ago
John Crispin 9927a9a5f8 octeon: fix imagebuilder
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45821
9 years ago