Commit Graph

14559 Commits (6f2f59573ff1ea1d7c17c4552561bbfc375f8dfd)

Author SHA1 Message Date
John Crispin 2c93d1ab3d kernel: extend seccomp with a LOG action
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-26 10:58:03 +00:00
Felix Fietkau b2188a6377 bcm53xx: use the correct kernel image
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-26 10:42:36 +00:00
Imre Kaloz b22936646d drop 3.19 support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45002 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-26 09:42:59 +00:00
Felix Fietkau 99afb68ef8 ar71xx/image: move wdr3500/wdr3600/wdr4300 to new building code
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-25 17:58:14 +00:00
Felix Fietkau a0f15a194b ar71xx/image: add tplink device template for new building code
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44999 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-25 17:58:10 +00:00
Felix Fietkau 0b22d57e91 ar71xx/image: add Build/mktplinkfw as buildstep for new build code
Use `mktplinkfw sysupgrade` or `mktplinkfw factory` or
`mktplinkfw image`

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44998 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-25 17:58:05 +00:00
Felix Fietkau 53aabb0a46 bcm53xx: convert to new image building code
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44996 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-25 17:57:44 +00:00
Jonas Gorski 992c140f96 brcm63xx: use a lookup for bcmcia's ready gpio
Should fix pcmcia on BCM6348 and BCM6358 after switching to DT-probed
gpio controllers.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44995 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-25 15:37:38 +00:00
Jonas Gorski 143ebec33f brcm63xx: fix bcm96328avng board name
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44994 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-25 15:36:26 +00:00
Jonas Gorski 5e2e830a49 brcm63xx: fix bt v2500v dts based detection
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44993 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-25 15:36:15 +00:00
Jonas Gorski e6a628a95c brcm63xx: move RTA770(B)W to dts
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44992 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-25 15:36:12 +00:00
Jonas Gorski d8c4cc64ba brcm63xx: move MAGIC to dts
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44991 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-25 15:36:05 +00:00
Jonas Gorski d12962e510 brcm63xx: move CPVA502+ to dts
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44990 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-25 15:35:57 +00:00
Jonas Gorski a83d3cc6b3 brcm63xx: move dg834g v4 to dts
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44989 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-25 15:35:43 +00:00
Jonas Gorski 910fe9678c brcm63xx: move dsl-2640u to dts
Also build image again(?).

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44988 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-25 15:35:37 +00:00
Jonas Gorski a0c7ba2eae brcm63xx: move bcm963268bu_p300 to dts
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44987 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-25 15:35:24 +00:00
Jonas Gorski 0e09023c5f brcm63xx: fix compilation on 3.14
Fixes the following issue:

drivers/gpio/gpio-bcm63xx.c: In function 'bcm63xx_gpio_probe':
drivers/gpio/gpio-bcm63xx.c:80:4: error: implicit declaration of function 'devm_kasprintf' [-Werror=implicit-function-declaration]

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44986 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-25 15:35:15 +00:00
Jonas Gorski 5f59daeb04 brcm63xx: Add BT Home Hub 2A support.
Support for the BT HomeHub 2.0 Type A.

This router was manufactured by Thomson, and it's BCM6358 based.
The leds are controled by two chained HC594, all working ok. The BCM5325
switch has the RESET# pin wired to the GPIO15, but currently there is no
way to tell the b53 driver how to get this gpio number in brcm63xx,
therefore swconfig won't use it when performing a switch reset.

The patch was tested with several firmwares, and all except unsupported
stuff (i.e xDSL) works pretty well.

