openwrt.git
8 years agobuild: in new image building code, do not rebuild kernel images in the image builder
nbd [Fri, 29 May 2015 13:41:21 +0000 (13:41 +0000)]
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45836 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobuild: store initramfs kernels in $(KDIR)/tmp - prevents them from being included...
nbd [Fri, 29 May 2015 13:41:02 +0000 (13:41 +0000)]
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45835 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobuild: store firmware images in $(KDIR)/tmp - prevents them from being included in...
nbd [Fri, 29 May 2015 13:40:55 +0000 (13:40 +0000)]
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45834 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agogeneric: mount overlayfs r/o if workdir cannot be created
blogic [Fri, 29 May 2015 12:36:42 +0000 (12:36 +0000)]
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45833 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoqca-nss-gmac: delete package
blogic [Fri, 29 May 2015 12:26:07 +0000 (12:26 +0000)]
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45832 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoipq806x: replace caf nss-gmac driver by upstream stmmac
blogic [Fri, 29 May 2015 12:26:01 +0000 (12:26 +0000)]
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45831 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoipq806x: enable kernel support for Fixed PHY emulation
blogic [Fri, 29 May 2015 12:25:44 +0000 (12:25 +0000)]
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45830 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: add stmmac as a new kernel package
blogic [Fri, 29 May 2015 12:25:34 +0000 (12:25 +0000)]
kernel: add stmmac as a new kernel package

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45829 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: add missing STMMAC options in generic configs
blogic [Fri, 29 May 2015 12:25:29 +0000 (12:25 +0000)]
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45828 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoipq806x: move arm-gic include into pcie patch
blogic [Fri, 29 May 2015 12:25:15 +0000 (12:25 +0000)]
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45827 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoixp4xx: fix imagebuilder
blogic [Fri, 29 May 2015 12:20:39 +0000 (12:20 +0000)]
ixp4xx: fix imagebuilder

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45826 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: fix kmod-k10temp target dependencies
jow [Fri, 29 May 2015 12:03:00 +0000 (12:03 +0000)]
kernel: fix kmod-k10temp target dependencies

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45825 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm2708: fix imagebuilder
blogic [Fri, 29 May 2015 11:28:54 +0000 (11:28 +0000)]
brcm2708: fix imagebuilder

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45824 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoipq806x: fix imagebuilder
blogic [Fri, 29 May 2015 11:28:44 +0000 (11:28 +0000)]
ipq806x: fix imagebuilder

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45823 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agogemini: fix imagebuilder
blogic [Fri, 29 May 2015 11:28:33 +0000 (11:28 +0000)]
gemini: fix imagebuilder

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45822 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoocteon: fix imagebuilder
blogic [Fri, 29 May 2015 11:28:20 +0000 (11:28 +0000)]
octeon: fix imagebuilder

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45821 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: fix imagebuilder
blogic [Fri, 29 May 2015 11:28:10 +0000 (11:28 +0000)]
ramips: fix imagebuilder

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45820 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoau1000/au1550: fix profile package list
jow [Fri, 29 May 2015 11:04:04 +0000 (11:04 +0000)]
au1000/au1550: fix profile package list

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45819 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoau1000/au1550: enable pcmcia support flag
jow [Fri, 29 May 2015 11:03:59 +0000 (11:03 +0000)]
au1000/au1550: enable pcmcia support flag

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45818 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoau1000: fix kmod-pcmcia-au1000
jow [Fri, 29 May 2015 11:03:55 +0000 (11:03 +0000)]
au1000: fix kmod-pcmcia-au1000

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45817 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: fix usb-ohci-pci description define
jogo [Fri, 29 May 2015 10:20:50 +0000 (10:20 +0000)]
kernel: fix usb-ohci-pci description define

Copy paste error left defining usb2-pci again.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45816 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomxs: fix imagebuilder
jow [Fri, 29 May 2015 08:42:50 +0000 (08:42 +0000)]
mxs: fix imagebuilder

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45815 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agox86/64: add e1000e to the default packages
jow [Fri, 29 May 2015 08:20:58 +0000 (08:20 +0000)]
x86/64: add e1000e to the default packages

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45814 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobase-files: remove ubi tool
luka [Fri, 29 May 2015 08:14:38 +0000 (08:14 +0000)]
base-files: remove ubi tool

