Commit Graph

10732 Commits (35d2b601aa7737c5eebe8557bd4cb056e52b2f5d)

Author SHA1 Message Date
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
11 years ago
Hauke Mehrtens f181b07af8 brcm47xx: add me as maintainer
SVN-Revision: 37916
11 years ago
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
11 years ago
Gabor Juhos f346e316b4 ppc40x: remove 3.8 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37914
11 years ago
Gabor Juhos 8505ccfe74 ppc40x: switch to 3.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37913
11 years ago
Gabor Juhos e9d7620196 ppc40x: add support for 3.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37912
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
Imre Kaloz 445d1a8b27 Add missing symbol
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 37897
11 years ago
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
11 years ago
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
11 years ago
Gabor Juhos d120ec18b2 kernel: update 3.10 to 3.10.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37890
11 years ago
Gabor Juhos c8cd8c94d8 ar71xx: image: reorder Image/Build/* macros
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37889
11 years ago
Gabor Juhos 1712fdd658 ar71xx: image: simplify more oneliner macros
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37888
11 years ago
Gabor Juhos 02551d3883 ar71xx: image: simplify oneliner loader macros
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37887
11 years ago
Gabor Juhos 0cdf133d20 ar71xx: image: simplify oneliner initramfs macros
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37886
11 years ago
Gabor Juhos b125a0f6b9 ar71xx: image: simplify oneliner buildkernel macros
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37885
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
Gabor Juhos 0ceeb6a068 ar71xx: image: dynamically generate Image/Build/Template/* macros
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37879
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
Gabor Juhos 968ed2e58a x86/alix2: remove kernel config for 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37870
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
Luka Perkov 18a767156e imx6: add uboot-envtools to default packages
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37859
11 years ago
Florian Fainelli 1e1becb174 mvebu: remove maintainer ship role
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37855
11 years ago
Felix Fietkau 999ec62da7 kernel: fix booting issues on imx23 and imx6 targets
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37854
11 years ago
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
11 years ago
Luka Perkov ec52778a14 imx6: refresh 3.10 kernel config
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37850
11 years ago
Gabor Juhos dd421c00a2 ar71xx: add some pending patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37849
11 years ago
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
11 years ago
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
11 years ago
Gabor Juhos d6b4b8f612 ar71xx: don't hardwire cpu_has_dsp{,2} to zero
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37845
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
Gabor Juhos 42914b0b0e ar71xx: build factory image for DIR-505 A1
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37834
11 years ago
Gabor Juhos f7eb3d94b9 ar71xx: allow to override kernel size in the CameoHornet profile
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37833
11 years ago
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
11 years ago
Gabor Juhos 6f232cba62 generic: refresh kernel configs with kconfig.pl
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37831
11 years ago
Gabor Juhos a76371970e ramips: remove lantiq specific patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37830
11 years ago
Gabor Juhos 9330662208 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>

SVN-Revision: 37829
11 years ago
Gabor Juhos 0ebe286761 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>

SVN-Revision: 37828
11 years ago
Gabor Juhos 3afc3824ca 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>

SVN-Revision: 37827
11 years ago
Gabor Juhos 2d89ba8210 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>

SVN-Revision: 37826
11 years ago