Commit Graph

33847 Commits (8c027356bc164c2f3c1ad526d9f0e5e2baa66c20)

Author SHA1 Message Date
John Crispin bc72ca84d1 ppp: Fix missing arg argument when using option flag OPT_A2STRVAL
The arg argument is missing to the printer call in the print_option
utility when the option flag OPT_A2STRVAL is set.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45264 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-03 19:06:56 +00:00
John Crispin 6f9c3de55e ppp: Fix seg fault when using pppol2tp
PPPD crashes (SEGV) when the dump or dryrun options are specified and an option
is internally defined as "o_special" with an option flag of "OPT_A2STRVAL".
As the option value is not saved when the parameter is processed, a reference
to the option will result into a crash (e.g. when printing).

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45263 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-03 19:06:45 +00:00
John Crispin 2c66af96a6 ipq806x: enable usb3 packages in default profile
Default profile already enables usb2 so we'll do the same for usb3 now
that we have support for it.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45262 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-03 19:06:38 +00:00
John Crispin 55bd704a1b ipq806x: add platform usb support
This change adds DWC3 QCOM USB phys and TCSR drivers. These are
cherry-picked from the following LKML threads:
*dwc3 qcom: https://lkml.org/lkml/2014/9/12/599
*tcsr: https://lkml.org/lkml/2015/2/9/579

We're also adding an additional patch to add the corresponding dev nodes
in the IPQ806x and AP148 dts files.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45261 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-03 19:06:30 +00:00
John Crispin 1569ab3bb0 kernel: add package for dwc3 usb driver used on ipq806x
Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45260 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-03 19:06:21 +00:00
John Crispin e40babefe1 ipq806x: enable usb support
This change doesn't make USB functional but it does make it selectable
from a configuration perspective.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45259 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-03 19:06:11 +00:00
John Crispin 2d7d672c77 samba36: add smb.conf.template to conffiles
User might have modified/extended template direct or by LuCI application.
So do not overwrite on update/upgrade.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45258 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-03 19:06:06 +00:00
John Crispin 6faa325aef ipq806x: another missing symbol
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45257 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-03 19:05:57 +00:00
Felix Fietkau 7b966b9174 linux: Add missing config options to generic configs
These missing options have been noticed while enabling the following
configuration options on ipq806x, but they're available in the standard
kernel:
*ARCH_QCOM
*CONFIG_USB_SUPPORT
*CONFIG_USB_DWC3
*CONFIG_MFD_SYSCON

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45256 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-03 18:48:10 +00:00
Felix Fietkau c3daf8ff1e ipq806x: clean-up kernel config file
Options that used to be in target config have been added to the generic
config file, so remove them.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45255 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-03 18:47:51 +00:00
Felix Fietkau def51db661 uci: update to the latest version, fixes savedir issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45254 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-03 18:44:04 +00:00
Felix Fietkau ede7027804 build: include variant name in STAMP_INSTALLED
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45253 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-03 18:33:25 +00:00
Felix Fietkau a66fd87324 ath: relax regulatory rules for default regd code
Most AP devices out there do not have a properly programmed regulatory
domain code, which means they are limited to US frequencies by default.