ubi tool was removed from fstools in r41128.

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45813 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: backport one missed brcmfmac NVRAM-related patch
rmilecki [Thu, 28 May 2015 20:57:23 +0000 (20:57 +0000)]
mac80211: backport one missed brcmfmac NVRAM-related patch

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45812 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm47xx: image: fix typo in Asus WL-500gP v2 fw file name
rmilecki [Thu, 28 May 2015 19:53:59 +0000 (19:53 +0000)]
brcm47xx: image: fix typo in Asus WL-500gP v2 fw file name

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45811 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolldpd: update to v0.7.15 and add support for parsing /etc/openwrt_release
jow [Thu, 28 May 2015 16:19:38 +0000 (16:19 +0000)]
lldpd: update to v0.7.15 and add support for parsing /etc/openwrt_release

Also drop superseded patches.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45810 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoau1000: use srecimage.pl instead of objcopy, fixes imagebuilder
jow [Thu, 28 May 2015 15:54:01 +0000 (15:54 +0000)]
au1000: use srecimage.pl instead of objcopy, fixes imagebuilder

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45809 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoscripts: add srecimage.pl, a script to convert binaries to SREC format
jow [Thu, 28 May 2015 15:53:55 +0000 (15:53 +0000)]
scripts: add srecimage.pl, a script to convert binaries to SREC format

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45808 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar7: fix imagebuilder
jow [Thu, 28 May 2015 13:45:33 +0000 (13:45 +0000)]
ar7: fix imagebuilder

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45807 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoat91: fix imagebuilder
jow [Thu, 28 May 2015 13:25:21 +0000 (13:25 +0000)]
at91: fix imagebuilder

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45806 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoxburst: fix imagebuilder
jow [Thu, 28 May 2015 12:25:45 +0000 (12:25 +0000)]
xburst: fix imagebuilder

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45805 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomalta: fix imagebuilder
jow [Thu, 28 May 2015 12:05:57 +0000 (12:05 +0000)]
malta: fix imagebuilder

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45804 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoscripts/arm-magic.sh: make the generated kernels also include $IMG_PREFIX
jogo [Thu, 28 May 2015 10:48:23 +0000 (10:48 +0000)]
scripts/arm-magic.sh: make the generated kernels also include $IMG_PREFIX

In r45785 ixp4xx was changed to use a common image prefix also for
kernels, but the script creating them was not updated to generate the
expected filenames.
Fix this by letting arm-magic.sh respect $IMG_PREFIX for the output
kernel file names as well.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45803 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: backport today's brcmfmac changes
rmilecki [Thu, 28 May 2015 10:39:11 +0000 (10:39 +0000)]
mac80211: backport today's brcmfmac changes

This fixes various problems with parsing platform NVRAM. It's required
to get BCM43602 working in most cases.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45802 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoinclude: remove lvm2 from nas package collection
jow [Thu, 28 May 2015 09:58:09 +0000 (09:58 +0000)]
include: remove lvm2 from nas package collection

Since lvm2 is only available in feeds we must not include it by default.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45801 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoIB: make CONFIG_IB_STANDALONE the default
jow [Thu, 28 May 2015 09:51:38 +0000 (09:51 +0000)]
IB: make CONFIG_IB_STANDALONE the default

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45800 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agofeeds: use common macro "FeedSourcesAppend" to populate opkg configurations
jow [Thu, 28 May 2015 09:47:37 +0000 (09:47 +0000)]
feeds: use common macro "FeedSourcesAppend" to populate opkg configurations

This introduces a common macro to assemble the correct url templates to
avoid code duplication and have the feed config handling in a central place.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45799 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoadm5120: fix subtarget dependency for kmod-pata-rb153-cf
nbd [Thu, 28 May 2015 09:06:28 +0000 (09:06 +0000)]
adm5120: fix subtarget dependency for kmod-pata-rb153-cf

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45798 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm47xx: add LEDs/buttos for Asus N10U
rmilecki [Thu, 28 May 2015 08:08:17 +0000 (08:08 +0000)]
brcm47xx: add LEDs/buttos for Asus N10U

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45797 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm47xx: drop 4.0 patch that is in 4.0.4
rmilecki [Thu, 28 May 2015 08:08:11 +0000 (08:08 +0000)]
brcm47xx: drop 4.0 patch that is in 4.0.4

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45796 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: dont set illacc to y by default
blogic [Wed, 27 May 2015 20:06:06 +0000 (20:06 +0000)]
ramips: dont set illacc to y by default

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45795 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoipq806x: add missing symbol
blogic [Wed, 27 May 2015 20:05:03 +0000 (20:05 +0000)]
ipq806x: add missing symbol

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45794 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: diable ill_acc driver by default
blogic [Wed, 27 May 2015 20:02:04 +0000 (20:02 +0000)]
ramips: diable ill_acc driver by default

