Commit Graph

11444 Commits (c347a765b923e018852cfd343a50ae58aca76fc9)

Author SHA1 Message Date
Gabor Juhos a7107fe336 x86: add support for 3.10
Add kernel configuration and patches for Linux 3.10.

Taken from the 'alix2: update to LINUX_VERSION 3.10.9'
patch: http://patchwork.openwrt.org/patch/3971/.

Russell says in the original patch:

"Initial whack at updating alix2 to a current kernel. It builds
and runs without problems so far. I copied target/linux/config-3.8,
target/linux/x86/alix2/config-3.8, and target/linux/patches-3.8 to
their 3.10 equivalents and tweaked until it built.  The patches
required no changes."

The current patch contains additional configuration tweaks,
and the kernel patches were refreshed.

Signed-off-by: Russell Senior <russell@personaltelco.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37867 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-02 07:36:40 +00:00
Luka Perkov cdd76d1bc2 imx6: add uboot-envtools to default packages
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37859 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-29 23:06:32 +00:00
Florian Fainelli b790b3dbe8 mvebu: remove maintainer ship role
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37855 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-28 16:19:59 +00:00
Felix Fietkau 7a22238d85 kernel: fix booting issues on imx23 and imx6 targets
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37854 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-28 07:38:36 +00:00
Luka Perkov e0b475661e imx6: disable sdma until license issues are solved
Also, synchronize patches with upstream.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37853 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-28 00:07:43 +00:00
Luka Perkov 94ea916419 imx6: refresh 3.10 kernel config
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-28 00:07:37 +00:00
Gabor Juhos dc7d578939 ar71xx: add some pending patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-27 18:06:49 +00:00
Gabor Juhos 1cca5b1fec kernel: don't hide the 'Warning: unable to open an initial console' message
The 'Warning: unable to open an initial console' message
indicates an error in the rootfs. Remove the patch which
hides the warning.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-27 12:03:01 +00:00
Gabor Juhos d6f3fb1793 kernel: ensure that /dev/console exists in initramfs
Linux expects that the /dev/console node is present
in the rootfs image. Create the node in initramfs,
in order to make std{in,out,err} usable even in early
init process.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37846 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-27 12:02:54 +00:00
Gabor Juhos 76c34d5180 ar71xx: don't hardwire cpu_has_dsp{,2} to zero
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37845 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-27 10:48:25 +00:00
Gabor Juhos 5cdb5dbf49 ar71xx: don't register USB device on WNDAP360
Apparently registering usb device on newest trunk causes
this AP not to boot...
Since there is no USB socket in that device anyway this
can be simply removed (and device boots then no problem).

[juhosg:
  - tweak subject line and description,
  - remove #include "dev-usb.h",
  - remove 'select ATH79_DEV_USB' from Kconfig]

