Commit graph

33596 commits

Author SHA1 Message Date
Felix Fietkau
651083bbd9 kernel: mtdsplit: add support for EVA images
This allows splitting EVA images (usually found in fritz devices). The
firmware will be split into a kernel and a separate rootfs partition.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>

SVN-Revision: 48262
2016-01-17 10:41:08 +00:00
Felix Fietkau
bdd2772f1d kernel: mtdsplit: add support for brnImages
This adds brnImage (used with the brnboot bootloader) firmware parsing
support. brnboot verifies the integrity of the firmware stored on the
"Code Image" partitions by looking at the 12 byte footer at the very end
of the partition. This footer contains the checksum of the original
brnImage (kernel + rootfs/squashfs) and must not be touched (by our JFFS2
rootfs_data - otherwise the image will not be bootable anymore).

Big thanks to Mathias Kresin for analyzing the brnImage structure and
finding out the information how to keep images valid even when adding a
nested rootfs_data partition.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>

SVN-Revision: 48261
2016-01-17 10:40:51 +00:00
Felix Fietkau
3348279eca kernel: disable bogus DEVTMPFS config overrides
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48260
2016-01-17 10:40:36 +00:00
Felix Fietkau
526f470c5f download.pl: fix openssl sha256 digest output
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48259
2016-01-16 10:24:15 +00:00
Felix Fietkau
b075688953 ustream-ssl: fix copy&paste mistake in mbedtls variant title
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48258
2016-01-16 09:14:03 +00:00
Felix Fietkau
b0b0c319f9 polarssl: update to 1.3.16, fixes intermediate certificate validation
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48257
2016-01-16 00:20:05 +00:00
Felix Fietkau
d9494cdf6d ustream-ssl: update to the latest version, adds mbedtls variant
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48256
2016-01-16 00:20:01 +00:00
Felix Fietkau
5bd5c3282b libubox: update to the latest version, adds lua/ustream fixes and extends usock
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48255
2016-01-16 00:19:54 +00:00
Felix Fietkau
6665bbb1a0 mbedtls: update to version 2.2.1
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48254
2016-01-16 00:19:47 +00:00
Felix Fietkau
eaa4eba10a scripts/download.pl: add SHA-256 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48253
2016-01-16 00:19:41 +00:00
Zoltan Herpai
39f385d0d6 packages: bump uboot-sunxi to 2016.01
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 48252
2016-01-15 20:27:32 +00:00
Felix Fietkau
b2e374346b mwlwifi: fix build with latest mac80211
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48251
2016-01-15 16:58:00 +00:00
Felix Fietkau
ba8a603a49 mt76: update to the latest version, fixes build with latest mac80211
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48250
2016-01-15 16:53:44 +00:00
Felix Fietkau
e0de7275f9 imx6: kernel: Add Micrel PHY used on Apalis SOM
Signed-off-by: Petr Štetiar <ynezz@true.cz>
Cc: Luka Perkov <luka@openwrt.org>

SVN-Revision: 48249
2016-01-15 15:18:23 +00:00
Felix Fietkau
321823ba05 imx6: add 4.4 support
Build and boot tested on the following hardware:
 * GW54xx
 * GW53xx
 * GW52xx
 * GW51xx
 * GW552x
 * GW551x

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>

SVN-Revision: 48248
2016-01-15 15:18:18 +00:00
Felix Fietkau
82c5e2c497 mac80211: update to wireless-testing 2016-01-10
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48247
2016-01-15 15:03:48 +00:00
Felix Fietkau
56f6d35716 dnsmasq: Add option --min-port
By default dnsmasq uses random ports for outbound dns queries;
when the minport UCI option is specified the ports used will
always be larger than the specified value.
This is usefull for systems behind firewalls.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

SVN-Revision: 48244
2016-01-15 11:24:15 +00:00
Felix Fietkau
64c23711ea dropbear: update version to 2015.71
Update dropbear to version 2015.71, released on 3 Dec 2015.
Refresh patches.

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

SVN-Revision: 48243
2016-01-15 11:24:09 +00:00
Felix Fietkau
708bbe9382 kernel: add missing kmod-video-videobuf2's object file in 4.4
CONFIG_VIDEOBUF2_CORE produces two object files in Linux >= 4.4.
Conditionally add the new file to FILES of kmod-video-videobuf2.

