Commit Graph

2523 Commits

Author SHA1 Message Date
California Sullivan
934f526920 linux-yocto/4.1: Update to v4.1.36 and fix CVE-2016-8655
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2016-12-09 18:00:00 -08:00
Saul Wold
9a948a9039 qat: add EXCLUDE_FROM_WORLD for core2
Havine COMPATIBLE_MACHINE causes errors for non-compatible machine,
so inaddition we EXCLUDE_FROM_WORLD for world builds

Signed-off-by: Saul Wold <sgw@linux.intel.com>
[Removed extra whitespace added to qat16.inc file.]
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2016-12-09 17:59:10 -08:00
Saul Wold
753f37a1fd dpdk: Use stable and fast download source
After checking with the upstream, the snapshot based URL can change since
it's cgit based and they recently upgraded cgit, it was suggested that we
use the fast.dpdk.org site as it's the more stable and faster download
source.

NOTE: the checksum is still the original checksum, so is the correct location.
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2016-12-07 14:05:50 -08:00
California Sullivan
ce143f5ae7 linux-yocto/4.4/4.8: Update cache SRCREVs for final config warning fixes
This update fixes the remaining kernel_configcheck warnings.

Fixes [YOCTO #10426].

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2016-12-07 14:05:44 -08:00
Khem Raj
4092ce9851 systemd-boot.bbappend: Rename to use wildcard
OE-Core is in process of renaming the recipe
to have PV in recipe name. Cover that case
for bbappend

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
2016-12-07 14:05:36 -08:00
Jianxun Zhang
b01ba81890 gnu-efi: removed from meta-intel
We once added a patch in gnu-efi for rmc's sake. The latest rmc
gets rid of this dependency on gnu-efi.

The removed patch is still a reasonable change and merged into
the upstream gnu-efi project. It should come with the next update
in the gnu-efi recipe in OE.

At this point, however, we don't see any urgency to keep it in
meta-intel any more.

Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-12-05 18:11:14 -08:00
Jianxun Zhang
58e5069ee3 rmc: integration update
This is a whole package of rmc work in meta-intel to reflect
some major changes in the upstream project:

In rmc.bb recipe, EFI_ARCH, path of EFI header files, and
dependency on gnu-efi are removed with the updated revision.

In systemd-boot, patches to integrate with rmc are re-worked
mainly because of new APIs. Size of patches are smaller than
the previous implementation. Notice we still use multiple APIs
instead of calling an one-step interface multiple times, to get
some potential runtime performance benefit. (rmc tool in user
space is changed to use single API in the upstream project.)

Fixes [YOCTO #10086]
Fixes [YOCTO #10671]

Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-12-05 18:11:14 -08:00
Saul Wold
5bd26ee16c rmc: remove stack-protector-strong from CFLAGS
Since the rmc is used standalone from systemd-boot and does not
use libc which provides the stack_chk_fail code that causes an
undefined symbol

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-12-05 18:11:14 -08:00
California Sullivan
3de465c5e6 linux-yocto/4.8: Update from v4.8.3 to v4.8.10
Stable backports and a fix to the mei configuration in core2 and quark.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-11-30 17:02:43 -08:00
California Sullivan
ac00937874 linux-yocto/4.4: Update from v4.4.26 to v4.4.32
This patch brings in many backlogged stable updates as well as a few
additional i915 driver backports. The kernel-cache was also updated,
fixing an mei configuration issue in core2 and quark BSPs.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-11-30 17:02:43 -08:00
California Sullivan
b0edeff9dd linux-yocto/4.1: Update from v4.1.33 to v4.1.35
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-11-30 17:02:43 -08:00
Jussi Kukkonen
6aab3f1783 xf86-video-mga: Backport ABI 23 fix
Fixes build with xserver-xorg 1.19.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-11-28 12:45:06 -08:00
Rahul Kumar Gupta
d688045880 dpdk: cleanup unused patches
Removed the unused patches since the recipe is not using these.
It was added before as fix for dpdk v16.07.

Signed-off-by: Rahul Kumar Gupta <rahul.kumarxx.gupta@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-11-28 12:45:06 -08:00
Rahul Kumar Gupta
5b74ee0138 dpdk: Update v16.07 -> v16.11
Updated the DPDK recipe from v16.07 to v16.11.
for dpdk v16.11 the rte_ivshmem feature has dropped and the default
configuration file for packet_ordering example is replaced with the
"native" x86 file.

Rename and modified the patch:

dpdk-16.11-dpdk-fix-installation-warning-and-issue.patch

accordingly since this doesn't apply cleanly on top of
dpdk v16.11

Removed the patches:

dpdk-16.07-net-ixgbe-move-PCI-device-IDs-from-EAL.patch
dpdk-16.07-net-igb-move-PCI-device-IDs-from-EAL.patch
dpdk-16.07-kni-fix-build-with-kernel-4.8.patch

from dpdk.inc since these changes/fix are now added in dpdk v16.11.

Signed-off-by: Rahul Kumar Gupta <rahul.kumarxx.gupta@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-11-28 12:45:06 -08:00
Rahul Kumar Gupta
f8d24485e8 meta-isg: removing meta-isg layer
All meta-isg layer content is already merged/consolidated to
meta-intel/common layer. So removing this layer.

Signed-off-by: Rahul Kumar Gupta <rahul.kumarxx.gupta@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-11-28 12:45:06 -08:00
Rahul Kumar Gupta
cf8fe21bae meta-isg/meta-mohonpeak: remove BSP layer
The meta-mohonpeak BSP layer has removed. The plan is to consolidate all
Intel SoC BSP into intel common BSP.

Now Intel Common BSP can support all features provided by meta-mohonpeak
with default kernel version, So this layer can be removed from meta-intel.

It will use rmc-systemd-boot for it's custom features.

Signed-off-by: Rahul Kumar Gupta <rahul.kumarxx.gupta@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-11-28 12:45:06 -08:00
Rahul Kumar Gupta
2c0811eab3 rmc: Add support for MohonPeak platform
Intel common BSP is using ttyS0 and tty0 for consoles by default. By Adding
support for mohonpeak platforms to rmc, these console port can customized to
ttyS1 and tty1 by detecting the fingerprint file at runtime.
It will use their own boot.conf/install.conf for booting/installing.

Signed-off-by: Rahul Kumar Gupta <rahul.kumarxx.gupta@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-11-28 12:45:06 -08:00
Rahul Kumar Gupta
35d60f13bb intel-core*: Add ASPEED Xserver driver
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-28 12:45:06 -08:00
Rahul Kumar Gupta
61634f89a8 intel-core*: add ttyS1 to SERIAL_CONSOLES
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-28 12:45:06 -08:00
Saul Wold
c40a23b46f galileodisk: Change timeout to 1 second
This allows for more editable commandline

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-11-22 15:44:45 -08:00
Saul Wold
7f92eb3b58 galileodisk-sd.wks: Add rootwait
Adding rootwait to the kernel params in order to handle the fact that
4.8 boots faster and older SD cards are not ready in time for the kernel
to correctly mount.

[YOCTO #10709]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-11-22 13:58:40 -08:00
Saul Wold
cb5025bfbb linux-yocto_4.4: Add INTEL_MACHINE_SUBTYPE code
This adds some a couple of bb.utils.contains() checks for an
INTEL_MACHINE_SUBSTPYE to pull the appropriate SRCREV
and KBRACH to build an alternate kernel.

Also adds support for Broxton-m/Joule device as an example.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-11-10 07:48:05 -08:00
California Sullivan
c1f260ba7f conf/machine/intel-core*: Change WKS_FILE to systemd-bootdisk-uuid
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-10 07:48:05 -08:00
Saul Wold
c42dd36b54 systemd-bootdisk.wks: Rename to systemd-bootdisk-uuid.wks
This change is required because it was unconditionally overriding the
OE-Core systemd-boot.wks which is against the Yocto Project compatible
requirements.  This is also temporary for morty and will be removed from
master once the OE-Core version is corrected

[YOCTO #10610]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-11-10 07:47:27 -08:00
Saul Wold
00fe8dba89 broxton-m/KBOOTPARAM: Add videofb console back
This re-enables the video framebuffer for displaying cosole output

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-11-08 11:26:22 -08:00
Khem Raj
a23aeecd54 rmc: Limit them to x86 targets
Makes meta-intel behave well in multi-BSP scene

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-11-08 11:26:22 -08:00
Saul Wold
337cee235c initramfs-live-install-efi: Make use of new override
Move script to the files/intel-x86-common sub-dir which will be used
based on the added override in MACHINEOVERRIDES

Signed-off-by: Saul Wold <sgw@linux.intel.com>

foo

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-11-02 16:31:53 -07:00
Saul Wold
1484a008eb systemd-boot: Make use of new override
Add the new intel-x86-common to the meta-data in order to limit the
changes when the meta-intel layer is included without using
meta-intel machines.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-11-02 16:31:53 -07:00
Saul Wold
f621b952fc gnu-efi: Make use of new override
Add the new MACHINEOVERRIDE to the SRC_URI in order to limit the changes when the
meta-intel layer is included without using meta-intel machines.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-11-02 16:31:53 -07:00
Saul Wold
6e05e7f82a meta-intel.inc: Add MACHINEOVERRIDE for meta-intel
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-02 16:19:51 -07:00
Saul Wold
233b271e17 meta-intel.inc: remove setting rmc in DISTRO_FEATURES
We should not be changing DISTRO_FEATUES within a layer.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-11-02 13:50:46 -07:00
Saul Wold
da4795aa91 layer.conf: Remove BBMASK'ing items
Having BBMASKS and DISTRO_FEATURES causes issue with sstate in certain situations

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-11-02 13:50:46 -07:00
Saul Wold
ab79b789ac systemd-boot: add patch for Joule BIOS keyboard hang
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-11-02 13:50:46 -07:00
Saul Wold
8649d6b5b1 intel-corei7-64: Use SERIAL_CONSOLES to add ttyS2
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-02 13:50:46 -07:00
Saul Wold
3d83758e3c rmc: Add bootloader entries for the Broxton-M/Joule platform
By adding these entries, we can get the serial console output on the correct ttyS2 port
the default port for meta-intel is ttyS0, but we can fix this with the rmc configuration

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-11-02 13:50:46 -07:00
California Sullivan
06affcd13e rmc: Add INSTALLER.CONFIG and POSTINSTALL.sh for broxton-m boards
On install we want to keep rmc's boot.conf. Also add POSTINSTALL.sh
that removes ttyS0 from inittab since it uses ttyS2 instead.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-11-02 13:00:33 -07:00
Saul Wold
bd25743d3d systemd-bootdisk: Add WKS file with uuid support
Temporarily add a wks file to support systemd-boot with uuid, this patch is already
pending for OE-Core, but did not make the 2.2 release, by adding this here, it can
support both USB and SD devices.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-11-01 08:23:15 -07:00
Jianxun Zhang
9373044911 quark: use UUID for rootfs
Port the change http://lists.openembedded.org/pipermail/
openembedded-core/2016-October/127948.html into wks files
in meta-intel.

Note: This patch has not been on OE master branch at this point.

Original commit message:

----------------------------------
systemd-bootdisk.wks: use PARTUUID

Root device name in systemd-bootdisk.wks is 'sda'. This can cause
images, produced using this wks to refuse booting if real device
name is not 'sda'. For example, when booting MinnowBoard MAX from
MicroSD card the boot process stucks with this message on the boot
console output: Waiting for root device /dev/sda2...
This happens because real device name of MicroSD card on this device
is mmcblk1.

Used --use-uuid option for root partition. This should make
wic to put partition UUID instead of device name into kernel command
line.

[YOCTO #10485]

Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>
----------------------------------

Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-11-01 08:23:15 -07:00
Jianxun Zhang
8bad3a5c04 rmc: Add example for Galileo Gen 2 (Quark)
This is an experimental RMC sample for quark. At runtime, a
boot option with board name will be available for user to
boot the Galileo.

Note: The supported image type is hddimg instead of the direct-
boot image type usually used on quark. Use a USB stick flashed
with the image to boot the Galileo Gen 2 board.

Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-11-01 08:23:15 -07:00
Jianxun Zhang
53597ed63d quark: amend EFI Bootloader option
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-01 08:23:15 -07:00
Jianxun Zhang
8f01ac1530 README: Provide information for how to live-boot quark with hddimg
This change adds the procedure to boot quark with images in hddimg
format.

Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-11-01 08:23:15 -07:00
Jianxun Zhang
15ac2f84ed quark: explicitly set boot entry in bootloader
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-11-01 08:23:15 -07:00
California Sullivan
f3c4c983c1 linux-yocto/4.8: Update SRCREVs for v4.8.3 stable update
This includes the fix to CVE-2016-5195 "dirty cow", and fixes a bug in
preempt-rt that was preventing boots on core2.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-10-28 08:39:58 -07:00
California Sullivan
78a9138d4a linux-yocto/4.4: Update SRCREVs from v4.4.20 to v4.4.26
This update also includes the fix to CVE-2016-5195 "dirty cow".

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-10-28 08:39:58 -07:00
California Sullivan
c22a747e23 linux-yocto/4.1: Update SRCREVs for v4.1.33 and 'dirty cow' backport
This change incorporates several stables updates as well as the fix to
CVE-2016-5195 "dirty cow".

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-10-28 08:39:58 -07:00
Jianxun Zhang
8dbd551c1c rmc: Add board data for NUC5i5RYB
A particular intention of this change is to remove the serial
setting in kernel command line that is hardcoded in core2 and
corei7 conf files.

However we cannot use KBOOTPARAM because it is designed as a
fragment appended to hardcoded part at runtime. This is why
we need to create more files in this patch to use cmdline
in bootloader entry files to bypass whatever from the build.

Once we have a clean base (no any preset console setting)
in generic configurations, this change can be dropped.

Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-10-20 11:12:30 -07:00
Saul Wold
3da6553f63 meta-intel: Enable RMC by default
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-20 11:12:30 -07:00
Rahul Kumar Gupta
e080f475b3 meta-isg: Update the MAINTAINERS file for removed BSP layer
Remove the maintainer name for meta-crystalforest from the maintainer
list, since this layer is removed from meta-intel.

Signed-off-by: Rahul Kumar Gupta <rahul.kumarxx.gupta@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-10-18 12:02:33 -07:00
Rahul Kumar Gupta
1308450dc3 meta-isg: meta-crystalforest: remove BSP layer
The meta-crystalforest BSP layer has removed. The plan is to consolidate all
Intel SoC BSP into intel common BSP.

Since Intel Common BSP can support all features provided by meta-crystalforest
with default kernel version, So this layer can be retired from master.

The kernel cmdline option:
	acpi_enforce_resources=lax
was added before in this BSP to support QAT software, which is no more required.

Signed-off-by: Rahul Kumar Gupta <rahul.kumarxx.gupta@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-10-18 12:02:29 -07:00
Rahul Kumar Gupta
8da07c016c qat16: move qat from meta-isg to common
Since there is plan to merge meta-isg layer to common meta-intel
layer. So relocate qat16 v2.6-65 recipe from meta-isg layer to common
meta-intel layer.

Signed-off-by: Rahul Kumar Gupta <rahul.kumarxx.gupta@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-10-18 12:02:26 -07:00