Signed-off-by: Jacek Kikiewicz <jaceq@aol.pl>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37844 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-27 10:48:24 +00:00
Felix Fietkau 6007ed4fa8 kernel: fixing a potential deadlock in block2mtd for kernel 3.6/3.8/3.9
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37842 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-26 17:47:14 +00:00
Gabor Juhos 2109fcb7be x86/alix2: add kmod-usb2-pci to default packages
The USB controller is sitting on the PCI bus and
without the package the EHCI controller is not
usable.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37835 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-25 14:42:34 +00:00
Gabor Juhos d0ca859a7d ar71xx: build factory image for DIR-505 A1
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37834 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-24 10:11:53 +00:00
Gabor Juhos 94bcd1b9a3 ar71xx: allow to override kernel size in the CameoHornet profile
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37833 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-24 10:11:45 +00:00
Gabor Juhos 1b2ea64f5a kernel: update 3.10 to 3.10.9
Also refresh 3.10 patches.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37832 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-23 17:31:04 +00:00
Gabor Juhos e92011ca00 generic: refresh kernel configs with kconfig.pl
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37831 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-23 17:31:02 +00:00
Gabor Juhos c81504735a ramips: remove lantiq specific patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37830 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-23 17:07:28 +00:00
Gabor Juhos f1da17f5db ramips: use correct image size parameter for DIR-610 A1
Fixes the following error:

  bash: line 0: [: ralink_default_fw_size_4M: integer expression expected

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37829 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-23 17:07:27 +00:00
Gabor Juhos 75a5ef5f93 ramips: use correct parameters in the Seama template
Fixes DIR-645 image generation errors:

  bash: line 0: [: wrgn39_dlob.hans_dir645: integer expression expected
  ...
  bash: wrgn39_dlob.hans_dir645 - 64: syntax error: invalid arithmetic operator (error token is ".hans_dir645 - 64")  make[4]: *** [install] Error 1

Signed-off-by: Michael Lee <igvtee@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37828 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-23 17:07:26 +00:00
Gabor Juhos 45c4c58450 ramips: update the RT3883 PCI patch
Fix the following warning:

  arch/mips/pci/pci-rt3883.c: In function 'rt3883_pci_probe':
  arch/mips/pci/pci-rt3883.c:458:4: warning: use of 'h' length modifier with 'a' type character [-Wformat]

Signed-off-by: Michael Lee <igvtee@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37827 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-23 17:07:25 +00:00
Gabor Juhos 1331b3cd5b kernel/3.10: backport of_pci_get_devfn function from 3.11
Fixes the following build error on ramips/rt3883:

  arch/mips/pci/pci-rt3883.c:488:3: error: implicit declaration of function \
  'of_pci_get_devfn' [-Werror=implicit-function-declaration]
  cc1: some warnings being treated as errors

Although the function is only used by the PCI driver
of the RT3883 SoC but at the moment but it might be
useful for other targets as well.

Signed-off-by: Michael Lee <igvtee@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37826 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-23 17:07:20 +00:00
Zoltan HERPAI 97c496dc73 imx23: bump kernel to 3.10.9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37824 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-22 19:30:46 +00:00
Zoltan HERPAI 3f07009cc2 imx23: add support for u-boot image build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37823 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-22 19:29:07 +00:00
Felix Fietkau edc8daeffe kernel: crashlog: Avoid out-of-bounds write
vsnprintf returns the number of chars that would have been written, not
the actual number of chars written. This can lead to crashlog_buf->len
being too big which in turn can lead to get_maxlen() returning negative
numbers. The length argument of kmsg_dump_get_buffer will be casted to
a size_t which makes a negative input a big positive number allowing
kmsg_dump_get_buffer to write out of bounds.

Fix this by using vscnprintf which returns the actually written number
of chars.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37820 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-21 20:59:25 +00:00
Luka Perkov 69761e25be malta: refresh configuration
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37819 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-21 00:36:53 +00:00
Felix Fietkau e3ef8379a6 kernel: add back missing declaration in the MIPS DMA patch that broke octeon
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37811 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-18 05:49:57 +00:00
Luka Perkov 18e14911f8 kernel: drop dead pwm code
The files have last been used with 2.6.x kernel.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37810 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-18 01:25:41 +00:00
Luka Perkov 9cc31e17e8 kernel: drop dead glamo code
The code is not used since the s3c24xx target was removed.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37809 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-18 01:25:40 +00:00
Luka Perkov 9b1c28f304 kernel: replace local m25p80 patches with upstream submission
http://lists.infradead.org/pipermail/linux-mtd/2013-August/048154.html
http://patchwork.ozlabs.org/patch/268019/

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37808 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-17 23:54:41 +00:00
Luka Perkov d3984f8fde kernel: drop 010-mtd_mp25p80_add_gd25q32_gd25q64.patch
The patch in question has been accepted upstream in commit:

55bf75b7dd8ec875d048824f3cdecf8254e292e5

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37807 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-17 22:29:05 +00:00
Luka Perkov 76574756e7 kernel: drop 110-fix_mtd_include.patch
Kernel builds just fine without this patch so we can just remove it.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37805 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-17 17:09:41 +00:00
Hauke Mehrtens b2ee00b529 brcm47xx: fix typo in Broadcom-bgmac-b43 profile name
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37803 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-17 13:41:22 +00:00
Felix Fietkau 1d6c8fac17 kernel: fix a small #ifdef bug in the noncoherent dma check rework
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37791 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-15 09:29:53 +00:00
Felix Fietkau c03bfe942c kernel: improve dma ops inlining patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37790 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-15 09:23:07 +00:00
Luka Perkov 9a00f59362 ar71xx: add support for hornet-ub-x2
The hornet-ub-x2 is hornet-ub variant with double more flash and ram.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37788 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-15 00:57:47 +00:00
John Crispin 7918a35c11 ramips: DIR-610-A1 Support
http://patchwork.openwrt.org/patch/3933/

Signed-off-by: Flavio Silveira <fggs@terra.com.br>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37785 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-14 19:35:27 +00:00
John Crispin 334322a5d9 ramips: fix typo in network uci_defaults script
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37784 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-14 19:08:55 +00:00
John Crispin 36b69315ad ramips: dts file cleanup
cleanup some inconsistencies in the dts files

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37783 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-14 19:08:44 +00:00
John Crispin e444905c1e ar71xx: fix TL-WR710N board detection
Fix for recognize TL-WR710N

http://patchwork.openwrt.org/patch/3946/

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37782 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-14 18:15:58 +00:00
John Crispin 800114714b ar71xx: Fix factory image for DIR 505 A1
Based on the original firmware, the file must have the tag
HORNET-PACKET-DIR505A1-3, not HORNET-RT-DIR505A1-3.

http://patchwork.openwrt.org/patch/3945/

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37781 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-14 18:15:49 +00:00
John Crispin 3e3ce0c794 ramips: add support for dir810l and asus rp-n53
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37780 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-14 18:15:35 +00:00
John Crispin 0e2ce7af03 ramips: various updates to the mt7620 dtsi file
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37779 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-14 18:15:26 +00:00
John Crispin b9aed7de86 ramips: update v3.10 patches
Sync the patches with those sent upstream for v3.12.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37778 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-14 18:15:15 +00:00
Felix Fietkau ec784b7356 ocf: switch MODULE_LICENSE from BSD to "Dual BSD/GPL" to make the kernel recognize modules as GPL-compatible
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37769 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-14 08:52:19 +00:00
Felix Fietkau 6d651b4e3d ar71xx: ethernet: reduce tx dma ring size further to improve cache footprint
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37765 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-13 10:35:10 +00:00
Felix Fietkau 8f544d257d kernel: add patch to inline mips dma mapping functions - reduces code size and improves performance
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37763 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-12 17:26:08 +00:00
Felix Fietkau 413a09f44c ar71xx: ethernet: reduce tx and rx DMA ring size to improve cache footprint
256 entries is a bit excessive, even for gigabit speeds

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37762 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-12 17:26:03 +00:00
Felix Fietkau 7fff30d5b9 ar71xx: ethernet: cache skb->len in the tx function to avoid accessing it again in completion
Improves ethernet performance, especially during bridging

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37761 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-12 17:26:00 +00:00
Felix Fietkau b10717fee9 rtl8367: add support for configuring the VLAN FID
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37760 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-12 17:25:25 +00:00
Felix Fietkau 45e13d91a6 ar71xx: fix typo
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37759 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-12 12:41:53 +00:00
Felix Fietkau ee79267e1c ar71xx: ethernet: skip calls to netdev_completed_queue and netif_wake_queue if no tx cleanup was done
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37758 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-12 11:44:35 +00:00
Felix Fietkau 7f6198dd85 ar71xx: ethernet: do not update the unused dev->last_rx field
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37757 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-12 11:44:31 +00:00
Felix Fietkau 8c1ae8044b ar71xx: add missing return statement in ethernet mtu change op
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37756 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-12 11:44:28 +00:00
Luka Perkov ab8f877011 kernel: remove imx-sdma-fw because of license issues
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37755 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-12 10:48:05 +00:00
Luka Perkov e8ca513b40 imx6: use kmod-imx-sdma-fw-imx6 by default
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37754 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-11 15:10:44 +00:00
Luka Perkov ce2c1b2041 imx6: fix sdma
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37752 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-11 15:10:38 +00:00
Felix Fietkau d3c8499987 x86: Fix CONFIG_X86_GRUB_SERIAL=""
With

    .config:CONFIG_X86_GRUB_SERIAL=""

which (AFAICT) is the way to tell GRUB not to use a serial console, in

    target/linux/x86/image/Makefile:ifneq ($(CONFIG_X86_GRUB_SERIAL),)

$(CONFIG_X86_GRUB_SERIAL) expands to `""' (a literal double double-quote),
making the condition unconditionally false.

This patch fixes the situation by passing CONFIG_X86_GRUB_SERIAL through
qstrip before testing.

Signed-off-by: Tamas TEVESZ <ice@extreme.hu>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37749 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-10 18:35:29 +00:00
Felix Fietkau 855c45a8b9 ar71xx: allow mtu > 1500 based on the configured tx/rx mtu register value
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-10 15:31:38 +00:00
Florian Fainelli b03e1ad370 mcs814x: enable POSIX file locking
opkg (and possible other tools) are currently broken as it requires
file locking support enabled in the kernel.
Without this results in a message like:

root@OpenWrt:/etc/config# opkg update
Collected errors:
 * opkg_conf_load: Could not lock /var/lock/opkg.lock: Permission denied.

With this patch opkg is fully functional on this platform.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37745 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-09 20:45:17 +00:00
John Crispin b431cd831e lantiq: fix TD-W8970 image generation to work with the new tool
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37727 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-06 16:25:45 +00:00
John Crispin 8c6b586f4d ar71xx: remove duplicate dir505 entry from board detection code
https://dev.openwrt.org/ticket/14006

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37723 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-06 14:12:02 +00:00
John Crispin c1fe405c08 lantiq: add support for tplink images to .../image/Makefile
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-06 12:31:25 +00:00
John Crispin be05585b0c lantiq: make the split patch recognize the tplink header
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37721 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-06 12:31:20 +00:00
John Crispin 805fa5f5bd lantiq: fix TDW8970.dts commandline and partition name
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37720 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-06 12:31:16 +00:00
John Crispin 997be902b2 lantiq: add tplink header id to sysupgrade and fix a comment
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37719 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-06 12:31:10 +00:00
Luka Perkov 38c3bb5bc1 lantiq: add (incomplete) support for Aztech GR7000
*) can not connect to switch chip
*) only one usb port is working
*) wifi is not working

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37712 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-06 10:17:16 +00:00
Florian Fainelli b6c1885f91 kernel: add some missing config symbols
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37710 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-05 20:58:05 +00:00
Hauke Mehrtens 0b5bdf9b5e kernel: fix DMA error when BCM4331 is connected to BCM4706
The BCM4331 supports a PCIe max request size of 512 bytes and uses 
that, but the PCIe controller in the BCM4706 just supports 128 Bytes 
and that causes a DMA error for packages bigger than 126 bytes. This 
fixes the problem by setting the BCM4331 also to 128 Bytes.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37709 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-05 16:17:05 +00:00
Gabor Juhos cff3736b8f ramips: re-implement PCI mux
Parallel flash access on RT3662/RT3883 based devices
is broken without that. It was fixed already some time
ago, but that change seems lost somewhere.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37708 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-05 12:49:19 +00:00
Gabor Juhos 025075dd43 ramips: allow to build Seama firmware images with arbitrary size
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37707 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-05 12:35:22 +00:00
John Crispin 7e25c1660c ar71xx: add usb modules to dir 505 profile
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37706 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-05 11:08:30 +00:00
John Crispin fad47cf6cb octeon: add a few missing symbols to the kernel config file
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37705 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-05 10:42:09 +00:00
John Crispin 25b1705c80 lantiq: several a803 related fixes
based on work from Matti Laasko that he posted in the wiki

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37704 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-05 10:42:00 +00:00
John Crispin bfaf62a45f ar71xx: add support for dir 505 a1
this patch is based on ...

-> https://forum.openwrt.org/viewtopic.php?pid=179902#p179902

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37703 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-05 10:41:48 +00:00
Gabor Juhos 0452570f3f ar71xx: fix tl-wa901nd buttons code
This patch fixes the code of the buttons for TP-Link WA901ND.

Signed-off-by: Rocco Folino <lordzen@autistici.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37696 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-05 09:09:39 +00:00
Gabor Juhos 7438a0ec3e ar71xx: ubnt unifi outdoor register gpio button
This patch register the gpio buttons for the Ubiquiti UniFi Outdoor.

Signed-off-by: Rocco Folino <lordzen@autistici.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37695 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-05 09:09:37 +00:00
John Crispin 829ffa6bd8 x86: change /dev/console to tty to fix job control
Job control is turned off because it cannot obtain controlling terminal on
/dev/console, so it is impossible to do any job control operation behind
real x86 device (keyboard+monitor or virtualized).

This patch switches /dev/console to tty devices for ash on x86 generic target.

Signed-off-by: Jiri Slachta <slachta@cesnet.cz>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37693 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-04 17:05:33 +00:00
Luka Perkov f1a3926e24 imx6: sync usb chipidea with upstream
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37686 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-04 14:20:15 +00:00
John Crispin b09bb5279a generic: make the module reloc pacth work on mips64
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37685 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-04 13:54:42 +00:00
John Crispin c90d6b25d5 octeon: add support for the octeon mips64 SoC
This is the SoC used be the ESR Lite made by ubnt.com

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37684 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-04 13:54:32 +00:00
Luka Perkov 93f6b2a541 imx6: remove sdma binary
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37682 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-04 13:28:26 +00:00
Hauke Mehrtens be7d168013 brcm47xx: change board detection for some Asus devices
This closes #13316

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-04 12:36:13 +00:00
Hauke Mehrtens a558d35af2 kernel: do not build FW_LOADER as a module.
CONFIG_FW_LOADER=y is set in the generic config and our packages in 
packages/kernel/linux are depending on it to be compiled into the 
kernel. 
This fixes some dependency problem where kmod-r8169 misses 
firmware_class.ko.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37672 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-04 09:41:10 +00:00
Zoltan HERPAI d3be69f35e imx23: add missing DTS config for lradc
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37663 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-03 10:37:25 +00:00
Zoltan HERPAI 8af9b32ba8 imx23: add hw crypto (dcp) support
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37662 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-03 10:35:18 +00:00
Hauke Mehrtens 76cf5e5ba6 kernel: add missing config options
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37660 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-02 20:13:54 +00:00
Hauke Mehrtens e437208b48 kernel: add missing config option
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37657 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-02 16:51:47 +00:00
Hauke Mehrtens bbce689cd3 kernel: add missing config option
brcm47xx does not use CONFIG_B53_SPI_DRIVER, but it could be selected if spi is build as a module

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37656 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-02 16:16:23 +00:00
Jonas Gorski 6e8c1f1e28 kernel: ocf: add missing kernel dependencies
OCF_CRYPTOSOFT uses both symbols form crypto_hash and crypto_blkcipher,
so let it select these through kernel config.

Fixes the following build error:

ERROR: "crypto_alloc_ahash" [crypto/ocf/cryptosoft.ko] undefined!
ERROR: "crypto_ahash_digest" [crypto/ocf/cryptosoft.ko] undefined!
ERROR: "crypto_ahash_setkey" [crypto/ocf/cryptosoft.ko] undefined!
make[6]: *** [__modpost] Error 1
make[5]: *** [modules] Error 2

Reported-by: Russell Senior <russell@personaltelco.net>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-01 23:04:42 +00:00
Hauke Mehrtens 6a50764026 brcm47xx: switch to kernel 3.10.4
This uses a new switch driver.
The old ADMTEK Adm6996 switch is not supported any more.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37650 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-01 21:01:59 +00:00
Hauke Mehrtens 53221b4587 brcm47xx: use lib phy when tg3 is in use
This is untested, but probably needed to make it work with the phy lib switch driver.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37649 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-01 20:47:55 +00:00
Hauke Mehrtens 7b7322f1f2 kernel: b53: use devm_gpio_request_one() to request gpio
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-01 20:46:56 +00:00
Hauke Mehrtens 24880dbaa0 brcm47xx: improve detection of Linksys WRTSL54GS
This closes #13319

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37647 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-01 19:33:59 +00:00
Hauke Mehrtens 3a9a8aeb57 brcm47xx: remove support for kernel 3.9
This is not needed any more.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37646 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-01 19:17:51 +00:00
Hauke Mehrtens 7e3141d846 kernel: b53: add support for GPIO reset
This is needed for some switches used on bcm47xx SoCs like the one on the Asus RT-N66U.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37645 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-01 19:05:34 +00:00
Hauke Mehrtens edb8a4fa2e brcm47xx: add function to get a gpio pin by name
bcm47xx_nvram_gpio_pin() returns a gpio pin number for a given name based
on configuration data in nvram.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37644 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-01 19:04:12 +00:00
John Crispin 69c35b6e2b ramips: add Poray IP2202 support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37640 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-01 14:31:15 +00:00
John Crispin 779826d982 ramips: add Poray X8 support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37639 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-01 14:31:09 +00:00
John Crispin 64ad8ac32d ramips: add Poray X5/X6 Support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37638 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-01 14:31:04 +00:00