This has been a major annoyance for a long time now. Since no fix for
the manfuacturing process seems to be forthcoming, the only sane option
seems to be to allow users to change the country code in such cases.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45252 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-03 16:39:28 +00:00
Felix Fietkau 257105be9e image.mk: export the FILESYSTEM variable to build commands
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45251 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-03 15:22:26 +00:00
Nicolas Thill 9456cf255e packages: use $(LN) macro, make symlinks relative
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45250 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-03 00:07:43 +00:00
Nicolas Thill 1243352b6b uClibc: backport sync_file_range fixes (closes: #19350)
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45249 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-02 23:21:30 +00:00
John Crispin 073b921d12 modules: echo module was moved between 3.14 and 3.18
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45248 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-02 16:15:41 +00:00
John Crispin 58198bcbeb ubox: update to latest git HEAD
improve logging when using tcp

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45247 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-02 16:15:35 +00:00
Nicolas Thill 5470df0577 trelay: add conffiles section
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45246 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-02 14:53:41 +00:00
Nicolas Thill cddd71ec0c include/kernel.mk: add KernelPackage/conffiles macro
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45245 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-02 14:53:34 +00:00
Nicolas Thill c145bf0db8 base-files: add more config files to conffiles section
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-02 14:53:24 +00:00
Nicolas Thill 13338c42ad kernel/modules: remove merge conflicts leftovers
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45243 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-02 14:53:19 +00:00
Nicolas Thill 0992961460 e2fsprogs: add conffiles section
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-02 14:53:12 +00:00
Nicolas Thill 03e2d80e60 mdns: add conffiles section
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45241 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-02 14:53:07 +00:00
Nicolas Thill fe74dfa5fd ugps: add conffiles section, fix config file perms
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45240 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-02 14:53:00 +00:00
John Crispin 9a8824c993 kernel: watchdog modules should be loaded on boot
Otherwise procd cannot initialize the watchdog since the module will
be loaded later.

Tested with booke_wdt.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45239 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-02 14:32:07 +00:00
John Crispin a1743548d0 omap: add missing symbols
enabled by default like other TWL4030 symbols

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45238 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-02 14:32:01 +00:00
John Crispin d78a2ee33a omap: add profile for BeagleBoard
original BeagleBoard has no Ethernet
provide a profile with all available USB Ethernet adapters
EBVBeagle comes with a kmod-usb-net-mcs7830 compatible device

tested with BeagleBoard C4

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45237 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-02 14:31:51 +00:00
John Crispin 2baa80ca88 kernel: fix kmod-usb2-omap usb module
CONFIG_MFD_OMAP_USB_HOST is needed for working USB on BeagleBoard

tested on BeagleBoard C4 (EBVBeagle)

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45236 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-02 14:31:44 +00:00
John Crispin 412cc3f997 omap: remove patch wlcore Add-support-for-DT-platform-data
- does not compile with 3.18
compile error: 'struct wl12xx_platform_data' has no member named 'gpio'

- different version was sent 2015 but cannot be tested by me
see "[PATCH v7 0/6] wlcore: add device-tree support" series
in linux-omap

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45235 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-02 14:31:32 +00:00
John Crispin 6dc508c503 kernel: fix kmod-usb-phy-omap-usb2
upstream change in Kernel 3.18
commit: "phy: rename struct omap_control_usb to struct omap_control_phy"

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45234 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-02 14:31:25 +00:00
John Crispin 94b4ee05cc kernel: add usb-serial-simple module
replaces kmod-usb-serial-motorola-phone it's found only in Kernel <3.12

This module handles many simple USB serial devices
like Motorola Phones, GPS reveivers in Kernels above 3.14

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45233 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-02 14:31:15 +00:00
John Crispin e6471f2b60 kernel: add garmin_gps module
OpenWrt on sailboats
requested: https://forum.openwrt.org/viewtopic.php?id=56586

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45232 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-02 14:31:10 +00:00
John Crispin ec91d8a654 kernel: add uinput module
This module is needed for bluetooth audio playback
with pulseaudio 6 and bluez5.

a working guide can be found in the wiki:
http://wiki.openwrt.org/wiki/bluetooth.audio
(additional packages/modifications are required
and submitted to github feeds)

tested with:
Android mobile (Sony Xperia M) as audio source
TI omap BeagleBoard as audio sink

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45231 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-02 14:31:02 +00:00
Rafał Miłecki 151d0e7548 bcm53xx: sprom: sync with mainline driver
The main difference now is bcm53xx registering it as platform (DT)
driver.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45230 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-02 12:02:56 +00:00
Rafał Miłecki 798bc562d9 bcm53xx: sprom: simplify reading NVRAM after last backports
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45229 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-02 12:01:56 +00:00
John Crispin 2365640627 ipq806x: add missing symbol
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45228 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-01 22:57:54 +00:00
Rafał Miłecki f7a510882f brcm47xx: backport two MIPS nvram.c patches
Also replace SPROM patch with (the same) mainlined version.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45227 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-01 20:23:37 +00:00
John Crispin ee006ddf86 samba: use INSTALL_CONF for the uci file
sorry about the broken commit earlier

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45226 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-01 16:12:43 +00:00
Nicolas Thill 0bf9e1e01f samba36: fix typo in package/samba36-server/install
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45225 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-01 15:59:14 +00:00
Nicolas Thill dbaf04f067 ustream-ssl: fix SNI when building against cyassl
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45224 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-01 15:11:38 +00:00
Nicolas Thill 773e820087 libreadline: cleanup Makefile, fix shlib perms
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45223 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-01 15:11:32 +00:00
John Crispin 2410732c21 kernel: remove kernel version dependency from ochi-pci module
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45222 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-01 13:56:03 +00:00
John Crispin 31a565d7b8 kernel: add usb-ohci-pci module
This add usb-ohci-pci module for USB1.x devices

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45221 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-01 13:52:31 +00:00
John Crispin 7c9221cfe3 samba: don't overwrite config file
fixes #19087

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45220 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-01 13:39:23 +00:00
John Crispin 7880d249b0 usbmode: update data files
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45219 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-01 13:36:58 +00:00
John Crispin e9ec2dd669 kernel: add missing symbol
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45218 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-01 13:06:14 +00:00
John Crispin f2d6d1f63d cyassl: add --enable-ecc as its needed when using the CA certificates
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45217 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-01 13:00:45 +00:00
John Crispin 2c0c097dd5 ustream-ssl: enable SNI when building for cyassl
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45216 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-01 10:42:33 +00:00
John Crispin 0b2240f1e3 cyassl: add support for SSL_set_tlsext_host_name
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45215 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-01 10:42:28 +00:00