openwrt.git
8 years agoar71xx/image: move ubnt images to new BuildCode
nbd [Mon, 15 Jun 2015 07:46:05 +0000 (07:46 +0000)]
ar71xx/image: move ubnt images to new BuildCode

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45983 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx/image: add build step mkubntimage2 mkubntkernelimage for unifi boards
nbd [Mon, 15 Jun 2015 07:45:54 +0000 (07:45 +0000)]
ar71xx/image: add build step mkubntimage2 mkubntkernelimage for unifi boards

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45982 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx/image: new build step Build/mkubntimage for ubnt factory images
nbd [Mon, 15 Jun 2015 07:45:46 +0000 (07:45 +0000)]
ar71xx/image: new build step Build/mkubntimage for ubnt factory images

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45981 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoimage.mk: add Build step pad-to
nbd [Mon, 15 Jun 2015 07:45:36 +0000 (07:45 +0000)]
image.mk: add Build step pad-to

pad-to can be used in a pipe to pad the image to a specific chunk-size.
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45980 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoimage.mk: add Build step combined-image
nbd [Mon, 15 Jun 2015 07:45:27 +0000 (07:45 +0000)]
image.mk: add Build step combined-image

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45979 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoMakefile: move the cleaning of staging_dir/target* from dirclean to clean
nbd [Sun, 14 Jun 2015 17:47:16 +0000 (17:47 +0000)]
Makefile: move the cleaning of staging_dir/target* from dirclean to clean

Currently "make clean" only clears the build_dir/target*, but leaves
staging_dir/target* intact. "make clean" should also clean the
staging_dir/target* directories, as in the current situation some old
packages or libraries may be linked into the firmware from staging_dir
despite a "make clean".

The patch reorganises clean / dirclean functionality so that
* "make clean" also clears the staging_dir/target* in addition to
build_dir/target*.
* "make dirclean" clears toolchain and host(=tools) directories from both
build_dir and staging_dir

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

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

8 years agoprocd: update to the latest version, adds a few fixes
nbd [Sun, 14 Jun 2015 17:44:04 +0000 (17:44 +0000)]
procd: update to the latest version, adds a few fixes

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

8 years agoar71xx: return limit as number of processed frames when re-scheduling NAPI poll
nbd [Sun, 14 Jun 2015 17:43:59 +0000 (17:43 +0000)]
ar71xx: return limit as number of processed frames when re-scheduling NAPI poll

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

8 years agoar8216: Fix problem with AR8337 MAC swap handling
nbd [Sun, 14 Jun 2015 17:43:50 +0000 (17:43 +0000)]
ar8216: Fix problem with AR8337 MAC swap handling

AR8337 supports a configuration bit to swap MAC0 and MAC6.
Currently this is set in general if an AR8337 is detected and causes
issues with devices using an AR8334 (internally an AR8337, just
less chip pins).
And it might even cause issues with AR8337-based devices with
different board designs.

Swapping the MAC's however isn't needed for AR8337 in general.
It's just needed in case of certain board designs (affected devices
seem to be based on Atheros reference board AP135/136-010).
Therefore this configuration bit should be moved to platform data.

The patch includes the needed changes to the device initialization
code of affected devices. Hopefully I didn't miss any ..

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

8 years agoelfutils: import package from packages.git
nbd [Sun, 14 Jun 2015 17:43:40 +0000 (17:43 +0000)]
elfutils: import package from packages.git

elfutils is required by perf. So we'll move this package from
packages.git and make it part of the core distribution.

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

8 years agobzip2: import package from packages.git
nbd [Sun, 14 Jun 2015 17:43:34 +0000 (17:43 +0000)]
bzip2: import package from packages.git

bzip2 is required by elfutils, itself required by perf. So we'll move
this package from packages.git and make it part of the core
distribution.

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

8 years agoargp-standalone: import package from packages.git
nbd [Sun, 14 Jun 2015 17:43:28 +0000 (17:43 +0000)]
argp-standalone: import package from packages.git

argp-standalone is required by elfutils, itself required by perf. So
we'll move this package from packages.git and make it part of the core
distribution.

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

