Commit Graph

13916 Commits

Author SHA1 Message Date
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
Jonas Gorski
f644c1581a brcm63xx: move VG50 to DT
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 45166
2015-03-30 20:21:01 +00:00
Jonas Gorski
f973580488 brcm63xx: move V2110 to DT
Also readd image generation which was accidentally dropped in r43364.

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

SVN-Revision: 45165
2015-03-30 20:20:49 +00:00
Jonas Gorski
d8ba40cfcd 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>

SVN-Revision: 45164
2015-03-30 20:20:15 +00:00
Jonas Gorski
8353a3bd45 generic: relocate: make the cacheline size configurable
Different targets have different cache line sizes.

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

SVN-Revision: 45163
2015-03-30 20:20:10 +00:00
Jonas Gorski
703c41cf01 ramips: move relocating loader to common location
Allow other targets to use it, too.

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

SVN-Revision: 45162
2015-03-30 20:20:08 +00:00
Gabor Juhos
3129f0c6f2 ar71xx/mikrotik: re-enable 4KiB flash sector erase
The setting has been lost during the transition to 3.18.
The CONFIG_M25PXX_PREFER_SMALL_SECTOR_ERASE option is not
available anymore, so use CONFIG_MTD_SPI_NOR_USE_4K_SECTORS
instead.

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

SVN-Revision: 45161
2015-03-30 19:57:52 +00:00
Gabor Juhos
62a8665fea ar71xx: re-enable AR8216_PHY_LEDS
The setting has been lost during the transition to 3.18.

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

SVN-Revision: 45160
2015-03-30 18:12:54 +00:00
Gabor Juhos
18f6a34113 ar71xx: sync kernel config
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 45159
2015-03-30 18:12:50 +00:00
John Crispin
2b925161d8 xburst: add missing symbol
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45155
2015-03-30 12:47:51 +00:00
Steven Barth
7e7f329ccf kernel/generic: (try) fixing MAP-E patch broken in 4.0
Now it at least compiles, otherwise untested.

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

SVN-Revision: 45145
2015-03-30 08:48:51 +00:00
Rafał Miłecki
1751676c8b brcm47xx: convert Netgear WNDR3700 V3 to the new image building system
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45144
2015-03-29 19:53:11 +00:00
Rafał Miłecki
8e4b74b9fe brcm47xx: convert Linksys E1200 V2 to the new image building system
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45143
2015-03-29 18:15:38 +00:00
John Crispin
23d37c1208 ar71xx: fix model string detection on NETGEAR WNDR3700/3800/WNDRMAC
There were a few issues with the existing code to detect the model string:
* Always using the string starting with byte 56 would cut off the W of WNDR when
  the ID starts with 29763654+16+64 instead of 29763654+16+128
* The string contained garbage after the zero byte instead of cutting it off
  after the zero (which wasn't always visible using busybox tools, but could
  confuse other scripts)

Tested on a WNDR3700v1 and a WNDR3700v2 using the new 29763654+16+64 ID in the
ART. Furthermore, tested against ART dumps of a WNDR3700v2 using the old
$'\xff...' value and a WNDR3800.

The [ -z "$model" ] check was dropped as there is no way to actually hit this
unless no ART partition is found at all.

The awk command was carefully crafted to work both with gawk and the (horribly
broken) busybox awk.

Fixes #18992.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 45140
2015-03-29 12:58:01 +00:00