Signed-off-by: Jan Čermák <jan.cermak@nic.cz>

SVN-Revision: 48242
2016-01-15 10:49:21 +00:00
Felix Fietkau
d475624f64 arc770: move arc patches to target/linux/generic
Given those patches are relevant to any ARC platform and even
ISA version it makes perfect sense for patches to exist
in one place instead of being duplicated for each new ARC-based ASIC.

Note this is a prerequisite for upstreaming of ARC HS38 support in
OpenWRT.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Felix Fietkau <nbd@openwrt.org>
Cc: Jo-Philipp Wich <jow@openwrt.org>
Cc: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 48241
2016-01-15 10:49:11 +00:00
Felix Fietkau
4514589182 arc770: bump linux kernel from 4.3 to 4.4
This switch involved:
 [1] Regeneration of config (few options went away)
 [2] Regeneration of patches so they apply cleanly (different offsets)
 [3] Update of .dts files because we now explicitly specify
     memory regions in use as opposed to previously used offset
     from 0x8000_0000

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Felix Fietkau <nbd@openwrt.org>
Cc: Jo-Philipp Wich <jow@openwrt.org>
Cc: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 48240
2016-01-15 10:49:01 +00:00
Felix Fietkau
7f11532c58 kernel: compile out SNMP MIB related counting if debloat-proc is active - improves network stack performance
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48239
2016-01-15 10:47:14 +00:00
Jo-Philipp Wich
1133101bc8 procd: align early init PATH with rest of OpenWrt
This fixes diverging executable search paths observed in programs
launched throughn etifd which in turn inherited the search path from
procd early on boot.

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

SVN-Revision: 48235
2016-01-14 12:52:18 +00:00
Felix Fietkau
711e28f012 mt76: update to the latest version, fixes signal strength reporting
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48234
2016-01-14 11:59:10 +00:00
Felix Fietkau
cb85e21fd1 ath9k: add support for a newer tx gain table used in some TP-Link devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48233
2016-01-14 02:17:49 +00:00
Felix Fietkau
155f7ba037 mt76: update to the latest version, adds mac address fixes and some performance tuning
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48232
2016-01-14 01:00:42 +00:00
Felix Fietkau
09ad818ffc kernel: backport perf build fixes to 4.1
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48231
2016-01-14 01:00:38 +00:00
Felix Fietkau
021f3834a7 kernel: remove obsolete config symbols from 4.4
Only remove old symbols for 4.4 since older Kernels might be
removed sooner/later and 4.4 is the next LTS

build tested against:
 omap 4.4 CONFIG_ALL_KMODS
 x86_64

List of enabled & orphaned symbols:

-CONFIG_ARPD=y
-CONFIG_BT_L2CAP=y
-CONFIG_BT_SCO=y
-CONFIG_CAVIUM_OCTEON_HELPER=y
-CONFIG_DEFAULT_MESSAGE_LOGLEVEL=4
-CONFIG_DISABLE_DEV_COREDUMP=y
-CONFIG_EXPERIMENTAL=y
-CONFIG_EXT4_FS_XATTR=y
-CONFIG_GENERIC_HARDIRQS=y
-CONFIG_GENERIC_TIME=y
-CONFIG_HOTPLUG=y
-CONFIG_INITRAMFS_COMPRESSION_NONE=y
-CONFIG_INLINE_SPIN_UNLOCK=y
-CONFIG_LEDS_GPIO_OF=y
-CONFIG_LEDS_GPIO_PLATFORM=y
-CONFIG_MFD_SUPPORT=y
-CONFIG_MISC_DEVICES=y
-CONFIG_MTD_CHAR=y
-CONFIG_NETDEV_1000=y
-CONFIG_NET_ETHERNET=y
-CONFIG_NET_PCI=y
-CONFIG_NET_VENDOR_SILICOM=y
-CONFIG_SCSI_MULTI_LUN=y
-CONFIG_UIDGID_STRICT_TYPE_CHECKS=y
-CONFIG_USB_ARCH_HAS_EHCI=y
-CONFIG_USB_ARCH_HAS_OHCI=y
-CONFIG_USB_DEVICEFS=y
-CONFIG_USB_EZUSB=y

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

