Commit graph

695 commits

Author SHA1 Message Date
Felix Fietkau
0b57c1ccc6 x86: Update kernel for alix2 to 3.10.15
Without this patch, the patch
target/linux/generic/patches-3.10/770-bgmac-backport.patch
would not apply.

Signed-off-by: Tobias Steinicke <tsteinicke@net.t-labs.tu-berlin.de>

SVN-Revision: 38438
2013-10-17 14:03:11 +00:00
Jo-Philipp Wich
0c2ce3f37a x86: kvm: disable squashfs and jffs2 images by default
SVN-Revision: 38355
2013-10-10 14:40:52 +00:00
Gabor Juhos
9c8a5ef115 kernel: update 3.10 to 3.10.13
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38228
2013-09-27 07:19:21 +00:00
Felix Fietkau
ef68210f93 build: unify x86 target cflags
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38212
2013-09-26 17:53:24 +00:00
Gabor Juhos
0380904acb kernel/3.10: refresh all target patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38182
2013-09-25 17:13:24 +00:00
Gabor Juhos
554772a665 kernel: update 3.10 to 3.10.12
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38000
2013-09-15 16:00:41 +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
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
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
Felix Fietkau
09f4018b2e 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>

SVN-Revision: 37749
2013-08-10 18:35:29 +00:00
John Crispin
f0b5e7d419 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>

SVN-Revision: 37693
2013-08-04 17:05:33 +00:00
Felix Fietkau
73c4d73d6d build: unify target independent optimization options
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37600
2013-07-29 09:38:29 +00:00
Hauke Mehrtens
72f73ab041 x86: fix kmod-gpio-pc8736x dependencies
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37447
2013-07-19 14:55:51 +00:00
Jonas Gorski
960002ed4b x86: switch rdc to to gpio_keys_polled
gpio_buttons have been deprecated since a long time.

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

SVN-Revision: 37435
2013-07-19 13:20:39 +00:00
Felix Fietkau
b95bdc8ab5 kernel/base-files: clean up old code related to refreshing mtd partitions, it is no longer used anywhere
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37282
2013-07-14 12:56:58 +00:00
Florian Fainelli
6a4f2922f6 targets: prepare for supporting normal and initramfs images
In order to support both normal images and initramfs, ensure that each
target sets KERNELNAME properly so that the generic kernel building code
can copy the corresponding files over $(KDIR) with the appropriate
extension. Update the various paths to the kernel and wrapper images
from $(LINUX_DIR)/arch/$(ARCH)/boot/$(foo) to $(KDIR)/$(foo).

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

SVN-Revision: 37049
2013-06-27 19:58:31 +00:00
Jonas Gorski
1beaf031d1 target: don't build jffs2 nor images by default
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36863
2013-06-05 20:58:59 +00:00
Gabor Juhos
46225b99d9 kernel: update linux 3.8 to 3.8.13
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36724
2013-05-26 16:02:31 +00:00
Gabor Juhos
e57c7d6c12 kernel: update linux 3.8 to 3.8.12
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36576
2013-05-08 08:53:53 +00:00
Gabor Juhos
8a9fe26f20 kernel: update linux 3.8 to 3.8.11
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36507
2013-05-01 22:15:18 +00:00
Gabor Juhos
d557a51a40 x86/geos: switch to 3.8.10
Compile tested only.

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

SVN-Revision: 36496
2013-04-30 10:44:09 +00:00
Gabor Juhos
f718179af5 kernel: update linux 3.8 to 3.8.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36493
2013-04-30 10:43:59 +00:00
Gabor Juhos
36d4fd70bc kernel: update linux 3.8 to 3.8.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36453
2013-04-26 16:55:42 +00:00
John Crispin
831c7ea04f preinit: move cmdline failsafe= handling ot the generic code
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36430
2013-04-25 19:02:37 +00:00
Steven Barth
4e8f7f37ed Change default IPv6 config to enable DHCPv6-PD
SVN-Revision: 36384
2013-04-22 19:40:16 +00:00
Gabor Juhos
151cadfe32 kernel: update linux 3.8 to 3.8.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36363
2013-04-19 08:07:34 +00:00
Felix Fietkau
96bb7c123b build: consistently use 'depends on' instead of 'depends'
make the syntax more compatible with kernel menuconfig

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

SVN-Revision: 36351
2013-04-17 15:36:41 +00:00
Gabor Juhos
604395650a kernel: update linux 3.8 to 3.8.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36332
2013-04-14 09:25:53 +00:00
Steven Barth
ea94d66b0f Adapt default network configuration for IPv6
SVN-Revision: 36278
2013-04-09 08:03:08 +00:00
Gabor Juhos
9e6ae6ab5d x86/generic: remove old kernel configs
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36256
2013-04-07 15:53:17 +00:00
Gabor Juhos
0d0bfe3d41 x86/generic: switch to 3.8
Only tested within a VM.

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

SVN-Revision: 36255
2013-04-07 15:53:15 +00:00
Gabor Juhos
f5d28ea3ce x86/generic: add config for 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36254
2013-04-07 15:53:13 +00:00
Gabor Juhos
71a51e3b91 x86/alix2: remove old kernel configs
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36253
2013-04-07 15:53:11 +00:00
Gabor Juhos
15d311ec18 x86/alix2: switch to 3.8
Tested on an alix2d13 board.

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

SVN-Revision: 36252
2013-04-07 15:53:09 +00:00
Gabor Juhos
9d05b1b683 x86/alix2: add config for 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36251
2013-04-07 15:53:08 +00:00
Gabor Juhos
89f690843f x86: add support for 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36250
2013-04-07 15:53:05 +00:00
Hauke Mehrtens
45b24fa771 kernel: add some missing config options found by the buildbot.
SVN-Revision: 35945
2013-03-10 20:25:19 +00:00
Gabor Juhos
23b3b3a194 kernel: update linux 3.7 to 3.7.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35860
2013-03-03 13:57:40 +00:00
Florian Fainelli
1dd9e661be x86/rdc: migrate to common led helper functions
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35664
2013-02-18 10:38:05 +00:00
Gabor Juhos
3f749d1e8e kernel: update linux 3.7 to 3.7.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35644
2013-02-17 21:32:42 +00:00
Gabor Juhos
7f20c2e19a update x86 generic to kernel v3.7
Signed-off-by: Russell Senior <russell@personaltelco.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35616
2013-02-16 12:12:52 +00:00
Gabor Juhos
162b8e23a5 kernel: update linux 3.7 to 3.7.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35604
2013-02-15 07:36:15 +00:00
Florian Fainelli
31dc805f88 x86: update config-3.7 for x86 (turn off CONFIG_GPIO_ICH)
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35601
2013-02-14 13:00:07 +00:00
Gabor Juhos
bae4bfe3f8 kernel: update linux 3.7 to 3.7.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35571
2013-02-12 09:51:11 +00:00
Gabor Juhos
08ff976720 kernel: update linux 3.7 to 3.7.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35476
2013-02-04 10:02:56 +00:00
Gabor Juhos
4ac6eb480b x86/kvm_guest: add support for 3.7
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35460
2013-02-02 15:31:57 +00:00
Gabor Juhos
c340ef2ae2 x86: add missing symbols for 3.7
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35459
2013-02-02 15:31:55 +00:00
Gabor Juhos
0f46f47512 x86/kvm_guest: add missing symbols for 3.3
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35458
2013-02-02 15:31:54 +00:00
Gabor Juhos
ab3e3cacaa alix2: convert from kernel version 3.3.8 to 3.7.5
[juhosg: use 3.7.5 instead of 3.7.3]

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