8 years agoinclude/scan.mk: Add -a argument to the grep to treat all Makefiles as a text file.
nbd [Sun, 14 Jun 2015 17:43:22 +0000 (17:43 +0000)]
include/scan.mk: Add -a argument to the grep to treat all Makefiles as a text file.

Hello,

I found out that in some rare cases grep can treat Makefile as a binary file. That happened to me on UTF-8 Gentoo if Makefile contained a character which was from extended ASCII table.
Without this patch the output of the grep command in the $(FILELIST) target is not valid (contains line "Binary file matches") and following commands fail to create feed index file.

Best Regards,
Martin Strbacka

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

8 years agoar71xx: Add pll_1000 value for eth0 to Ubiquiti Rocket M XW
nbd [Sun, 14 Jun 2015 17:43:18 +0000 (17:43 +0000)]
ar71xx: Add pll_1000 value for eth0 to Ubiquiti Rocket M XW

This patch adds the pll_1000 value for eth0 interface. This makes the Rocket M
XW image compatible with other Ubiquiti devices with similar hardware with a
Gigabit Ethernet port.

Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45965 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobuild: do another init script enabling run, fixes init scripts added via files/ ...
nbd [Sun, 14 Jun 2015 17:42:05 +0000 (17:42 +0000)]
build: do another init script enabling run, fixes init scripts added via files/ (#19857)

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

8 years agooxnas: change file extension of u-boot+initramfs image
nbd [Sun, 14 Jun 2015 17:42:00 +0000 (17:42 +0000)]
oxnas: change file extension of u-boot+initramfs image

The *u-boot-initramfs* images are not ITB/FIT images but are rather
supposed to be loaded to RAM and jumped-into.
To avoid confusion, change the file extension from itb to bin.

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

8 years agoopenvpn: bump PKG_RELEASE.
nbd [Sun, 14 Jun 2015 17:41:54 +0000 (17:41 +0000)]
openvpn: bump PKG_RELEASE.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45962 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoopenvpn: let instances drop to nobody in default config.
nbd [Sun, 14 Jun 2015 17:41:43 +0000 (17:41 +0000)]
openvpn: let instances drop to nobody in default config.

This is for security precautions.  As persist_tun and persist_key are
already there, this should not cause compatibility issue.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45961 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoopenvpn: fix handling option auth_retry.
nbd [Sun, 14 Jun 2015 17:41:38 +0000 (17:41 +0000)]
openvpn: fix handling option auth_retry.

As reported in ticket #19104, auth_retry takes a <type> argument with 3
choices: none, nointeract, interact.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45960 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolibubox: update to the latest version, adds a few fixes
nbd [Sun, 14 Jun 2015 17:41:33 +0000 (17:41 +0000)]
libubox: update to the latest version, adds a few fixes

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

8 years agoar71xx: fix mac offset in firmware file
nbd [Sun, 14 Jun 2015 17:41:27 +0000 (17:41 +0000)]
ar71xx: fix mac offset in firmware file

In new firmware-4.bin (for ath10k) mac offset is 0x114 (276), not 0x118 (280).
This also closes #19751, bug introduced in #45624

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45958 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agofirmware-tools/ptgen: use stdint types for struct pte
nbd [Sun, 14 Jun 2015 17:41:21 +0000 (17:41 +0000)]
firmware-tools/ptgen: use stdint types for struct pte

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

8 years agofirmware-tools/ptgen: fix endianness conversion for PTE .start, .length field.
nbd [Sun, 14 Jun 2015 17:41:16 +0000 (17:41 +0000)]
firmware-tools/ptgen: fix endianness conversion for PTE .start, .length field.

They are of 32-bit little endian integers.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45956 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoprocd: correct the order of respawn params in the comments.
nbd [Sun, 14 Jun 2015 17:41:07 +0000 (17:41 +0000)]
procd: correct the order of respawn params in the comments.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45955 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: fix 100/10mbps ethernet link issues on mynet range extender
nbd [Sun, 14 Jun 2015 17:41:01 +0000 (17:41 +0000)]
ar71xx: fix 100/10mbps ethernet link issues on mynet range extender

The mynet range extender hardware is suffering from ethernet
link loss when booting with a recent openwrt image. This only
happens on 100mbps links, with 1Gbps speed the link was fine.

The cause of the problem is that the AR8035 PHY (aka F1E)
requires turning on and off the special TX delay setting
depending on the speed of the link.

The 10mbps mode only needed the proper pll value, which was
extracted from the vendor code.

Reported-by: Pascal Paradis
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45954 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agosamba36: remove host build paths
nbd [Sun, 14 Jun 2015 17:40:52 +0000 (17:40 +0000)]
samba36: remove host build paths

- fix iconv detection because it adds host paths
- disable python detection (host python-config is found)

iconv issue is reported by buildbot config.log + replicated locally
see config.log in logs.tar.gz
python issue observed locally on Arch Linux

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

8 years agomt76: update to the latest version, adds many fixes
nbd [Sat, 13 Jun 2015 08:47:28 +0000 (08:47 +0000)]
mt76: update to the latest version, adds many fixes

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

8 years agoopenssl: 1.0.2c (srsly, you guys, srsly)
cyrus [Fri, 12 Jun 2015 20:49:20 +0000 (20:49 +0000)]
openssl: 1.0.2c (srsly, you guys, srsly)

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

8 years agoppp: bump PKG_RELEASE
cyrus [Fri, 12 Jun 2015 07:38:00 +0000 (07:38 +0000)]
ppp: bump PKG_RELEASE

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

8 years agoppp : Unnumbered support
cyrus [Fri, 12 Jun 2015 07:37:53 +0000 (07:37 +0000)]
ppp : Unnumbered support

Adds PPP unnumbered support via the parameter unnumbered which points to a logical OpenWRT interface.
The PPP proto shell handler will "borrow" an IP address from the unnumbered interface (if multiple
IP addresses are present the longest prefix different from 32 will be "borrowed") for which a host
interface dependency will be created. Due to the host interface dependency the PPP unnumbered interface
will only "borrow" an IP address from an interface which is up.
The borrowed IP address will be shared as local IP address by the PPP daemon and no other local IP
will be accepted from the peer in the IPCP negotiation.

A typical use case is the usage of a public IP subnet on the Lan interface which will be shared
by the PPP interface as local IP address.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45948 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoopenssl: fixes CVE-2015-4000 CVE-2015-1788 CVE-2015-1789 CVE-2015-1790 CVE-2015-1792...
cyrus [Thu, 11 Jun 2015 20:36:46 +0000 (20:36 +0000)]
openssl: fixes CVE-2015-4000 CVE-2015-1788 CVE-2015-1789 CVE-2015-1790 CVE-2015-1792 CVE-2015-1791

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

8 years agoopenssl: 1.0.2b (hey, we made it nearly 3 months this time!)
cyrus [Thu, 11 Jun 2015 20:28:44 +0000 (20:28 +0000)]
openssl: 1.0.2b (hey, we made it nearly 3 months this time!)

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

8 years agobrcm63xx: fix A4001N image padding size
jogo [Thu, 11 Jun 2015 12:10:43 +0000 (12:10 +0000)]
brcm63xx: fix A4001N image padding size

When r42245 moved A4001N to DT based detection the image padding size
was accidentally increased from 4 to 8 MiB. This made images unflashable
on these devices.

Fixes #19836.

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

8 years agotoolchain/gcc: upgrade Linaro GCC 4.9 to 4.9-2015.03
kaloz [Thu, 11 Jun 2015 11:57:11 +0000 (11:57 +0000)]
toolchain/gcc: upgrade Linaro GCC 4.9 to 4.9-2015.03

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

8 years agobcm53xx: update NVRAM driver to MIPS version from upstream-sfr
rmilecki [Wed, 10 Jun 2015 20:34:32 +0000 (20:34 +0000)]
bcm53xx: update NVRAM driver to MIPS version from upstream-sfr

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

8 years agobrcm47xx: backport BCM47XX patches (NVRAM & BCMA_HOST_PCI)
rmilecki [Wed, 10 Jun 2015 19:52:07 +0000 (19:52 +0000)]
brcm47xx: backport BCM47XX patches (NVRAM & BCMA_HOST_PCI)

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

8 years agoodhcp6c: work around RIOs matching PIOs as sent by some apple routers
cyrus [Wed, 10 Jun 2015 15:54:24 +0000 (15:54 +0000)]
odhcp6c: work around RIOs matching PIOs as sent by some apple routers

Thanks to Mikael Abrahamsson for reporting.

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

8 years ago6to4: Remove sourcerouting parameter registration
cyrus [Wed, 10 Jun 2015 11:50:13 +0000 (11:50 +0000)]
6to4: Remove sourcerouting parameter registration

Commit 31214c38c8dd0f70366b523f9b0335145b9386bd removes IPv6 unneeded source-dest-routing workarounds;
as a result sourcerouting parameter is unused and can be removed.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45940 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years ago6rd: Remove sourcerouting parameter registration
cyrus [Wed, 10 Jun 2015 11:50:09 +0000 (11:50 +0000)]
6rd: Remove sourcerouting parameter registration

Commit 31214c38c8dd0f70366b523f9b0335145b9386bd removes IPv6 unneeded source-dest-routing workarounds;
as a result sourcerouting parameter is unused and can be removed.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45939 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agob53: fix memory out of bounds access on 64 bit targets
jogo [Wed, 10 Jun 2015 09:21:36 +0000 (09:21 +0000)]
b53: fix memory out of bounds access on 64 bit targets

On device reset the sizes for the vlan and port tables were wrongly
calculated based on the pointer size instead of the struct size. This
causes buffer overruns on 64 bit targets, resulting in panics.

Fix this by dereferencing the pointers.

Reported-by: Fedor Konstantinov <blmink@mink.su>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45938 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agob53: widen stp state mask to 3 bits (instead of 2)
jogo [Wed, 10 Jun 2015 09:21:31 +0000 (09:21 +0000)]
b53: widen stp state mask to 3 bits (instead of 2)

At least on my b53 chip, the mask is 3 bits wide, and because
of this some STP states are not set properly and discarded when read.

Maybe for some other chips it makes sense to have just 2 bits width,
but I don't have other versions around to test/validate.

If that's the case then maybe we could add another STP state mask.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45937 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomap: add sleep work-around for lw4o6 race-condition
cyrus [Tue, 9 Jun 2015 21:18:55 +0000 (21:18 +0000)]
map: add sleep work-around for lw4o6 race-condition

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

8 years agoodhcp6c: fix handling of custom DHCPv6 options
cyrus [Tue, 9 Jun 2015 20:28:35 +0000 (20:28 +0000)]
odhcp6c: fix handling of custom DHCPv6 options

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

8 years agoustream-ssl: fix compilation against current PolarSSL/mbedTLS version
jow [Tue, 9 Jun 2015 16:52:12 +0000 (16:52 +0000)]
ustream-ssl: fix compilation against current PolarSSL/mbedTLS version

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

8 years agokernel: mac80211: bcm53xx has bcma built-in
rmilecki [Tue, 9 Jun 2015 15:13:18 +0000 (15:13 +0000)]
kernel: mac80211: bcm53xx has bcma built-in

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

8 years agomac80211: add brcmfmac patch for synchronous init
rmilecki [Mon, 8 Jun 2015 15:17:52 +0000 (15:17 +0000)]
mac80211: add brcmfmac patch for synchronous init

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

8 years agomac80211: add brcmfmac patch reading NVRAM from platform
rmilecki [Mon, 8 Jun 2015 15:17:35 +0000 (15:17 +0000)]
mac80211: add brcmfmac patch reading NVRAM from platform

This allows e.g. BCM43602 to work out of box, without dumping a proper
MTD partition to /lib/firmware/ NVRAM file.

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

8 years agoramips: fix Power LED handling for WHR-300HP2, WHR-600D, WHR-1166D
nbd [Mon, 8 Jun 2015 12:51:13 +0000 (12:51 +0000)]
ramips: fix Power LED handling for WHR-300HP2, WHR-600D, WHR-1166D

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

8 years agomac80211: fix b43 support for 14e4:4321 BCM4321 (band detection)
rmilecki [Mon, 8 Jun 2015 12:50:47 +0000 (12:50 +0000)]
mac80211: fix b43 support for 14e4:4321 BCM4321 (band detection)

This fixes #19803

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

8 years agomac80211: backport today's brcmfmac changes
rmilecki [Mon, 8 Jun 2015 12:50:38 +0000 (12:50 +0000)]
mac80211: backport today's brcmfmac changes

This adds support for SR400ac NVRAM and fixes
/sys/class/ieee80211/*/macaddress

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

8 years agokernel: backport config-related bcma patches from 4.2
rmilecki [Mon, 8 Jun 2015 12:49:54 +0000 (12:49 +0000)]
kernel: backport config-related bcma patches from 4.2

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

8 years agonetifd: bump to latest, various fixes
cyrus [Mon, 8 Jun 2015 11:04:10 +0000 (11:04 +0000)]
netifd: bump to latest, various fixes

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

8 years agopolarssl: bump to 1.3.11
cyrus [Mon, 8 Jun 2015 07:38:13 +0000 (07:38 +0000)]
polarssl: bump to 1.3.11

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

8 years agodnsmasq: bump to 2.73rc9
cyrus [Mon, 8 Jun 2015 04:48:16 +0000 (04:48 +0000)]
dnsmasq: bump to 2.73rc9

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

8 years agodnsmasq: fix config file typo
cyrus [Mon, 8 Jun 2015 04:48:08 +0000 (04:48 +0000)]
dnsmasq: fix config file typo

s/loclal/local/

Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45923 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobcm53xx: backport the latest 4.2 ARM BCM5302X patches
rmilecki [Sun, 7 Jun 2015 14:41:05 +0000 (14:41 +0000)]
bcm53xx: backport the latest 4.2 ARM BCM5302X patches

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

8 years agobrcm47xx: refresh kernel config
rmilecki [Sun, 7 Jun 2015 10:09:10 +0000 (10:09 +0000)]
brcm47xx: refresh kernel config

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

8 years agokernel: move a symbol from the ipq806x config to generic to prevent it from being...
nbd [Sun, 7 Jun 2015 07:32:35 +0000 (07:32 +0000)]
kernel: move a symbol from the ipq806x config to generic to prevent it from being nuked by make kernel_oldconfig

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

8 years agokernel: remove NAND flash related kmod-* packages
nbd [Sun, 7 Jun 2015 07:22:11 +0000 (07:22 +0000)]
kernel: remove NAND flash related kmod-* packages

They are useless, as the platform already selects the right options for
NAND support. The main reason for removing them is the fact that it
makes kernel configs more annoying to maintain on platforms that provide
NAND drivers but disable them (e.g. ramips)

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

8 years agoralink: add missing symbol
blogic [Sun, 7 Jun 2015 07:12:23 +0000 (07:12 +0000)]
ralink: add missing symbol

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

8 years agohostapd: move ht_coex variable to mac80211.sh, guarded by 802.11n support
nbd [Sat, 6 Jun 2015 23:09:43 +0000 (23:09 +0000)]
hostapd: move ht_coex variable to mac80211.sh, guarded by 802.11n support

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

8 years agobcm53xx: refresh kernel config
rmilecki [Sat, 6 Jun 2015 22:34:37 +0000 (22:34 +0000)]
bcm53xx: refresh kernel config

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

8 years agobcm53xx: fallback to default_do_upgrade if NAND upgrade fails
rmilecki [Sat, 6 Jun 2015 17:52:53 +0000 (17:52 +0000)]
bcm53xx: fallback to default_do_upgrade if NAND upgrade fails

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

8 years agobcm53xx: sysupgrade: drop useless shift in platform.sh
rmilecki [Sat, 6 Jun 2015 17:26:05 +0000 (17:26 +0000)]
bcm53xx: sysupgrade: drop useless shift in platform.sh

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

8 years agobrcm47xx: sysupgrade: drop useless shift in platform.sh
rmilecki [Sat, 6 Jun 2015 17:25:57 +0000 (17:25 +0000)]
brcm47xx: sysupgrade: drop useless shift in platform.sh

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

8 years agobcm53xx: extract TRX from image on the fly
rmilecki [Sat, 6 Jun 2015 17:23:03 +0000 (17:23 +0000)]
bcm53xx: extract TRX from image on the fly

Extracting TRX to separated file in /tmp/ just wastes some RAM while we
can just pass a proper extracting command to the default_do_upgrade.

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

8 years agobcm53xx: sysupgrade: extract TRX partitions directly from vendor image
rmilecki [Sat, 6 Jun 2015 17:05:31 +0000 (17:05 +0000)]
bcm53xx: sysupgrade: extract TRX partitions directly from vendor image

Extracting full TRX out of vendor format is not needed as otrx supports
passing TRX offset. This saves some RAM during sysupgrade.

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

8 years agoppp: fix download URL
hauke [Sat, 6 Jun 2015 13:50:00 +0000 (13:50 +0000)]
ppp: fix download URL

The file is not available at the older path any more.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45910 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agogrub: add download mirrors
hauke [Sat, 6 Jun 2015 13:49:24 +0000 (13:49 +0000)]
grub: add download mirrors

Add three download mirrors for 'grub', as the Makefile currently defines only
one download location.

@GNU can not be used, as the most recent version of 'grub' is not available
at the general GNU mirrors, and can only be found at the "gnu-alpha" mirrors.

Signed-off-by: Hannu Nyman <hannu.nyman at iki.fi>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45909 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobc: add download mirrors
hauke [Sat, 6 Jun 2015 13:48:57 +0000 (13:48 +0000)]
bc: add download mirrors

Add three download mirrors for 'bc', as the Makefile currently defines only
one download location.

@GNU can not be used, as the most recent version of 'bc' is not available at
the general GNU mirrors, and can only be found at the "gnu-alpha" mirrors.

Signed-off-by: Hannu Nyman <hannu.nyman at iki.fi>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45908 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobcm53xx: update NVRAM driver to support getting contents
rmilecki [Fri, 5 Jun 2015 21:49:57 +0000 (21:49 +0000)]
bcm53xx: update NVRAM driver to support getting contents

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

8 years agobrcm47xx: backport MIPS BCM47XX changes queued for 4.2
rmilecki [Fri, 5 Jun 2015 20:41:18 +0000 (20:41 +0000)]
brcm47xx: backport MIPS BCM47XX changes queued for 4.2

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

8 years agobase-files: add openwrt snapshot key
nbd [Fri, 5 Jun 2015 18:21:53 +0000 (18:21 +0000)]
base-files: add openwrt snapshot key

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

8 years agoopkg: Fix --force-checksum when using SHA256
blogic [Fri, 5 Jun 2015 14:12:45 +0000 (14:12 +0000)]
opkg: Fix --force-checksum when using SHA256

Allow installing packages with mismatching SHA256 checksums via

$ opkg install --force-checksum $PACKAGE

Signed-off-by: Florian Fieber <florian@florianfieber.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45904 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: fix AR71XX_MODEL for TP-Link TL-WA830RE v1
blogic [Fri, 5 Jun 2015 14:12:34 +0000 (14:12 +0000)]
ar71xx: fix AR71XX_MODEL for TP-Link TL-WA830RE v1

The v1 identifies as v10 internally. As there is no TL-WA830RE v10, add a
workaround to avoid confusing users.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45903 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: Add support for RT5350F-OLinuXino V2
blogic [Fri, 5 Jun 2015 14:12:25 +0000 (14:12 +0000)]
ramips: Add support for RT5350F-OLinuXino V2

Version 2 : White spaces and  alphabetical order problems
 fixed
Support for Olimex RT5350F-OLinuXino Boards, tested with RT5350F-OLinuXino and RT5350F-OLinuXino-EVB boards. More Info :
 https://www.olimex.com/Products/OLinuXino/RT5350F/RT5350F-OLinuXino/open-source-hardware

Signed-off-by: Dimitar Gamishev HeHoPMaJIeH <gamishev@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45902 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm47xx: extract TRX from image on the fly
blogic [Fri, 5 Jun 2015 14:12:15 +0000 (14:12 +0000)]
brcm47xx: extract TRX from image on the fly

Extracting TRX to separated file in /tmp/ requires extra RAM which may
not be available on some chepaer devices. Instead of that lets pass a
proper extracting command to the default_do_upgrade.

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

8 years agobase-files: default_do_upgrade: accept & forward image extraction command
blogic [Fri, 5 Jun 2015 14:12:05 +0000 (14:12 +0000)]
base-files: default_do_upgrade: accept & forward image extraction command

get_image allows passing 2nd argument that is used in a pipe for
extracting firmware from a non-native format. By accepting such command
in default_do_upgrade we allow platforms to use this helper for vendor
specific images.

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

8 years agolantiq: Backport gpio-stp-xway to fix the highest bits of the PHY LEDs
blogic [Fri, 5 Jun 2015 14:11:51 +0000 (14:11 +0000)]
lantiq: Backport gpio-stp-xway to fix the highest bits of the PHY LEDs

This fixes the LAN2 LED on Arcadyan VGV7510KW22.

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

8 years agouboot-lantiq: Add Arcadyan VGV7510KW22 support
blogic [Fri, 5 Jun 2015 14:11:45 +0000 (14:11 +0000)]
uboot-lantiq: Add Arcadyan VGV7510KW22 support

This is already applied in Daniel's ("upstream") tree and thus will be
part of upcoming version(s).

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

8 years agolantiq: Add support for Arcadyan VGV7510KW22 (known as o2 Box 6431)
blogic [Fri, 5 Jun 2015 14:11:36 +0000 (14:11 +0000)]
lantiq: Add support for Arcadyan VGV7510KW22 (known as o2 Box 6431)

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

8 years agomtd: add missing <endian.h> include
nbd [Fri, 5 Jun 2015 09:00:02 +0000 (09:00 +0000)]
mtd: add missing <endian.h> include

trx.c in mtd would not include endian.h, so on systems that do not have
this header implicitly included from the other headers (like musl), both
__BYTE_ORDER and __BIG_ENDIAN would be undefined and thus 0, leading to
it always presuming a big-endian system. this would lead to issues when
running mtd fixtrx on little-endian systems, as it would never recognize
the TRX magic as result of the broken STORE32_LE() macro.

Signed-off-by: Shiz <hi@shiz.me>
Tested-by: Shiz <hi@shiz.me>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45896 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: improve tx clean up and add fe_tx_ring struct
nbd [Fri, 5 Jun 2015 08:59:57 +0000 (08:59 +0000)]
ramips: improve tx clean up and add fe_tx_ring struct

if there is any new tx need to clean up. do it in next napi poll.
collect tx related members to fe_tx_ring struct. for better
cache usage and more readable.

Signed-off-by: michael lee <igvtee@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45895 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: change ethernet napi interrupt sequence
nbd [Fri, 5 Jun 2015 08:59:48 +0000 (08:59 +0000)]
ramips: change ethernet napi interrupt sequence

when open device. first ready napi software rx.
then enable hardware interrupt.
final start software tx queue to send data.

Signed-off-by: michael lee <igvtee@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45894 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: fix ethernet vlan tx offload support check when delete
nbd [Fri, 5 Jun 2015 08:59:42 +0000 (08:59 +0000)]
ramips: fix ethernet vlan tx offload support check when delete

Signed-off-by: michael lee <igvtee@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45893 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: fix the memory map on FireWRT
nbd [Fri, 5 Jun 2015 08:07:41 +0000 (08:07 +0000)]
ramips: fix the memory map on FireWRT

Avoid the use of memory marked as reserved

MT7621 support 512MB memory.
According to "MT7621_ProgrammingGuide_Preliminary_Platform.pdf"
0x0~0x1c000000        448MB
0x20000000~0x4000000  64MB
total 512MB

Signed-off-by: wengbj <fl.service@t-firefly.com>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45892 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: adjust mips highmem offset to avoid the need for -mlong-calls on systems...
nbd [Fri, 5 Jun 2015 08:07:35 +0000 (08:07 +0000)]
kernel: adjust mips highmem offset to avoid the need for -mlong-calls on systems with >256M RAM

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

8 years agoramips: use highmem on the FireWRT board
nbd [Thu, 4 Jun 2015 21:45:24 +0000 (21:45 +0000)]
ramips: use highmem on the FireWRT board

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

8 years agoramips: enable highmem support for mt7621
nbd [Thu, 4 Jun 2015 21:45:12 +0000 (21:45 +0000)]
ramips: enable highmem support for mt7621

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

8 years agoramips: remove prompt of the USB_MT7621_XHCI_PLATFORM symbol to avoid issues with...
nbd [Thu, 4 Jun 2015 21:45:01 +0000 (21:45 +0000)]
ramips: remove prompt of the USB_MT7621_XHCI_PLATFORM symbol to avoid issues with kernel_menuconfig

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

8 years agogmp: disable assembly to fix build on systems that use PIE binaries
nbd [Thu, 4 Jun 2015 21:44:52 +0000 (21:44 +0000)]
gmp: disable assembly to fix build on systems that use PIE binaries

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

8 years agomusl: update to version 1.1.9
nbd [Thu, 4 Jun 2015 20:08:39 +0000 (20:08 +0000)]
musl: update to version 1.1.9

Patch to 2015-06-04 to fix ldso related regressions on PPC and MIPS.

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

8 years agoAdd sch_fq and sch_pie to the kmod-sched package.
cyrus [Thu, 4 Jun 2015 05:44:44 +0000 (05:44 +0000)]
Add sch_fq and sch_pie to the kmod-sched package.

These are two new packet schedulers introduced in Linux 3.12 and 3.14
respectively. sch_fq is a perfect fairness queueing scheduler that also
adds pacing on host TCP flows, and sch_pie is an AQM.

Having them available in kmod-sched makes it easier for people to test
these new queueing schemes.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45885 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolldpd: add option to disable custom TLVs
blogic [Wed, 3 Jun 2015 13:59:14 +0000 (13:59 +0000)]
lldpd: add option to disable custom TLVs

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45884 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoprocd: work around a event race
blogic [Wed, 3 Jun 2015 13:59:08 +0000 (13:59 +0000)]
procd: work around a event race

there is a conceptual design flaw in our interface events. workaround this by
disabling duplicate message supression in procd. we need to fix this properly
for the next release

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

8 years agolantiq: Make the CRC32 poly value configurable per device
blogic [Wed, 3 Jun 2015 13:58:57 +0000 (13:58 +0000)]
lantiq: Make the CRC32 poly value configurable per device

This also adds the old hardcoded value to the VGV7519BRN profile to make
sure that images are still generated correctly.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45882 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agotools/firmware-utils: Allow changing the CRC32 poly value in mkbrnimg
blogic [Wed, 3 Jun 2015 13:58:48 +0000 (13:58 +0000)]
tools/firmware-utils: Allow changing the CRC32 poly value in mkbrnimg

VGV7519 is currently the only device with brnboot support. It seems to
be happy with 0x2083b8ed as CRC32 poly. However, VGV7510KW22 fails to
validate the checksum - it requires 0x04c11db7 instead.

I have built an brnboot image manually on the command line, once with
the old code and then with the new code but passing the old CRC32
poly value. Both resulted in a brnboot image with the same sha1sum.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45881 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoipq806x: missing symbol
blogic [Wed, 3 Jun 2015 13:58:30 +0000 (13:58 +0000)]
ipq806x: missing symbol

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

8 years agoRevert "musl: update to version 1.1.9" (r45754)
nbd [Wed, 3 Jun 2015 00:22:51 +0000 (00:22 +0000)]
Revert "musl: update to version 1.1.9" (r45754)

The current version seems to be broken on MIPS.

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

8 years agoncurses: Fix building with gcc 5.1
hauke [Tue, 2 Jun 2015 21:54:54 +0000 (21:54 +0000)]
ncurses: Fix building with gcc 5.1

This patch is taken from the gentoo guys who extracted this from a large
upstream commit (with many unrelated changes).

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45878 3c298f89-4303-0410-b956-a3cf2f4a3e73