Commit Graph

13929 Commits

Author SHA1 Message Date
John Crispin
4ad0ad9817 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>

SVN-Revision: 45262
2015-04-03 19:06:38 +00:00
John Crispin
5d52f4b51d 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>

SVN-Revision: 45261
2015-04-03 19:06:30 +00:00
John Crispin
114338003a kernel: add package for dwc3 usb driver used on ipq806x
Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

SVN-Revision: 45260
2015-04-03 19:06:21 +00:00
John Crispin
654312267c 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>

SVN-Revision: 45259
2015-04-03 19:06:11 +00:00
John Crispin
e26f0d86e8 ipq806x: another missing symbol
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45257
2015-04-03 19:05:57 +00:00
Felix Fietkau
541f569a9d 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>

SVN-Revision: 45256
2015-04-03 18:48:10 +00:00
Felix Fietkau
4869387480 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>

SVN-Revision: 45255
2015-04-03 18:47:51 +00:00
John Crispin
a1b1be473e omap: add missing symbols
enabled by default like other TWL4030 symbols

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

SVN-Revision: 45238
2015-04-02 14:32:01 +00:00
John Crispin
69aa85a0d2 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>

SVN-Revision: 45237
2015-04-02 14:31:51 +00:00
John Crispin
245ebe83dc 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>

SVN-Revision: 45235
2015-04-02 14:31:32 +00:00
Rafał Miłecki
509cce44bd 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>

SVN-Revision: 45230
2015-04-02 12:02:56 +00:00
Rafał Miłecki
91071e366c bcm53xx: sprom: simplify reading NVRAM after last backports
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45229
2015-04-02 12:01:56 +00:00
John Crispin
bb0e931298 ipq806x: add missing symbol
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45228
2015-04-01 22:57:54 +00:00
Rafał Miłecki
aefcd2b84c 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>

SVN-Revision: 45227
2015-04-01 20:23:37 +00:00
John Crispin
0bba806cb7 kernel: add missing symbol
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45218
2015-04-01 13:06:14 +00:00
John Crispin
eeff1f0a12 ixp4xx: fix beeper module dependencies
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45214
2015-04-01 09:03:13 +00:00
John Crispin
3ec7ccf501 config: add an option to enable KPROBE
Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

SVN-Revision: 45212
2015-04-01 08:33:04 +00:00
John Crispin
bf7eeea7ee ipq806x: clean up kernel conf
Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

SVN-Revision: 45211
2015-04-01 08:32:29 +00:00
John Crispin
d3a9fc4586 ipq806x: add support for 4.0 kernel
Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

SVN-Revision: 45210
2015-04-01 08:32:03 +00:00
John Crispin
2d74104b52 ipq806x: move 020-add-ap148-bootargs.patch in patches-3.18
Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

SVN-Revision: 45209
2015-04-01 08:31:52 +00:00
John Crispin
449c5f7b30 ramips: Add support for ZTE Q7
ZTE Q7 is a wireless router with SD Card,USB,1 ethernet port and a battery.It used MT7620a SoC.
I can,t find any information about this router on ZTE's website.
But I found this : http://en.cctairmobi.com/plus/list.php?tid=40
This router is the same as ZTE Q7 and later I found that both routers are made by the same company:-D

This patch adds support for it.
Because there is only one port,I disabled VLAN and use eth0 as lan port.
I could only create a sysupgrade firmware because I don't know how the orignal webpage check the uploaded image:-(

Signed-off-by: 郭传鈜 <gch981213@gmail.com>

SVN-Revision: 45208
2015-04-01 08:31:46 +00:00
John Crispin
e078fbdacf kernel: add missing symbols to config and modules
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
v2: changes in input.mk broke the patch, some of the CONFIG_SND_*
    stuff was added already

SVN-Revision: 45205
2015-04-01 08:31:26 +00:00
Rafał Miłecki
bf828d3fd0 bcm53xx: use bcm47xx_nvram.c with the latest patches
This will be hopefully a mainline version.

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

SVN-Revision: 45204
2015-04-01 07:21:59 +00:00
Gabor Juhos
36e10677df ar71xx: fix platform device support in the gpio-74x164 driver
Platform device support has been removed from the gpio-74x164
driver in 3.14. Restore that.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 45203
2015-03-31 21:31:36 +00:00
Rafał Miłecki
9c5aa7c528 brcm47xx: image: share function checking TRX in provided firmware
This will allow us to calculate crc32 in a shared code.

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