SVN-Revision: 35457
2013-02-02 15:31:52 +00:00
Gabor Juhos
562ba537fc kernel: update linux 3.7 to 3.7.5
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35390
2013-01-29 18:29:45 +00:00
Gabor Juhos
15be1c9ee7 kernel: update linux 3.7 to 3.7.4
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35318
2013-01-24 17:08:37 +00:00
Gabor Juhos
0de21d9747 kernel: update linux 3.7 to 3.7.3
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35216
2013-01-18 11:44:42 +00:00
Jo-Philipp Wich
7399df1d69 x86: explicitely pass staging directory to grub-mkimage instead of relying on build time defaults (#12821)
SVN-Revision: 35200
2013-01-17 15:46:26 +00:00
Florian Fainelli
1e103b2ecc target: enable XZ BCJ decompressor code after r35097
Required to actually be able to mount squashfs xz compressed
filesystems.

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

SVN-Revision: 35156
2013-01-14 16:34:25 +00:00
Gabor Juhos
c19c30cefd kernel: update linux 3.7 to 3.7.2
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35100
2013-01-12 11:43:08 +00:00
Felix Fietkau
741f6ba7ef x86: fix typo in alix2/net5501 default packages
SVN-Revision: 34972
2013-01-02 16:09:23 +00:00
Mirko Vogt
4d4b2d3ced merge /lib/functions/boot.sh and /lib/functions.sh
SVN-Revision: 34794
2012-12-19 16:07:53 +00:00
Mirko Vogt
439a869090 Do not overload mount-call - trying to reduce confusion
The behaviour of calling 'mount' differed depending on whether it called
the busybox-mount, the mount of util-linux, the mount defined in
/lib/functions.sh and /lib/functions/boot.sh

/etc/preinit even included /lib/functions.sh and /lib/functions/boot.sh,
both re-defining 'mount'.

SVN-Revision: 34792
2012-12-19 16:07:46 +00:00
Gabor Juhos
029553b698 refresh kernel configs with kconfig.pl
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34763
2012-12-18 15:54:15 +00:00
Gabor Juhos
7ff7340304 geos: add missing config-3.7 file
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34762
2012-12-18 15:51:45 +00:00
Gabor Juhos
8903f8581b kernel: update linux 3.7 to 3.7.1
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34760
2012-12-18 15:13:31 +00:00
Gabor Juhos
5a680f1cbf geos: update to 3.7
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34755
2012-12-18 14:50:48 +00:00
Gabor Juhos
9b15d3e22a kernel: add 3.7 support for x86
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34754
2012-12-18 14:50:47 +00:00
Gabor Juhos
44b9898251 kernel: update linux 3.6 to 3.6.11
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34748
2012-12-18 14:41:16 +00:00
Gabor Juhos
2b378d11c8 kernel: update linux 3.6 to 3.6.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34639
2012-12-11 20:14:39 +00:00
Gabor Juhos
2581173660 kernel: update linux 3.6 to 3.6.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34578
2012-12-08 15:01:33 +00:00
Florian Fainelli
33f6c5ddb9 kernel: add missing USB configuration symbols after r34501
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34568
2012-12-07 11:01:53 +00:00
Gabor Juhos
ea17e36482 kernel: Update Geos to 3.6.8
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34411
2012-11-29 17:37:19 +00:00
Gabor Juhos
1f516235ea remove common symbols from 3.3 configs
The removed symbols are present in the generic configuration.

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

SVN-Revision: 34403
2012-11-29 15:21:35 +00:00
Jo-Philipp Wich
298a8e2300 x86/generic: don't disable usbfs (#12452)
SVN-Revision: 34139
2012-11-10 23:28:58 +00:00
Felix Fietkau
46288bf98e x86: use $(strip) for the at_keyboard check
SVN-Revision: 34127
2012-11-09 10:53:36 +00:00
Felix Fietkau
0a9e05fb0e x86: only enable at_keyboard for the generic and kvm_guest subtargets to avoid hangs on alix2 and others (thx, russell)
SVN-Revision: 34126
2012-11-09 10:19:51 +00:00
Jo-Philipp Wich
f600ec5b3b x86: allow both old and new grub signatures in sysupgrade
SVN-Revision: 33898
2012-10-23 16:34:00 +00:00
Felix Fietkau
95e642632a x86: correct image magic for grub2 images
Sysupgrade broke on x86 when grub2 superceded grub.  This patch
corrects tha magic_word to be expected in grub2 combined images.

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

SVN-Revision: 33890
2012-10-22 16:06:29 +00:00
Florian Fainelli
60ecd5fe04 merge the RDC R-321x target as a subtarget of x86
SVN-Revision: 33779
2012-10-15 18:54:34 +00:00
Jo-Philipp Wich
4cfd3dc8ed x86/kvm_guest: enable PCIE support
SVN-Revision: 33741
2012-10-12 16:51:31 +00:00
Felix Fietkau
856fba88d9 x86: remove the reboot=bios command line parameter (#12193)
SVN-Revision: 33671
2012-10-09 15:20:11 +00:00
Felix Fietkau
1abbe676d1 x86: rename the iso file to openwrt-x86-generic.iso
SVN-Revision: 33641
2012-10-07 23:05:39 +00:00
Felix Fietkau
0dd7644ec7 x86: remove grub-legacy
SVN-Revision: 33640
2012-10-07 23:01:56 +00:00
Felix Fietkau
a1bcd25082 x86: add grub2 iso support
SVN-Revision: 33639
2012-10-07 23:01:52 +00:00
Felix Fietkau
53cc34e517 x86/generic: enable cdrom + iso9660 support
SVN-Revision: 33638
2012-10-07 23:01:47 +00:00
Felix Fietkau
493b7c7f3c x86: avoid using grub prepare when using grub2
SVN-Revision: 33525
2012-09-23 09:59:56 +00:00
Felix Fietkau
999252dccc x86-generic: enable a few more common kernel options/drivers
SVN-Revision: 33516
2012-09-22 23:29:20 +00:00
Felix Fietkau
0260262f0b x86: enable usb storage support for the generic subtarget to support booting from usb devices
SVN-Revision: 33514
2012-09-22 21:15:59 +00:00
Felix Fietkau
52e8ee0666 x86: add support for building grub2 images
SVN-Revision: 33513
2012-09-22 20:10:42 +00:00
Felix Fietkau
ce4244c8af x86: split generic image building into a separate script
SVN-Revision: 33511
2012-09-22 20:10:35 +00:00
Felix Fietkau
6c02dd2b04 x86: rename gen_image_x86.sh to gen_image_grub.sh
SVN-Revision: 33510
2012-09-22 20:10:31 +00:00
John Crispin
f186bff0ef add missing kvm_guest kernel options
SVN-Revision: 33319
2012-09-05 19:38:42 +00:00
John Crispin
76954dc8b0 set xen images to gzip compression, fixes #11970
SVN-Revision: 33192
2012-08-15 09:20:12 +00:00
Jo-Philipp Wich
c8a0166212 Fix hard reset of alix/soekris hardware under heavy NIC load
The following patch corrects a hard reset that occurs on alix and
soekris net5501 hardware. Specifically, this is an issue with the via
rhine NIC driver. Under periods of extreme load, the via rhine driver
can cause a reset of the entire system. When this happens no output is
seen on the console, the device simply reboots. This was reported in the
following ticket:

Consistent crash on Soekris NET5501
https://dev.openwrt.org/ticket/11882

I was able to reproduce the problem locally with numerous alix 2d13
platforms. Under heavy 64 byte frame size load from a Smartbits traffic
generator, the alix hardware will hard reset in under 5 minutes. The
same hardware, under the same load, on FreeBSD 9.0 does not reset.

The patch below backports most of the via rhine changes from kernel 3.5.
With OpenWrt trunk being on kernel 3.3.8, it seemed prudent to bring
these changes in to avoid this serious issue.

I've tested this heavily in my test environment and was able to keep the
device stable under load for extended periods of time without any resets.

Also, a nice side effect of this change is that it significantly raises
the performance the platform. Without this patch the alix 2d13 can move
approximately 29,000 packets per second at 64 byte frame sizes. After
this patch the alix can move 52,000 packets per second at 64 byte frame
sizes.

I put this patch under the x86 patches as those are the only platforms
with via rhine hardware that I'm aware of. If it needs to go some place
else please let me know.

Thanks,
Adam

Signed-off-by: Adam Gensler <openwrt@kristenandadam.net>

SVN-Revision: 33072
2012-08-09 09:41:22 +00:00
Florian Fainelli
d359d46182 make kmod-fb dependent on DISPLAY_SUPPORT and update targets accordingly
SVN-Revision: 32869
2012-07-25 19:36:19 +00:00
Florian Fainelli
c3b9a987b7 move leds modules back to target modules.mk
SVN-Revision: 32851
2012-07-25 15:49:57 +00:00
Florian Fainelli
bca45d6d8a move i2c modules back to target modules.mk
SVN-Revision: 32850
2012-07-25 15:49:54 +00:00
Florian Fainelli
2bfb2a797c move more x86-specific modules back to target modules.mk
SVN-Revision: 32848
2012-07-25 15:49:49 +00:00
Florian Fainelli
d973768580 move x86 specific ide/pata modules to x86' modules.mk
SVN-Revision: 32846
2012-07-25 15:49:42 +00:00
Vasilis Tsiligiannis
1978c07539 Fix sysupgrade for squashfs, jffs2 and ext4 images
* use 'fsync' with 'dd' for image writing
	* save config to boot partition

SVN-Revision: 32465
2012-06-19 22:36:53 +00:00
Jo-Philipp Wich
f06473f8ff optimize kernel config for kvm_guest
This patch enables few extra kernel options for the kvm_guest subtarget:
- Tickless kernel to avoid timer ticks in idle guests, reduces CPU usage
- Enable paravirtualization steal time support

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 32436
2012-06-18 23:36:50 +00:00
Jo-Philipp Wich
cbac321164 remove inittab override
SVN-Revision: 32422
2012-06-18 11:50:37 +00:00
Jo-Philipp Wich
e3663ff907 use ttyS0 @ 115200 baud as default for KVM guests
SVN-Revision: 32384
2012-06-15 12:59:49 +00:00
John Crispin
a4d96aae8d bump to 3.3.8
SVN-Revision: 32055
2012-06-05 06:57:51 +00:00
Gabor Juhos
2ae5581447 kernel: update linux 3.3 to 3.3.7
SVN-Revision: 31848
2012-05-23 21:05:32 +00:00
Gabor Juhos
07b5a3eea2 x86: remove support for old kernels
SVN-Revision: 31804
2012-05-18 20:10:42 +00:00
Gabor Juhos
604e3aac0a x86: remove subtarget specific LINUX_VERSION overrides
SVN-Revision: 31803
2012-05-18 20:10:38 +00:00
Gabor Juhos
d9dab97d38 x86/ep80579: switch to 3.3
Also fix build errors in the ep80579-drivers package.
Compile tested only.

SVN-Revision: 31802
2012-05-18 20:10:33 +00:00
Gabor Juhos
a5de52c244 x86/olpc: switch to 3.3
Compile tested only.

SVN-Revision: 31784
2012-05-18 09:57:32 +00:00
Gabor Juhos
9e54e012d6 x86: image: select bootscript images by default for OLPC
SVN-Revision: 31783
2012-05-18 09:57:29 +00:00
Gabor Juhos
562e468ae5 x86/thincan: switch to 3.3
Compile tested only.

SVN-Revision: 31765
2012-05-17 06:41:01 +00:00
Gabor Juhos
1f7f8376a6 x86/xen_domu: switch to 3.3
Compile tested only.

SVN-Revision: 31764
2012-05-17 06:41:00 +00:00
Gabor Juhos
8bb7ddecfd x86/kvm_guest: switch to 3.3
Compile tested only.

SVN-Revision: 31763
2012-05-17 06:40:58 +00:00
Gabor Juhos
f14d1a588d x86/generic: switch to 3.3
Compile tested only.

SVN-Revision: 31762
2012-05-17 06:40:56 +00:00
Gabor Juhos
eb2fe5e863 x86/alix2: switch to 3.3
Compile tested only.

SVN-Revision: 31753
2012-05-16 10:45:02 +00:00
Gabor Juhos
fb7da5bbde x86/net5501: switch to 3.3
Compile tested only.

SVN-Revision: 31752
2012-05-16 10:44:59 +00:00
Gabor Juhos
9e049ce25c x86: sync 3.3 configs
SVN-Revision: 31751
2012-05-16 10:44:55 +00:00
Gabor Juhos
19f691f8e4 x86: sync 3.2 configs
SVN-Revision: 31750
2012-05-16 10:44:52 +00:00
Gabor Juhos
724fd5e657 x86: sync 2.6.39 configs
SVN-Revision: 31749
2012-05-16 10:44:49 +00:00
Gabor Juhos
39994008cb linux: move certain disabled symbols to the generic configs
* CONFIG_ARCH_DMA_ADDR_T_64BIT
  * CONFIG_ARCH_HAS_ILOG2_U32
  * CONFIG_ARCH_HAS_ILOG2_U64
  * CONFIG_ARCH_PHYS_ADDR_T_64BIT
  * CONFIG_ARCH_SUPPORTS_MSI
  * CONFIG_GENERIC_CPU_DEVICES
  * CONFIG_HWMON_DEBUG_CHIP
  * CONFIG_I2C_PXA_PCI
  * CONFIG_LEDS_GPIO
  * CONFIG_MINIX_FS_NATIVE_ENDIAN
  * CONFIG_MLX4_CORE
  * CONFIG_POWER_SUPPLY
  * CONFIG_POWER_SUPPLY_DEBUG
  * CONFIG_QUOTACTL
  * CONFIG_SDIO_UART
  * CONFIG_SENSORS_K10TEMP
  * CONFIG_SENSORS_SCH56XX_COMMON
  * CONFIG_SENSORS_VIA_CPUTEMP
  * CONFIG_SERIO_AMBAKMI
  * CONFIG_SERIO_I8042
  * CONFIG_SERIO_LIBPS2
  * CONFIG_SERIO_PCIPS2
  * CONFIG_SERIO_RAW
  * CONFIG_SERIO_SERPORT
  * CONFIG_SPI_BITBANG
  * CONFIG_SPI_GPIO

SVN-Revision: 31737
2012-05-15 10:58:52 +00:00
Gabor Juhos
b472e5d12e kernel: update linux 3.3 to 3.3.6
SVN-Revision: 31709
2012-05-14 09:18:32 +00:00
Gabor Juhos
34018a630f kernel: update linux 3.3 to 3.3.5
SVN-Revision: 31645
2012-05-07 20:11:43 +00:00
Gabor Juhos
cbfce53831 kernel: update linux 3.3 to 3.3.4
SVN-Revision: 31541
2012-04-30 08:38:11 +00:00
Jonas Gorski
8fd383ae2e kernel: update linux 3.3 to 3.3.3
SVN-Revision: 31460
2012-04-24 09:25:38 +00:00
Jonas Gorski
22b4e6b882 kernel: update linux 3.2 to 3.2.16
SVN-Revision: 31459
2012-04-24 09:25:35 +00:00
Gabor Juhos
4b6833b176 x86: restore config-default, it is needed for 2.6.39
Reported-by: Thomas Heil <heil@terminal-consulting.de>

SVN-Revision: 31452
2012-04-23 16:56:08 +00:00
Gabor Juhos
f63d216467 x86: remove 2.6.32 support
SVN-Revision: 31415
2012-04-21 16:17:48 +00:00
Jonas Gorski
d0bfc67e2e kernel: x86: also update subtarget kernel versions
SVN-Revision: 31338
2012-04-17 21:01:43 +00:00
Jo-Philipp Wich
a0f0213462 bump to Linux v3.3.1
SVN-Revision: 31314
2012-04-16 15:04:47 +00:00
Jo-Philipp Wich
4b230e19fc PATCH: Disable console terminal in Grub for alix2 target
The alix2 target has the VGA console for grub enabled by default. This
prevents the grub menu from appearing on bootup. It is disabled by
default for the other embedded x86 platforms. This patch corrects that
behavior for the alix2 target.

Signed-off-by: Adam Gensler <openwrt@kristenandadam.net>

SVN-Revision: 31270
2012-04-12 23:30:27 +00:00
Jo-Philipp Wich
fcfdbd4961 add missing Kernel symbol spotted by buildbot
SVN-Revision: 31232
2012-04-10 10:09:27 +00:00
Jonas Gorski
16b4cbcdd6 kernel: update linux 3.2 to 3.2.14
SVN-Revision: 31222
2012-04-09 14:48:51 +00:00
Florian Fainelli
60e195d399 geos: add 'tc' and kmod-sched for bonding
The Geos2 includes 2 ADSL+ interfaces, and as such it needs to have the TEQL scheduler for bonding.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 31094
2012-03-27 17:47:37 +00:00
Jens Muecke
1d2b19c4bf Disable keyboard for x86 default config - revoke patch 30966
This was already fixed by commit 30309 and is part of generic x86 target.

SVN-Revision: 31052
2012-03-21 19:10:02 +00:00
Jo-Philipp Wich
884f964e62 alix2: add require crypto kmods (#10410)
SVN-Revision: 30980
2012-03-18 18:56:02 +00:00
Jens Muecke
deac1c16a1 Enable keyboard for x86
This is required for qemu like descripted in
here http://wiki.openwrt.org/doc/howto/qemu

SVN-Revision: 30966
2012-03-17 21:32:08 +00:00
Jo-Philipp Wich
bafdae9233 enable RTC_CLASS for Linux 3.2 and 3.3
SVN-Revision: 30717
2012-02-25 13:06:26 +00:00
Jo-Philipp Wich
74db55a982 config: deprecated symbol CONFIG_LEDS_GPIO_PLATFORM
CONFIG_LEDS_GPIO_PLATFORM went away a while ago.

http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=commit;h=2bcc7ed5b83b0a59c6976476e8788675038fb11b

Also, most platforms comment out CONFIG_LEDS_GPIO but not x86 for some reason.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 30708
2012-02-24 10:35:20 +00:00
Vasilis Tsiligiannis
eed8e2a4fd Disable by default padding of images
SVN-Revision: 30590
2012-02-16 17:54:07 +00:00
Vasilis Tsiligiannis
8676e49d9d Allow gzipping of squashfs images with padded jffs2 partition
SVN-Revision: 30589
2012-02-16 17:54:04 +00:00
Vasilis Tsiligiannis
ab09db09fc GZip only ext4 and padded images
SVN-Revision: 30588
2012-02-16 17:54:01 +00:00
Vasilis Tsiligiannis
b4f51343c6 Make gzipping of images configurable via menuconfig
SVN-Revision: 30587
2012-02-16 17:53:57 +00:00
Jo-Philipp Wich
f35c4a3266 8139cp: backport patches to make driver stable again
List of patches that Jo-Philipp groveled out of git.

Redux: defuzzed.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 30366
2012-02-07 21:56:51 +00:00
Vasilis Tsiligiannis
834be6c1fe alix2, geos: Adjust CFLAGS
Clone of CFLAGS change from r30013 into Geos and Alix platforms.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 30353
2012-02-07 13:00:47 +00:00
Vasilis Tsiligiannis
42ec97097e generic: Enable HPET, HID and AT keyboard support
SVN-Revision: 30309
2012-02-05 17:56:04 +00:00
Vasilis Tsiligiannis
b5ff8b85d6 generic: Add missing and remove unused config symbols
SVN-Revision: 30133
2012-02-04 20:45:17 +00:00
Jonas Gorski
d6afe712ab x86: make alix platform patch apply to 3.3
Based on a patch from Philip Prindeville.

While at it, also refresh the patches.

SVN-Revision: 30025
2012-02-03 20:17:00 +00:00
Jo-Philipp Wich
c433bfb571 disable additional PATA drivers in global 3.2 and 3.3 config, remove redundant symbols from alix2 config
SVN-Revision: 30024
2012-02-03 19:47:55 +00:00
Jo-Philipp Wich
40867f1b68 x86: trivial -- add missing CONFIG_GEOS symbol to top-level So that builds don't stall in x86 prompting for this symbol. [From Philip Prindeville, via http://patchwork.openwrt.org/patch/1828/]
SVN-Revision: 30023
2012-02-03 19:21:41 +00:00
Jo-Philipp Wich
79a3fdb9da geos: backport driver from linux-next to 3.2 and 3.3 The Geos driver is in linux-next and will be out in 3.4. It builds fine against 3.2.2 and 3.3-rc2. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
SVN-Revision: 30022
2012-02-03 18:16:27 +00:00
Jo-Philipp Wich
25d605ab0e net5501: backport drivers from linux-next Backport net5501 platform driver from 3.4. Remove vestiges of old (pre-2.6.30) leds-net5501.c driver. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
SVN-Revision: 30021
2012-02-03 18:14:02 +00:00
Jo-Philipp Wich
7a36f3d2ff x86: move additional oddball PATA drivers These should only be enabled in the generic image, as they bloat all of the other targets. Also add symbols for NET5501, ALIX, and GEOS which were added backported to 3.2 and 3.3. Restore PC speaker to Geos target. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
SVN-Revision: 30019
2012-02-03 18:02:57 +00:00
Jo-Philipp Wich
d13c3cd073 net5501: adjust CFLAGS and package selection (#10893) This patches the CFLAGS for Geode LX CPUs for 4.3 and new GGC versions. This creates more compatible code and allowed me to boot my system first time with no troubles. Also, the missing kmod is added in.
SVN-Revision: 30013
2012-02-03 14:19:29 +00:00
Jonas Gorski
f99bf6517c x86: add 3.3 generic symbols
Copy x86/config-3.2 to x86/config-3.3 and add additional symbols (for 3.3-rc2).

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 30002
2012-02-02 21:01:59 +00:00
Jo-Philipp Wich
b6be49429b alix2: backport platform driver updates from linux-next Add patches to x86/patches-3.2 and x86/patches-3.3 (update will appear in 3.4). [Patch from Philipp Prindeville, via http://patchwork.openwrt.org/patch/1817/]
SVN-Revision: 30001
2012-02-02 19:26:32 +00:00
Jo-Philipp Wich
7a9e4ffe8e alix2, geos, net5501: remove kmod-ledtrig-netfilter, its not used by any standard system facility
SVN-Revision: 30000
2012-02-02 19:11:52 +00:00
Jo-Philipp Wich
bf8bb9b661 alix2, goes, net5501: clean up default packages Remove packages which are dependencies of other packages Remove packages which are part of the default package list Remove DSL specific packages from net5501 Remove bridge package, we use the busybox applet Replace hostapd with wpad
SVN-Revision: 29999
2012-02-02 19:06:22 +00:00
Jo-Philipp Wich
047ba1e12e alix2, net5501: bump both subtargets to Linux 3.2.2 to align with the rest
SVN-Revision: 29998
2012-02-02 19:00:40 +00:00
Jo-Philipp Wich
1ae5715f2e geos: add missing files from previous commit
SVN-Revision: 29997
2012-02-02 18:59:51 +00:00
Jo-Philipp Wich
a1258ccaba geos: backport Geos driver from linux-next Backport of linux-next driver. Driver adds support for LEDS and S/W button. Add hotplug script for button actions. Add Openwrt system config for LEDS triggers. Add updated kernel .config for 3.2 symbols. [Patch from Philipp Prindeville, via http://patchwork.openwrt.org/patch/1816/]
SVN-Revision: 29996
2012-02-02 18:58:20 +00:00
Jo-Philipp Wich
415a375eaa geos: cleanup GPIO driver name In 3.1, the old drivers/char/ entry for the CS5535 GPIO driver went obsolete. Make Geos use a recent kernel and remove this ambiguity. [Patch from Philipp Prindeville, via http://patchwork.openwrt.org/patch/1815/]
SVN-Revision: 29995
2012-02-02 18:44:35 +00:00
Jo-Philipp Wich
5523eca4e5 net5501: correct net5501 h/w configuration Bump to version 3.2. Simplify and correct kernel config (based on x86/config-3.2). Designate eth0 as wan interface, and bridge eth1/eth2/eth3. Add heartbeat LED trigger. Use correct CS5535 GPIO driver. Use correct USB drivers (OHCI not UHCI). Add MSR and HW clock support. Add GPIO mask definition. Add correct SATA drivers. Add LED triggers. [Patch from Philipp Prindeville, via http://patchwork.openwrt.org/patch/1802/]
SVN-Revision: 29994
2012-02-02 18:41:10 +00:00
Jo-Philipp Wich
3310df6b52 alix2: correct h/w configuration Bump to version 3.2. Simplify and correct kernel config (based on x86/config-3.2). Drop obsolete CS5535 GPIO driver.
[Patch from Philipp Prindeville, via http://patchwork.openwrt.org/patch/1804/]

SVN-Revision: 29981
2012-02-01 15:31:23 +00:00
Jo-Philipp Wich
55b5e15bff create a config-3.2 for upcoming changes, rebase config-default to 2.6.39
SVN-Revision: 29953
2012-01-30 02:13:37 +00:00
Jo-Philipp Wich
2fc3fe1d09 Make the grub timeout configurable on x86 targets
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>

SVN-Revision: 29786
2012-01-19 01:14:45 +00:00
Jo-Philipp Wich
095f7f2da3 x86/config-3.2: add linux-3.2 symbols for x86
The following symbols are missing for x86, in sorted order.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 29783
2012-01-19 00:31:39 +00:00
Jo-Philipp Wich
be49daffc8 base-files, target: assign name to system timeserver section, makes it easier to set servers on the cli
SVN-Revision: 28933
2011-11-10 12:16:41 +00:00
Jo-Philipp Wich
d6f02b62d4 add timeserver config to target specific system configs as well
SVN-Revision: 28750
2011-11-04 12:53:35 +00:00
Felix Fietkau
b17bfe4f68 x86: disable crashlog, ioremap of RAM does not work properly here
SVN-Revision: 28599
2011-10-26 11:49:25 +00:00
Nicolas Thill
b0d9bccafc x86: allow VDI & VMDK images for all subtargets (closes: #10255)
SVN-Revision: 28518
2011-10-22 13:09:15 +00:00
Daniel Dickinson
c0a625ffbf Add patch for linux-3.0 as well.
Fix typo from previous submission with input-keys-polled.
Philip Prindeville - 2011-10-03 01:44:55

SVN-Revision: 28356
2011-10-03 03:09:20 +00:00
Daniel Dickinson
7e372b6dcf New x86 platform specific symbol needed for 3.1-rc3. 2011-10-03 03:06:29 +00:00
Daniel Dickinson
541aa8e38e A lot of these options get set automatically when Geode is selected.
Don't make the config more complicated than it needs to be.
Philip Prindeville - 2011-08-29 03:15:27

SVN-Revision: 28353
2011-10-03 03:02:42 +00:00
Jo-Philipp Wich
ba46c7b3c6 Xen DomU: make sure kernel is gzip compressed, pygrub cannot handle xz
SVN-Revision: 28197
2011-09-08 22:18:26 +00:00
Florian Fainelli
cbd28ad0ec bump to 2.6.39.4
Since linux gets developed on x86 more than all other hardware,
hardly makes sense to have our default x86 version be trailing
by over a year.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 28082
2011-08-25 09:35:51 +00:00
Florian Fainelli
d2652dee9d update alix2 platform driver
Add support for Ed Wildgoose's alix platform driver plus my
enhancement to add GPIO soft button support.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 28081
2011-08-25 09:35:45 +00:00
Daniel Dickinson
7ef004a144 Add packages that will be relant as "There's a new Alix platform driver hitting linux-next upstream. Get ready for it in 2.6.39.4 and 3.0.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>"

SVN-Revision: 27929
2011-08-08 02:33:18 +00:00
Felix Fietkau
4da138d899 x86/alix2: include WAN interface by default
Include WAN interface by default, instead of putting both ports in the LAN bridge.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 27787
2011-07-26 16:37:48 +00:00
Felix Fietkau
41db64f8e0 x86/alix2: fix typo in target makefile
Cut and paste cruft from borrowing from Geos platform.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 27786
2011-07-26 16:37:44 +00:00
Hauke Mehrtens
80956276a7 x86: add missing config symbols
This adds some config symbols for kernel 3.0.

Thank you realopty for the patch.

This is from #9719.

SVN-Revision: 27775
2011-07-25 21:21:01 +00:00
Imre Kaloz
f0f10fa599 add missing symbols for generic and x86 on 3.0, based on Philip Prindeville's patch
SVN-Revision: 27762
2011-07-24 22:04:08 +00:00
Felix Fietkau
b5e3f6cd81 x86: 2.6.39 requires additional symbol
Sysfs support for DMI BIOS was added in 2.6.39.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 27749
2011-07-24 09:41:07 +00:00
Felix Fietkau
6d3bddb056 geos: include pppstats and pppdump in default packaging
As the Geos box includes an ADSL modem that's targeted towards PPPoE, PPPoA, and bridged utilization, including these useful tools allows for easier configuration and troubleshooting.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 27743
2011-07-24 08:41:58 +00:00
John Crispin
2975f0aaf1 alix2: add/subtract features as needed
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 27411
2011-07-03 17:39:24 +00:00
Daniel Dickinson
88dcf8629d The Geode CS5535 and CS5536 companion chips are backward compatible with the SCx200 I2C drivers.
Include this on Geos.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 27368
2011-07-03 02:59:00 +00:00
Jo-Philipp Wich
2c6bd71767 remove remaining uci-defaults
SVN-Revision: 27291
2011-06-27 01:42:31 +00:00
Florian Fainelli
9f63b7326f geos: deprecate uci-defaults files
Signed-off-by: Philip Prindeville <philipp_subx@redfish-solutions.com>

SVN-Revision: 27287
2011-06-25 22:05:10 +00:00
Florian Fainelli
1f6047496e alix2: add config files for bridging
Signed-off-by: Philip Prindeville <philipp_subx@redfish-solutions.com>

SVN-Revision: 27286
2011-06-25 22:05:05 +00:00
Jo-Philipp Wich
70fb318a90 Restrict Soekris specific base-files handling to Soekris profiles, based on patch by Philip Prindeville <philipp@redfish-solutions.com>
SVN-Revision: 27241
2011-06-19 23:05:21 +00:00
Felix Fietkau
9567b93e5c x86: add additional companion chip drivers to alix2 and geos
Add the MFGPT high precision timers, and integration into the schedule (clock events).

Use OHCI, not UHCI usb module.

Remove VIA SATA driver from Alix2... that was accidentally cloned from net5501 platform.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 27038
2011-05-31 16:57:05 +00:00
Felix Fietkau
68af223efe x86: remove pata-amd driver from generic x86 images, add addition cs553x modules
The pata-cs5535/pata-cs5536 driver is actually fairly rare: it only gets used on embedded platforms. Therefore, we remove it from the generic x86 configuration.

Also, add definitions for other useful geode modules (high-res timers, MFGPT timers, etc).

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 27037
2011-05-31 16:57:01 +00:00
Daniel Dickinson
f2c86a3835 Simple typo for kmod- prefix in alix2 target makefile.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 26945
2011-05-19 04:29:40 +00:00
John Crispin
dfc19a34b4 * adds support for Artec Thincan
Signed-of-By: Lauri Võsandi <lauri.vosandi@gmail.com>

SVN-Revision: 26919
2011-05-17 10:35:14 +00:00
Daniel Dickinson
09e0d10010 Removed Alix.mk profile which was accidently left as an empty file applying the patch during r26879 and r26880.
SVN-Revision: 26882
2011-05-13 07:23:11 +00:00
Daniel Dickinson
8d66bf7e72 Add missed files from previous commit: This patch provides an image suitable for the alix2*, alix3, and alix6 headless (non-VGA equipped) SBC's.
Note that the Alix6 uses GPIO 27 to disable wireless transmit (W_DIS#), whereas on all other versions this is used to actuate the speaker.

GPIO 1 : SIM select (Alix6)
GPIO 6 : LED1
GPIO 25 : LED2
GPIO 27 : LED3 or RFKILL (Alix6)

GPIO 24 : Soft switch 1

No kernel version bump.  Added i2c-scx200-acb for lm-sensors support.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 26880
2011-05-13 06:08:49 +00:00
Daniel Dickinson
937362f270 This patch provides an image suitable for the alix2*, alix3, and alix6 headless (non-VGA equipped) SBC's.
Note that the Alix6 uses GPIO 27 to disable wireless transmit (W_DIS#), whereas on all other versions this is used to actuate the speaker.

GPIO 1 : SIM select (Alix6)
GPIO 6 : LED1
GPIO 25 : LED2
GPIO 27 : LED3 or RFKILL (Alix6)

GPIO 24 : Soft switch 1

No kernel version bump.  Added i2c-scx200-acb for lm-sensors support.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 26879
2011-05-13 06:06:42 +00:00
Jo-Philipp Wich
ae5435adc9 geos: remove unneeded modules The via-sata and gpio-nsc modules are both unneeded on the Geos platform.
SVN-Revision: 26811
2011-05-03 21:18:12 +00:00
Felix Fietkau
ae51f1972f x86: remove 2.6.35 patches
SVN-Revision: 26710
2011-04-17 18:39:50 +00:00
Daniel Dickinson
ff1bc5c29d x86: missing kernel symbols
Please include these two missing kernel CONFIG_ symbols.

SVN-Revision: 26679
2011-04-15 04:56:49 +00:00
Daniel Dickinson
4021469e4a geos: Add PC speaker to kernel definitions
Add the PC speaker back to the Geos platform.

Add DMI support in BIOS.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 26678
2011-04-15 04:51:05 +00:00
Jo-Philipp Wich
76bfcee5ea gzip jffs2 images Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
SVN-Revision: 26625
2011-04-12 20:48:47 +00:00
Jo-Philipp Wich
d1f053d7ef Enable padding of jffs2 images to user specified filesystem size Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
SVN-Revision: 26624
2011-04-12 20:46:34 +00:00
Jo-Philipp Wich
1340b0b98e Bump kernel version to 2.6.37.6
SVN-Revision: 26525
2011-04-07 21:54:29 +00:00
Felix Fietkau
e00dcbc593 x86/geos: redux of cs5535 version
The previous technique didn't work with "make defconfig" correctly.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 26458
2011-04-03 23:30:26 +00:00
Daniel Dickinson
eb502bf450 We $(PLATFORM_SUBDIR)/target.mk gets included, include/kernel-version.mk hasn't yet been included... therefore KERNEL_PATCHVER hasn't yet been defined.
Ergo, we need to use a deferred definition of GEOS_GPIO (and can't use ifeq/endif).

Signed-off-by: Philip Prindeville <philipp@openwrt.org

SVN-Revision: 26397
2011-04-02 02:02:24 +00:00
Florian Fainelli
ad9945105b geos: support cpu MSR register and flashrom for coreboot upgrades
The early versions of the platform shipped with coreboot 3.0, which had some issues rebooting correctly the first time.

Allow the user to upgrade his BIOS from Linux.

Signed-of-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 26344
2011-03-28 21:31:02 +00:00
Travis Kemen
99c3236182 The Geos target (and probably others, like net5501) need to grab the new cs5535 gpio driver.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 26330
2011-03-28 01:18:58 +00:00
Imre Kaloz
b8430e7427 update to 2.6.32.33 and 2.6.37.4
SVN-Revision: 26226
2011-03-18 13:25:32 +00:00
Hauke Mehrtens
b78210955c kernel: update to kernel version 2.6.32.32
SVN-Revision: 26124
2011-03-13 17:12:20 +00:00
Florian Fainelli
29fd37780b switch to newer CS5535 GPIO driver, patch from Philip Prindeville
SVN-Revision: 25631
2011-02-20 19:59:29 +00:00
Florian Fainelli
8d7ca65dab add two solos-releated patches from Philip Prindeville
SVN-Revision: 25630
2011-02-20 19:59:25 +00:00
Florian Fainelli
d3c2b87213 update to 2.6.32.29
SVN-Revision: 25583
2011-02-19 12:44:23 +00:00
Jo-Philipp Wich
49057274ff geos: preconfig fix
SVN-Revision: 25255
2011-01-30 21:07:39 +00:00
Felix Fietkau
5571acdbd0 x86/soekris: Add defconfig for soekris net4801 and net4826
Add default config file for net4801 and 4826 and initial script
to copy config file like it is done for other platforms.

Patch from: kentarou matsuyama <matsuyama@thinktube.com>

SVN-Revision: 25103
2011-01-26 11:33:46 +00:00
Felix Fietkau
3d9d5cee8a x86/soekris: Add script to detect soekris model
Add script to detect soekris board of net4801 and net4826.

Patch from: kentarou matsuyama <matsuyama@thinktube.com>

SVN-Revision: 25102
2011-01-26 11:33:42 +00:00
Imre Kaloz
2821101c92 platform specific patches don't belong here - take #2
SVN-Revision: 25085
2011-01-24 12:11:25 +00:00
John Crispin
275c33c6f8 * Make sure that Geos baud-rate defaults correctly Changeset 23414 somehow got reordered. The unconditional default trumps later settings.
contributed by Philip Prindeville

SVN-Revision: 25068
2011-01-22 23:10:51 +00:00
John Crispin
079ba5ac14 * adds sane default uci environment * adds sane default package selection
contributed by Philip Prindeville

SVN-Revision: 25065
2011-01-22 22:43:51 +00:00
Daniel Dickinson
cc7e8eabb1 Missing symbols for CONFIG_xxx .. Thanks Philip Prindeville
SVN-Revision: 25031
2011-01-17 05:49:02 +00:00
Hauke Mehrtens
b8ab3d34eb kernel: update kernel versions Update kernel 2.6.32.26 to 2.6.32.27 Update kenrel 2.6.36.1 to 2.6.36.2
SVN-Revision: 24486
2010-12-11 16:07:21 +00:00
Imre Kaloz
ead8ab8403 update to the latest stable kernels
SVN-Revision: 24136
2010-11-24 18:50:11 +00:00
Imre Kaloz
809943774d move x86 back to .32 for now
SVN-Revision: 24085
2010-11-22 12:58:31 +00:00
Imre Kaloz
4052849677 switch from ext2 to ext4 (w/o) journaling
SVN-Revision: 24084
2010-11-22 12:12:39 +00:00
Imre Kaloz
cca7066e73 additional Kconfig options for newer kernels
SVN-Revision: 24081
2010-11-22 11:34:45 +00:00
Imre Kaloz
5406906be1 we don't need microcode updates
SVN-Revision: 24080
2010-11-22 11:33:25 +00:00
Felix Fietkau
9bfd20a160 x86: add missing l1 cache shift change
SVN-Revision: 24072
2010-11-21 23:27:25 +00:00
Felix Fietkau
1a9b885c74 x86: turn off CONFIG_X86_GENERIC for geos and net5501
CONFIG_X86_GENERIC obscures CONFIG_MGEODE_LX, etc. and causes it to use wrong cache-line size.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 24071
2010-11-21 22:56:33 +00:00
Felix Fietkau
ba5296268c x86: refresh config, enable pci express support
SVN-Revision: 24026
2010-11-17 22:41:17 +00:00
Imre Kaloz
2f2442f323 x86 kernels target bzImage by default
SVN-Revision: 23926
2010-11-08 09:44:33 +00:00
Florian Fainelli
18fd669ef2 [x86 net5501: make kmod-leds-net5501 work
Fixes dependencies, and properly labels the module as GPL (thanks, Felix!).

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 23922
2010-11-08 07:31:40 +00:00
Florian Fainelli
b6e9f1dfe0 make targets provide their KERNELNAME
SVN-Revision: 23919
2010-11-08 07:31:25 +00:00
Florian Fainelli
60c6d33e00 net5501: Add features to net5501 and remove HID support (unneeded)
Since the net5501 doesn't have a VGA port, it doesn't need HID support either --
 all console access will be over a serial port.

Also add FEATURES to it as well.

Signed-of-by: Philip Prindeville <philip@redfish-solutions.com>

SVN-Revision: 23916
2010-11-07 20:37:40 +00:00
Imre Kaloz
0a5da348d1 update kernels to 2.6.32.25 and 2.6.35.8
SVN-Revision: 23851
2010-11-04 09:01:08 +00:00
Florian Fainelli
b013e4eec4 add kmod-leds-net5501
Signed-off-by: Philip Prindeville <philipp_subx@redfish-solutions.com>

SVN-Revision: 23729
2010-10-30 22:35:59 +00:00
Florian Fainelli
eace922392 resync config-default, enable gpio support
SVN-Revision: 23727
2010-10-30 22:35:50 +00:00
Florian Fainelli
88eadf541f add required symbols to allow building of 2.6.35.7
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 23594
2010-10-23 18:56:19 +00:00
Florian Fainelli
a6873b3095 Use -pipe for net5501 and geos CFLAGS, same as all of the other platforms
Makes the builds run slightly faster on multicores.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 23495
2010-10-17 12:42:06 +00:00
Alexandros C. Couloumbis
e37cba7e95 target/linux: fix Geos baudrate. (thank you Philip Prindeville)
SVN-Revision: 23414
2010-10-12 15:27:34 +00:00
Jo-Philipp Wich
2bda5979ab Geos -- new x86 subtarget definition This defines the Geos platform from Traverse Technologies in AUS.
This is a Geode LX800 with 512MB of DDR400 memory, 2 8139CP interfaces, 2 Solos ADSL2+ interfaces, USB, serial console, CF slot, and miniPCI slot.

I'll add support for the LEDs separately.

Signed-off-by: Philip A. Prindeville

SVN-Revision: 23390
2010-10-10 22:48:33 +00:00
Imre Kaloz
5f9a6a5431 upgrade kernel versions to the latest stable ones
SVN-Revision: 23219
2010-10-04 10:40:41 +00:00
Felix Fietkau
19723d09c2 x86: turn on optimizations for net5501 (patch by Philip A. Prindeville)
SVN-Revision: 23104
2010-09-20 22:14:07 +00:00
Jo-Philipp Wich
7ec18378a7 add kvm_guest to subtarget list
SVN-Revision: 23056
2010-09-13 17:00:37 +00:00
Jo-Philipp Wich
7d045509fd adjust image defaults for KVM
SVN-Revision: 22950
2010-09-06 02:31:37 +00:00
Jo-Philipp Wich
8ce034b36a x86: add kvm_guest subtarget Add a KVM guest subtarget to the x86 target. Since VirtIO is the preferred I/O virtualization platform for kvm, this target expects it's root device to be /dev/vda.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 22944
2010-09-05 23:18:51 +00:00
Florian Fainelli
b1becffa5b update to 2.6.32.20
SVN-Revision: 22766
2010-08-22 17:07:37 +00:00
Andy Boyett
0f5d0f69ab image: use internal qemu-img for vmdk and vdi images drop host dependencies on qemu-utils and VirtualBox
SVN-Revision: 22553
2010-08-09 04:22:39 +00:00
Jo-Philipp Wich
947519fae0 add missing symbols for 2.6.35
SVN-Revision: 22503
2010-08-06 01:33:23 +00:00
Imre Kaloz
ca8f45b142 update kernel versions
SVN-Revision: 22289
2010-07-19 11:34:03 +00:00
Felix Fietkau
816a9b30f6 x86: build fully functional images on Mac OS X, now that grub is fixed
SVN-Revision: 21609
2010-05-28 19:48:21 +00:00
Nicolas Thill
e74e289fa8 update linux kernel to 2.6.32.14
SVN-Revision: 21583
2010-05-27 18:09:09 +00:00
Nicolas Thill
46e2eea1ef target/linux: refresh 2.6.32 patches
SVN-Revision: 21566
2010-05-24 20:35:46 +00:00
Hauke Mehrtens
b18a1d217b kernel: update kernel to version 2.6.32.13 and 2.6.33.4
SVN-Revision: 21540
2010-05-23 13:16:51 +00:00
Nicolas Thill
2c82cf966c image/x86: fix typo when building on Mac OS X (closes: #7303)
SVN-Revision: 21401
2010-05-08 12:46:25 +00:00
Nicolas Thill
d0773b2356 target/x86: cleanup image config options
SVN-Revision: 21365
2010-05-05 02:11:15 +00:00
Nicolas Thill
482ee200cb target/x86: use common config items for options shared between generic and olpc targets
SVN-Revision: 21364
2010-05-05 02:07:38 +00:00
Nicolas Thill
5403c59f57 images: rename CONFIG_TARGET_ROOTFS_FSPART to CONFIG_TARGET_ROOTFS_PARTSIZE
SVN-Revision: 21362
2010-05-05 01:52:54 +00:00
Nicolas Thill
3bca4b2094 package/grub: build a host grub and a target grub (#7269) - use the host grub binary for grub install, but with target stage files - disable SSP (-fno-stack-protector) & Compile Time Buffer Checks (-U_FORTIFY_SOURCE) if appropriate - create a target grub package
SVN-Revision: 21305
2010-05-02 17:32:25 +00:00
Nicolas Thill
a64f53f482 target/x86: add to changes missed from [21246] preventing .vdi & .vmdk image generation
SVN-Revision: 21277
2010-04-30 18:43:39 +00:00
Nicolas Thill
99d4eee466 target/x86: various image changes * add a -combined suffix for grub+kernel+rootfs images and -rootfs for root filesystem only images * change ext from .image to .img * fix perms on VirtualBox .vdi image * gzip ext2 rootfs image as well
SVN-Revision: 21246
2010-04-29 03:03:47 +00:00
Nicolas Thill
bd1fc43e6d target/x86: rearrange image Makefile, indent, reorder, simplify, change some ifeq/ifneq tests
SVN-Revision: 21245
2010-04-29 00:47:05 +00:00
Nicolas Thill
b6734d9753 target/x86: remove temporary files in image generation scripts
SVN-Revision: 21243
2010-04-29 00:41:22 +00:00
Nicolas Thill
224db523da replace old quote stripping with calls to qstrip macro
SVN-Revision: 21242
2010-04-29 00:32:44 +00:00
Nicolas Thill
b3b591c000 buildsystem: rename tgz/TGZ "feature" and matching options to targz/TARGZ
SVN-Revision: 21238
2010-04-28 14:47:43 +00:00
Alexandros C. Couloumbis
b595adb8e8 x86: prepare for kernels 2.6.33 & 2.6.34
SVN-Revision: 21196
2010-04-27 14:43:41 +00:00
Alexandros C. Couloumbis
fdac9ae836 sync to kernel 2.6.32.12
SVN-Revision: 21195
2010-04-27 14:30:08 +00:00
Nicolas Thill
37b02afe6a package/kernel: use common gpio- & wdt- prefixes for GPIO and watchdog module names
SVN-Revision: 21137
2010-04-24 14:08:49 +00:00
Jo-Philipp Wich
1b192e72c3 add missing kernel symbols (#7189)
SVN-Revision: 21010
2010-04-19 00:46:47 +00:00
Nicolas Thill
e2b57ecf5f define a shared IMG_PREFIX variable used as a basename for image files, it contains board & subtarget infos (if appropriate) allowing subtargets to share the same bin directory without overwriting each other's files
SVN-Revision: 20834
2010-04-12 23:15:56 +00:00
Florian Fainelli
15e8d2e0b7 add net5501 support
This patch brings up the net5501 platform.

Note that the x86/ target included support for all x86/ class
processors.  That's not technically correct.  This should be constrained
only to the "generic" subtarget.  Every x86-class target that isn't
generic should be able to select only the optimizations/capabilities
applicable to that architectural variant.

It's also assumed that all x86 processors have keyboard & mouse ports,
ISA, DMI, ACPI... the embedded ones typically don't.  Again, moving
that to the generic subtarget.

Fortunately, this was a fairly benign tweak.

The net5501 board includes the following logic:

Geode/LX processor
CS5535 super-I/O chip
PC87360 sensor chip
Via Rhine Ethernet controllers
Via Sata controllers
USB, LEDS, I2C

Signed-off-by: Philip Prindeville <philipp_subx@redfish-solutions.com>

SVN-Revision: 20794
2010-04-11 12:36:55 +00:00
Alexandros C. Couloumbis
33bcbab6a4 x86: generic: fix soekris support (closes #7081)
SVN-Revision: 20757
2010-04-09 11:31:19 +00:00
Nicolas Thill
1fc7da0306 sysupgrade: fix typo in platform_do_upgrade() on x86 (closes: #7068), thanks to acinonyx
SVN-Revision: 20703
2010-04-04 15:47:26 +00:00
Imre Kaloz
d3b9b93dd3 add a subtarget and drivers for the Intel Tolapai SoC
SVN-Revision: 20648
2010-04-01 12:05:27 +00:00
Florian Fainelli
e1a4f69cb5 sysupgrade: Get target device from kernel cmdline, patch from acinonyx
SVN-Revision: 20538
2010-03-28 11:55:07 +00:00
Jo-Philipp Wich
0cdaaa90fe Add OLPC kernel config (patch by Acinonyx)
SVN-Revision: 20517
2010-03-27 15:31:19 +00:00
Jo-Philipp Wich
b8df00afc6 Change default processor family to 486, refresh config (patch by Acinonyx)
SVN-Revision: 20516
2010-03-27 15:30:46 +00:00
Jo-Philipp Wich
80cc1b0d2e Remove support for older kernels (patch by Acinonyx)
SVN-Revision: 20515
2010-03-27 15:29:22 +00:00
Jo-Philipp Wich
817d27bcdc sysupgrade: Dump image to sda device instead of hda (patch by Acinonyx)
SVN-Revision: 20514
2010-03-27 15:28:17 +00:00
Gabor Juhos
e66a368bd1 kernel: update to 2.6.32.10
SVN-Revision: 20444
2010-03-26 10:45:25 +00:00
Jo-Philipp Wich
c63fd559fc base-files: remove redundant "Press " when writing enter failsafe message
SVN-Revision: 20393
2010-03-23 22:57:16 +00:00
Hauke Mehrtens
dfff03754d x86: do no overwrite CONFIG_SCSI_LOWLEVEL
CONFIG_SCSI_LOWLEVEL is needed for some packages.
Backport commit r19759 into kernel 2.6.30

SVN-Revision: 20340
2010-03-21 14:02:30 +00:00
Nicolas Thill
e1863691d9 do *not* enable CONFIG_PCI in generic config, but on targets where it makes sense instead (partially revert [18370])
SVN-Revision: 20136
2010-03-11 09:50:11 +00:00
Hauke Mehrtens
0c7b285613 kernel: update to kernel 2.6.32.9
SVN-Revision: 19890
2010-02-28 10:16:47 +00:00
Jo-Philipp Wich
02a47e971e change default kernel to 2.6.32.8, remove block2mtd patch until it is fixed
SVN-Revision: 19764
2010-02-20 03:22:17 +00:00
Jo-Philipp Wich
32a1e0c588 switch kernel compression from lzma to gzip and reorder symbols - fixes boot problems in VirtualBox
SVN-Revision: 19759
2010-02-19 18:25:23 +00:00
Jo-Philipp Wich
9ce3d38331 - clean up menu.lst template - make grub usage of vt0 selectable in menuconfig - choose appropriate default baudrate for soekris devices - fix generation of grub menu for iso images
SVN-Revision: 19681
2010-02-17 00:59:41 +00:00
Jo-Philipp Wich
98e41f341e add missing symbols to default config
SVN-Revision: 19631
2010-02-14 16:40:33 +00:00
Jo-Philipp Wich
1875c08dda revert accidentally committed changes in Xen config
SVN-Revision: 19627
2010-02-13 21:06:50 +00:00
Jo-Philipp Wich
501235fc51 merge 2.6.31 and 2.6.32 configs
SVN-Revision: 19626
2010-02-13 21:02:22 +00:00
Jo-Philipp Wich
81c56d1c52 move kernel config symbols from the Xen subtarget to the platform config
SVN-Revision: 19625
2010-02-13 20:15:05 +00:00
Jo-Philipp Wich
e268649a97 prepare kernel 2.6.32 support
SVN-Revision: 19617
2010-02-13 00:37:11 +00:00
Jo-Philipp Wich
a243108655 add preinit xenfs mount handler
SVN-Revision: 19616
2010-02-12 22:37:17 +00:00
Jo-Philipp Wich
e0fc8fb6aa make console port editable through menuconfig, gzip ext2 images, add suitable defaults for Xen
SVN-Revision: 19612
2010-02-12 19:04:12 +00:00
Jo-Philipp Wich
cde615a0b4 add Xen DomU subtarget
SVN-Revision: 19610
2010-02-12 19:01:10 +00:00
Imre Kaloz
825b37cc56 clean up handling of some kernel symbols
SVN-Revision: 19581
2010-02-11 09:33:16 +00:00
Jo-Philipp Wich
9feb2ed7c5 preinit: use grep -q where applicable
SVN-Revision: 19479
2010-02-01 00:33:34 +00:00
Felix Fietkau
b88fc11e2a preinit: Remove Ctrl-C prompt...impossible on /dev/console (patch by cshore)
SVN-Revision: 19367
2010-01-28 19:27:49 +00:00
Felix Fietkau
56bc02a305 add preinit modularization work by Daniel Dickinson (cshore)
SVN-Revision: 19331
2010-01-25 17:11:17 +00:00
Felix Fietkau
64016fb476 x86: fix software raid autodetection on boot (patch from #6548 by Pieter "Fate" Hollants)
SVN-Revision: 19261
2010-01-21 23:46:22 +00:00
Imre Kaloz
a827205280 update to latest kernel versions
SVN-Revision: 19224
2010-01-19 11:53:56 +00:00
Imre Kaloz
f8834b9c70 upgrade to latest kernels
SVN-Revision: 19087
2010-01-09 23:13:27 +00:00
Gabor Juhos
311c91775d kernel: update to 2.6.31.9 and 2.6.32.2, and refresh patches
SVN-Revision: 18982
2010-01-01 11:11:17 +00:00