Commit graph

10738 commits

Author SHA1 Message Date
Florian Fainelli
4434bc361d kernel: fix broken depends syntax introduced in r37933
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37942
2013-09-11 12:45:24 +00:00
Florian Fainelli
3668004858 kernel: Fix FIQ code on VIVT CPUs (#14145)
Backport an upstream patch to fix FIQ code on VIVT CPUs

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

SVN-Revision: 37940
2013-09-11 12:08:44 +00:00
Luka Perkov
2964a11933 imx6: backport ahci support
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37936
2013-09-10 22:26:36 +00:00
Luka Perkov
b2c852e685 imx6: add i2c retry on NAK
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 37935
2013-09-10 22:26:34 +00:00
Luka Perkov
460fb06e63 imx6: add gpio sysfs support
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 37934
2013-09-10 22:26:33 +00:00
Luka Perkov
7d73153e86 kernel: allow hwmon GSC driver for all targets
- enable using hwmon GSC driver on all targets
- add a kmod package for it

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 37933
2013-09-10 22:26:30 +00:00
Felix Fietkau
11926c2fd8 kernel: fix arch-dependent bug in hso module
Currently, the module causes an oops at least on rt5350. These patches
have been accepted upstream at:
git://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>

SVN-Revision: 37931
2013-09-10 13:47:44 +00:00
Hauke Mehrtens
f181b07af8 brcm47xx: add me as maintainer
SVN-Revision: 37916
2013-09-07 15:46:27 +00:00
Gabor Juhos
abad211388 ar71xx: use the lzma loader for the WRT160NL
Partition layout before:
  0x000000040000-0x0000001a0000 : "kernel"
  0x0000001a0000-0x0000007e0000 : "rootfs"
  mtd: partition "rootfs" set to be root filesystem
  mtd: partition "rootfs_data" created automatically, ofs=0x350000, len=0x490000
  0x000000350000-0x0000007e0000 : "rootfs_data"

after:
  0x000000040000-0x000000140000 : "kernel"
  0x000000140000-0x0000007e0000 : "rootfs"
  mtd: partition "rootfs" set to be root filesystem
  mtd: partition "rootfs_data" created automatically, ofs=0x2f0000, len=0x4f0000
  0x0000002f0000-0x0000007e0000 : "rootfs_data"

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

SVN-Revision: 37915
2013-09-07 11:40:45 +00:00
Gabor Juhos
f346e316b4 ppc40x: remove 3.8 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37914
2013-09-07 11:34:08 +00:00
Gabor Juhos
8505ccfe74 ppc40x: switch to 3.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37913
2013-09-07 11:34:06 +00:00
Gabor Juhos
e9d7620196 ppc40x: add support for 3.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37912
2013-09-07 11:34:03 +00:00
Jonas Gorski
f8cd14921d brcm63xx: drop linux 3.9 support
It is EOL since quite a while, so no need to keep it around.

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

SVN-Revision: 37911
2013-09-06 19:01:17 +00:00
Jonas Gorski
dc028776f0 brcm63xx: switch to linux 3.10
3.10 is stable enough, and 3.9 is EOL since a while.

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

SVN-Revision: 37910
2013-09-06 19:01:13 +00:00
Jonas Gorski
4b0655500a kernel: b53: support phy ids for BCM5365
BCM5365 (and probably other older variants) use a different phy id, so
the phy driver never attached for them.
Fix this by adding the appropriate phy id to the fixup and the phy
driver.

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

SVN-Revision: 37906
2013-09-05 20:30:34 +00:00
Imre Kaloz
445d1a8b27 Add missing symbol
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 37897
2013-09-05 10:08:59 +00:00
Hauke Mehrtens
4eced13a37 kernel: b53: allow access the MIB counters on BCM5365
b53_no_ops has no elements and b53_port_ops has one element, this makes
the code access some random memory when trying to access the mib
counter functions.

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

SVN-Revision: 37895
2013-09-04 16:15:10 +00:00
Gabor Juhos
07216b9f46 ar71xx: fix NetGear initramfs image names
The '-initramfs' string is duplicated in the image names,
fix it.

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

SVN-Revision: 37892
2013-09-03 07:22:27 +00:00
Gabor Juhos
d120ec18b2 kernel: update 3.10 to 3.10.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37890
2013-09-02 19:12:54 +00:00
Gabor Juhos
c8cd8c94d8 ar71xx: image: reorder Image/Build/* macros
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37889
2013-09-02 19:05:58 +00:00
Gabor Juhos
1712fdd658 ar71xx: image: simplify more oneliner macros
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37888
2013-09-02 19:05:57 +00:00
Gabor Juhos
02551d3883 ar71xx: image: simplify oneliner loader macros
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37887
2013-09-02 19:05:56 +00:00
Gabor Juhos
0cdf133d20 ar71xx: image: simplify oneliner initramfs macros
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37886
2013-09-02 19:05:55 +00:00
Gabor Juhos
b125a0f6b9 ar71xx: image: simplify oneliner buildkernel macros
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37885
2013-09-02 19:05:54 +00:00
Florian Fainelli
33e7337d97 mcs814x: dlan-usb-extender: fix usbdev trigger
Every device I connect to the USB port is detected as 2-1, not 1-1.
So adjust the default setting accordingly.

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

SVN-Revision: 37882
2013-09-02 18:25:01 +00:00
Gabor Juhos
4a11acf81b ar71xx: optimize kernel generation
When the squashfs and jffs2 images are generated
in the same turn, the compressed kernel images
are generated twice with the same parameters.

Move compressed kernel generation into a separate
phase to avoid that.

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

SVN-Revision: 37881
2013-09-02 18:03:39 +00:00
Gabor Juhos
0950922925 generic: remove linux version checks from myloader.c
The myloader partition parser code uses ifdef wrappers
to make the code usable on kernels below version 3.2.
All targets are using kernel 3.3 at least so the wraper
is not needed. Remove that.

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

SVN-Revision: 37880
2013-09-02 16:33:13 +00:00
Gabor Juhos
0ceeb6a068 ar71xx: image: dynamically generate Image/Build/Template/* macros
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37879
2013-09-02 16:10:44 +00:00
Gabor Juhos
122a61aa49 ar71xx: configure OBS4 line on TL-WR841N-v8/MR3420v2
It also fixes USB Power on MR3420v2.

This time we took the information from the source of GPL:
http://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg18970.html
Confirmed and tested:
https://dev.openwrt.org/ticket/13201#comment:41
Thanks to oguretsagressive for testing.

Signed-off-by: Dmytro <dioptimizer@gmail.com>

SVN-Revision: 37878
2013-09-02 16:09:12 +00:00
Gabor Juhos
1f007eeca1 ar71xx: remove fs_* variables from image/Makefile
Those are not needed since we are generating the
initramfs images along with the others.

Remove the variables and use the template names
directly.

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

SVN-Revision: 37876
2013-09-02 09:24:59 +00:00
Gabor Juhos
e7a5947576 ar71xx: fix initramfs image generation for Cameo933x profiles
Initramfs images are not generated for profiles which
are using the squashfs-only template. Add the missing
'Image/Build/Template/squashfs-only/initramfs' to fix
that.

Also, 'Image/Build/Cameo933x/initramfs' uses wrong
parameters for 'MkuImageLzma/initramfs' due to a
misplaced commma. Remove that to fix the generated
initramfs images.

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

SVN-Revision: 37871
2013-09-02 07:42:03 +00:00
Gabor Juhos
968ed2e58a x86/alix2: remove kernel config for 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37870
2013-09-02 07:36:46 +00:00
Gabor Juhos
5aa70d283f x86/alix2: switch to 3.10.9
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."

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

SVN-Revision: 37869
2013-09-02 07:36:45 +00:00
Gabor Juhos
562e76d22c x86/alix2: add kernel config for 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.

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

SVN-Revision: 37868
2013-09-02 07:36:44 +00:00
Gabor Juhos
11b1887c53 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>

SVN-Revision: 37867
2013-09-02 07:36:40 +00:00
Luka Perkov
18a767156e imx6: add uboot-envtools to default packages
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37859
2013-08-29 23:06:32 +00:00
Florian Fainelli
1e1becb174 mvebu: remove maintainer ship role
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37855
2013-08-28 16:19:59 +00:00
Felix Fietkau
999ec62da7 kernel: fix booting issues on imx23 and imx6 targets
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37854
2013-08-28 07:38:36 +00:00
Luka Perkov
ae660e85d3 imx6: disable sdma until license issues are solved
Also, synchronize patches with upstream.

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

SVN-Revision: 37853
2013-08-28 00:07:43 +00:00
Luka Perkov
ec52778a14 imx6: refresh 3.10 kernel config
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37850
2013-08-28 00:07:37 +00:00
Gabor Juhos
dd421c00a2 ar71xx: add some pending patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37849
2013-08-27 18:06:49 +00:00
Gabor Juhos
a4c2853261 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>

SVN-Revision: 37848
2013-08-27 12:03:01 +00:00
Gabor Juhos
012f214e6f 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>

SVN-Revision: 37846
2013-08-27 12:02:54 +00:00
Gabor Juhos
d6b4b8f612 ar71xx: don't hardwire cpu_has_dsp{,2} to zero
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37845
2013-08-27 10:48:25 +00:00
Gabor Juhos
9af6a5a88f 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>

SVN-Revision: 37844
2013-08-27 10:48:24 +00:00
Felix Fietkau
c75416292a kernel: fixing a potential deadlock in block2mtd for kernel 3.6/3.8/3.9
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 37842
2013-08-26 17:47:14 +00:00
Gabor Juhos
77e00faa33 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>

SVN-Revision: 37835
2013-08-25 14:42:34 +00:00
Gabor Juhos
42914b0b0e ar71xx: build factory image for DIR-505 A1
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37834
2013-08-24 10:11:53 +00:00
Gabor Juhos
f7eb3d94b9 ar71xx: allow to override kernel size in the CameoHornet profile
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37833
2013-08-24 10:11:45 +00:00
Gabor Juhos
043edd8074 kernel: update 3.10 to 3.10.9
Also refresh 3.10 patches.

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

SVN-Revision: 37832
2013-08-23 17:31:04 +00:00