this treacled down via the stable tree and wandered into 3.18.14

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45793 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomvebu: make flashing more safe
kaloz [Wed, 27 May 2015 19:03:22 +0000 (19:03 +0000)]
mvebu: make flashing more safe

Turn on the auto recovery feature when flashing
and turn it off on successful bootup.

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45792 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agofirmware-utils: asustrx: support setting firmware version
rmilecki [Wed, 27 May 2015 17:58:11 +0000 (17:58 +0000)]
firmware-utils: asustrx: support setting firmware version

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45791 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobcm53xx: build images for Asus devices
rmilecki [Wed, 27 May 2015 16:20:06 +0000 (16:20 +0000)]
bcm53xx: build images for Asus devices

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45790 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm47xx: build images for Asus devices
rmilecki [Wed, 27 May 2015 15:37:05 +0000 (15:37 +0000)]
brcm47xx: build images for Asus devices

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45789 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agosunxi: use common image prefix
jow [Wed, 27 May 2015 15:34:48 +0000 (15:34 +0000)]
sunxi: use common image prefix

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45788 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agorealview: use common image prefix
jow [Wed, 27 May 2015 15:34:38 +0000 (15:34 +0000)]
realview: use common image prefix

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45787 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoomap: use common image prefix
jow [Wed, 27 May 2015 15:34:30 +0000 (15:34 +0000)]
omap: use common image prefix

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45786 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoixp4xx: use common image prefix
jow [Wed, 27 May 2015 15:34:19 +0000 (15:34 +0000)]
ixp4xx: use common image prefix

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45785 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoscripts/feeds: fix typo in copied code
nbd [Wed, 27 May 2015 15:20:22 +0000 (15:20 +0000)]
scripts/feeds: fix typo in copied code

do_install_target copied code from do_install_package, but didn't
replace all text.

Signed-off-by: Karl Palsson <karlp@remake.is>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45784 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: bridge: backport two snooping related patches
nbd [Wed, 27 May 2015 15:20:04 +0000 (15:20 +0000)]
kernel: bridge: backport two snooping related patches

With this patch the following two patches are backported:

* bridge: fix parsing of MLDv2 reports
* bridge: allow setting hash_max + multicast_router if interface is down

The former one is an important fix which got just applied to the net-tree
and is queued for stable. The latter is a patch which is needed to make
the hash_max and multicast_router attributes configurable through
netifd.

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45783 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agogemini: use common image prefix
jow [Wed, 27 May 2015 15:18:36 +0000 (15:18 +0000)]
gemini: use common image prefix

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45782 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agocns3xxx: use common image prefix
jow [Wed, 27 May 2015 15:18:29 +0000 (15:18 +0000)]
cns3xxx: use common image prefix

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45781 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm63xx: use common image prefix
jow [Wed, 27 May 2015 15:18:21 +0000 (15:18 +0000)]
brcm63xx: use common image prefix

Also remove "redbootscript" and "redbootscript.padded" junk files.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Acked-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45780 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm47xx: use common image prefix
jow [Wed, 27 May 2015 15:04:02 +0000 (15:04 +0000)]
brcm47xx: use common image prefix

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45779 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoarm64: use common image prefix
jow [Wed, 27 May 2015 14:57:38 +0000 (14:57 +0000)]
arm64: use common image prefix

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45778 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: check size after padding
nbd [Wed, 27 May 2015 14:56:22 +0000 (14:56 +0000)]
ramips: check size after padding

