Commit Graph

9936 Commits

Author SHA1 Message Date
John Crispin
019ea725aa add "preinit_regular" diag.sh set_state argument
This new argument is used right after starting regular preinit (which
happens if failsafe wasn't triggered). The main purpose of "preinit"
argument is to indicate that failsafe can be triggered, however we were
missing a way to inform user that we don't wait for a trigger anymore.
With this change it's clear when failsafe mode can be triggered.

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

SVN-Revision: 43715
2014-12-15 10:37:00 +00:00
John Crispin
f310e02ab3 procd: update to latest git HEAD
fixes a bug where wdt write happened with no valid fd available
--> procd: WDT failed to write: Bad file descriptor

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

SVN-Revision: 43711
2014-12-15 09:44:01 +00:00
Steven Barth
8aa9160274 nftables: mini-bump and patch cleanup
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 43710
2014-12-15 09:41:47 +00:00
Steven Barth
c927daaf76 nftables: bump to latest git, fix mini-gmp patches
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 43707
2014-12-14 16:03:45 +00:00
Steven Barth
e90e143852 libnftnl: bump to latest git
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 43706
2014-12-14 16:03:18 +00:00
Felix Fietkau
d54e759611 toolchain: do not include libatomic.so in the libc package
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43699
2014-12-13 23:58:47 +00:00
Felix Fietkau
0f51d48c0e nvram: remove libnvram.so, it is unused and incompatible to the broadcom API anyway
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43698
2014-12-13 23:58:35 +00:00
John Crispin
d64e4392df iwinfo: bump to latest git HEAD
http://patchwork.ozlabs.org/patch/420128/

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

SVN-Revision: 43666
2014-12-12 16:17:24 +00:00
John Crispin
7068b7ed1c oxnas: build S-ATA driver as a module
From: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43665
2014-12-12 16:17:13 +00:00
John Crispin
5ff8272cf0 uboot-oxnas: install u-boot.bin also to KERNEL_BUILD_DIR
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43662
2014-12-12 16:16:45 +00:00
Felix Fietkau
8afce572b7 igmpproxy: do not attempt to ifstatus error messages as json
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43660
2014-12-12 14:52:29 +00:00
Felix Fietkau
f48b7aa6e4 igmpproxy: do not start instance if no upstream interface is available
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43659
2014-12-12 14:52:24 +00:00
Felix Fietkau
b37dc7e7ce igmpproxy: fix init script indentation
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43658
2014-12-12 14:52:18 +00:00
Jo-Philipp Wich
5472898c0c busybox: include config files relative to the main Config.in (#18522)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 43653
2014-12-12 12:33:34 +00:00
Steven Barth
f565e0598d netifd: Set source IP for DHCP static routes as well
Commit ce92f6650bd8a86db04c7a6cbb58e7fdb200a7e6 added source IP support
for DHCP default routes. As a side effect of this change the default route
could be present twice in netifd (once with source IP set and once with
source IP unset) if it was sent by the server in both the router and static
route options. Therefore add source IP support as well for static routes as this
case was not considered. Additional remove unused parameter type.

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

SVN-Revision: 43645
2014-12-12 09:39:07 +00:00
Felix Fietkau
ff06d03a38 cfg80211: add support for changing the device mac address via sysfs
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43638
2014-12-11 20:07:58 +00:00
Jonas Gorski
e983ee54fd libnl-tiny: fix receiving netlink messages larger than 4K
Apply libnl commit 807fddc4cd9ecb12ba64e1b7fa26d86b6c2f19b0 ("nl:
Increase receive buffer size to 4 pages") also to libnl-tiny to ensure
netlink messages larger than 4KiB can be received, as the restart logic
seems to be broken.

This fixes iwinfo accessing info on dual band b43 cards, as they can
support a lot of channels, breaking the 4K default limit (seen was >5k).

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

SVN-Revision: 43633
2014-12-11 19:35:48 +00:00
Jonas Gorski
7eddcb14ff kernel/acx-mac80211: fix autoloading on boot
The kernel build system cannot track dependencies of out-of-tree
modules, making the buildsystem fail to load mac80211.

Add mac80211 as an explicit load to ensure all required modules are
loaded.

Fixes #16522.

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

SVN-Revision: 43631
2014-12-11 19:35:36 +00:00
John Crispin
6d52fd203d kernel/modules: fix chipidea
it should needs to depend on imx and mxs

also remove duplicate kmod definition from mxs target

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

SVN-Revision: 43627
2014-12-11 18:35:41 +00:00
Felix Fietkau
0636bb43ae toolchain: disable libatomic for gcc 4.6
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43623
2014-12-11 17:52:22 +00:00
Felix Fietkau
b979353af0 mt76: update to the latest version, adds a few minor build fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43610
2014-12-10 21:17:14 +00:00
Felix Fietkau
9144cc5c2d mac80211: do not export the backports linux/module.h, it breaks out-of-tree driver builds
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43609
2014-12-10 21:17:05 +00:00
Felix Fietkau
37c5b92d40 uclient: update to the latest version, fixes HTTP digest auth processing
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43600
2014-12-10 16:03:02 +00:00
Felix Fietkau
d928d333e3 libnl-tiny: remove dead code
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43599
2014-12-10 16:02:49 +00:00
John Crispin
a8d0b41530 umbim: fix build for 64bit targets
the CC builder fails to build umbim for 64bit targets (xlp, malta64, ....)

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

SVN-Revision: 43595
2014-12-10 15:50:43 +00:00
Luka Perkov
b59d1a96ea kernel/modules: add f2fs support
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 43594
2014-12-10 14:00:53 +00:00
Steven Barth
89e3a8b3b5 odhcp6c: correctly handle renew-replies with short lease times
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 43592
2014-12-10 10:41:51 +00:00
Felix Fietkau
1b88b149a9 kernel: add netfilter.mk to modules makefile SCAN_DEPS
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43589
2014-12-09 12:35:18 +00:00
Steven Barth
1f4ddec7f2 netifd: several fixes and optimizations
Thanks to Hans Dedecker and Kristian Evensen

Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 43583
2014-12-08 17:43:14 +00:00
Steven Barth
15d67644f1 This patch depends on "Pass source address to proto_add_ipv4_route".
I have not found a scenario that would break by setting the source address on
default, but please let me know if any special considerations should be taken.

Signed-off-by: Kristian Evensen <kristian.evensen at gmail.com>

SVN-Revision: 43582
2014-12-08 17:43:03 +00:00
John Crispin
ac09fd9a13 opkg: make PKG_UPGRADE available during preinst hook
https://dev.openwrt.org/ticket/18479

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

SVN-Revision: 43581
2014-12-08 17:40:53 +00:00
Felix Fietkau
62c33d9f62 qos-scripts: fix insmod commands
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43562
2014-12-08 12:03:47 +00:00
Felix Fietkau
4a4b6fc2ba kmod-crypto-hw-talitos: add missing dependency
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43561
2014-12-08 12:03:41 +00:00
John Crispin
76e8aae3ab mt76: builder1 fails to build for !PCI kernels when mt76 is selected
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43556
2014-12-08 06:21:32 +00:00
John Crispin
6ecf7f2fa2 ar7-atm: fix various compiler errors
some headers have moved in 3.14

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

SVN-Revision: 43555
2014-12-08 06:15:18 +00:00
John Crispin
a0c44b1ff0 acx-mac80211: v3.14 related compile fixes
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43554
2014-12-08 06:15:11 +00:00
John Crispin
f76755da3f packages: fix typo in OpenWrt name
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

SVN-Revision: 43542
2014-12-07 16:53:30 +00:00
John Crispin
951866a8eb e2fsprogs: add InstallDev section to Makefile
btrfs-progs is using libext2fs, so headers and libs need to be staged

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

SVN-Revision: 43537
2014-12-07 16:52:50 +00:00
John Crispin
f57b53e3b0 perf: this package fails to build for !eglibc
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43531
2014-12-06 20:27:57 +00:00
John Crispin
e1c6ddfd20 kernel/modules: remove unused variable
https://dev.openwrt.org/ticket/18472

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

SVN-Revision: 43515
2014-12-05 00:19:28 +00:00
John Crispin
19a6f3dd11 procd: more nand takeover fixes
if the initramfs kernel and payload were flashed in one block, the payload might not be at the start of the ubi partition due to bad blocks inside the kernel partition.

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

SVN-Revision: 43513
2014-12-03 20:22:37 +00:00
John Crispin
c3bb3906ee mtd: make the dump commnd honour the -o option
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43512
2014-12-03 20:22:32 +00:00
John Crispin
6ad5109211 uboot-envtools: use environment stored in UBI also for KD20
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43510
2014-12-03 16:05:23 +00:00
John Crispin
871e0a6316 uboot-oxnas: adjust digtial drive strength of IC+ phy
This is what the vendor bootloader does on KD20.

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

SVN-Revision: 43509
2014-12-03 16:05:17 +00:00
John Crispin
60edf49f7b uboot-oxnas: re-add IC+ phy driver
KD20 got an IC+ phy, without the driver the phy is not properly
initialized resulting in ethernet not working unless being already
initialized by the vendor loader.

upstream commit 368b4d2b49bbbf379d9334747fbbd2aaaafe4356
drivers: net: remove dead drivers
removed icplus.c due to the lack of in-tree users.
Partially revert that commit adding back the IC+ driver.

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

SVN-Revision: 43508
2014-12-03 16:05:11 +00:00
John Crispin
68909fb081 procd: firstboot nand/ubi takeover support
it is now possible to flash a initramfs kernel and a sysupgrade tar file inside the ubi partition. on first boot, the takeover script will find the tar file, extract and finally sysupgrade it. this allows us to flash owrt/ubi images in a 2 phase setup using ODM webuis that are not ubi aware. this is needed by some mediatek and brokencom devices.

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

SVN-Revision: 43505
2014-12-03 14:32:32 +00:00
John Crispin
1e8a83e553 uqmi: Add --delete-message for deleting SMS messages
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43504
2014-12-03 09:17:28 +00:00
John Crispin
ff02ea36e0 mtd: make the mtd dump call run properly on nand flash
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43503
2014-12-02 19:28:23 +00:00
Felix Fietkau
5331a85501 kernel/modules: package xhci for kernel>=3.18
xhci-hcd was split into xhci-pci and xhci-platform since 3.18

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

SVN-Revision: 43502
2014-12-02 19:26:45 +00:00
John Crispin
da988d582f mtd: add ability to dump a mtd device
this can be used on nand flashes and will skip bad blocks and run ecc on the
read data before dumping it.

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

SVN-Revision: 43500
2014-12-02 18:27:49 +00:00