summaryrefslogtreecommitdiffstats
path: root/target/linux/x86/generic
Commit message (Collapse)AuthorAgeFilesLines
* kernel: add missing config symbols, fix typosTony Ambardar2021-03-191-2/+0
| | | | | | | | | | Update 5.10 generic config to add missing options prompting during builds, when setting CONFIG_ALL_KMODS. Refresh the x86 subtargets to drop symbols added to the generic config. Also fix a typo in 5.4/5.10 generic configs: "CONFIG_CONFIG_KVM_AMD_SEV". Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* kernel: move some disabled symbols to genericAleksander Jan Bajkowski2021-03-192-4/+0
| | | | | | Move some disabled symbols found in armvirt target to generic. Signed-off-by: Aleksander Jan Bajkowski <A.Bajkowski@stud.elka.pw.edu.pl>
* x86: support kernel 5.10Tony Ambardar2021-03-141-0/+459
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add linux 5.10 as testing kernel, copy generic/subtarget configs and target patches from 5.4. Signed-off-by: Tony Ambardar <itugrok@yahoo.com> x86: update target patches for kernel 5.10 Refresh all patches while also dropping: 800-hwmon-w83627ehf-dont-claim-nct677x.patch which is now upstreamed as: 3207408ab4cb ("hwmon: (w83627ehf) remove nct6775 and nct6776 support") Signed-off-by: Tony Ambardar <itugrok@yahoo.com> x86: refresh 5.10 target config Refresh config using "make kernel_oldconfig". Signed-off-by: Tony Ambardar <itugrok@yahoo.com> x86: refresh and test all subtarget configs Refresh configs using "make kernel_oldconfig CONFIG_TARGET=subtarget". Build and run-tested using QEMU: x86/64, x86/legacy, x86/generic. Build-tested only: x86/geode. Signed-off-by: Tony Ambardar <itugrok@yahoo.com> [squashed commits] Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
* x86: generic: disable CONFIG_EFI_VARS Alberto Bursi2020-11-121-1/+1
| | | | | | | | | | | | | | | | | | | CONFIG_EFI_VARS has been disabled in 64bit x86 target in 2018 by the following commit b0a51dab8c5b8d40828a00b0c6d66450bf90f217 the same reasons apply to Generic target, so now it's disabled here too. Leaving it enabled is also blocking compile as a new symbol was added EFI_CUSTOM_SSDT_OVERLAYS that depends from CONFIG_EFI_VARS and the build system stops and waits for user input on what to do about it. The Legacy and Geode targets never had any EFI_xxx configs enabled so they don't have this issue Signed-off-by: Alberto Bursi <bobafetthotmail@gmail.com>
* kernel: remove support for kernel 4.19Adrian Schmutzler2020-10-301-463/+0
| | | | | | | We use 5.4 on all targets by default, and 4.19 has never been released in a stable version. There is no reason to keep it. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* treewide: drop shebang from non-executable target filesAdrian Schmutzler2020-06-161-1/+0
| | | | | | | | | | | | | | This drops the shebang from all target files for /lib and /etc/uci-defaults folders, as these are sourced and the shebang is useless. While at it, fix the executable flag on a few of these files. This does not touch ar71xx, as this target is just used for backporting now and applying cosmetic changes would just complicate things. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* x86: select kmod-button-hotplug by defaultTomasz Maciej Nowak2020-04-201-1/+0
| | | | | | | This package is useful by all subtargets, therefore move it to default packages selection. Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
* x86: generate EFI platform bootable images李国2020-03-312-0/+2
| | | | | | | | | | | | | | | | | Add EFI platform bootable images for x86 platforms. These images can also boot from legacy BIOS platform. EFI System Partition need to be fat12/fat16/fat32 (not need to load filesystem drivers), so the first partition of EFI images are not ext4 filesystem any more. GPT partition table has an alternate partition table, we did not generate it. This may cause problems when use these images as qemu disk (kernel can not find rootfs), we pad enough sectors will be ok. Signed-off-by: 李国 <uxgood.org@gmail.com> [part_magic_* refactoring, removed genisoimage checks] Signed-off-by: Petr Štetiar <ynezz@true.cz>
* x86: remove obsolete legacy profilesPaul Spooren2020-03-211-19/+0
| | | | | | | | Rely on device profiles instead for packages selection. Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl> [rebase, adjusted commit title] Signed-off-by: Paul Spooren <mail@aparcar.org>
* x86: Remove kernel 4.14 supportHauke Mehrtens2020-03-121-429/+0
| | | | | | | | | This target was switched to kernel 4.19 more than 6 months ago in commit f342ffd300da ("treewide: kernel: bump some targets to 4.19") and now with kernel 5.4 support being added it gets harder to support kernel 4.14 in addition to kernel 4.19 and 5.4. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* x86: copy kernel patches from 4.19 to 5.4Hauke Mehrtens2020-02-281-0/+462
| | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* x86: make profile titles more verbosePaul Spooren2019-11-031-3/+3
| | | | | | | | | | | | | | | | So far (nearly) all x86 profiles are called "Generic" which makes it hard to distinguish them in special cases, like searching for a specific profile (without pre-selecting target/subtarget). To make this change locally working, remove the tmp/ folder to force reload of menuconfig. As these files are infrequently touched, the Copyright was updated as well. Signed-off-by: Paul Spooren <mail@aparcar.org> [changed commit title] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* kernel: bump 4.19 to 4.19.67Koen Vandeputte2019-08-271-0/+1
| | | | | | | | | | | | Refreshed all patches. Also add a missing symbol for x86 which got used now in this bump. - ISCSI_IBFT Compile-tested on: cns3xxx Runtime-tested on: cns3xxx Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* kernel: bump 4.14 to 4.14.139Koen Vandeputte2019-08-271-0/+1
| | | | | | | | | | | | Refreshed all patches. Also add a missing symbol for x86 which got used now in this bump. - ISCSI_IBFT Compile-tested on: cns3xxx Runtime-tested on: cns3xxx Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* x86: add modern network modules to Generic targetAlberto Bursi2019-07-171-1/+2
| | | | | | | | | | | | | | | Many Atom-based embedded/industrial x86 boards can't run 64bit operating systems due to either processor or board firmware limitations, but they have modern interfaces (PCIe) or have modern Intel gigabit controllers onboard. With the current default package selection for x86 Generic target their network won't work. Add the modern gigabit network modules needed or most likely going to be used as add-in cards, similar to what is the list on x86_64 target. Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it> [fixed whitespace issue] Signed-off-by: Petr Štetiar <ynezz@true.cz>
* x86: video: disable buildtin amdgpu DRM driverLucian Cristian2019-02-172-2/+3
| | | | Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
* x86: video: disable builtin radeon DRM driverLucian Cristian2019-02-172-2/+2
| | | | | | | builtin driver can't access the /lib/firmware while booting, module driver will be able to read and load the firmware files Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
* x86: Add support for kernel 4.19Hauke Mehrtens2019-01-121-0/+460
| | | | | | | | | | | | This adds initial support for kernel 4.19 to the x86 target. The patches and the kernel configurations were copied from kernel 4.14 and then refreshed. The legacy and the genode target will not support PAE any more because they use a CPU type which does not support PAE, the generic sub target still supports PAE. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* x86: Refresh kernel 4.14 configurationHauke Mehrtens2019-01-121-9/+4
| | | | | | | | | | | | This refreshes the kernel configuration for kernel 4.14. First this was run for the legacy target: make kernel_oldconfig Then for all targets including the legacy target this was run: make kernel_oldconfig CONFIG_TARGET=subtarget The option CONFIG_104_QUAD_8 was added to the generic configuration because it would have been automatically removed. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* x86: Use kernel specific subtarget configurationsHauke Mehrtens2019-01-121-0/+0
| | | | | | | | | | This makes it possible to use different sub target configurations for kernel 4.19 for example. To support kernel 4.9 and kernel 4.14 with the same configuration file already needed some extra work this will not be needed for kernel 4.19 any more. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: enable memory compactionFelix Fietkau2018-10-091-0/+1
| | | | | | | | | | | Compaction is the only memory management component to form high order (larger physically contiguous) memory blocks reliably. The page allocator relies on compaction heavily and the lack of the feature can lead to unexpected OOM killer invocations for high order memory requests. You shouldn't disable this option unless there really is a strong reason for it. Signed-off-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: Michal Hrusecky <michal.hrusecky@nic.cz>
* kernel: move DRM_DEBUG_* symbols to generic configStijn Tintel2018-01-141-2/+0
| | | | | | | | | | While working on a new target (meson), the kernel build failed due to missing DRM_DEBUG_MM_SELFTEST symbol. This can potentially happen on all targets that enable DRM drivers in the kernel config or via kmod packages, so add it to the generic config and remove it from x86 subtarget configs, together with DRM_DEBUG_MM. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* x86: Add support for kernel 4.14Hauke Mehrtens2017-12-161-6/+39
| | | | | | | | This adds basic support for kernel 4.14, this was tested in qemu only. The subtarget configuration was refresh with kernel 4.14 and the options needed to make it compile on kernel 4.9 were added manually. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* x86: refresh configurationHauke Mehrtens2017-12-161-7/+0
| | | | | | | Just refresh the kernel configuration, some options are removed because they are now in the generic kernel configuration. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* x86: add on-chip thermal sensors and cpuid supportPhilip Prindeville2017-12-161-0/+15
| | | | | | | | | | | Cover temperature sensors for all mainstream 64-bit processors, including AMD 10h and 15h families, Intel iCore, Xeon, Atom, and Via Nano. Also add CPUID support for user-space applications to detect CPU type. Include the on-chip sensors for 64-bit CPU's in the generic profile in case someone builds a 32-bit kernel to run on a Xeon SoC, etc. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* kernel: add 32bit x86 HYPER-V supportLucian Cristian2017-11-221-0/+19
| | | | | | Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com> [refresh config] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* x86: Fix xen serial console by removing conflicting PATA driverBaptiste Jonglez2017-07-161-1/+0
| | | | | | | | | | | | | | | | | | | | | The Xen serial console has been broken since the xen_domu subtarget was merged in the generic x86 subtarget (commits 1d6879ee and 371b382a). The reason for the broken serial console seems to be an IRQ conflict between the serial console driver and the PATA_LEGACY driver: [ 1.330125] genirq: Flags mismatch irq 8. 00000000 (hvc_console) vs. 00000000 (platform[pata_legacy.4]) [ 1.330134] hvc_open: request_irq failed with rc -16. [ 1.330148] Warning: unable to open an initial console. Just drop the PATA_LEGACY driver from the x86/generic and x86_64 subtargets, since this driver is marked experimental and only supports very old ISA devices anyway. It is still included in the x86/legacy subtarget where it rightfully belongs. Fixes: FS#787 Signed-off-by: Baptiste Jonglez <git@bitsofnetworks.org>
* x86: Move USB support from subtargets to target configBaptiste Jonglez2017-07-161-9/+0
| | | | | | | | | All x86 subtargets enable USB support, so it makes sense to enable it in the target config instead, to avoid duplication. Also refresh subtarget configs accordingly. Signed-off-by: Baptiste Jonglez <git@bitsofnetworks.org>
* x86: Refresh subtargets kernel configBaptiste Jonglez2017-07-161-33/+0
| | | | | | | | | | | | | | | | | This was done by simply running `make kernel_menuconfig CONFIG_TARGET=subtarget` and then saving without changing any option. Most of the removed options can be explained because they are already present in the target config or in the generic 4.9 config: - PAE-related options, enabled by default on x86 by 961c0eac - LZO-related options, enabled by default since 4.9 As far as I understand the build system, this shouldn't have any user-visible impact, because the build system already merges the various kernel configs during build. Signed-off-by: Baptiste Jonglez <git@bitsofnetworks.org>
* x86: lift kernel minimum CPU requirement to Pentium MMXDaniel Golle2017-05-051-1/+1
| | | | | | | Anything older than that isn't supported since commit f4f8f4a180366, hence also switch to Pentium MMX when building the kernel. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* x86: generic: use HIGHMEM64G instead of HIGHMEM4GDaniel Golle2017-05-051-1/+2
| | | | | | | | commit 4b4f73937371 switched on HIGHMEM4G which implicitely disabled PAE and hence also NX and other useful and security-relevant features. Re-enable PAE by switching to HIGHMEM64G. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* x86: switch to Linux 4.9Felix Fietkau2017-02-071-14/+32
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* x86/generic: add xen DomU supportFelix Fietkau2017-01-162-4/+66
| | | | | | Copy the relevant config options from the xen_domu subtarget Signed-off-by: Felix Fietkau <nbd@nbd.name>
* x86-generic: add MMC support to boot off SD cardsAndreas Ziegler2016-11-161-0/+8
| | | | | | | | | 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>
* x86: add PATA support to generic and 64 subtargetsAndreas Ziegler2016-11-161-0/+8
| | | | | | | | | | | | 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>
* x86: refresh generic subtarget configMatthias Schiffer2016-11-161-4/+2
| | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* x86: enable fpu for all subtargetsFelix Fietkau2016-08-301-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* x86: enable CPU frequency scalingLucian Cristian2016-08-031-1/+4
| | | | | | | | | 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>
* x86/generic: enable CONFIG_SATA_VIAFlorian Klink2016-07-191-0/+1
| | | | This enables support for VIA SATA.
* x86: lift generic x86-32 targetDaniel Golle2016-06-072-17/+136
| | | | | | | | | * 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>
* x86: enable DMI and DMI_SYSFSJo-Philipp Wich2016-06-061-6/+0
| | | | | | | | | | 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>
* kernel: add some missing kernel config optionsHauke Mehrtens2016-01-241-0/+1
| | | | | | | | The built bots found these missing kernel configuration options. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 48477
* x86: update to linux 4.4Felix Fietkau2016-01-121-12/+29
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48216
* x86/generic: enable radeon drm driverFelix Fietkau2015-10-301-1/+4
| | | | | | | | This enables modesetting for radeon based boards. Signed-off-by: Felix Kaechele <heffer@fedoraproject.org> SVN-Revision: 47305
* x86/generic: enable pata_atiixp driverFelix Fietkau2015-10-301-0/+1
| | | | | | | | | | 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
* x86/generic: refresh subtarget kernel configFelix Fietkau2015-10-301-6/+2
| | | | | | Signed-off-by: Felix Kaechele <heffer@fedoraproject.org> SVN-Revision: 47303
* x86: merge all geode based subtargets into oneFelix Fietkau2015-03-163-48/+0
| | | | | | | | | 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
* x86: refresh kernel configFelix Fietkau2015-03-151-4/+7
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44759
* x86: update to kernel 3.18Felix Fietkau2015-03-151-0/+7
| | | | | | | | | | | | | | 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
* x86: update to linux 3.14Felix Fietkau2014-12-081-28/+15
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43559