Commit Graph

720 Commits (9601d94138de66e4fc9f55a08dfb348cdfcc3181)

Author SHA1 Message Date
Felix Fietkau e38fd1eced x86: disable a workaround for a buggy glibc version
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 83eef37400 x86/64: enable the fusion scsi driver
Is it used by VMware Fusion by default. This allows images to boot
without further config changes in VMware.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Cezary Jackiewicz 4235cd0d95 x86: add kernel module for AMD CS5535/CS5536 audio chipset
Add support for the integrated AC97 sound device on motherboards
with AMD CS5535/CS5536 chipsets.
Tested on Wyse Winterm S30.

Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>
8 years ago
Yousong Zhou 6f61d8511e base-files: export x86 platform upgrade functions to common.sh
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
8 years ago
Yousong Zhou fa37bdc05a x86: move sysupgrade.tgz only if it exists
To squash error messages at boot time

    mv: can't rename '/mnt/sysupgrade.tgz': No such file or directory

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
8 years ago
Stijn Tintel 301301da2b x86/64: enable AES-NI support in kernel
The kernel will detect if the host supports this, so we can just enable
it in the kernel config.

Tested on an APU2 with AES-NI support and a KVM VM on a Xeon E5520 host
without AES-NI support.

Throughput over an IPsec tunnel between these 2 hosts increased from
~63Mbps to ~140Mbps. Ciphers: AES_GCM_16_256/PRF_HMAC_SHA2_512/ECP_521.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
8 years ago
Sven Roederer 19059d84a4 linux: correct deps for x86-xen-domu target
depending packages have been moved to kernel-config
- kmod-xen-kbddev in 9fde361
- kmod-xen-fs, kmod-xen-evtchn, kmod-xen-netdev in 018807d

this will also fix imagebuilder

Signed-off-by: Sven Roederer <devel-sven@geroedel.de>
8 years ago
Tedaz 1831e61699 x86/64: enable Hyper-V support in the x86_64 kernel config
Enabled Hyper-V network interface card driver, display adapter driver,
storage driver, keyboard driver, mouse driver and Hyper-V utility and
EFI boot support in the kernel for subtarget x86/64.
Convert the img file to vhd by Ubuntu qemu-img, rather than by the buildroot's
built-in qemu-img.

Tested on Windows Server 2008 r2 and 2012 r2 Gen1 and Gen2 VMs.

Signed-off-by: Tedaz <tedaz99999@hotmail.com>
8 years ago
Alexandru Ardelean 81a2f9d6f8 target/linux/x86/image: add explicit prefix to grub-mkimage command
In the latest version of grub-mkimage, the prefix option is mandatory.
Not supplying it fails with:
```
Prefix not specified (use the -p option).
```

In grub-2.02-beta2 a DEFAULT_DIRECTORY was defined
in `include/grub/osdep/hostfile_unix.h` as:
```
 #if defined (__NetBSD__)
 /* NetBSD uses /boot for its boot block.  */
 # define DEFAULT_DIRECTORY  "/"GRUB_DIR_NAME
 #else
 # define DEFAULT_DIRECTORY  "/"GRUB_BOOT_DIR_NAME"/"GRUB_DIR_NAME
 #endif
```

Where:
* GRUB_BOOT_DIR_NAME == boot
* GRUB_DIR_NAME == grub

This was used if the -p option was omitted.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
8 years ago
Wilfried Klaebe 81e3c022e0 x86: fix GRUB_ROOT for Xen subtarget
Change grub's root device to xen/xvda,msdos1 for the x86_xen_domu
target so that it will boot without further changes.

