Commit Graph

1510 Commits

Author SHA1 Message Date
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
Rahul Kumar Gupta
9a0fe0a702 openssl-qat: move recipe from meta-isg to common
Since there is plan to merge meta-isg layer to common meta-intel
layer. So relocate openssl-qat v0.4.9-009 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:22 -07:00
Rahul Kumar Gupta
b7747142dc zlib-qat: move zlib-qat from meta-isg to common
Since there is plan to merge meta-isg layer to common meta-intel
layer. So relocate zlib-qat v0.4.7-002 recipe from meta-isg layer
to meta-intel/common 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:20 -07:00
Rahul Kumar Gupta
485f82ab71 dpdk: move dpdk from meta-isg to common
Since there is plan to merge meta-isg layer to common meta-intel
layer. So relocate dpdk v16.07 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:17 -07:00
Rahul Kumar Gupta
6adafe510e meta-isg: dpdk: fix build with kernel v4.8
Backported fixes from upstream dpdk sources to
ensure dpdk 16.07 compiles against kernel 4.8.

Signed-off-by: Rahul Kumar Gupta <rahul.kumarxx.gupta@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-10-17 08:12:13 -07:00
Saul Wold
755c4a95e9 intel-quark: Add WIC image creation
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-17 08:07:53 -07:00
Saul Wold
a7cc7abcc9 intel-core*: Add support for wic images
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-10-17 08:07:53 -07:00
California Sullivan
b38cdec1ab linux-yocto/4.8: Fix configcheck warnings and build in R8169 support
With this update, most of the kernel_config check warnings are fixed.
Also, we now have Ethernet support on the MinnowBoard MAX and Turbot on
minimal images.

>From yocto-kernel-cache:

552a837 features: Fix configcheck warnings in features used by intel-quark BSPs
c33d9c2 features: Fix configcheck warnings in features used by intel-core* BSPs
03bf3dd bsp/common-pc: Enable R8169 driver since its needed by supported platforms

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-10-12 17:09:34 -07:00
California Sullivan
9052773016 linux-yocto/4.8: Bump SRCREVs to v4.8 and add preempt-rt recipe
This updates the linux-yocto 4.8 bbappends to use the 4.8 final kernel.
Also, we finally add the preempt-rt recipe since the rt patches are
available with no obvious defects.

v2 changes:
* Add backport patch "Using BUG_ON() as an assert() is _never_ acceptable"

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-10-07 13:39:13 -07:00
Jianxun Zhang
c0dad5d5f4 libva-intel-driver: update 1.7.0 -> 1.7.2
This change updates libva-intel-driver to 1.7.2 which is in Intel
graphic stack 2016 Q3 release.

Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-09-27 11:51:11 -07:00
Jianxun Zhang
8d44bd4dc8 libva: update 1.7.0 -> 1.7.2
This change updates libva to 1.7.2 which is in Intel graphic stack
2016 Q3 release.

Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-09-27 11:51:08 -07:00
Jianxun Zhang
266e6c1108 intel-gpu-tools: update 1.14 -> 1.16
This change updates intel-gpu-tools to 1.16 which is in Intel
graphic stack 2016 Q3 release.

Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-09-27 11:51:06 -07:00
California Sullivan
7cceac01e1 linux-yocto*: Fix LINUX_VERSION variables
I was checking the kver file to update the LINUX_VERSION variable. At
the time of the last SRCREV update the kver files were incorrect. With
the kernel_version_sanity_check function added to oe-core, the
incorrect PV becomes a build error.

Fix this by updating the LINUX_VERSION variables in each linux-yocto
recipe to their correct value.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-09-23 10:04:16 -07:00
California Sullivan
31abb97302 meta-intel.inc: Bump PREFERRED_VERSION_linux-yocto to 4.8
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2016-09-15 08:43:56 -07:00