Commit Graph

14559 Commits (6f2f59573ff1ea1d7c17c4552561bbfc375f8dfd)

Author SHA1 Message Date
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
Gabor Juhos 0d349dc5fe 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45161 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-30 19:57:52 +00:00
Gabor Juhos 001f9c0877 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45160 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-30 18:12:54 +00:00
Gabor Juhos 5f1330a07b ar71xx: sync kernel config
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45159 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-30 18:12:50 +00:00
John Crispin a67797adae xburst: add missing symbol
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45155 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-30 12:47:51 +00:00
Steven Barth a9835adcb0 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45145 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-30 08:48:51 +00:00
Rafał Miłecki 9ccaa113ab brcm47xx: convert Netgear WNDR3700 V3 to the new image building system
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45144 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-29 19:53:11 +00:00
Rafał Miłecki f3524e5d5c brcm47xx: convert Linksys E1200 V2 to the new image building system
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45143 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-29 18:15:38 +00:00
John Crispin 6d82dac68c 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45140 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-29 12:58:01 +00:00
Imre Kaloz 2acfd7ff0d x86_64: add description, maintainership
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45138 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-29 12:17:39 +00:00
Felix Fietkau bdf3aed117 arm64: remove bogus CONFIG_WIRELESS/CONFIG_WLAN overrides
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45132 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-29 07:36:17 +00:00
Luka Perkov 22c2544ec4 imx: add initial version of 3.18 support
This is build tested only.

Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45125 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-29 05:48:56 +00:00
Luka Perkov 8c8ce63d33 kernel: add few missing symbols
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-29 04:50:16 +00:00
Luka Perkov 2382a25cfc kernel: add symbol
Several targets are not using EMAC_ROCKCHIP so define it in generic config.

Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45117 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-29 04:43:59 +00:00
Felix Fietkau 2d9f8febf2 x86: add myself as maintainer
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45116 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-29 04:32:15 +00:00
Felix Fietkau 795063e4bd x86: make x86_64 a subtarget instead of a standalone target
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45115 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-29 04:32:01 +00:00
Felix Fietkau a12f75fc15 x86: remove bogus bzImage copy that breaks initramfs+no-initramfs builds
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45114 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-29 04:31:35 +00:00