Signed-off-by: Wilfried Klaebe <w+lede-project@chaos.in-kiel.de>
[Jo-Philipp Wich: fixed and rebased patch from FS#264, added subject]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years ago
Andreas Ziegler 40a16fec6a
x86-generic: add MMC support to boot off SD cards
MMC support has been added to x86-64 a while ago, there is no reason not
to support it in x86-generic as well.

Signed-off-by: Andreas Ziegler <github@andreas-ziegler.de>
[Matthias Schiffer: add commit message]
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
8 years ago
Andreas Ziegler cf8aa18040
x86: add PATA support to generic and 64 subtargets
PATA support has been removed from x86-generic without any note in LEDE
r538. Not including them makes the generated images incompatible with older
(and some newer) hardware without any significant gain.

Add it back, and also add the same drivers (as far as available) to x86-64.

Signed-off-by: Andreas Ziegler <github@andreas-ziegler.de>
[Matthias Schiffer: add back x86-generic, update commit message]
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
8 years ago
Matthias Schiffer fe6a3415e0
x86: refresh generic subtarget config
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
8 years ago
Yousong Zhou d1000f81a8 x86: 64: enable pci hotplug and acpipnp
This will allow dynamically adding/removing at least virtio-net pci
devices which are quite the norm in cloud environment with QEMU/KVM

    netdev_add bridge,id=wan2,br=br-wan,helper=/home/yousong/.usr/libexec/qemu-bridge-helper
    device_add virtio-net-pci,id=devwan2,netdev=wan2,mac=11:22:33:22:11:00

The config was formed by selecting target x86/64 first, then select
CONFIG_HOTPLUG_PCI and CONFIG_HOTPLUG_PCI_ACPI with

    make kernel_menuconfig CONFIG_TARGET=subtarget

The following text tries to explain how the current config was formed

 1. CONFIG_PCI_LABEL and CONFIG_ATA_PIIX were removed because they were
    already enabled in x86 platform config
 2. CONFIG_ATA_SFF was removed because it was enabled in generic config
 3. CONFIG_NLS was removed because it will be selected by CONFIG_PCI_LABEL

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
8 years ago
Mathias Kresin 92eaf27c62 use immediate set in target Makefiles
No functional change, it's just to have the same style everywhere. This
way I don't need to use any regex magic to extract all subtargets for
compile tests.

Signed-off-by: Mathias Kresin <dev@kresin.me>
8 years ago
Felix Fietkau ca356887ed x86: disable MTD support
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau be59b1718d x86: drop the use of block2mtd, use ext4/f2fs as overlay filesystem
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau c6eb09d5a3 x86: enable mkf2fs and e2fsprogs by default
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 580f24bc96 x86: enable f2fs and loopback device support in the kernel config
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 056ce2474d x86: enable fpu for all subtargets
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Lucian Cristian d3b21bb2bb x86: enable CPU frequency scaling
CPU frequency scaling enables the operating system to scale the CPU
frequency up or down in order to save power. CPU frequencies can be
scaled automatically depending on the system load, in response to ACPI
events, or manually by userspace programs.

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
8 years ago
Felix Fietkau eceb6b924a x86: remove obsolete reference to $(PROFILE)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Florian Klink 4221288db7 x86/generic: enable CONFIG_SATA_VIA
This enables support for VIA SATA.
8 years ago
Lucian Cristian 2ea76bdf04 x64: add legacy IDE, fix VirtualBox bug #84 and Fujitsu Futro S550-2
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
8 years ago
Felix Fietkau e892472b1e x86: enable kmod-igb on 64-bit by default
It is used on APU2 devices

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau d5ee23ee27 x86: stop relying on hexdump for image build signature
Use perl to generate random number instead.
See https://github.com/freifunk-gluon/gluon/issues/811

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 7eeb254cc4 treewide: replace nbd@openwrt.org with nbd@nbd.name
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Daniel Golle febc6cc5bf x86: lift generic x86-32 target
* build for pentium4 instead of i486
* enable PAE
* enable EFI support
* enable KVM guest and host support

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
8 years ago
Daniel Golle 6c2fc113f3 x86: reorganize x86_32 support
copy current 'generic' target to new 'legacy' target.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
8 years ago
Jo-Philipp Wich 699f7ecd15 x86: use sysfs DMI information to populate sysinfo
Use the DMI data available in sysfs to extract manufacturer and model info
and write it to /tmp/sysinfo/.

The data will be picked up by board_detect and can be used by e.g. LuCI to
display a more appropriate model description.

On an APU board the files will contain the following values:

    # cat /tmp/sysinfo/model
    PC Engines APU

    # cat /tmp/sysinfo/board_name
    pc-engines-apu

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years ago
Jo-Philipp Wich b8b23e0e64 x86: enable DMI and DMI_SYSFS
Enable support for DMI decoding in the kernel so that we can access
manufacturer and model information via sysfs.

Also remove redundant per-subtarget DMI overrides and preset a few
previously unset symbols popping up due to the now enabled DMI support.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years ago
Jo-Philipp Wich 1012701014 x86: generalize partition discovery for sysupgrade
Generalize the partition discovery in sysupgrade in order to fix sysupgrade
and config backup/recovery on MMC block devices which use a different naming
scheme compared to mtdblock or sd* devices.

The change also adds the find applet to the ramdisk utilities so that upgrade
code can rely on it.

The commit is based on the initial submission by Russell Senior at
http://patchwork.ozlabs.org/patch/625440/ .

Signed-off-by: Russell Senior <russell@personaltelco.net>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years ago
Russell Senior 0fd183c155 x86_64: enable mmc to support booting off sd
Improved support for PCEngines APU

Signed-off-by: Russell Senior <russell@personaltelco.net>
8 years ago
Felix Fietkau 98010ab489 kernel: remove ocf support, cryptodev-linux should be used instead
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 825ef34f15 x86: remove defunct etherboot image building code
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 900b4865b8 x86: remove obsolete Config.in file
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau cebc410d02 x86: remove rdc specific kernel patch
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 2e5f84fc10 x86: remove legacy script/makefile code for rdc devices
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau ca12fd431d x86: remove obsolete modules.mk
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 018807ded3 x86/xen_domu: enable xen drivers in the kernel config instead of packaging them as modules
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 303a241478 x86: enable grub at_keyboard support for x86_64
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 7d7fb75df5 x86: remove the kvm_guest subtarget
32-bit only hardware that supports kvm is very rare.
It's not worth keeping a separate subtarget for this.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 959bc143a0 x86/64: add more hardware RNG drivers, including for virtio
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau 167404ceb5 x86/64: enable virtualization support for spinlocks to improve kvm performance
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau bc0ea9c273 x86: remove maintainer override for x86_64
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau dee8986b95 x86: remove the ep80579 subtarget, it has been unmaintained for a long time
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Jo-Philipp Wich ec5680a73d x86: remove old references to kmod-acpi-button
The kmod-acpi-button functionality is included in the kernel where needed
and the corresponding kmod package has been deleted long ago, therfor drop
the remaining references now.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years ago
John Crispin dc92917409 image / basefiles: make console password configurable
Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
Signed-off-by: John Crispin <john@phrozen.org>
8 years ago
Jo-Philipp Wich e885286834 target: globally remove ARCH_PACKAGES overrides
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years ago
Jo-Philipp Wich 924fb794bd x86: search PARTUUID in any block device
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years ago
Jo-Philipp Wich 9f422eba7c x86: make sysupgrade work without partx
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years ago
John Crispin fa69553900 branding: add LEDE branding
Signed-off-by: John Crispin <blogic@openwrt.org>
8 years ago
Hauke Mehrtens 8a7b28071f x86: fix platform_export_bootpart() for Xen virtual disks
Virtual disk devices in a Xen virtual machine (DomU) can be /dev/xvda,
/dev/xvdb and so on with partitions like /dev/xdva1. Devices named like
this where not considered before. This resulted in a non working
sysupgrade, because the boot partition could not be found.

Signed-off-by: Alexander Dahl <alex@netz39.de>
Suggested-by: Matthias Schiffer <mschiffer@universe-factory.net>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 49190
8 years ago
Hauke Mehrtens 683c046673 kernel: add missing config options
The buildbots complained about these config options being missing for arm64:
CONFIG_DUMMY_CONSOLE_COLUMNS=80
CONFIG_DUMMY_CONSOLE_ROWS=25

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

SVN-Revision: 48929
8 years ago
Jo-Philipp Wich 4aeeead303 x86: preserve partition table on sysupgrade
With this patch sysupgrade will write directly to the partitions
instead of to the main disk.  The UUID is copied from the image
to the MBR as well.  This prevents the mbr from being completely
overwritten and losing the partition table.  The -p option has
been added to maintain the original behavior and overwite the
entire disk with the new image.  Tests have been added to ensure
that the image partitions match up with the active partitions.

Signed-off-by: Rob Mosher <nyt-openwrt@countercultured.net>

SVN-Revision: 48682
8 years ago
Jo-Philipp Wich 6ec31a8487 x86: remove unrelated config override
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 48668
8 years ago
Felix Fietkau ad3220aa8b x86: remove redundant default network config
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48530
9 years ago
Hauke Mehrtens 495badf6d1 x86: add BACKLIGHT_APPLE configuration option
This closes #21713.

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

SVN-Revision: 48502
9 years ago
Hauke Mehrtens 1c7c997019 kernel: add some missing kernel config options
The built bots found these missing kernel configuration options.

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

SVN-Revision: 48477
9 years ago
Jo-Philipp Wich 1865710fc8 x86/64: add missing kernel symbol
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 48476
9 years ago
Felix Fietkau c28fb1f4fc x86_64: Add missing symbols
Update to kernel 4.4 missed some symbols, fix that.

SVN-Revision: 48453
9 years ago
Felix Fietkau 57690041fa kernel: clean up redundant SLUB/SLAB related defines for 4.4
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48443
9 years ago
Felix Fietkau c26dec971e x86: fix kernel crash on geode devices (#21667)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48428
9 years ago
Hauke Mehrtens ba3a749f9b kernel: refresh patches for kernel 4.4
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 48222
9 years ago
Felix Fietkau 2172d7dbbf x86: update to linux 4.4
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48216
9 years ago
Felix Fietkau fed29fa36b x86: remove obsolete patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48190
9 years ago
Felix Fietkau b34a86691f x86: remove the rdc subtarget, it was broken for ages and nobody cared
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48189
9 years ago
Felix Fietkau 23fbd97649 x86: add generic profiles to x86_64, kvm_guest and xen_domu
The imagebuilder requires a profile for every subtarget to work.

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

SVN-Revision: 47421
9 years ago
Hauke Mehrtens 55a912f43e kernel: update kernel 3.18 to version 3.18.23
Changelog:
 * https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.22
 * https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.23

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

SVN-Revision: 47334
9 years ago
Felix Fietkau 9cd525a7fa x86/generic: enable radeon drm driver
This enables modesetting for radeon based boards.

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 47305
9 years ago
Felix Fietkau 63f2b8afbf x86/generic: enable pata_atiixp driver
This enables booting from devices that use an ATI PATA controller for
the boot device, such as the embedded CF cards in Fujitsu-Siemens Futro
thin-clients.

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 47304
9 years ago
Felix Fietkau 05d6b87cfb x86/generic: refresh subtarget kernel config
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 47303
9 years ago
Felix Fietkau d6408aa9b4 x86/geode: enable DMI and Geos support (fixes #20512)
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

SVN-Revision: 46986
9 years ago
Felix Fietkau ef447c9a5f x86: fix Geode LX timekeeping (#20531)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46985
9 years ago
John Crispin 74bbc08651 x86: add missing symbol
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

SVN-Revision: 46973
9 years ago
Felix Fietkau 5b76e57dc2 kernel: remove kmod-crypto-aes, AES crypto support is always built into the kernel
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46483
9 years ago
John Crispin 4a1021de87 x86: add kmod-acpi-button and kmod-button-hotplug to default packages
Since r40909 openwrt can automatically shutdown when you press the
power button or try to shutdown a kvm virtual machine.
When booting a recent CC-rc2 or trunk image, it doesn't work,
as two kernel modules are missing.

Add these two kernel modules to the default packages, so users
don't need to install them manually.

Signed-off-by: Stefan Hellermann <stefan@the2masters.de>

SVN-Revision: 46366
9 years ago
John Crispin 096b3759a9 build: Prevent more gzip timestamps
To improve reproducibility, prevent the inclusion of timestamps
in the gzip header.

Signed-off-by: Reiner Herrmann <reiner@reiner-h.de>

SVN-Revision: 46361
9 years ago
Hauke Mehrtens e914c31d4c x86: Make virtualization guests built for pentium4 with SMP
Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>

SVN-Revision: 46314
9 years ago
John Crispin f8eaad100b x86/xen_domu: enable image generation
Add features ext4 targz to target x86/xen_domu in order to
generate images in defconfig.

This fixes #18074.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>

SVN-Revision: 46233
9 years ago
Jo-Philipp Wich 6f197501b7 x86/64: enable VirtIO block and console support
This is required to use x86/64 in KVM containers with VirtIO disks

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 46017
9 years ago
Jo-Philipp Wich ae1f0d3eb4 x86/64: add e1000e to the default packages
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 45814
9 years ago
Jonas Gorski 76d079204d kernel: update 3.18 to 3.18.14
Changelogs:

* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.12
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.13
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.14

Build tested on brcm63xx and ipq806x, runtested on brcm63xx.

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

SVN-Revision: 45711
9 years ago
Jo-Philipp Wich 0ee9504911 all: replace genext2fs with make_ext4fs
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 45517
9 years ago
Felix Fietkau a6d4d1e152 x86: set ARCH_PACKAGES for the x86_64 subtarget (fixes #19425)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45278
9 years ago
Imre Kaloz ebf1e2461a x86_64: add description, maintainership
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45138
9 years ago
Felix Fietkau e731ea23a8 x86: add myself as maintainer
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45116
9 years ago
Felix Fietkau 196fb76a4c x86: make x86_64 a subtarget instead of a standalone target
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45115
9 years ago
Felix Fietkau 09aad60610 x86: remove bogus bzImage copy that breaks initramfs+no-initramfs builds
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45114
9 years ago
Felix Fietkau 7427007193 x86: remove the olpc subtarget, it has been unmaintained for a long time
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45083
9 years ago
John Crispin 67c83a6595 x86: add missing symbol to xen_domu
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45016
9 years ago
Jo-Philipp Wich 02e2548b84 x86: use PARTUUID instead explicitly specifying the device by default
This changes the x86 image generation to match x86_64, using the PARTUUID for
the rootfs instead of explicitly configuring the device.

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

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

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

SVN-Revision: 44966
9 years ago
Felix Fietkau 768cf6821f x86: refresh kvm_guest kernel config
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44851
9 years ago
Felix Fietkau 6c42f140a0 x86: enable rtl8139 ethernet support for geode by default
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44849
9 years ago
Felix Fietkau 2777b525c6 geode: set target to Geode GX1 to support older chips
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44847
9 years ago
Felix Fietkau f2f8f6974b x86: refresh kernel patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44810
9 years ago
Felix Fietkau 9e0759ea26 x86: merge all geode based subtargets into one
Build all geode platform drivers into the kernel
Remove kmod-* packages for these drivers

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

SVN-Revision: 44809
9 years ago
Felix Fietkau 986b8baf9a x86: remove 3.14 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44805
9 years ago
Felix Fietkau 65a0244ff8 x86: refresh kernel config
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44759
9 years ago
Felix Fietkau c062741575 x86: update to kernel 3.18
copied target/linux/x86/config-3.14 and target/linux/x86/patches-3.14 to
3.18 equivalents and then tweaked until it built.

Tested on alix2, soekris net4826 and soekris net4521.

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

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

SVN-Revision: 44758
9 years ago
Felix Fietkau 578aa97f8c x86: disable rts/cts for serial console in grub - fixes net48xx boot issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44753
9 years ago
John Crispin f04a268a04 kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLED
Disable ARCH_NEEDS_CPU_IDLE_COUPLED by-default in generic config, since
only one platfrom (omap) needs them.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 44614
9 years ago
John Crispin fa097e5ae5 kernel: disbale HAMRADIO in generic config
HAMRADIO enabled in all generic configs, but no one platform directly
use related drivers/protocols. This symbol is only used for kmod-ax25
package modules. Furthermore, half of platforms explicitly disables
this symbol, what silently disables build of modules for kmod-ax25
package.

So disable HAMRADIO by-default in generic config, add it to kmod-ax25
package and remove it from platform specific configs.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 44613
9 years ago
John Crispin 6617845711 kernel: move MTD_SPLIT_SUPPORT to generic config
CONFIG_MTD_SPLIT_SUPPORT symbol default value is 'y' and many platform
specific configs explicitly enables it, while no one platform disables
this symbol. So place it in generic config and remove from platform
specific configs.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 44612
9 years ago
Felix Fietkau 362bc849bc x86: remove spurious delete of /etc/config/network
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44513
9 years ago
Luka Perkov f6a01dd3d1 x86: refresh kernel config
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 44321
9 years ago
Jo-Philipp Wich e972c95cf0 x86: declare missing kernel symbols
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 44316
9 years ago
John Crispin ec1ba18558 kernel: kmod-usb2-pci to Intel ixp4xx/Geode
Signed-off-by: Ted Hess <thess@kitschensync.net>

SVN-Revision: 44167
10 years ago
Felix Fietkau b382c585e4 x86: remove linux 3.3 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44111
10 years ago
Felix Fietkau 386f05f1e1 x86: mark the ep80579 subtarget as broken
It still uses the long obsolete 3.3 kernel version

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

SVN-Revision: 44107
10 years ago
Felix Fietkau 7cc5b6f9e9 all targets: remove all =m kernel config symbols
modules build during the kernel compile phase are ignored anyway,
all modules should be built using KernelPackage in
package/kernel/linux/modules/*
selecting the appropriate config symbols there rather than in
target/linux/*/config-*

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

SVN-Revision: 43842
10 years ago
Felix Fietkau 4b80e52575 x86: remove linux 3.10 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43636
10 years ago
Felix Fietkau 0f07e7c9a8 x86: update to linux 3.14
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43559
10 years ago
Felix Fietkau 363b166eb9 x86: rename */config-3.10 to */config-default
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43558
10 years ago
Luka Perkov 0817bb762f x86: add support for 3.14
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 43422
10 years ago
Felix Fietkau c288d2d6d9 kernel: makefiles: make use of new var KERNEL_PATCHVER
replace all occurences of LINUX_VERSION with the cleaner
approach. future kernel upgrades must mostly touch only
one file. the only platform left is netlogic, because it
uses a intermediate kernel 3.14.16

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

SVN-Revision: 43047
10 years ago
Felix Fietkau d2b08fb4ab x86: remove old soekris config hacks, install a more appropriate default /etc/config/network with lan+wan
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42888
10 years ago
Steven Barth c118e5edf4 network: Unbind DHCPv6 from underlying interfaces
This allows IPv6 to set up without IPv4 being up thus
IPv6-only or IPv6+DS-Lite working with the default config.

Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 42848
10 years ago
Hauke Mehrtens d56a44040d kernel: do not deactivate CONFIG_BLK_DEV
CONFIG_BLK_DEV does not activate any functionality, but many code, but
makes it possible to activate other options. Deactivating this breaks
the build of kmod-zram.

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

SVN-Revision: 42528
10 years ago
John Crispin ba63338d3f kernel: update to 3.10.49 Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41776
10 years ago
Felix Fietkau c718d0b10c x86: remove the arbitrary limitation of vmware/virtualbox images to ext4, select TARGET_IMAGES_PAD instead
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41763
10 years ago
John Crispin 0f76f8a16e target/linux/*: kmod-fs-ext{2,3} RIP
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41560
10 years ago
John Crispin 639682dfdb x86/kvm_guest: fix out of sync config-3.10
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41372
10 years ago
John Crispin 994e5ce2f9 kernel: update 3.10.36->3.10.44
205-fix-headers_install.patch is obseleted by upstream commit 3246a0352e3d58380b9386570f1db1faf7edf8a8

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

SVN-Revision: 41351
10 years ago
John Crispin d29fc40039 x86: Compile xen-pci-frontend as module
modified version of -> http://patchwork.openwrt.org/patch/5535/

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

SVN-Revision: 40947
10 years ago
John Crispin f933a741a9 target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGC
ARGC is a 'C-ism', but not known/valid in shell-syntax - insert the correct
var $# (=number of args) here. under normal conditions this had no impact,
but we should at least correct it. the error was observable like this:

root@box:~ [ -e "/etc/functions.sh" ] && . /etc/functions.sh
root@box:~ [ -e "/lib/functions.sh" ] && . /lib/functions.sh
root@box:~ . /lib/upgrade/platform.sh
root@box:~ . /lib/upgrade/common.sh
root@box:~ platform_check_image /tmp/myfirmware.bin
ash: bad number
root@box:~ echo $?
0

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

SVN-Revision: 40915
10 years ago
Felix Fietkau 59fc308945 x86: enable high res timers by default
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40697
10 years ago
Gabor Juhos f79b613934 x86/net5501: remove broken flag
According to Christophe, the kernel boots on the Soekris net5501
board.

Reported-by: Christophe Prevotaux <cprevotaux@nltinc.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40468
10 years ago
Gabor Juhos d2812cb036 kernel: update 3.10 to 3.10.36
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40467
10 years ago
Felix Fietkau f7e747baa9 x86: set default kernel version to 3.10
Place the previous selection (3.3.8) into the only subtarget that did
not override it to 3.10

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

SVN-Revision: 40454
10 years ago
Felix Fietkau c3cc517071 x86: remove linux 3.8 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40453
10 years ago
Felix Fietkau f02e3a2a4a x86: try harder to attach block2mtd to fix boot issues on devices with longer delays
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40444
10 years ago
Felix Fietkau 78a3f697a5 x86: xen_domu is functional, remove broken flag
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40363
10 years ago
Gabor Juhos 627baa28d3 kernel: update 3.10 to 3.10.34
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40291
10 years ago
Felix Fietkau a14437024c x86: fix sysupgrade
Function move_config should be called after or during preinit_mount_root
hook in do_mount_root function. At this state sysupgrade.tgz is not in its
place during that time when do_mount_root is called. Function move_config
is called later so the sysupgrade.tgz stays in root directory to the second
restart when it is unpacked properly.

This patch adds move_config function to preinit_mount_root hook instead
of preinit_main and changes the filename of script to be called before
80_mount_root is called. It will prepare the sysupgrade archive for do_mount_root
within preinit_mount_root hook.

This patch solves ticket #15042 and #14088.

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

SVN-Revision: 39996
10 years ago
Gabor Juhos 8a87474b6e x86/rdc: remove old kernel config
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39737
10 years ago
Gabor Juhos 9350e4cafa x86/rdc: switch to 3.10 and add broken flag
Compile tested only.

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

SVN-Revision: 39736
10 years ago
Gabor Juhos 1329a18eec x86/rdc: add config for 3.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39735
10 years ago
Gabor Juhos 6d530eef5d x86: fix MTD API usage in the RDC specific board patch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39734
10 years ago
Gabor Juhos a90ec7a0ef x86/olpc: remove old kernel config
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39732
10 years ago
Gabor Juhos a485bd350b x86/olpc: switch to 3.10 and add broken flag
Compile tested only.

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

SVN-Revision: 39731
10 years ago
Gabor Juhos 543fc517f4 x86/olpc: add config for 3.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39730
10 years ago
Gabor Juhos c384015892 x86/net5501: remove old kernel config
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39729
10 years ago
Gabor Juhos 3488372fa7 x86/net5501: switch to 3.10 and add broken flag
Compile tested only.

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

SVN-Revision: 39728
10 years ago
Gabor Juhos 8dc438ea7f x86/net5501: add config for 3.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39727
10 years ago
Gabor Juhos 455ee13faf x86/thincan: remove old kernel config
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39717
10 years ago
Gabor Juhos d5ab9b12bf x86/thincan: switch to 3.10 and add broken flag
Compile tested only.

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

SVN-Revision: 39716
10 years ago
Gabor Juhos b8061d4e8e x86/thincan: add config for 3.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39715
10 years ago
Gabor Juhos 4ae644c137 x86/xen_domu: remove old kernel config
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39714
10 years ago
Gabor Juhos 24ef414bec x86/xen_domu: switch to 3.10 and add broken flag
Compile tested only.

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

SVN-Revision: 39713
10 years ago