Commit Graph

14575 Commits (7b966b91741fcd5b8b08e0f58d9931fb04319f5b)

Author SHA1 Message Date
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
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 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
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 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 f9e85a0e4f ixp4xx: fix beeper module dependencies
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45214 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-01 09:03:13 +00:00
John Crispin 450ac46838 config: add an option to enable KPROBE
Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45212 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-01 08:33:04 +00:00
John Crispin a04e09d6a9 ipq806x: clean up kernel conf
Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45211 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-01 08:32:29 +00:00
John Crispin ca4bf7b101 ipq806x: add support for 4.0 kernel
Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45210 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-01 08:32:03 +00:00
John Crispin ce5a746e31 ipq806x: move 020-add-ap148-bootargs.patch in patches-3.18
Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45209 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-01 08:31:52 +00:00
John Crispin 9f366431fc 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45208 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-01 08:31:46 +00:00
John Crispin fca6f40539 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45205 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-01 08:31:26 +00:00
Rafał Miłecki af4bf61297 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45204 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-04-01 07:21:59 +00:00
Gabor Juhos 7ec7ce2b16 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45203 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 21:31:36 +00:00
Rafał Miłecki e0a26a30f5 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45202 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 21:16:19 +00:00
Imre Kaloz 47e58dff53 mvebu: use CONFIG_MANGLE_BOOTARGS
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45200 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 19:27:59 +00:00
Imre Kaloz eb317e6a8c mvebu: add missing a38x dts labels
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45199 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 19:23:32 +00:00
Imre Kaloz 5764ab1625 generic/4.0: upgrade to 4.0-rc6
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45198 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 19:22:28 +00:00
Imre Kaloz 5d823c725d generic/3.18: upgrade to 3.18.10
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45197 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 19:21:13 +00:00
Imre Kaloz 6f5acae617 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>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45196 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 19:18:03 +00:00
Imre Kaloz 6a7e2baea5 mvebu: deal with the new path in the fan control script for Linux 4.0+
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45195 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 19:12:27 +00:00
Gabor Juhos 472f5abe11 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45188 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 15:31:57 +00:00
Zoltan HERPAI 95bf947c53 kernel: add a couple missing symbols for 4.0
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45186 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 13:23:46 +00:00
Rafał Miłecki 17fbc25bfe brcm47xx: image: convert legacy Linksys & Netgear devices
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45184 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 12:44:31 +00:00
Rafał Miłecki 64f0331645 brcm47xx: image: convert generic subtarget to the new images system
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45183 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 12:17:08 +00:00
Rafał Miłecki 30415365f9 brcm47xx: image: convert all mips74k images to the new building system
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45181 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 11:26:50 +00:00
Rafał Miłecki 7e7dbbab82 brcm47xx: image: add helpers for defining devices
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45180 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 11:26:45 +00:00
Jonas Gorski ac90ac82d4 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45179 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 09:54:15 +00:00
Rafał Miłecki 1439dfce9d 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45178 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 08:56:08 +00:00
Gabor Juhos 216dab75c6 ar71xx/mikrotik: disable atnoher two non MikroTik boards
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45177 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 08:30:56 +00:00
Gabor Juhos 9c4a41e06a ar71xx/mikrotik: disable non MikroTik boards
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45176 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 07:56:25 +00:00
Gabor Juhos 3b57200cc2 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45175 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 07:56:22 +00:00
Rafał Miłecki 72ab9faabe 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45174 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 07:26:30 +00:00
Rafał Miłecki e71054978c brcm47xx: update Linksys firmwares (add new E2500 versions)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45173 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 07:26:22 +00:00
Rafał Miłecki dc93714809 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45172 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 06:05:35 +00:00
Rafał Miłecki 424fce3afe brcm47xx: recognize more device specific firmwares
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45171 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-31 05:39:33 +00:00
Rafał Miłecki c81de32363 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45170 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-30 22:06:11 +00:00
Jonas Gorski 2b715d9c70 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45169 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-30 20:21:24 +00:00
Jonas Gorski faf1eacb76 brcm63xx: move DSL-275XB to DT
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45168 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-30 20:21:15 +00:00
Jonas Gorski c398cda77b brcm63xx: move bcm6318 reference boards to DT
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45167 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-30 20:21:07 +00:00
Jonas Gorski 7253835d7c brcm63xx: move VG50 to DT
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45166 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-30 20:21:01 +00:00
Jonas Gorski 578883791e brcm63xx: move V2110 to DT
Also readd image generation which was accidentally dropped in r43364.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45165 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-30 20:20:49 +00:00
Jonas Gorski 727bb039c8 brcm63xx: use relocate to move the kernel back to start of ram
Appearently the kernel only uses kernel above it, so moving it to an
higher address causes a lot of unavailable memory (#19327).

Also move the on-flash kernel to 0x80a0000, as newer CFEs don't like
uncompressing there (net-booting an ELF kernel is fine, though).

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45164 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-30 20:20:15 +00:00
Jonas Gorski 0f8ce34917 generic: relocate: make the cacheline size configurable
Different targets have different cache line sizes.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45163 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-30 20:20:10 +00:00
Jonas Gorski 5c7193d17b ramips: move relocating loader to common location
Allow other targets to use it, too.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45162 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-30 20:20:08 +00:00