SVN-Revision: 48230
2016-01-14 01:00:13 +00:00
Hauke Mehrtens
cb6b7be43f lantiq: remove clk_round_rate() patch
This patch was merged into upstream Linux 4.1.
This fixes #21587 and was introduced in r48223.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 48229
2016-01-13 20:46:12 +00:00
Felix Fietkau
5c5c60fec4 ar71xx: fix ethernet MAC reset on DMA hang
Fully reset the chip like on a full up/down, but without the PHY
statemachine restart.

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

SVN-Revision: 48228
2016-01-13 16:22:16 +00:00
Felix Fietkau
cf2cf43717 ar71xx: extend ethernet DMA stuck check to all ar724x (and newer) chips
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48227
2016-01-13 16:22:05 +00:00
Felix Fietkau
abc99463b4 ubus: update to the latest version, fixes an acl related crash
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48226
2016-01-13 11:32:41 +00:00
Hauke Mehrtens
de18003b6e kernel/3.18: update to version 3.18.25
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 48225
2016-01-12 20:53:04 +00:00
Hauke Mehrtens
cdb83aaf5f kernel/4.3: update to version 4.3.3
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de

SVN-Revision: 48224
2016-01-12 20:52:19 +00:00
Hauke Mehrtens
93b50ade93 kernel/4.1: update to version 4.1.15
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 48223
2016-01-12 20:51:34 +00:00
Hauke Mehrtens
ba3a749f9b kernel: refresh patches for kernel 4.4
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 48222
2016-01-12 20:50:41 +00:00
Felix Fietkau
bd99318c82 perf: fix strerror_r override detection, apparently part of tools/ relies on non-GNU behavior
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48221
2016-01-12 16:42:12 +00:00
Imre Kaloz
2a170e4086 mac80211: resync regulatory db with master-2015-12-14
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 48219
2016-01-12 14:28:09 +00:00
Felix Fietkau
10e6d3ade9 perf: fix build errors on x86 and other platforms
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48218
2016-01-12 11:15:34 +00:00
Felix Fietkau
a68d8a660a pxa: moved to targets feed
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48217
2016-01-12 10:08:18 +00:00
Felix Fietkau
2172d7dbbf x86: update to linux 4.4
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48216
2016-01-12 10:04:55 +00:00
Felix Fietkau
9e7a66d195 kernel: add missing symbols for linux 4.4
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48215
2016-01-12 10:04:47 +00:00
Jo-Philipp Wich
722badfa82 dnsmasq: add local hostname record for own lan ula address as well
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 48214
2016-01-12 10:03:50 +00:00
Jo-Philipp Wich
2224dbdb9d sdk: add base repository fallback
When the build system cannot infer its own repository url then let it fall
back to http://git.openwrt.org/ for the base feed.

The path to openwrt.git is guessed from the VERSION_NUMBER variable:

 "unknown" or "r12345" -> http://git.openwrt.org/openwrt.git
 "15.05.1"             -> http://git.openwrt.org/15.05/openwrt.git

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

SVN-Revision: 48212
2016-01-12 09:25:45 +00:00
Jo-Philipp Wich
b809725eb1 gettext-full: make autopoint and gettextize reloctable
The autopoint and gettextize host utilities contain hardcoded staging dir
paths which need to be overridden for the SDK environment.

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

SVN-Revision: 48208
2016-01-12 07:51:56 +00:00
Felix Fietkau
f301086eca build: remove SDK special case for kernel module packages
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48207
2016-01-11 23:11:13 +00:00
Felix Fietkau
6318ff744d target/sdk: include modules.builtin, it is necessary for packaging kernel modules
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48206
2016-01-11 23:11:09 +00:00
Felix Fietkau
44df607a43 linux-firmware: fix mediatek/ralink package names
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48204
2016-01-11 20:51:19 +00:00
Felix Fietkau
f875e18fd2 kernel: Update kernel 4.4 to 4.4.0
This removes one patch which was applied upstream with commit
67b9bcd36906e12a15ffec19463afbbd6a41660e. All other patches were
refreshed.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>

SVN-Revision: 48203
2016-01-11 20:13:17 +00:00
Rafał Miłecki
2611a5538e hostapd: fix disassociation with FullMAC drivers and multi-BSS
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 48202
2016-01-11 18:51:47 +00:00