Tested-by: Tahir <tahir00ali@gmail.com>
Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44985 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-25 15:35:12 +00:00
Jonas Gorski 1e7bcd00a9 brcm63xx: move kernel load address to 8MiB
Fixes boot when uncompressed kernel is > 4 MiB (#19251).

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44984 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-25 15:34:59 +00:00
Jonas Gorski ed7bef4f55 brcm63xx: hcsimage: respect load address
Respect the vmlinux load address when generating images.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44983 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-25 15:34:45 +00:00
Jonas Gorski 3bc36b563e brcm63xx: add Livebox 1 firmware image generation
Currently there isn't images ready for flashing liveboxes boards. This
patch adds a script and the code to call it in the  bcm63xx images
builder makefile to generate the livebox 1 firmware.

I removed some lines to avoid generating unneded files in the bin/ dir
for this board. And added code to generate a squashed rootfs aligned to
64 kB since the current one in the /bin dir is 128 kB aligned and
doesn't work. Still no sysupgrade support for this board. Upgrading from
within openwrt can be done writing with mtd the kernel, and then the 64k
aligned rootfs.

Regards

Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com>
[jogo: use sed instead of a separate shell script for the boot script, make it
 respect the load address]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44982 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-25 15:34:40 +00:00
Jonas Gorski 59c9cec787 brcm63xx: add a dummy image recipe for boards missing proper images
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44981 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-25 15:34:26 +00:00
Jonas Gorski 2082201b9c brcm63xx: drop non-dtb image recipe
All images generated contain dtbs, so it is now unused.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44980 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-25 15:34:23 +00:00
Felix Fietkau e11b30a987 kernel: merge upstream bgmac driver improvements
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44978 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-25 14:30:46 +00:00
Felix Fietkau a325d7259e bcm53xx: enable the full-line-of-zero optimization in the cache controller
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44977 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-25 14:30:40 +00:00
Gabor Juhos b3a7fffcb0 kernel: yaffs: use new_sync_{read,write} for 3.18+
Using the do_sync_{read,write} functions in conjunction
with the generic_file_{read,write}_iter causes a kernel
panic like this:

  root@OpenWrt:/# mount -t yaffs /dev/mtdblock5 /mnt
  [ 2884.110000] yaffs: dev is 32505861 name is "mtdblock5" rw
  [ 2884.120000] yaffs: passed flags ""
  root@OpenWrt:/# hexdump -vC -n 64 /mnt/kernel
  [ 2902.700000] CPU 0 Unable to handle kernel paging request at virtual \
    address 00000000, epc == 00000000, ra == 80129414
  [ 2902.710000] Oops[#1]:
  [ 2902.710000] CPU: 0 PID: 1030 Comm: hexdump Not tainted 3.18.9 #2
  [ 2902.710000] task: 878e7a20 ti: 868c6000 task.ti: 868c6000
  [ 2902.710000] $ 0   : 00000000 fffffff8 00000000 00000000
  [ 2902.710000] $ 4   : 868c7e70 868c7ea8 00000001 868c7f08
  [ 2902.710000] $ 8   : 00000038 80064f18 80072280 00000000
  [ 2902.710000] $12   : 7fa152b8 7709e3a0 00c42008 7709e3a0
  [ 2902.710000] $16   : 868c7f08 86a46000 00000010 878e7a20
  [ 2902.710000] $20   : 7705c4b0 00000010 00000000 00000000
  [ 2902.710000] $24   : 770960bc 7707dd78
  [ 2902.710000] $28   : 868c6000 868c7e58 7f8e7030 80129414
  [ 2902.710000] Hi    : 00000000
  [ 2902.710000] Lo    : ffffffff
  [ 2902.710000] epc   : 00000000   (null)
  [ 2902.710000]     Not tainted
  [ 2902.710000] ra    : 80129414 do_sync_read+0x7c/0xb4
  [ 2902.710000] Status: 1900dc03 KERNEL EXL IE
  [ 2902.710000] Cause : 00800008
  [ 2902.710000] BadVA : 00000000
  [ 2902.710000] PrId  : 00019750 (MIPS 74Kc)

Change the yaffs code to use the new_sync_{read,write} functions
instead.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44974 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-25 08:59:12 +00:00
Rafał Miłecki 50224b5f7c kernel: backport rest of bcma patches
This backports
bcma: allow disabling (not building) PCI driver
Revert "bcma: Kconfig: Let it depend on PCI"

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44970 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-24 10:39:10 +00:00
Rafał Miłecki aeadcc4f9d kernel: mac80211: backport bcma patch renaming IRQ control function
This backports upstream commit 702131e2a393b45174be326f1dbe20b658b4f157
bcma: move PCI IRQ control function to host specific code

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44969 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-24 10:38:59 +00:00
Rafał Miłecki c9f274fad3 mark 3.10 targets as broken
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44968 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-24 10:38:50 +00:00
Jo-Philipp Wich 463bc01f6d x86: use PARTUUID instead explicitly specifying the device by default
This changes the x86 image generation to match x86_64, using the PARTUUID for
the rootfs instead of explicitly configuring the device.

It unbreaks KVM with VirtIO, which uses /dev/vda2 instead of /dev/sda2.

Tested in QEMU/KVM with VirtIO, VirtualBox and VMware.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44966 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-24 10:08:12 +00:00
Jo-Philipp Wich 7c11754589 x86_64: fix PARTUUID format with leading zeros
Otherwise the root device won't be found in 1/16 of the generated images
(whenever the signature starts with a zero digit).

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44959 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-24 10:06:40 +00:00
Felix Fietkau f9be8880e7 avr32: remove target
It depends on obsolete compilers and only works on one device (an
evaluation board).

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44956 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-24 10:06:14 +00:00
Rafał Miłecki e1925a880e kernel: update bcma with most patches from wireless-drivers-next
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44955 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-24 07:15:31 +00:00
Rafał Miłecki ea2ec11ec3 kernel: backport fixed_phy_register EXPORT fix from 3.19
This fixes
ERROR: "fixed_phy_register" [drivers/net/ethernet/broadcom/bgmac.ko] undefined!

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44954 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-23 18:39:16 +00:00
Imre Kaloz f63e9c8fc9 generic/3.18: refresh patches
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44951 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-23 13:28:52 +00:00
Imre Kaloz 9dcf88d0d5 mvebu: update mamba dts
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44949 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-23 12:44:30 +00:00
Felix Fietkau 5064bb35c1 bcm53xx: add missing cache controller errata options
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44947 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-23 10:14:27 +00:00
Felix Fietkau a415534bf4 bcm53xx: remove linux 3.14 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44946 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-23 10:14:20 +00:00
Felix Fietkau 1645c84c49 ramips: make ethernet register map u16 instead of u32
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44940 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-22 15:11:14 +00:00
Rafał Miłecki 4b5af7dfa9 bcm53xx: add SMP support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44939 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-22 15:07:40 +00:00
Nicolas Thill 318daf0f81 uml: bump to 3.18
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44937 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-22 12:36:57 +00:00
John Crispin a0c040c5e5 au1000: drop 005-fix-cpu-clk.patch
it has been upstreamed and treackled down with the latest 3.18 update

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-22 07:03:02 +00:00
Rafał Miłecki c8dc94b365 bcm53xx: add support for Asus RT-AC68U
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-22 01:57:15 +00:00
Rafał Miłecki 4193282ee9 bcm53xx: fix Asus RT-AC87U magic (even if not used yet)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44933 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-22 01:57:10 +00:00
Rafał Miłecki 53117a6c7d bcm53xx: backport BCM5301X Netgear R6250/R8000 DT patches
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44932 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-22 01:57:06 +00:00
Rafał Miłecki dbd0ee9733 bcm53xx: refresh patches
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44931 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-22 01:56:47 +00:00
John Crispin 6a44e4ebac oxnas: remove pre kernel 3.18 support from pinctrl driver
just some pruning...

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44923 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-21 21:47:20 +00:00
John Crispin d4a4c0aefc oxnas: add support for kernel 4.0
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44922 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-21 21:47:03 +00:00
John Crispin ca37f8bd11 kernel: add two more missing config symbols
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44921 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-21 21:46:47 +00:00
Felix Fietkau a61c79114d brcm2708: remove a patch that was added in the stable update (fixes #19253)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44920 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-21 21:24:08 +00:00
Felix Fietkau 7b1f9665a3 ramips: increase NAPI weight for mt7621 to improve routing performance a bit more
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44918 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-21 12:08:07 +00:00
Rafał Miłecki def8e2e478 kernel: backport bgmac patches
This allows dropping some hacky bcm53xx bgmac patch forcing link state.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44917 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-21 11:45:50 +00:00
Rafał Miłecki 74d43a8381 bcm53xx: enable FIXED_PHY, we will need it for bgmac
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44916 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-21 11:45:27 +00:00
Felix Fietkau 13954e1857 kernel: fix ipsec related regression in the netfilter rtcache patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44913 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-20 22:13:34 +00:00
Imre Kaloz 124ba26fbe mvebu: set default regdomain
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44908 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-20 12:15:40 +00:00
Felix Fietkau 8685482158 ramips: fix LAN/WAN MAC address for WSR-600/1166
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44903 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-20 09:37:07 +00:00
John Crispin 5ca24d776a octeon: add er8 sysupgrade support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44902 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-20 08:49:08 +00:00
John Crispin 22417246f0 octeon: Add MMC support for EdgeRouter ER8
this is a backport of a series posted on the lmo mailing list

Signed-off-by: Jonathan Thibault <jonathan@navigue.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44901 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-20 08:49:02 +00:00
Felix Fietkau e6ad8a72f8 ramips: fix WSR-1166 green power LED
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44898 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-19 21:51:44 +00:00
Michael Büsch f5e4894264 omap24xx: Add basic config for linux-4.0
Also remove 3.3 config. It's broken and unsupported.



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44895 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-19 18:45:32 +00:00
Steven Barth a1e390d52a ipv6: fix throw routes
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-19 15:46:03 +00:00
Felix Fietkau 3ab6563711 kernel: remove linux 3.8 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44890 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-19 11:58:59 +00:00
Felix Fietkau d121ed26a1 ep93xx: moved to targets feed
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44889 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-19 11:58:54 +00:00
Felix Fietkau 9f03e29f88 mpc52xx: moved to targets feed
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44888 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-19 11:58:48 +00:00
Felix Fietkau 2e6497cb44 mpc83xx: moved to targets feed
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44887 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-19 11:58:43 +00:00
Felix Fietkau db9f54d0e4 ar71xx: fix a double dereference in the unaligned access patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44885 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-19 11:58:30 +00:00
Felix Fietkau 63abff6059 x86_64: remove unused patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44884 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-19 11:58:22 +00:00
Imre Kaloz ecc294e76c mvebu: add Linux 4.0 support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44882 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-19 10:25:44 +00:00
Imre Kaloz 48ac279159 generic/4.0: fix ubi EOF marker patch
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44881 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-19 10:13:21 +00:00
Imre Kaloz 1f5eba6f33 generic/4.0: add missing symbols
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44880 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-19 10:11:20 +00:00
Felix Fietkau 1eb74d2c55 kernel: replace GRO optimization patch with a new one that supports VLANs/bridges with different MAC addresses
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44877 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-18 18:22:41 +00:00
Felix Fietkau 5d4be21553 kernel: bump to 3.14.35, 3.18.9, 3.19.1 and 4.0-rc4
also refresh generic patches for 3.14, 3.18, 3.19 and 4.0
targets might need a minor refresh as well, however, it looks
like everything still applies cleanly with occasional small
offsets.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44876 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-18 18:21:08 +00:00
Jonas Gorski 5abe49b74e b53: reverse duplex bit meaning for IMP state override register
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44875 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-18 10:44:15 +00:00
Felix Fietkau 4c70421219 kernel: remove the netfilter optimization that skips the filter table, it has caused too many issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44873 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-17 17:14:48 +00:00
John Crispin 469956f441 ralink: fix mt7621 i2c name
Signed-off-by: zouxf <fl.service@t-firefly.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44868 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-17 09:44:14 +00:00
John Crispin 4bae2b846e lantiq/xrx200: cleanup default packages
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44867 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-17 09:44:06 +00:00
John Crispin 45c00f9884 ar71xx: adjust OM5P profile for the OpenMesh OM5P-AN board
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44866 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-17 09:43:56 +00:00
John Crispin 586c7dc4be ar71xx: enable sysupgrade for the OpenMesh OM5P-AN
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44863 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-17 09:43:37 +00:00
John Crispin 195508354e ar71xx: add user-space support for the OpenMesh OM5P-AN
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44862 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-17 09:43:31 +00:00
John Crispin 2f69dbc669 ar71xx: add kernel support for the OpenMesh OM5P-AN board
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44861 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-17 09:43:19 +00:00
John Crispin efedd48f33 ar71xx: detect GL.iNet model
There are two versions of the GL.iNet, the 6408A and the 6416A. The only
difference is the flash size.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44860 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-17 09:43:13 +00:00
John Crispin ebf027fd03 lantiq: make xrx200 targets use the upstream dwc2 driver
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44857 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-17 09:42:56 +00:00
Felix Fietkau 0c99ee5ca2 kernel: add a few more missing config symbols
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-17 07:24:51 +00:00
Rafał Miłecki d64e00f9a9 brcm47xx: support SPROM/NVRAM prefixes
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44855 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-17 07:07:17 +00:00
Rafał Miłecki 4855417993 brcm47xx: rename (and refresh) MTD patch for safety "nvram" partition
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44854 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-17 07:07:00 +00:00
Rafał Miłecki faad28c2e5 brcm47xx: switch to 3.18
Tested on BCM5357B0, BCM47186B0 and BCM4706.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44853 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 23:05:43 +00:00
Rafał Miłecki 7c068fdf9d bcm53xx: switch to 3.18
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 22:24:56 +00:00
Felix Fietkau 2a51616fe9 x86: refresh kvm_guest kernel config
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 21:17:45 +00:00
Felix Fietkau c44536a9c3 kernel: add missing config symbol
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 21:17:41 +00:00
Felix Fietkau ce244bfdcb x86: enable rtl8139 ethernet support for geode by default
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 21:00:14 +00:00
Florian Fainelli db93430e41 brcm63xx: switch maintainer
Make Jonas the maintainer of brcm63xx.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 19:51:17 +00:00
Felix Fietkau 3a9edc87a1 geode: set target to Geode GX1 to support older chips
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44847 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 18:10:17 +00:00
Jonas Gorski ad99d83746 brcm63xx: use consistent gpio chip labeling for OF/non-OF
Ensure gpio chips are always labeled the same; this allows simplifying
any arch setup gpio lookups.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44846 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 13:37:38 +00:00
Jonas Gorski 36da43e2de brcm63xx: switch to 3.18
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44841 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 11:53:22 +00:00
Jonas Gorski 9639282138 brcm63xx: call brcm63xx_detect explicitly
Now that we have converted all users of global variables to use
brcm63xx_board_name, we can savely convert the implicit call to detect
in brcm63xx.sh to a single, explicit call in preinit.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44840 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 11:53:14 +00:00
Jonas Gorski 4c68a5c6d0 brcm63xx: move preinit ifname detection to the preinit script
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44839 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 11:53:06 +00:00
Jonas Gorski 00f2dabeb0 brcm63xx: remove obsolete brcm63xx_has_reset_button
r37000 made button kmods loaded from generic code, so we don't use
it anymore for deciding to load them.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44838 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 11:52:57 +00:00
Jonas Gorski 2a827e0a3c brcm63xx: set status leds from within diag.sh
Instead of setting them up on invocation of brcm63xx_detect, set them
when calling diag.sh based.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 11:52:49 +00:00
Jonas Gorski 23f14889e7 brcm63xx: switch to board_name based configuration
Board IDs are not unique, so in preparation for depricating them, always
use board_name for any (default) configuration decisions.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44836 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 11:52:42 +00:00
Jonas Gorski 6b0ccff588 brcm63xx: add missing board_ids to legacy_detect
These boards do not have a corresponding dts file yet.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44835 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 11:52:35 +00:00
Jonas Gorski 2540aee55b brcm63xx: add device tree based board detection
Use the device tree model property for detecting the board instead
of board id from nvram if present.

Since we can now directly detect the DVA-G3810BN, we can remove the
extra check for it.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44834 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 11:52:26 +00:00
Jonas Gorski 3f64e1384f brcm63xx: populate /tmp/sysinfo
Take full board name from devicetree, if present. Provide a method
for retrieving the board name.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44833 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 11:52:20 +00:00
Jonas Gorski e3c5eb138f brcm63xx: base-files: rename board_name to board_id
Rename board_name to board_id to prepare for using board_name as a
proper name for the board.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44832 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 11:52:16 +00:00
Jonas Gorski 83842af347 brcm63xx: Add DGND3700 v1 / DGND3800B support
This adds support for the Netgear DGND3700 v1 and DGND3800B.

DGND3700 v1 and DGND3800B are exactly the same router, only one difference,
the factory firmware. This patch produces two factory firmwares for each router.

The router includes an onboard NAND flash for extra storage. NAND is currently
not supported in bcm63xx, so no code added for this part. The NOR flash (32MB)
is enough for storing an openwrt firmware.

Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com>
[jogo: Add back commit message from v1]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44831 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 11:52:10 +00:00
John Crispin ba25eac519 netlogic: bump to 3.18
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44829 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 10:58:43 +00:00
Felix Fietkau 145e6b9231 mvebu: drop linux 3.14 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44828 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 08:29:42 +00:00
John Crispin d7d8a76a74 kernel: add missing MTD_SPLIT_FIT_FW symbol
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44827 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 08:05:42 +00:00
John Crispin b34d1f6b43 sunxi: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44824 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 07:41:24 +00:00
John Crispin ad966e5eaa adm5120: drop 3.8 and 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44823 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 07:41:19 +00:00
John Crispin d84f47b85f ar7: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44822 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 07:41:10 +00:00
John Crispin 2ab55b4a9a ixp4xx: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44821 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 07:41:05 +00:00
John Crispin bed4dc5199 octeon: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44820 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 07:40:59 +00:00
John Crispin 3642d7841a oxnas: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44819 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 07:40:54 +00:00
John Crispin 7b9c4ca2bf mpc85xx: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44818 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 07:40:47 +00:00
John Crispin 102d657c2a cns3xxx: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44817 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 07:40:41 +00:00
John Crispin 42d874818f au1000: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44816 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 07:40:19 +00:00
John Crispin 63894eb6f7 ar71xx: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44815 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 07:40:09 +00:00
John Crispin adc39a912a realview: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44814 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 07:40:02 +00:00
John Crispin afc19ce4e0 malta: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44813 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 07:39:57 +00:00
John Crispin ed1a519c40 lantiq: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44812 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 07:39:52 +00:00
John Crispin c59b0d680a ralink: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44811 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 07:39:46 +00:00
Felix Fietkau 7507c28720 x86: refresh kernel patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44810 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 07:12:31 +00:00
Felix Fietkau eb03a1d7c2 x86: merge all geode based subtargets into one
Build all geode platform drivers into the kernel
Remove kmod-* packages for these drivers

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44809 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 07:05:30 +00:00
Felix Fietkau daf4534ed4 x86: remove 3.14 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44805 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 05:57:04 +00:00
Felix Fietkau 171313998e kernel: remove linux 3.13 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44804 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 05:52:02 +00:00
Felix Fietkau 16a0753919 omap: remove old kernel versions
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44803 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 05:51:56 +00:00
Felix Fietkau 0f4fe3ab01 omap: update to linux 3.18, it has been tested by at least one builder and 3.13 has not been built by buildbot in a long time
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44802 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 05:51:52 +00:00
Felix Fietkau 3814bc9785 kernel: port missing ubi EOF marker support patch to 3.19 and 4.0
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44801 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 05:16:14 +00:00
Felix Fietkau a4e5b7cde3 kernel: fix duplicate use of patch number 490
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44800 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 05:16:07 +00:00
Felix Fietkau 2a5d72c686 kernel: add a few missing config symbols for 3.18+
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44799 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 04:47:28 +00:00
Felix Fietkau 0349445009 kernel: add missing description for GRO optimization patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44798 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-16 04:19:09 +00:00
Felix Fietkau 0e879af4ad kernel: skip GRO for packets bridged to other hosts
Eliminates excessive skb copying when bridging from LAN to WLAN on
ramips.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44797 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 20:32:09 +00:00
John Crispin 645862c1c8 ar71xx: fix TP-LINK TL-WDR3600/4300 RFKILL switch positions
While the switch positions aren't explicitly labeled as on and off, we've heard
complaints about them being wrong. This patch changes the handling to match the
stock firmware.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44795 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 19:39:47 +00:00
John Crispin db328d1e26 ipq806x: fix AP148 boot from NOR
This patch allows AP148 to boot from NOR flash.

As we're using a FIT image as kernel (which includes kernel bin + DTB)
we enable the MTD_SPLIT_FIT_FW kernel option, which will detect the FIT
image and automatically split the "firmware" partition into 2 MTD parts
(kernel + rootfs).

The rootfs will then be parsed and split between rootfs + rootfs_data,
as usual.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44794 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 19:39:41 +00:00
John Crispin a325ed5979 ipq806x: add ap148 bootargs to DT
Only one bootargs is really needed: the tty port. All the other
information will use the OpenWrt mechanisms.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44793 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 19:39:33 +00:00
John Crispin 02f1a53164 kernel: mtdsplit: add support for FIT image
If this option is enabled, the FIT image format will be detected and
split by the mtdsplit code. Detection is based upon the FDT magic, which
will trigger the parsing and detection of the rootfs, ending-up in the
creation of the 2 new partitions.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44792 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 19:39:27 +00:00
John Crispin 596033a52e Fix (invert/revert) Hornet-UB WPS LED state
My previous patch regarding the Hornet-UB board
(commit: beed4d82d6a0154b0cd5f7b84e2180215ace6718) actually
causes the WPS led state to be inverted. Practically this meant
that value 0 in /sys/class/led/alfa:blue:wps/brightness would
turn the LED on and any positive value (1-255) would turn it off.

The above of course is confusing and hence reverting this value
back to the way it was before beed4d82d6a0154b0cd5f7b84e2180215ace6718.

Signed-off-by: Janne Cederberg <janne.cederberg@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44791 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 19:25:48 +00:00
Jonas Gorski 309b8df125 b53: global config is part of the management page, not the control page
It will now actually enable the mib counters instead of enabling rx/tx for
the first switch port.

Reported-by: Daniel Gonzalez <dgcbueu@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44788 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 14:19:28 +00:00
Jonas Gorski 784dac57be brcm63xx: brcm63xxpart: fix buffer overrun in of parser
We never account for the added partitions from the tag parser, so
allocated two partioness less than needed. This can cause issues when
the memory gets reused before the mtd code can actually add the
partitions.

Fixes oopses like:
[    0.920000] mtd: device 2 (rootfs) set to be root filesystem
[    0.924000] 1 squashfs-split partitions found on MTD device rootfs
[    0.932000] 0x0000002e0000-0x0000003f0000 : "rootfs_data"
[    0.940000] 0x000000010000-0x0000003f0000 : "linux"
[    0.948000] CPU 0 Unable to handle kernel paging request at virtual address 00010203, epc == 8028ddf8, ra == 801ad5d4
[    0.956000] Oops[#1]:
[    0.956000] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.18.8 #22
[    0.956000] task: 8181da78 ti: 8181e000 task.ti: 8181e000
[    0.956000] $ 0   : 00000000 10008f00 00010203 81049e40
[    0.956000] $ 4   : 00010203 000000d0 00000000 000000fd
[    0.956000] $ 8   : 00000000 80015490 00000000 80370000
[    0.956000] $12   : 00000000 00000001 00000000 2f736269
[    0.956000] $16   : 00010203 000000d0 8007bde0 81482000
[    0.956000] $20   : 00000000 00000004 81481f80 803c4b78
[    0.956000] $24   : 00000000 00000000
[    0.956000] $28   : 8181e000 8181fbe8 80b20000 801ad5d4
[    0.956000] Hi    : 00000000
[    0.956000] Lo    : 00000000
[    0.956000] epc   : 8028ddf8 strlen+0x4/0x20
[    0.956000]     Not tainted
[    0.956000] ra    : 801ad5d4 kstrdup+0x30/0x84
[    0.956000] Status: 10008f03 KERNEL EXL IE
[    0.956000] Cause : 00800008
[    0.956000] BadVA : 00010203
[    0.956000] PrId  : 0002a010 (Broadcom BMIPS4350)
[    0.956000] Modules linked in:
[    0.956000] Process swapper/0 (pid: 1, threadinfo=8181e000, task=8181da78, tls=00000000)
[    0.956000] Stack : 8148aa00 803c4bcc 00000000 801cd9d0 00000000 8148a400 818a1400 003f0000
          81482000 8007bde0 8148aa00 800ac78c 8148aa00 00000004 8037ae30 8181fc4c
          8148aa00 803bc074 803c0000 80074b84 00000000 00010000 00000004 ffffffff
          8037ae30 00000004 8148aa00 00000004 803c4b80 818a1400 803c0000 00000005
          81481f80 80074ce0 8181fc84 00000005 81879800 8008ece4 00000000 003f0000
          ...
[    0.956000] Call Trace:
[    0.956000] [<8028ddf8>] strlen+0x4/0x20
[    0.956000] [<801ad5d4>] kstrdup+0x30/0x84
[    0.956000] [<8007bde0>] allocate_partition+0x58/0x93c
[    0.956000] [<80074ce0>] add_mtd_partitions+0x90/0x144
[    0.956000] [<801cc228>] mtd_device_parse_register+0x78/0xcc
[    0.956000] [<801e7870>] of_flash_probe+0x658/0x728
[    0.956000] [<80216ee0>] platform_drv_probe+0x24/0x60
[    0.956000] [<801221f4>] driver_probe_device+0xcc/0x214
[    0.956000] [<800466f8>] __driver_attach+0x7c/0xb4
[    0.956000] [<800c38bc>] bus_for_each_dev+0x94/0xa4
[    0.956000] [<800c35e4>] bus_add_driver+0x104/0x1ec
[    0.956000] [<80122400>] driver_register+0xac/0x100
[    0.956000] [<80113a5c>] do_one_initcall+0x148/0x204
[    0.956000] [<803cbd1c>] kernel_init_freeable+0x168/0x220
[    0.956000] [<800157bc>] kernel_init+0x10/0x114
[    0.956000] [<800108a8>] ret_from_kernel_thread+0x14/0x1c
[    0.956000]
[    0.956000]
Code: 03e00008  27bd0028  00801021 <80430000> 10600003  00000000  080a377e  24420001  03e00008
[    1.192000] ---[ end trace 9d89ccbcae27fe40 ]---
[    1.200000] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    1.200000]
[    1.200000] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44787 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 14:19:22 +00:00
Jonas Gorski 4d025594ac brcm63xx: kmod-bcm63xx-udc: fix module path for 3.18+
Fix the module path for linux 3.18+.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44785 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 14:19:10 +00:00
Jonas Gorski 342bb60da3 brcm63xx: fix 6368 cpu1 reg typo
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44784 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 14:19:07 +00:00
Felix Fietkau fc9676671c lantiq: add a better fix to strip FCS from ethernet packets on XRX200
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44771 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 09:47:34 +00:00
Felix Fietkau 96f6bc9eba lantiq: enable atm-esi by default for xrx200
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44769 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 07:57:51 +00:00
Felix Fietkau 555589354c brcm2708: fix mkdosfs command line options order
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44764 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 05:18:50 +00:00
Felix Fietkau 3b35351eea x86: refresh kernel config
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44759 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 04:43:37 +00:00
Felix Fietkau e08e457d55 x86: update to kernel 3.18
copied target/linux/x86/config-3.14 and target/linux/x86/patches-3.14 to
3.18 equivalents and then tweaked until it built.

Tested on alix2, soekris net4826 and soekris net4521.

Still having trouble with net4826 booting from Grub, alix2 and net4521
are fine.

Signed-off-by: Russell Senior <russell@personaltelco.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44758 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 04:43:30 +00:00
Felix Fietkau a4b632413a kernel: fix portability issues of the x86 vdso2c utility
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44757 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 04:43:22 +00:00
Felix Fietkau d5b91aadb5 kernel: add missing config symbol for 3.18+
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44756 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-15 04:40:10 +00:00
Rafał Miłecki 5cf9746b1d bcm53xx: support NVRAM prefixes with extra / in devpath
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44755 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-14 16:35:56 +00:00
Felix Fietkau 939914d5e7 x86: disable rts/cts for serial console in grub - fixes net48xx boot issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44753 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-03-14 08:38:35 +00:00