SVN-Revision: 45202
2015-03-31 21:16:19 +00:00
Imre Kaloz
f079ad97ce mvebu: use CONFIG_MANGLE_BOOTARGS
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45200
2015-03-31 19:27:59 +00:00
Imre Kaloz
77f322e0d7 mvebu: add missing a38x dts labels
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45199
2015-03-31 19:23:32 +00:00
Imre Kaloz
9bb302ff9e generic/4.0: upgrade to 4.0-rc6
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45198
2015-03-31 19:22:28 +00:00
Imre Kaloz
35df52f89f generic/3.18: upgrade to 3.18.10
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45197
2015-03-31 19:21:13 +00:00
Imre Kaloz
17fb965d6b generic: add CONFIG_MANGLE_BOOTARGS and disable it by default
Enabling this option renames the bootloader supplied root=
and rootfstype= variables, which might have to be know but
would break the automatisms OpenWrt uses.

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45196
2015-03-31 19:18:03 +00:00
Imre Kaloz
b9c4dadc11 mvebu: deal with the new path in the fan control script for Linux 4.0+
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45195
2015-03-31 19:12:27 +00:00
Gabor Juhos
82f0308be9 kernel: update yaffs code to the latest version
Use the latest version of the yaffs code. Fetched from the
yaffs2 git tree and it is based on the following commit:

  commit 7e5cf0fa1b694f835cdc184a8395b229fa29f9ae
  Author: Charles Manning <cdhmanning@gmail.com>
  Date:   Thu Aug 7 11:25:05 2014 +1200

    yaffs-direct: Basic tests. Add lpthread flag for background gc support

    Signed-off-by: Charles Manning <cdhmanning@gmail.com>

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 45188
2015-03-31 15:31:57 +00:00
Zoltan Herpai
ad9f61d3bb kernel: add a couple missing symbols for 4.0
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 45186
2015-03-31 13:23:46 +00:00
Rafał Miłecki
090a510576 brcm47xx: image: convert legacy Linksys & Netgear devices
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45184
2015-03-31 12:44:31 +00:00
Rafał Miłecki
4faba3cc2e brcm47xx: image: convert generic subtarget to the new images system
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45183
2015-03-31 12:17:08 +00:00
Rafał Miłecki
3d481d31ed brcm47xx: image: convert all mips74k images to the new building system
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45181
2015-03-31 11:26:50 +00:00
Rafał Miłecki
184c0af4e2 brcm47xx: image: add helpers for defining devices
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45180
2015-03-31 11:26:45 +00:00
Jonas Gorski
a709beb4ae brcm63xx: fix zyxel kernel name
Accidentally left over development artifact.

Reported-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 45179
2015-03-31 09:54:15 +00:00
Rafał Miłecki
6c1852cb26 brcm47xx: image: use standard KERNEL_IMAGE to avoid warnings
KERNEL_IMAGE is used as target rule so reusing the same name causes:
Makefile:326: warning: overriding recipe for target `bin/brcm47xx/vmlinux.lzma'
Makefile:326: warning: ignoring old recipe for target `bin/brcm47xx/vmlinux.lzma'
Makefile:326: warning: overriding recipe for target `build_dir/target-mipsel_74kc+dsp2_uClibc-0.9.33.2/linux-brcm47xx_mips74k/vmlinux.lzma'
Makefile:326: warning: ignoring old recipe for target `build_dir/target-mipsel_74kc+dsp2_uClibc-0.9.33.2/linux-brcm47xx_mips74k/vmlinux.lzma'

Unfortunately this will cause copying vmlinux.lzma over and over like:
cp vmlinux.lzma FOO-kernel.bin
which is redundant on brcm47xx where we never modify kernel image.

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

SVN-Revision: 45178
2015-03-31 08:56:08 +00:00
Gabor Juhos
cc9600a1eb ar71xx/mikrotik: disable atnoher two non MikroTik boards
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 45177
2015-03-31 08:30:56 +00:00
Gabor Juhos
04ba95f6d3 ar71xx/mikrotik: disable non MikroTik boards
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 45176
2015-03-31 07:56:25 +00:00
Gabor Juhos
26800ef074 ar71xx/mikrotik: use correct symbol to disable overlayfs
The Kconfig symbol has been changed in 3.18.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 45175
2015-03-31 07:56:22 +00:00
Rafał Miłecki
8ec31f25e3 brcm47xx: fix checking cross-vendors firmware images
This change won't allow installing e.g. Netgear firmware on Linksys
device.

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

SVN-Revision: 45174
2015-03-31 07:26:30 +00:00
Rafał Miłecki
463a449f84 brcm47xx: update Linksys firmwares (add new E2500 versions)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45173
2015-03-31 07:26:22 +00:00
Rafał Miłecki
a445846305 brcm47xx: display all errors (not just the 1st one) when checking image
This way people forcing upgrade will know what may go wrong.

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

SVN-Revision: 45172
2015-03-31 06:05:35 +00:00
Rafał Miłecki
44dfe17576 brcm47xx: recognize more device specific firmwares
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45171
2015-03-31 05:39:33 +00:00
Rafał Miłecki
b34040f990 brcm47xx: compare provided firmware magic with device magic
This makes sysupgrade reject firmware images for different devices.
Right now only support for 2 sample devices is implemented.

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

SVN-Revision: 45170
2015-03-30 22:06:11 +00:00
Jonas Gorski
a54b8303d2 brcm63xx: don't build non-dtb kernels anymore
Now that all supported boards have an dts there is no need for a
dtb free kernel anymore.

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

SVN-Revision: 45169
2015-03-30 20:21:24 +00:00
Jonas Gorski
0f08442ded brcm63xx: move DSL-275XB to DT
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 45168
2015-03-30 20:21:15 +00:00
Jonas Gorski
f77b446051 brcm63xx: move bcm6318 reference boards to DT
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 45167
2015-03-30 20:21:07 +00:00