aboutsummaryrefslogtreecommitdiffstats
path: root/conf/machine
AgeCommit message (Collapse)AuthorFilesLines
2017-05-19conf/machine/intel-core*: Fix WKS_FILE setting7.0-pyro-2.3California Sullivan2-2/+2
bb.utils.contains checks if ALL items are in the variable, and since we check for systemd-boot or rmc-boot, it would always be false, assigning mkefidisk as the WKS_FILE in all cases. bb.utils.contains_any checks if one or more items are in the variable, so use that instead. Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-05-16conf/machine/intel-core*: change WKS_FILE based on EFI_PROVIDERCalifornia Sullivan2-2/+2
If someone changes their EFI_PROVIDER to grub-efi, we shouldn't be building a systemd-boot based wic image. Use bb.utils.contains to be default to mkefidisk.wks if we aren't using a systemd-boot based EFI_PROVIDER. mkefidisk.wks is the same as systemd-bootdisk.wks, except it uses grub and sets rootwait on the kernel command line, so its nearly equivalent. Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-05-16canned-wks/systemd-bootdisk-uuid.wks: remove fileCalifornia Sullivan2-2/+2
This was initially added as a stopgap, as OE-core's systemd-bootdisk.wks was using a static device node name rather than device UUID as the root target. Since OE-core's systemd-bootdisk has caught up, we don't need this. OE-core's systemd-bootdisk also includes console=ttyS0, which is common on many platforms and we were missing. Also change the default WKS_FILE to be OE-core's systemd-bootdisk on appropriate MACHINEs. Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-05-11qemu-intel.inc: Add to KERNEL_FEATURES via KERNEL_FEATURES_INTEL_COMMONCalifornia Sullivan1-1/+1
Adding to KERNEL_FEATURES causes the kernel tools to try to add the feature to all kernels, even custom kernels not using the yocto-kernel-cache. By moving it to KERNEL_FEATURES_INTEL_COMMON, it will only affect the kernels the layer supplies. Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-04-17intel-common-pkgarch: Add additional kernel typesSaul Wold1-0/+3
We added -rt to available kernel, and will likely have -tiny and -dev in the future, so add them now also. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-03-28qemu-intel.inc: Add ovmf to EXTRA_IMAGEDEPENDSCalifornia Sullivan1-0/+3
This lets us use ovmf firmware with runqemu without building ovmf manually beforehand. Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-03-23meta-intel.inc: Set PREFERRED_PROVIDER to linux-yocto for linuxstdbaseCalifornia Sullivan1-0/+1
linux-intel does not provide a 4.1 kernel, which is needed for -lsb images since they use the current LTSI kernel. Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-03-21Include recommended packges for all Intel machinesJussi Laako4-5/+4
Moves common MACHINE_EXTRA_RRECOMMENDS to a common include file and add thermald to MACHINE_EXTRA_RRECOMMENDS. Signed-off-by: Jussi Laako <jussi.laako@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-03-07meta-intel.inc: Set intel-linux as default kernel for poky-tinyAlejandro Hernandez1-0/+1
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
2017-03-06intel-common-pkgarch: Add linux-intelSaul Wold1-0/+1
This adds the linux-intel kernel to the list of packages that are in the intel-common arch. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2017-02-28meta-intel: Don't override default qemu slirp optionsDmitry Rozhkov1-1/+0
The latest OE's runqemu script by default uses the following SLIRP options -netdev user,id=net0,hostfwd=tcp::2222-:22,hostfwd=tcp::2323-:23 which are suitable for meta-intel too. And what is more important they don't follow the deprecated syntax currently present in the option values overriden by meta-intel. The patch drops the meta-intel specific overrides. Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com> Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-02-08meta-intel.inc: Enable linux-intel and 4.9 by default for meta-intel hardwareSaul Wold1-2/+2
Enable the linux-intel production kernel for meta-intel by default for 4.9, this will enable using the Intel production kernel. This is a well tested 4.9 tree that will start to include additional support for the Apollolake and Joule hardware. Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-01-24meta-intel: enable qemu and select more suitable virtual machine optionsPatrick Ohly3-0/+43
Although the machines definitions in meta-intel are meant to target real hardware, begin able to start the resulting images under qemu is nevertheless useful for testing. Doing that via runqemu depends on a per-image runqemu.conf that describes how to run qemu for the image. Ineriting qemuboot.bbclass in image recipes with QB_ variables set for the current architecture via overrides creates that file. The new qemuboot-intel.inc was copied from OE-core's qemuboot-x86.inc and adapted to the three common machines in meta-intel: $ diff ../openembedded-core/meta/conf/machine/include/qemuboot-x86.inc conf/machine/include/qemuboot-intel.inc 3,5c3,5 < QB_SYSTEM_NAME_x86 = "qemu-system-i386" < QB_CPU_x86 = "-cpu qemu32" < QB_CPU_KVM_x86 = "-cpu kvm32" --- > QB_SYSTEM_NAME_intel-core2-32 = "qemu-system-i386" > QB_CPU_intel-core2-32 = "-cpu coreduo" > QB_CPU_KVM_intel-core2-32 = "-cpu kvm32" 7,9c7,13 < QB_SYSTEM_NAME_x86-64 = "qemu-system-x86_64" < QB_CPU_x86-64 = "-cpu core2duo" < QB_CPU_KVM_x86-64 = "-cpu kvm64" --- > QB_SYSTEM_NAME_intel-corei7-64 = "qemu-system-x86_64" > QB_CPU_intel-corei7-64 = "-cpu Nehalem" > QB_CPU_KVM_intel-corei7-64 = "-cpu kvm64" > > QB_SYSTEM_NAME_intel-quark = "qemu-system-i386" > QB_CPU_intel-quark = "-cpu coreduo" > QB_CPU_KVM_intel-quark = "-cpu kvm32" For performance reasons, runqemu uses virtio for the boot disk. The kernel therefore must have the necessary drivers enabled. This may also be useful when running a meta-intel machine image on other virtual platforms and therefore the default kernel configuration gets changed to enable virtio. However, OE-core's qemu.inc also enables various other tweaks for running under qemu, like deriving the wired Ethernet address from the kernel boot parameters. This is probably less desirable for a meta-intel machine and thus not enabled in the new qemu-intel.inc. The downside is that the resulting images then come up without assigned IP address when used under qemu. Distros which want that feature can still add it to their images by copying settings from OE-core's qemu.inc. Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-01-17intel-quark: remove redundant EFI_PROVIDER settingMikko Ylinen1-2/+0
EFI_PROVIDER is set in meta-intel.inc for all machines so the one set in intel-quark.conf has no effect and can be removed. Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com> Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-01-17intel-*: wic: drop recursive task depedency to do_bootimgMikko Ylinen3-4/+0
do_image_wic (in image_types.bbclass) deals with the task dependency to do_bootimg if live images are built. It's redundant to set do_bootimg as a recrdeptask in the machine configurations so remove it. Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com> Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2017-01-17intel-*: build dosfs/mtools for wic image creationMikko Ylinen3-3/+3
intel-* machines default to an EFI bootloader which runs from an EFI system partition (ESP). Also, the ESP needs to be vfat formatted. Make sure the dosfs/mtools used by wic and its plugins that deal with vfat are built and available (without depending on do_bootimg) when wic images are being created. Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com> Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2016-12-15vaapi: remove as recipes moved to oe-coreRoss Burton2-2/+2
libva and gstreamer-vaapi are now part of oe-core, so remove them. The package names were changed to reflect the naming scheme, so update the machine configurations to follow. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2016-12-15rmc: add support for alternative EFI bootloadersTodor Minchev1-1/+1
RMC was previously configured to work only with the systemd-boot EFI bootloader. With this commit we can specify alternative bootloaders by setting the RMC_BOOTLOADER variable in local.conf. If RMC_BOOTLOADER is not set systemd-boot will be used by default. Signed-off-by: Todor Minchev <todor.minchev@linux.intel.com> Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2016-11-28intel-core*: Add ASPEED Xserver driverRahul Kumar Gupta2-0/+2
Include support for ASPEED Technology graphics card driver to intel-corei7-64 and intel-core2-32. So that intel common BSP can support platforms like MohonPeak (Intel Atom Processor C2000 Product Family) which using this graphics card. Signed-off-by: Rahul Kumar Gupta <rahul.kumarxx.gupta@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-11-28intel-core*: add ttyS1 to SERIAL_CONSOLESRahul Kumar Gupta2-2/+2
Some of Intel boards are using ttyS1 also. So ttyS1 is added to SERIAL_CONSOLES inorder to provide login prompts on the console. Signed-off-by: Rahul Kumar Gupta <rahul.kumarxx.gupta@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-11-10conf/machine/intel-core*: Change WKS_FILE to systemd-bootdisk-uuidCalifornia Sullivan2-2/+2
Overriding systemd-bootdisk.wks unconditionally was against Yocto Project's compatibility requirements, so our version needed to be renamed. Change our conf files to use the renamed version. Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-11-02meta-intel.inc: Add MACHINEOVERRIDE for meta-intelSaul Wold1-0/+3
This allows to have one override mechansim for meta-intel instead of having multiple machine overrides. This replaces using rmc in DISTRO_FEATURES which was a bad idea to set in layer. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-11-02meta-intel.inc: remove setting rmc in DISTRO_FEATURESSaul Wold1-2/+0
We should not be changing DISTRO_FEATUES within a layer. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-11-02intel-corei7-64: Use SERIAL_CONSOLES to add ttyS2Saul Wold1-1/+1
Some Intel boards use ttyS0 and others use ttyS2, include both serial ports inorder to provide login prompts on the console. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-11-01quark: amend EFI Bootloader optionJianxun Zhang1-1/+1
We cannot override the current EFI bootloader selection with another "EFI_PROVIDER=..." in a local.conf in a build/conf directory when it is specified by "=" syntax in the current conf file for quark. Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-11-01quark: explicitly set boot entry in bootloaderJianxun Zhang1-0/+9
This is to get rid of "install" option when booting quark with an image in hddimg format. EFI installer doesn't work on quark at this point. Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-10-20meta-intel: Enable RMC by defaultSaul Wold1-0/+4
This enables the Runtime Machine Configuration feature, which allows use to support multiple machines that have different kernel commandline option as well as different startup requirements to work from the base MACHINE configuration. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-10-17intel-quark: Add WIC image creationSaul Wold1-0/+6
This adds WIC Image support to the Quark Intel BSPs, these are all designed to be copied to MicroSD Cards via dd. This will create an efi boot partition along with a user space partition. It is not currently setup to have an install target, it only has a live boot target. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-10-17intel-core*: Add support for wic imagesSaul Wold2-0/+10
This adds WIC Image support to the core2 and corei7 Intel BSPs, these are all designed to be copied to USB sticks via dd. This will create an efi boot partition along with a user space partition. It is not currently setup to have an install target, it only has a live boot target. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-09-15meta-intel.inc: Bump PREFERRED_VERSION_linux-yocto to 4.8California Sullivan1-1/+1
Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-09-15meta-intel.inc: Soft set PREFERRED_PROVIDER_virtual/kernelCalifornia Sullivan1-1/+2
This makes it easier for others inheriting meta-intel to use their own kernel. Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-07-28quark: Switch gummiboot to systemd-bootJianxun Zhang1-1/+1
The systemd-boot is the old gummiboot merged into systemd project. We have enabled systemd-boot as a standalone EFI bootloader in OE, also with updated wic plugin to support specifying "systemd-boot" as bootloader in wks files. Assuming these are good enough to replace gummiboot for quark, this change does it. Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com> Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
2016-05-26intel-common-pkgarch: Set common PACKAGE_ARCH for linux-yocto-tinyTom Zanussi1-0/+1
The linux-yocto-tiny metadata assumes the common PACKAGE_ARCH but without this is actually machine-specific and broken. Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
2016-04-29conf/machine/README: RemoveTom Zanussi1-39/+0
All content has been moved to the top-level README. Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-04-26conf/machine/intel-*: Add rootwait to APPEND variablesCalifornia Sullivan3-3/+3
When using the init-install-efi.sh scripts from oe-core to install to a USB stick, we do not get the "rootwait" kernel command line option. Without the rootwait option we get a kernel panic when attempting to boot from the installed USB stick. This patch adds rootwait to the kernel command line of all intel-* MACHINEs as a temporary workaround. This could potentially impact boot times with devices that do not require it, but in testing with a Silverjaw lure and SSD on a MinnowBoard Max, it did not have a noticable impact. Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-03-29machine: add i915 firmware to initramfs for intel-core* MACHINEsCalifornia Sullivan2-0/+4
Skylake and Broxton graphics require firmware blobs to run properly. The firmware must be built into the initramfs since the i915 driver is built into the kernel and won't have rootfs access on initialization. Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-03-03meta-intel.inc: Update INTRD to INITRD_LIVESaul Wold1-1/+1
This address a boot issue based on using the new bootimg code that makes a distiction between Live and VM type of image so they can co-exisit. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-02-22machine: move PREFERRED_VERSION/PREFERRED_PROVIDER to meta-intel.incCalifornia Sullivan4-9/+3
This information is the same across all meta-intel supported MACHINEs, so we can move it to a shared location. Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2016-02-22machine: update PREFERRED_VERSION to 4.4 for intel-core* and intel-quarkCalifornia Sullivan3-3/+3
This makes us use the new 4.4 kernel by default. Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2016-02-19gma500_gfx: Avoid inserting gma500_gfx module for certain devicesAlejandro Hernandez1-0/+2
The gma500_gfx driver will match certain devices on which it causes incorrect functionality, we want to avoid inserting this module, basicallly blacklist it for specific hardware, but still allow it to work on other hardware by default; usually when we have an already working system, using udev rules would do the job, but since we are building it, it is impossible to blacklist a driver when a certain udev rule matches, since rootfs isn't writeable at this point during boot time, the solution is to use modprobe install, which runs a certain command instead of inserting a matching module this command needs to insert the module manually afterwards and have a flag --ignore-install so it doesn't create an infinite loop executing itself everytime it wants to insert the module, busybox's modprobe doesnt provide this functionality, so a small hack had to be used to avoid the infite loop instead. Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2015-11-02intel-core2-32: fix SERIAL_CONSOLES lineSaul Wold1-1/+1
This should be SERIAL_CONSOLES with ; setting between baud and device. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2015-10-02intel-quark-common: Add no-asm config to opensslSaul Wold1-0/+1
This causes the build to not use Assembly code which contains invalid CMOV instructions. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2015-09-29meta-intel: meta-romley BSP retirement from YP 2.0WU CHIA CHUAN1-1/+0
Remove meta-romley BSP layer from meta-intel master branch which is targeting for YP 2.0. A heads-up email was sent to the meta-intel mailing list for requesting any feedback regarding retirement of these BSP. Since there is no concern, we assume that it is agreed upon and thus this patch to retire the BSP. The "MAINTAINERS file" and "conf/machine/README file" are updated to reflect removal of the BSP. We expect intel-corei7-64 machine is continued to be used to support the platform and dpdk recipe under meta-romley is now supported under meta-isg/common/recipes-extended/dpdk. Signed-off-by: WU CHIA CHUAN <chia.chuan.wu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2015-09-16intel-quark-common: disable padlock codeSaul Wold1-1/+5
The padlock code is a subset of x86 hardware acceleration code. It uses the cmov instruction which is invalid on Quark based hardware, so we disable this code. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2015-08-28intel-core2-32: Allow for multiple tty console typesSaul Wold1-2/+2
Adding the ttyPCH0 will allow of the platforms that have the EG20T Hardware to get both kernel console output and login prompt. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2015-08-19intel-quark: add CFLAGS for kernel to no use lock prefixSaul Wold1-0/+3
The kernel needs to have the EXTRA_CFLAGS based via a variable as it does not pick up the CLFAGS from the tune file. Quark based kernel should not use the lock prefix. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2015-08-19intel-quark: use the 4.1 linux-yocto kernelSaul Wold1-6/+2
Use the 4.1 kernel which is now the default in oe-core Signed-off-by: Saul Wold <sgw@linux.intel.com>
2015-08-19intel-core*: use the 4.1 linux-yocto kernelSaul Wold2-2/+2
Use the 4.1 kernel which is now the default in oe-core Signed-off-by: Saul Wold <sgw@linux.intel.com>
2015-07-08intel-quark: Introduce new BSP for Quark/X1000 SOCSaul Wold2-0/+35
This new BSP is for the Quark/X1000 and related series that need the limited no-lock-prefix. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2015-06-01intel-corei7-64: add nfc machine featureCristian Iorga1-1/+1
add support for the generic NFC stack Partial fix for [YOCTO #7451]. Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>