Signed-off-by: Cristian Morales Vega <cristian@samknows.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45777 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokirkwood: disable TSO on the ethernet device by default, fixes data corruption issues...
nbd [Wed, 27 May 2015 14:56:13 +0000 (14:56 +0000)]
kirkwood: disable TSO on the ethernet device by default, fixes data corruption issues (#19735)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45776 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar7: use common image prefix
jow [Wed, 27 May 2015 14:53:25 +0000 (14:53 +0000)]
ar7: use common image prefix

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45775 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm47xx: build image for Asus RT-N66U
rmilecki [Wed, 27 May 2015 13:54:19 +0000 (13:54 +0000)]
brcm47xx: build image for Asus RT-N66U

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45774 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agofirmware-utils: asustrx: new tool for TRX format with Asus tail
rmilecki [Wed, 27 May 2015 13:54:02 +0000 (13:54 +0000)]
firmware-utils: asustrx: new tool for TRX format with Asus tail

Asus devices use TRX format with some extra data at the end.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45773 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoIB: use online repositories
jow [Wed, 27 May 2015 11:22:20 +0000 (11:22 +0000)]
IB: use online repositories

Change the IB packaging to only embed libc, kernel and kmod packages by default
and generate repositories.conf to refer to the remote package repositories.

Introduce a new config option CONFIG_IB_STANDALONE which restores the old
behaviour of building self contained IB archives.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45772 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoscripts: ensure that ipkg-make-index.sh exits successfully
jow [Wed, 27 May 2015 08:29:10 +0000 (08:29 +0000)]
scripts: ensure that ipkg-make-index.sh exits successfully

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45771 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomap: add support for lw4o6 address matching, minor optimizations
cyrus [Tue, 26 May 2015 14:36:20 +0000 (14:36 +0000)]
map: add support for lw4o6 address matching, minor optimizations

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45770 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomwlwifi: upgrade to 10.3.0.1-20150525
kaloz [Tue, 26 May 2015 13:24:46 +0000 (13:24 +0000)]
mwlwifi: upgrade to 10.3.0.1-20150525

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45769 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agonetifd: fix and optimize ipv6 onlink-route handling
cyrus [Tue, 26 May 2015 12:48:12 +0000 (12:48 +0000)]
netifd: fix and optimize ipv6 onlink-route handling

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45768 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomac80211: backport today's brcmfmac changes
rmilecki [Tue, 26 May 2015 12:14:34 +0000 (12:14 +0000)]
mac80211: backport today's brcmfmac changes

It should improve msgbuf throughput (PCIe devices like BCM43602).

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45767 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoiwinfo: fix hostapd status query (#19662)
jow [Tue, 26 May 2015 11:50:04 +0000 (11:50 +0000)]
iwinfo: fix hostapd status query (#19662)

 * Rework hostapd and wpa_supplicant status parsing code
 * Add support for querying available HT rates
 * Relax definition of restricted channels

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45766 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobuild: trigger pacakge index creation for all feeds if required
jow [Tue, 26 May 2015 11:37:05 +0000 (11:37 +0000)]
build: trigger pacakge index creation for all feeds if required

When CONFIG_PER_FEED_REPO_ADD_DISABLED is set, trigger index creation for
any available feed, regardless of whether there where binaries built or not.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45765 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agofirewall: link iptables extensions dynamically
jow [Tue, 26 May 2015 11:11:48 +0000 (11:11 +0000)]
firewall: link iptables extensions dynamically

Use shared libipt{,4,6}ext.so libraries instead of statically linking
the userspace matches into the fw3 executable.

As a side effect the match initialization is extremely simplified
compared to the weak function pointer juggling performed before.

This also fixes the initialization of the multiport match.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45764 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomvebu: update Linux 4.0 patches
kaloz [Tue, 26 May 2015 09:31:39 +0000 (09:31 +0000)]
mvebu: update Linux 4.0 patches

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45762 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agogeneric/4.0: update to 4.0.4
kaloz [Tue, 26 May 2015 09:31:16 +0000 (09:31 +0000)]
generic/4.0: update to 4.0.4

Update kernel sources and refresh some patches.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45761 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agotools/mtd-utils: upgrade to latest git
kaloz [Tue, 26 May 2015 09:25:30 +0000 (09:25 +0000)]
tools/mtd-utils: upgrade to latest git

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45760 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoinclude: clean package staging dir files before configure
jow [Tue, 26 May 2015 09:17:13 +0000 (09:17 +0000)]
include: clean package staging dir files before configure

This is required to allow packages to ship libraries with a different API.
Previously the linker would favor the old shared libraries in STAGING_DIR
instead of the just compiled ones in PKG_BUILD_DIR.

Avoid that problem by clearing the package staging files right after
prepare.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45759 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoiptables: reduce binary size
jow [Tue, 26 May 2015 09:16:50 +0000 (09:16 +0000)]
iptables: reduce binary size

 * drop unused lenient restore patch
 * instead of statically linking core extensions, build shared libraries
   for reuse in fw3
 * strip outdated match revisions and aliases to trim down library size

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45758 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobuild: allow creating empty package feeds
nbd [Tue, 26 May 2015 09:09:07 +0000 (09:09 +0000)]
build: allow creating empty package feeds

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45757 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: fix tl-wr710n images (#19692)
nbd [Tue, 26 May 2015 07:13:40 +0000 (07:13 +0000)]
ar71xx: fix tl-wr710n images (#19692)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45756 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoppp: do not warn if connect() before close() on pppoe terminate fails (fixes #19651)
nbd [Tue, 26 May 2015 07:02:49 +0000 (07:02 +0000)]
ppp: do not warn if connect() before close() on pppoe terminate fails (fixes #19651)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45755 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomusl: update to version 1.1.9
nbd [Mon, 25 May 2015 23:11:01 +0000 (23:11 +0000)]
musl: update to version 1.1.9

Patch to 2015-05-25 to fix ldso related regressions on PPC and MIPS.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45754 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokirkwood: disable the bogus CONFIG_IP_ADVANCED_ROUTER override (#19722)
nbd [Mon, 25 May 2015 22:59:15 +0000 (22:59 +0000)]
kirkwood: disable the bogus CONFIG_IP_ADVANCED_ROUTER override (#19722)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45753 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agouClibc: elf: Add STT_GNU_IFUNC from glibc
nbd [Mon, 25 May 2015 22:59:04 +0000 (22:59 +0000)]
uClibc: elf: Add STT_GNU_IFUNC from glibc

perf in upstream Linux kernel 3.17 onwards expects STT_GNU_IFUNC
replicate it from glibc

Patch cherry-picked from:
http://lists.busybox.net/pipermail/uclibc/2015-February/048825.html

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45752 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agofstools: update to the latest version, makes filesystem initialization state tracking...
nbd [Mon, 25 May 2015 22:00:06 +0000 (22:00 +0000)]
fstools: update to the latest version, makes filesystem initialization state tracking more reliable (#19564)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45751 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoubus: update to the latest version, switch to git.openwrt.org, fixes a lua binding...
nbd [Mon, 25 May 2015 21:15:42 +0000 (21:15 +0000)]
ubus: update to the latest version, switch to git.openwrt.org, fixes a lua binding memory leak

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45750 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agompc85xx: TL-WDR4900: Fix port 6 being shown as up (10MBit/half) in LUCI/swconfig
nbd [Mon, 25 May 2015 21:15:37 +0000 (21:15 +0000)]
mpc85xx: TL-WDR4900: Fix port 6 being shown as up (10MBit/half) in LUCI/swconfig

Currently port 6 is shown as up 10MBit/half in LUCI and swconfig.
Reason is that all bits in the port 6 config are zero.
This means that also the aneg flag is not set and in this case
ar8216_read_port_link hardcodes the link to be up.

This is no real problem but a little annoying.
To fix this initialize port 6 with the aneg bit enabled.
This causes ar8216_read_port_link to evaluate the link status bit which is
always zero for port 6 as no PHY is connected to this port.
And it doesn't hurt as port 6 isn't connected to anything on TL-WDR4900.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45749 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agonetifd: bump to current HEAD
nbd [Mon, 25 May 2015 21:15:31 +0000 (21:15 +0000)]
netifd: bump to current HEAD

This introduces a new config parameter "no-proto-task" useful for
xl2tpd.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45748 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: fix hang on boot on rt305x
jogo [Mon, 25 May 2015 18:02:32 +0000 (18:02 +0000)]
ramips: fix hang on boot on rt305x

Fix an upstream regression on 3.18+ that causes rt305x based devices
to hang on boot.

Fixes #19715.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45747 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoimage.mk: make image too big warnings more visible
jogo [Mon, 25 May 2015 08:27:55 +0000 (08:27 +0000)]
image.mk: make image too big warnings more visible

Output warnings through stderr to allow them to be easilier spotted
when building with V=w.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45746 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agogdb: disable liblzma explictly
nico [Sun, 24 May 2015 19:15:54 +0000 (19:15 +0000)]
gdb: disable liblzma explictly

 * fix build failure when gdb is build after liblzma
 * bump release number

Signed-off-by: Nicolas Thill <nico@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45745 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agofuse: fix exec environment for mount and umount
nico [Sun, 24 May 2015 17:56:26 +0000 (17:56 +0000)]
fuse: fix exec environment for mount and umount

 * add upstream patch (CVE-2015-3202)
 * refresh patches
 * bump release number

Signed-off-by: Nicolas Thill <nico@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45744 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agopackage/kernel: remove reference to ep93xx target
nico [Sun, 24 May 2015 01:55:14 +0000 (01:55 +0000)]
package/kernel: remove reference to ep93xx target

Signed-off-by: Nicolas Thill <nico@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45743 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agopackage/kernel: remove reference to 3.12 kernel version
nico [Sun, 24 May 2015 01:48:52 +0000 (01:48 +0000)]
package/kernel: remove reference to 3.12 kernel version

Signed-off-by: Nicolas Thill <nico@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45742 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agocomgt: the package contained too many files
blogic [Sat, 23 May 2015 15:29:46 +0000 (15:29 +0000)]
comgt: the package contained too many files

fixes #19698

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45741 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agofuse: fix build on arm64
blogic [Sat, 23 May 2015 15:29:31 +0000 (15:29 +0000)]
fuse: fix build on arm64

error:
../include/fuse_kernel.h:93:15: error: conflicting types for 'int64_t'
../include/fuse_kernel.h:92:15: error: conflicting types for 'uint64_t'

reported by buildbot

fix by adopting upstream patch:
http://git.baserock.org/cgi-bin/cgit.cgi/delta/fuse.git/commit/include/fuse_kernel.h?id=914871b20a901e3e1e981c92bc42b1c93b7ab81b

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45740 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agow1-gpio-custom: Fix uninitialised variable causing 1-wire to not bind to GPIO
blogic [Sat, 23 May 2015 15:29:20 +0000 (15:29 +0000)]
w1-gpio-custom: Fix uninitialised variable causing 1-wire to not bind to GPIO

Signed-off-by: Andrew McDonnell <bugs@andrewmcdonnell.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45739 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoscripts/feeds: Delete package/feeds folder in the clean procedure to prevent dangling...
blogic [Sat, 23 May 2015 15:29:06 +0000 (15:29 +0000)]
scripts/feeds: Delete package/feeds folder in the clean procedure to prevent dangling links.

Hello,

if you run:
./scripts/feeds clean
It removes ./feeds folder but not ./package/feeds/ which is full of dangling links then. This patch fixes it.

Best Regards,
Martin Strbačka

Signed-off-by: Martin Strbacka <martin.strbacka@nic.cz>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45738 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoconntrack-tools: add init script for conntrackd
blogic [Sat, 23 May 2015 15:28:56 +0000 (15:28 +0000)]
conntrack-tools: add init script for conntrackd

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45737 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoMakefile: remove non-existent STAGING_DIR_TOOLCHAIN from dirclean
blogic [Sat, 23 May 2015 15:28:42 +0000 (15:28 +0000)]
Makefile: remove non-existent STAGING_DIR_TOOLCHAIN from dirclean

Makefile: remove non-existent STAGING_DIR_TOOLCHAIN from dirclean

Openwrt's top level Makefile uses STAGING_DIR_TOOLCHAIN in the make dirclean
statement.
https://dev.openwrt.org/browser/trunk/Makefile#L55
    rm -rf $(STAGING_DIR) $(STAGING_DIR_HOST) $(STAGING_DIR_TOOLCHAIN)
$(TOOLCHAIN_DIR) $(BUILD_DIR_HOST) $(BUILD_DIR_TOOLCHAIN)

As far as I can determine, no such variable has been defined. I made a search
in Openwrt source repository and the one line in Makefile's dirclean command
is the only place where that variable exists.

The item has been introduced to Makefile by r8362, but even at that time
neither Makefile nor rules.mk defined such a variable. Most likely the goal
has been to set both staging_dir/toolchain and build_dir/toolchain to be
cleaned, but one of the variables has been erroneous. The correct variable
for build_dir/toolchain has been then added by r13494.

References:
https://dev.openwrt.org/changeset/8362/
https://dev.openwrt.org/browser/trunk/Makefile?rev=8362
https://dev.openwrt.org/browser/trunk/rules.mk?rev=8362
https://lists.openwrt.org/pipermail/openwrt-devel/2007-August/001159.html
https://dev.openwrt.org/changeset/13494

In current code,
    TOOLCHAIN_DIR = $(TOPDIR)/staging_dir/$(TOOLCHAIN_DIR_NAME)
    BUILD_DIR_TOOLCHAIN = $(TOPDIR)/build_dir/$(TOOLCHAIN_DIR_NAME)
so the item STAGING_DIR_TOOLCHAIN in the rm command is unnecessary.

signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45736 3c298f89-4303-0410-b956-a3cf2f4a3e73