]> code.ossystems Code Review - openembedded-core.git/log
openembedded-core.git
7 years agoe2fsprogs_1.43.8.bb: improve reproducibility
Juro Bystricky [Sat, 3 Mar 2018 01:02:00 +0000 (17:02 -0800)]
e2fsprogs_1.43.8.bb: improve reproducibility

Various builds of e2fsprogs 1.43.7 package locales which may or may
not have POT-Creation-Date removed. There is no obvious pattern, it
affects different locales each time, the build being non-deterministic.

The root cause was tracked to non-deterministic time stamps (as GIT does
not preserve file mktime), so some "make" rules sometimes fired, sometimes
did not.

The remedy is to explicitly "touch" files that cause non-deterministic build.

[YOCTO #12516]

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agokmscube: Add patch for missing GBM function
Daniel Díaz [Sat, 3 Mar 2018 00:51:54 +0000 (18:51 -0600)]
kmscube: Add patch for missing GBM function

Some implementations of GBM, like the one included with
libMali, do not have gbm_bo_map() nor gbm_bo_unmap().
This patch enables kmscube to work with those implementations
even if it doesn't work as great.

Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agomeson.bbclass: fix to build for more projects
Chen Qi [Mon, 5 Mar 2018 02:02:01 +0000 (10:02 +0800)]
meson.bbclass: fix to build for more projects

We should use the value of CC for the c compiler setting in cross
compilation configuration file for meson. For example, if we only
use ${HOST_PREFIX}gcc instead of ${CC}, we would meet the following
do_compile failure for systemd.

  cc1: fatal error: linux/capability.h: No such file or directory

Do the same change for LD, AR, NM, STRIP and READELF.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibconvert-asn1-perl: inherit ptest-perl
Tim Orling [Mon, 5 Mar 2018 03:25:14 +0000 (19:25 -0800)]
libconvert-asn1-perl: inherit ptest-perl

* Enable ptest using new ptest-perl.bbclass

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agodtc: add rdepends_${PN}-misc = diffutils
Ioan-Adrian Ratiu [Sun, 4 Mar 2018 23:41:07 +0000 (01:41 +0200)]
dtc: add rdepends_${PN}-misc = diffutils

Needed by dtdiff which calls `diff` to display its result.

Signed-off-by: Ioan-Adrian Ratiu <adi@adirat.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agodiffutils: allow native & nativesdk builds
Ioan-Adrian Ratiu [Sun, 4 Mar 2018 23:41:08 +0000 (01:41 +0200)]
diffutils: allow native & nativesdk builds

Required by the new dtc rdepends to avoid errors like this:

ERROR: Required build target 'ionel-rpi-image' has no buildable providers.
Missing or unbuildable dependency chain was: ['ionel-rpi-image', 'nativesdk-packagegroup-sdk-host', 'nativesdk-qemu', 'nativesdk-dtc', 'nativesdk-diffutils']

Signed-off-by: Ioan-Adrian Ratiu <adi@adirat.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agogodep.bbclass: Add helper class to enable go-dep tool
Khem Raj [Sat, 3 Mar 2018 16:34:37 +0000 (08:34 -0800)]
godep.bbclass: Add helper class to enable go-dep tool

Many go packages can take advantage of dep tool since
they manage their own dependencies, this class helps
in using go dep tool for such packages

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agotcmode-default.inc: add settings for go
Matt Madison [Sun, 4 Mar 2018 21:09:37 +0000 (13:09 -0800)]
tcmode-default.inc: add settings for go

to allow GOVERSION to be set for using an older
go toolchain.

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agogo-runtime: remove unneeded nativesdk override, rename variable
Matt Madison [Sun, 4 Mar 2018 21:09:36 +0000 (13:09 -0800)]
go-runtime: remove unneeded nativesdk override, rename variable

since GO_LDFLAGS is also used by the dist tool, and it's confusing
to use a variable with the same name (but not exported, so unused
by make.bash/dist).

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agopackagegroup-go-sdk-target: add go-runtime-staticdev
Matt Madison [Sun, 4 Mar 2018 21:09:35 +0000 (13:09 -0800)]
packagegroup-go-sdk-target: add go-runtime-staticdev

to allow go programs to be linked either statically or
dynamically when cross-compiling with the SDK.

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agogo: disable PIE CFLAGS for nativesdk and cross-canadian builds
Matt Madison [Sun, 4 Mar 2018 21:09:34 +0000 (13:09 -0800)]
go: disable PIE CFLAGS for nativesdk and cross-canadian builds

The statically-linked Go code in the toolchain is not compatible
with PIE, so disable its use in the C compiler during the
toolchain build.

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agogo.bbclass, goarch.bbclass: update SECURITY_CFLAGS
Matt Madison [Sun, 4 Mar 2018 21:09:33 +0000 (13:09 -0800)]
go.bbclass, goarch.bbclass: update SECURITY_CFLAGS

With go1.10 the NOPIE flags are only required for
MIPS target builds, and are now incompatible for
the other architectures.

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agogo: move common settings to go-common.inc
Matt Madison [Sun, 4 Mar 2018 21:09:32 +0000 (13:09 -0800)]
go: move common settings to go-common.inc

Eliminate some redundancy in the recipes by moving
some commonly-used variable settings to the common
include file.  Also removed a duplicate inherit
from go-target.inc that was already in go-common.inc.

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agogoarch.bbclass: disable shared runtime for nativesdk builds
Matt Madison [Sun, 4 Mar 2018 21:09:31 +0000 (13:09 -0800)]
goarch.bbclass: disable shared runtime for nativesdk builds

While useful on embedded devices for saving disk space, use
of shared runtime in Go is not the usual practice, so disable
it for nativesdk builds.  We don't use it for native builds,
either, so this makes the SDK match the native environment
more closely.

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agogo.bbclass: ptest cleanup and improvements
Matt Madison [Sun, 4 Mar 2018 21:09:30 +0000 (13:09 -0800)]
go.bbclass: ptest cleanup and improvements

* Don't enable verbose test output (-test.v)
  by default, as it generates too much noise
  for automated results parsing

* Override do_install_ptest_base in the bbclass,
  so recipes can provide their own modifications
  with do_install_ptest.

* Improve the generated run-ptest script to better
  handle large numbers of tests, and to generate
  'status: test name' output similar to Automake
  tests.

* Install all non-vendored 'testdata' directories
  from the source into the ptest package, as some
  packages share test data among multiple tests.

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agogo.bbclass: don't stage test data with sources
Matt Madison [Sun, 4 Mar 2018 21:09:29 +0000 (13:09 -0800)]
go.bbclass: don't stage test data with sources

Any directory in a Go package's source tree called
'testdata' contains test data, and isn't necessary
for building.

Some packages include ELF files and other binaries
as test data, and staging them in the sysroot and
-dev package leads to unnecessary QA warnings.

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agogo.bbclass: remove debug-related commands
Matt Madison [Sun, 4 Mar 2018 21:09:28 +0000 (13:09 -0800)]
go.bbclass: remove debug-related commands

The 'go env' in the do_compile function and
the set -x/+x in the do_install_ptest function
were used for debugging the bbclass, and aren't
really needed.

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agogo.bbclass: rename GO_TMPDIR -> GOTMPDIR
Matt Madison [Sun, 4 Mar 2018 21:09:27 +0000 (13:09 -0800)]
go.bbclass: rename GO_TMPDIR -> GOTMPDIR

and export it. Go 1.10 now supports using this
separate variable locating its temporary files.

TMPDIR is still set, for compatibility with go1.9;
that can be dropped once 1.9 is retired.

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agogo: set GOMIPS envrionment variable
Matt Madison [Sun, 4 Mar 2018 21:09:26 +0000 (13:09 -0800)]
go: set GOMIPS envrionment variable

Go 1.10 adds support for selecting hard/soft float
object code through the GOMIPS environment variable.

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agogo: update go 1.9 -> go 1.10
Matt Madison [Sun, 4 Mar 2018 21:09:25 +0000 (13:09 -0800)]
go: update go 1.9 -> go 1.10

* Patches and recipes reworked for go 1.10's significant
  changes to its bootstrap and build steps.

* Update go1.4 source tarball used for go-native
  bootstrapping to the version recommended
  in the current go documentation

* Remove test data from installed sources to eliminate
  some packaging QA warnings

* Set GOCACHE to 'off' to disable 1.10's build caching
  in the go recipes and bbclass

* Update go_do_compile to compile both static and
  dynamic objects dynamic linking is in use, since
  go1.10's build tool is pickier about this

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoexpect: upgrade 5.45.3 -> 5.45.4
Alexander Kanavin [Thu, 1 Mar 2018 14:00:51 +0000 (16:00 +0200)]
expect: upgrade 5.45.3 -> 5.45.4

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agomaintainers.inc: add myself as -bootconf recipe maintainer
California Sullivan [Thu, 1 Mar 2018 02:15:18 +0000 (18:15 -0800)]
maintainers.inc: add myself as -bootconf recipe maintainer

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosystemd-boot-cfg.bbclass: Don't reference or set OVERRIDES
California Sullivan [Thu, 1 Mar 2018 02:15:17 +0000 (18:15 -0800)]
systemd-boot-cfg.bbclass: Don't reference or set OVERRIDES

There's no need to add to the local copy of overrides and then not do
anything with it.

Now that this function is being used in package creation it was causing
sstate issues as well, as MACHINE is always in OVERRIDES, so something
trivial such as the name of the MACHINE would cause the hash to change.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogrub-efi-cfg.bbclass: Don't reference or set OVERRIDES
California Sullivan [Thu, 1 Mar 2018 02:15:16 +0000 (18:15 -0800)]
grub-efi-cfg.bbclass: Don't reference or set OVERRIDES

There's no need to add to the local copy of overrides and then not do
anything with it.

Now that this function is being used in package creation it was causing
sstate issues as well, as MACHINE is always in OVERRIDES, so something
trivial such as the name of the MACHINE would cause the hash to change.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoselftests: Add test case for booting a generic EFI boot partition image
California Sullivan [Thu, 1 Mar 2018 02:15:15 +0000 (18:15 -0800)]
selftests: Add test case for booting a generic EFI boot partition image

Simple test case that adds 'efi' to MACHINE_FEATURES, sets WKS_FILE to
"efi-bootdisk.wks.in", installed required boot items, and attempts to
boot the wic image.

Quick check to make sure that the feature actually works.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolayer.conf: add -bootconf recipes to SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS
California Sullivan [Thu, 1 Mar 2018 02:15:14 +0000 (18:15 -0800)]
layer.conf: add -bootconf recipes to SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS

The bootloaders depend on these to be functional in the non-deploy case,
but changes in them don't require rebuilding of the packages.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoinit-install.sh: support multiple kernels and don't assume vmlinuz
California Sullivan [Thu, 1 Mar 2018 02:15:13 +0000 (18:15 -0800)]
init-install.sh: support multiple kernels and don't assume vmlinuz

Since kernels will not necessarily be installed as vmlinuz anymore,
don't assume that's its name for either the bootloader config or the
copy of the kernel.

Also, allow installing multiple kernels by searching for common kernel
names.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopackagegroup-core-boot: add kernel for EFI systems
California Sullivan [Thu, 1 Mar 2018 02:15:12 +0000 (18:15 -0800)]
packagegroup-core-boot: add kernel for EFI systems

Previously this wasn't needed because the kernel was added at image
creation time to the boot partition. Now that the boot partition is
created from the /boot/ partition of the rootfs, it needs to be
installed there.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosystemd-boot: add package that installs to boot
California Sullivan [Thu, 1 Mar 2018 02:15:11 +0000 (18:15 -0800)]
systemd-boot: add package that installs to boot

If the EFI_PROVIDER is systemd-boot, install as boot(x64|ia32) as per
convention. If its not the EFI_PROVIDER, install as
systemd-boot(x64|ia32), as to not collide with other possible
bootloaders.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosystemd-boot*.bbclass: Don't use vmlinuz
California Sullivan [Thu, 1 Mar 2018 02:15:10 +0000 (18:15 -0800)]
systemd-boot*.bbclass: Don't use vmlinuz

We can't guarantee vmlinuz anymore. Use KERNEL_IMAGETYPE instead.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosystemd: add systemd-bootconf recipe
California Sullivan [Thu, 1 Mar 2018 02:15:09 +0000 (18:15 -0800)]
systemd: add systemd-bootconf recipe

Reuses our systemd-boot-cfg bbclass to generate systemd-boot
configuration files.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosystemd-boot.bbclass: break out configuration creation
California Sullivan [Thu, 1 Mar 2018 02:15:08 +0000 (18:15 -0800)]
systemd-boot.bbclass: break out configuration creation

This class is useful on its own and can be used to create configuration
recipes.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agosyslinux.bbclass: don't use vmlinuz
California Sullivan [Thu, 1 Mar 2018 02:15:07 +0000 (18:15 -0800)]
syslinux.bbclass: don't use vmlinuz

We can't guarantee the kernel will be named vmlinuz anymore. Use
KERNEL_IMAGETYPE instead.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoinit-install-efi.sh: Update to support installing multiple kernels
California Sullivan [Thu, 1 Mar 2018 02:15:06 +0000 (18:15 -0800)]
init-install-efi.sh: Update to support installing multiple kernels

We can no longer rely on the kernel having a static name of "vmlinuz".
This means we can't use it as a sentinel value in our sed commands, and
we can't just copy vmlinuz to the boot directory.

Instead, we'll use "root=" as the sentinel value for our sed commands,
and we'll search for common kernel names to copy into our boot
directory.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agowic: add wks file to make use of exclude-path functionality
California Sullivan [Thu, 1 Mar 2018 02:15:05 +0000 (18:15 -0800)]
wic: add wks file to make use of exclude-path functionality

Using --exclude-path and a wks.in file we can create an image that takes
the /boot/ directory for the boot partition, has an empty /boot/
directory in the rootfs partition. The boot partition gets mounted to
/boot/ after startup.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogrub-efi*.bbclass: don't reference vmlinuz
California Sullivan [Thu, 1 Mar 2018 02:15:04 +0000 (18:15 -0800)]
grub-efi*.bbclass: don't reference vmlinuz

Rather than renaming the kernel to vmlinuz and assuming the name is
vmlinuz in the grub.cfg, copy to ${KERNEL_IMAGETYPE} and also use that
value in the grub.cfg file.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolive-vm-common.bbclass: Don't use vmlinuz or VM_DEFAULT_KERNEL
California Sullivan [Thu, 1 Mar 2018 02:15:03 +0000 (18:15 -0800)]
live-vm-common.bbclass: Don't use vmlinuz or VM_DEFAULT_KERNEL

I can't find VM_DEFAULT_KERNEL used anywhere else, and we should not be
statically installing the kernel as vmlinuz.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopackagegroup-core-boot: add bootloader to EFI systems
California Sullivan [Thu, 1 Mar 2018 02:15:02 +0000 (18:15 -0800)]
packagegroup-core-boot: add bootloader to EFI systems

Since the bootloader is now installed instead of added at image creation
time, this is necessary for booting.

Also set the default to grub-efi. This is done because a default of
grub-efi is already used by live-vm-common.bbclass, and in the event
that EFI_PROVIDER isn't defined errors would occur.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogrub-efi: if installed and EFI_PROVIDER, install as bootx64 or bootia32
California Sullivan [Thu, 1 Mar 2018 02:15:01 +0000 (18:15 -0800)]
grub-efi: if installed and EFI_PROVIDER, install as bootx64 or bootia32

This way we could theoretically support multiple bootloaders, and we
keep the convention of boot(x64|ia32).

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogrub-efi: install to /boot/
California Sullivan [Thu, 1 Mar 2018 02:15:00 +0000 (18:15 -0800)]
grub-efi: install to /boot/

Since /boot/ will be recipe/package controlled now we can't just deploy.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogrub: create recipe for configuration
California Sullivan [Thu, 1 Mar 2018 02:14:59 +0000 (18:14 -0800)]
grub: create recipe for configuration

This makes use of the grub-efi-cfg bbclass that was split out to create
a grub.cfg file just like the old one.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agogrub-efi.bbclass: split out configuration portion
California Sullivan [Thu, 1 Mar 2018 02:14:58 +0000 (18:14 -0800)]
grub-efi.bbclass: split out configuration portion

This part is useful on its own, whereas the whole class together is
specific for image-live.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoglibc: Compile using thumb2 for arch > armv5 if user chooses
Khem Raj [Sat, 3 Mar 2018 20:24:39 +0000 (12:24 -0800)]
glibc: Compile using thumb2 for arch > armv5 if user chooses

For arm we enforce ARM mode regardless of ARM_INSTRUCTION_SET
choice from config metadata, glibc works fine with thumb2 for
armv7+ so limit the restriction to armv5 and lower, tested on
rpi3 works equally well as arm mode glibc and sheds about 0.5MB
in size for main package alone. Other glibc build packages also
gets smaller

ARM:    2696   KiB     libc6
Thumb2: 2132   KiB     libc6

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agomaintainers.inc: self-assign recipes from recipes-extended/perl
Tim Orling [Mon, 5 Mar 2018 03:25:18 +0000 (19:25 -0800)]
maintainers.inc: self-assign recipes from recipes-extended/perl

In prior round, the perl module recipes in recipes-extended/perl
were inadvertantly overlooked.

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agomaintainers: self-assign perl module maintainership
Tim Orling [Sun, 4 Mar 2018 23:07:50 +0000 (15:07 -0800)]
maintainers: self-assign perl module maintainership

Also, take over the other recipes that were just enabled for
ptest:
  - liberror-perl
  - liburi-perl
  - libxml-parser-perl
  - libxml-perl
  - libxml-simple-perl

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibxml-sax-perl: inherit ptest-perl
Tim Orling [Mon, 5 Mar 2018 03:25:17 +0000 (19:25 -0800)]
libxml-sax-perl: inherit ptest-perl

* Enable ptest by inheriting new ptest-perl.bbclass
* Install testfiles/ into PTEST_PATH

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibxml-sax-base-perl: inherit ptest-perl
Tim Orling [Mon, 5 Mar 2018 03:25:16 +0000 (19:25 -0800)]
libxml-sax-base-perl: inherit ptest-perl

* Enable ptest by inheriting new ptest-perl.bbclass

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibtimedate-perl: inherit ptest-perl
Tim Orling [Mon, 5 Mar 2018 03:25:15 +0000 (19:25 -0800)]
libtimedate-perl: inherit ptest-perl

* Enable pteset with new ptest-perl.bbclass

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibsdl2: Upgrade 2.0.7 -> 2.0.8
Khem Raj [Sun, 4 Mar 2018 04:09:49 +0000 (20:09 -0800)]
libsdl2: Upgrade 2.0.7 -> 2.0.8

License checksum changed due to copyright year changes see commit

https://github.com/SDL-mirror/SDL/commit/a9072159b2afff5a338804781312067f0a174c3c#diff-21c55fa400e4d25aed3a755371e32151

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibxml-simple-perl: inherit ptest-perl
Tim Orling [Sun, 4 Mar 2018 12:41:55 +0000 (04:41 -0800)]
libxml-simple-perl: inherit ptest-perl

* Enable ptest by inheriting new ptest-perl.bbclass

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibxml-perl: inherit ptest-perl
Tim Orling [Sun, 4 Mar 2018 12:41:54 +0000 (04:41 -0800)]
libxml-perl: inherit ptest-perl

* Enable ptest by inheriting new ptest-perl.bbclass

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibxml-parser-perl: inherit ptest-perl
Tim Orling [Sun, 4 Mar 2018 12:41:53 +0000 (04:41 -0800)]
libxml-parser-perl: inherit ptest-perl

* Enable ptest by inheriting new ptest-perl.bbclass

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoliburi-perl: inherit ptest-perl
Tim Orling [Sun, 4 Mar 2018 12:41:52 +0000 (04:41 -0800)]
liburi-perl: inherit ptest-perl

* Enable ptest by inheriting new ptest-perl.bbclass
* Remove t/cwd.t and t/file.t which require "-T"
  (taint) command line option as they will fail.

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoliberror-perl: inherit ptest-perl
Tim Orling [Sun, 4 Mar 2018 12:41:51 +0000 (04:41 -0800)]
liberror-perl: inherit ptest-perl

* Enable ptest by inheriting new ptest-perl.bbclass

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolibtest-needs-perl: add 0.002005
Tim Orling [Sun, 4 Mar 2018 12:41:50 +0000 (04:41 -0800)]
libtest-needs-perl: add 0.002005

Skip tests when modules not available

* Dependency for ptest of liburi-perl

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agometa/classes: add ptest-perl.bbclass
Tim Orling [Sun, 4 Mar 2018 12:41:49 +0000 (04:41 -0800)]
meta/classes: add ptest-perl.bbclass

* Enable easier testing of perl modules
  - Installs t/* to PTEST_PATH
  - Uses common run-ptest script

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agopopulate_sdk_base: depend on nativesdk-glibc-locale
Ross Burton [Fri, 2 Mar 2018 20:52:54 +0000 (20:52 +0000)]
populate_sdk_base: depend on nativesdk-glibc-locale

If we're building a SDK and we're using glibc so may be installing locales,
add a build-dependency on natiesdk-glibc-locale so the locales we need will
exist.

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agosdk: only install locales if we're using glibc
Ross Burton [Fri, 2 Mar 2018 20:53:10 +0000 (20:53 +0000)]
sdk: only install locales if we're using glibc

Using glibc-locale to install locales only makes sense if we're using glibc.

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agotestexport-tarball: sync with buildtools-tarball
Ross Burton [Fri, 2 Mar 2018 20:52:28 +0000 (20:52 +0000)]
testexport-tarball: sync with buildtools-tarball

This is basically a copy/paste of buildtools-tarball so copy some of the
recent changes to buildtools across.

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoxcb-proto: solve python cache collision
Ross Burton [Fri, 2 Mar 2018 14:06:49 +0000 (14:06 +0000)]
xcb-proto: solve python cache collision

Because I didn't really want python3-native to be at the bottom of the
entire X11 stack this recipe jumps through a small hoop to use the host
Python to run some modules it installs into the sysroot.

The Makefile compiles the Python module, which is good as the cache file
is recorded in the sstate manifest so when the package is removed from the
sysroot all of it is removed.

However in an enviroment where the sstate is shared between multiple hosts
it is possible that a different Python is used and this will generate a
new cache when the code is executed, which is not recorded in the manifest.
Eventually you'll end up with ownerless cache files in a sysroot which
conflict with the same file coming from a sstate upgrade.

Solve this with a SSTATE_INST_POSTRM which is ran when sstate is removed
to ensure that there are no Python cache files left behind.

[ YOCTO #11809 ]

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agomaintainers.inc: add myself as maintainer for the new busybox-inittab
Denys Dmytriyenko [Sun, 4 Mar 2018 19:12:43 +0000 (14:12 -0500)]
maintainers.inc: add myself as maintainer for the new busybox-inittab

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agolayer.conf: add busybox-inittab to SIGGEN_EXCLUDERECIPES_ABISAFE
Denys Dmytriyenko [Sat, 3 Mar 2018 01:46:51 +0000 (20:46 -0500)]
layer.conf: add busybox-inittab to SIGGEN_EXCLUDERECIPES_ABISAFE

Similar to sysvinit-inittab

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobusybox: separate inittab into own package, due to SERIAL_CONSOLES being machine...
Denys Dmytriyenko [Sat, 3 Mar 2018 01:46:50 +0000 (20:46 -0500)]
busybox: separate inittab into own package, due to SERIAL_CONSOLES being machine-specific

* Create busybox-inittab recipe to produce machine-specific package with /etc/inittab
  and necessary getty calls for a machine, based on SERIAL_CONSOLES, similar to how
  sysvinit-inittab was done

* Since CONFIG_FEATURE_USE_INITTAB is controlled by VIRTUAL-RUNTIME_init_manager, make
  main busybox package RDEPENDS on busybox-inittab when init_manager is set to busybox

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobase: Handle backfilling in anonymous python code, not event handler
Richard Purdie [Fri, 2 Mar 2018 18:17:40 +0000 (18:17 +0000)]
base: Handle backfilling in anonymous python code, not event handler

Handling of backfilling is trickier than you'd think. We need this to execute
early enough that the user will see the changes in bitbake -e and other output
yet late enough that the virtclass extensions have changed the tunes before
it executes.

It makes more sense to execute this at anonymous python time now bitbake -e
correctly handles this and that unbreaks multilib corruption of these variables.

[YOCTO #12373]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agoimage: Remove the do_package_write_* tasks
Richard Purdie [Sat, 3 Mar 2018 08:39:37 +0000 (08:39 +0000)]
image: Remove the do_package_write_* tasks

Now we're filtering tasks in the rpm indexing code so that tasks can only
see the packages they really depend upon, having noexec package_write tasks
around is causing problems since the tasks exist but don't have manifests.

Removing the tasks entirely solves this problem and streamlines the
task execution graph too.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agobase: Don't print LICENSE warning for non-recipe context
Richard Purdie [Fri, 2 Mar 2018 18:18:04 +0000 (18:18 +0000)]
base: Don't print LICENSE warning for non-recipe context

Now bitbake is executing anonymous python fragments in bitbake -e,
ensure we don't show the error in that context (where PN would be
unchanged from default).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
7 years agooeqa/runtime/opkg.py: add runtime test for opkg
Yeoh Ee Peng [Fri, 2 Mar 2018 01:35:37 +0000 (17:35 -0800)]
oeqa/runtime/opkg.py: add runtime test for opkg

Add runtime test for opkg to test that it can install ipk
package from remote source.

[YOCTO# 11488]

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agooeqa/runtime/apt.py: add runtime test for apt
Yeoh Ee Peng [Fri, 2 Mar 2018 01:35:36 +0000 (17:35 -0800)]
oeqa/runtime/apt.py: add runtime test for apt

Add runtime test for apt to test that it can install deb
package from remote source.

[YOCTO# 11488]

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agotclibc-musl.inc: Add needed libc deps for musl for on-device SDK
Khem Raj [Fri, 2 Mar 2018 18:09:10 +0000 (10:09 -0800)]
tclibc-musl.inc: Add needed libc deps for musl for on-device SDK

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agomaintainers: Add myself for musl-utils
Khem Raj [Fri, 2 Mar 2018 17:52:56 +0000 (09:52 -0800)]
maintainers: Add myself for musl-utils

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agomusl-utils: Add package
Khem Raj [Fri, 2 Mar 2018 17:52:55 +0000 (09:52 -0800)]
musl-utils: Add package

This contains getconf, getent and iconv glibc compat utils

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agomusl: Rename files/ directory to musl/
Khem Raj [Fri, 2 Mar 2018 17:52:54 +0000 (09:52 -0800)]
musl: Rename files/ directory to musl/

Since it holds musl specific patches, name it so

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agobsd-headers: Move next to musl recipes
Khem Raj [Fri, 2 Mar 2018 17:52:53 +0000 (09:52 -0800)]
bsd-headers: Move next to musl recipes

This helps communicate the dependency a bit better

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agobusybox: fix CVE-2017-15873
Andrej Valek [Fri, 2 Mar 2018 08:13:51 +0000 (09:13 +0100)]
busybox: fix CVE-2017-15873

Signed-off-by: Radovan Scasny <radovan.scasny@siemens.com>
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoperf: fix packaging of scripting modules
Anuj Mittal [Fri, 2 Mar 2018 04:44:16 +0000 (12:44 +0800)]
perf: fix packaging of scripting modules

Make sure that python and perl scripts are packaged in the correct rpm.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibjpeg-turbo: improve reproducibility
Juro Bystricky [Thu, 1 Mar 2018 22:53:18 +0000 (14:53 -0800)]
libjpeg-turbo: improve reproducibility

Build date ends up embbedded in binary images, breaking reproducibility
of jpeg-tools and libturbojpeg. To enable reproducible builds, build date can be
specified during configuration, via "--with_build_date=<date>".
If SOURCE_DATE_EPOCH is specified we configure libjpeg-turbo with this value as
build date. Although the build date is a generic string, we keep it in the same
format YYYYMMDD.

[YOCTO #12526]

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agottf-bitstream-vera: cleanup recipe
Ross Burton [Tue, 3 Feb 2015 19:48:10 +0000 (19:48 +0000)]
ttf-bitstream-vera: cleanup recipe

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibepoxy: improve musl patch
Ross Burton [Thu, 1 Mar 2018 22:20:39 +0000 (22:20 +0000)]
libepoxy: improve musl patch

dlvsym() is used by the libepoxy test suite, but this is glibc-specific and
isn't present in musl.

Instead of adding an option to control whether dlvsym is available (which could
be detected by Meson), as we don't install the test suite simply add an option
to disable the entire test suite (and submit the patch upstream).

Also remove the build dependency on util-macros as that is a remnant of the
autotools build.

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibepoxy: update to version 1.5.0
Francesco Giancane [Thu, 1 Mar 2018 16:19:22 +0000 (17:19 +0100)]
libepoxy: update to version 1.5.0

libepoxy 1.4.3 did not compile successfully because of
implicit symbol definitions and link-time errors.

Patch to disable 'dlvsym' has also been forward-ported
to be applicable to version 1.5.0.
The patch 'Add-fallback-definition-for-EGL-CAST.patch' is
mainline now; thus it can be safely removed.
Also, the patch
0001-Define-MESA_EGL_NO_X11_HEADERS-before-including-eglp.patch
is no longer required since mainline fixed this too.

Signed-off-by: Francesco Giancane <francescogiancane8@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agotrace-cmd: update to 2.7
Alexander Kanavin [Thu, 1 Mar 2018 14:00:52 +0000 (16:00 +0200)]
trace-cmd: update to 2.7

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agomeson: upgrade 0.44.0 -> 0.44.1
Alexander Kanavin [Thu, 1 Mar 2018 14:00:50 +0000 (16:00 +0200)]
meson: upgrade 0.44.0 -> 0.44.1

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agovala: upgrade 0.38.6 -> 0.38.8
Alexander Kanavin [Thu, 1 Mar 2018 14:00:49 +0000 (16:00 +0200)]
vala: upgrade 0.38.6 -> 0.38.8

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoepiphany: upgrade 3.26.5.1 -> 3.26.6
Alexander Kanavin [Thu, 1 Mar 2018 14:00:48 +0000 (16:00 +0200)]
epiphany: upgrade 3.26.5.1 -> 3.26.6

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoffmpeg: upgrade 3.4.1 -> 3.4.2
Alexander Kanavin [Thu, 1 Mar 2018 14:00:47 +0000 (16:00 +0200)]
ffmpeg: upgrade 3.4.1 -> 3.4.2

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agompg123: upgrade 1.25.8 -> 1.25.10
Alexander Kanavin [Thu, 1 Mar 2018 14:00:46 +0000 (16:00 +0200)]
mpg123: upgrade 1.25.8 -> 1.25.10

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agostrace: use strace.io as the tarball location
Alexander Kanavin [Thu, 1 Mar 2018 14:00:45 +0000 (16:00 +0200)]
strace: use strace.io as the tarball location

As explained here:
https://sourceforge.net/projects/strace/files/

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolatencytop: remove recipe
Alexander Kanavin [Thu, 1 Mar 2018 14:00:41 +0000 (16:00 +0200)]
latencytop: remove recipe

Last commit and release were in 2009; website is down; it's a dead project.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolibpam: be more strict about user's sanity
Martin Jansa [Thu, 1 Mar 2018 10:11:38 +0000 (10:11 +0000)]
libpam: be more strict about user's sanity

* replace do_pam_sanity function with distro_features_check inherit
* fixes:
  WARNING: libpam-1.3.0-r5 do_pam_sanity: Building libpam but 'pam' isn't in DISTRO_FEATURES, PAM won't work correctly
  in world builds and prevents user to build libpam at all without pam
  in DISTRO_FEATURES, I don't see any users of this which wouldn't respect
  pam in DISTRO_FEATURES
* only libuser is depending on libpam without respecting DISTRO_FEATURES
* there are few recipes in meta-oe layers depending on libpam without
  respecting DISTRO_FEATURES, I've sent patch for them:
  samba, openwsman, pam-ssh-agent-auth, sblim-sfcb, passwdqc, python-pam, smbnetfs
  and omxplayer in meta-raspberrypi, I've sent PR for that one:
  https://github.com/agherzan/meta-raspberrypi/pull/192
* poky-lsb will need to add pam to DISTRO_FEATURES in order to build
  packagegroup-core-lsb

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoopenssh: remove unused patch
Maxin B. John [Wed, 28 Feb 2018 14:57:54 +0000 (16:57 +0200)]
openssh: remove unused patch

Remove unused patch:
        0001-openssh-Fix-syntax-error-on-x32.patch

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agopseudo: update to latest master
Alexander Kanavin [Thu, 1 Mar 2018 13:53:46 +0000 (15:53 +0200)]
pseudo: update to latest master

Dropped patches:
0001-Use-epoll-API-on-Linux.patch replaced by
http://git.yoctoproject.org/cgit/cgit.cgi/pseudo/commit/?id=0a3e435085046f535074f498a3de75a7704fb14c
(also add --enable-epoll to configure options)

b6b68db896f9963558334aff7fca61adde4ec10f.patch merged upstream

efe0be279901006f939cd357ccee47b651c786da.patch merged upstream

fastopreply.patch replaced by
http://git.yoctoproject.org/cgit/cgit.cgi/pseudo/commit/?id=449c234d3030328fb997b309511bb54598848a05

toomanyfiles.patch rebased

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agoglib: no need to depend on python3native
Ross Burton [Thu, 1 Mar 2018 14:55:47 +0000 (14:55 +0000)]
glib: no need to depend on python3native

The glib build doesn't appear to use python3native, so remove it to streamline
build dependencies.

Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolinux-yocto/4.12: add stratix10 SoC development board
Bruce Ashfield [Wed, 28 Feb 2018 02:06:55 +0000 (21:06 -0500)]
linux-yocto/4.12: add stratix10 SoC development board

Integrating the patches to introduce support for  stratix10 SOC, which
comprises the following commits:

   22f73c1fe991 drivers: ethernet: stmmac: keep Ethernet clock in enable status on Stratix10 platform
   c3ceae6df341 drivers: ethernet: stmmac: improve phy control during ethernet suspend/resume
   883d8df59543 drivers: ethernet: stmmac: set delay_us value as 0
   063b17881fed arm64: dts: stratix10: add interrupt-parent property in root node
   e991516fa777 arm64: dts: stratix10: correct PMU interrupt number
   555f51414098 arm64: dts: stratix10: add alias for i2c1
   a5dd201f0e8c arm64: dts: stratix10: control FPGA IO from linux kernel
   67e763e631bd mtd: spi-nor: add support for mt25qu02g serial flash
   6068e35ed261 arm64: dts: stratix10: enable qspi feature
   2d019c47939c arm64: dts: stratix10: add USB ECC reset bit
   d9b9d63a6417 FogBugz #516572: add clock to USB nodes
   f4bca65baf07 arm64: dts: stratix10: enable USB on the devkit
   1ed12c04eac6 arm64: dts: stratix10: remove phy node for usb
   b9b8f08f50ca usb: dwc2: add optional usb ecc reset bit
   7a04b5cba903 usb: dwc2: disable erroneous overcurrent condition
   aac3bd2a2e23 dts: stratix10_socdk: enable gpio1 and leds
   9807c107b1c3 arm64: dts: stratix10: fix interrupt number for gpio1
   cbd264cde6bc arm64: dts: stratix10: add gpio header
   f91f7117ef93 gpio: gpio-dwapb: add optional reset
   3aa90a6801aa mtd: spi-nor: Allow Cadence QSPI support for ARM64
   3bb156eb80b6 FogBugz #495013-1: dts: stratix10: Add QSPI support for Stratix10
   81981997697b reset: socfpga: fix for 64-bit compilation
   882cc1f9800d FogBugz #491967-5: dts: stratix10: add ltc2497
   d7b3bc0833a6 FogBugz #492768: Revert "i2c: dw: temporary workaround for i2c clocks"
   60711b82517f arm64: dts: stratix10: add reset property for various peripherals
   f9aeefce1310 arm64: stratix10: add the 'altr,modrst-off' property
   e65b02b3b5b7 arm64: stratix10: include the reset manager bindings
   7ffbb161ee30 reset: socfpga: build the reset-socfpga for Stratix10 SOC
   95197b89dd72 FogBugz #493310: dts: use the clocks for the timers and uarts
   c6ec92c9222a FogBugz #493306: mark the l4_sp_clk as a critical clock
   7caf335dd0fa FogBugz #492768: i2c: dw: temporary workaround for i2c clocks
   b247b5ed60c0 FogBugz #491967-2: dts: stratix10: enable i2c
   b0ea5bac0b3a FogBugz #492420: fix up the correct order of parents for noc_clk
   c81d19a6683b arm64: dts: stratix10: add ethernet/sdmmc support to S10 devkit
   00d6740c9ec9 FogBugz #491251: temporary remove PSCI node
   789aabac6e9d arm64: dts: fix up the gic register for the Stratix10 platform
   9504049ea576 FogBugz #488936-2: Add clocks to emac/sdmmc node
   8ad32e880376 FogBugz #488936-1: dts: bringup SoCFPGA Stratix10 devkit
   f826ccc79752 FogBugz #488843-2: add clock driver for Stratix10 SOC
   56594bb54083 FogBugz #488843-1: dts: clock bindings for the SoCFPGA Stratix10
   2a25f1e19487 FogBugz #488851: dts: use spin-table for SMP
   d36f9d7f16c3 net: stmmac: Adjust dump offset of DMA registers for ethtool
   50eb2994beea Revert "FogBugz #470510: Update stratix10_swvp.dts file for S10 SoC Simics/VP"
   9cc3c6bc11a7 net: stmmac: Add additional registers for dwmac1000_dma ethtool
   4b12474ecb09 FogBugz #470512: Update stratix10_swvp.dts file for S10 SoC Simics/VP
   2e1cf1b70e9a FogBugz #468942-2: Modify QSPI read_delay for Arria10.
   a2baa4e9366e FogBugz #454145: Update stratix10_swvp.dts file for S10 SoC VP
   352eccb9c28e dt-bindings: reset: Add reset manager offsets for Stratix10
   4951f51f6650 FogBugz #458420-2: ARM: dts: add lcd character panel
   52625560a859 FogBugz #458420-1: dts: arria10 socdk: add max1619
   a7926b2fe419 ARM: dts: socfpga: set the i2c frequency
   af2c59f5810f FogBugz #374571: Fix Sysid driver hotplug support.
   b1d136a8001d FogBugz #284482-2: A10 cache coherency is different than A5/C5.
   8dc53e9000e6 FogBugz #284482-1: A10 cache coherency is different than A5/C5.
   cf59a2fb8882 FogBugz #408870: add debugfs interface for fpga config complete timeout
   a2a924222a02 FogBugz #421690: use a unique name to register freeze controller
   db0c754560cb FogBugz #403389-1: Altera Partial Reconfiguration IP Core
   2b11bb966e23 FogBugz #412211: fpga: fix fpga mgr debugfs for module
   546b85ceb86f FogBugz #411427: fpga: memory leaks in fpga manager debugfs
   186529660ef2 FogBugz #405628-1: fpga: doc: add config complete timeout
   e97cb7797091 FogBugz #404467: add missing binding documentation
   9454b288338e FogBugz #411698-3: hwmon: Add Altera A10-SR power supply alarms
   181766fbe257 FogBugz #411698-2: Add Altera A10-SR power supply alarms
   995c713ce65a FogBugz #408205: fix printf format error
   ff30a92ebff5 FogBugz #398879-2: fpga mgr debugfs
   46856886744c FogBugz #398879-1: fpga: doc: documentation for FPGA debugfs
   559f1b2b61f1 FogBugz #365525-3: socfpga: dts: remove fpga image specific info
   6ac61db6de48 ARM: DT: Enable symbols when CONFIG_OF_OVERLAY is used
   784a7fe5585c OF: DT-Overlay configfs interface (v7)
   dcc6ae577325 FogBugz #334039: enable SMP for the Stratix10 SWVP
   83c3f4a2b7dc FogBugz #332965: missing Makefile to build Stratix10 SWVP dts
   5604a2ed0cd1 FogBugz #331066: misc: altera_hwmutex: remove redundant unused of_match_ptr
   e5ad2362d2bc FogBugz #331067: misc: altera_hwmutex: remove .owner
   fdcb3fa5a3a5 FogBugz #332657-2: Stratix 10 Software Virtual Platform
   d64f00ea688a FogBugz #332657-1: Stratix 10 Software Virtual Platform
   86026fe01b25 FogBugz #299928: arria10 swvp: add device tree
   146f064db340 devicetree: net: micrel-ksz90x1.txt: correct documentation
   71244d32db2b TRCom NAND board device tree.
   bb328948b0b5 FogBugz #184650: Cleanup Altera license headers.
   8e855ce4b0c2 misc: sysid: use IS_ERR and PTR_ERR to check for error
   d5e88e198db0 misc: hwmutex: use IS_ERR and PTR_ERR to check for error
   8e7d24910197 FogBugz #236669: Add a Kconfig for ILC driver
   790e85ef4b28 misc: ilc: replace devm_request_and_ioremap with devm_ioremap_and_resource
   1025d2218b88 misc: sysid: replace devm_request_and_ioremap with devm_ioremap_and_resource
   0b1dbbb5a411 misc: hwmutex: replace devm_request_and_ioremap with devm_ioremap_resource
   f78ea9d901c6 FogBugz #240546: Move VIP driver into FB hardware folder
   56c37d32951b FogBugz #177284: add Altera VIP framebuffer driver
   c006613bfc15 FogBugz #229601: newhaven lcd: fix kbuild test robot warnings
   a20f46e5560c FogBugz #101176: add sys entry to set lcd module brightness
   effc29afd46a FogBugz #125882: lcd module needs time to process commands.
   ffab5da4edbf FogBugz #118160: support tilde character on newhaven lcd module
   c72219530e09 FogBugz #114479: load custom character for backslash
   0eb518db5832 FogBugz #107683: handle backspace better in lcd driver
   c62a261496fc tty: newhaven_lcd: Remove devinit and devexit
   717f3b73f7c7 FogBugz #102358: i2c newhaven lcd driver uses faulty hyphen
   394b437bac51 FogBugz #100586: Set lcd backlight brightness to max
   3754d6b77c1b FogBugz #84276: lcd driver on i2c
   115230c21271 FogBugz #143478: drivers/misc: Move sysid from arch to drivers
   8e28bdd388c4 FogBugz #178225: Add Altera interrupt latency counter driver
   095297e45627 FogBugz #144109: Remove extra lines from license header
   6534e0969ae2 FogBugz #143451: Fix mutex compatible string
   8eb7914d1532 FogBugz #138162: Add Altera hardware mutex driver
   075f0367ff60 FogBugz #184646: Turn on all peripheral clocks for a system reboot
   d695a0616fda FogBugz #172665: Sample driver for DMA transfer to FPGA soft IP (FIFO)
   f7b3f6418bbc FogBugz #143478: arch/arm: Move sysid from arch to drivers
   1dd2f4af39a0 ARM: socfpga: Turn on ARM errata for L2 cache
   40146055677a mm/sparsemem: Fix ARM64 boot crash when CONFIG_SPARSEMEM_EXTREME=y

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agolinux-yocto/4.14/4.15: yaffs2 fixes
Bruce Ashfield [Wed, 28 Feb 2018 02:06:54 +0000 (21:06 -0500)]
linux-yocto/4.14/4.15: yaffs2 fixes

Integrating the following fixes for yaffs2:

  9f9649fffac9 yaffs2: Adjust the timer callback and init functions
  0ef24a829eee yaffs2: include rawnand.h instead of nand.h

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agomesa: 17.3.5 -> 17.3.6
Huang Qiyu [Wed, 28 Feb 2018 01:25:14 +0000 (09:25 +0800)]
mesa: 17.3.5 -> 17.3.6

Upgrade mesa form 17.3.5 to 17.3.6.

Signed-off-by: HuangQiyu <huangqy.fnst@cn.fujitsu.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agowebkitgtk_2.16.6.bb: Remove gl3.h header reference
Bhargava Sreekantappa Gayathri [Wed, 28 Feb 2018 00:17:59 +0000 (16:17 -0800)]
webkitgtk_2.16.6.bb: Remove gl3.h header reference

GLES 2 application cannot use gl3.h header files, remove including gl3.h
when OpenGLESv2 is enabled in webkitgtk

Signed-off-by: Bhargava Sreekantappa Gayathri <bhargava.sreekantappa-gayathri@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agomaintainers: Change icecc-create-env maintainer
Joshua Watt [Mon, 26 Feb 2018 18:28:28 +0000 (12:28 -0600)]
maintainers: Change icecc-create-env maintainer

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agomusl: Upgrade to 1.1.19 release point
Khem Raj [Mon, 26 Feb 2018 14:38:13 +0000 (06:38 -0800)]
musl: Upgrade to 1.1.19 release point

Changes from the current commit

https://git.musl-libc.org/cgit/musl/log/?qt=range&q=628cf979b249fa76a80962e2eefe05073216a4db..55df09bfccbfe21fc9dd7d8f94550c0ff25ace04

Summary of this release
http://www.openwall.com/lists/musl/2018/02/22/2

Author list has been enhanced no changes to license itself

https://git.musl-libc.org/cgit/musl/commit/?id=1366b3c5e6d89d5ba90dd41fe5bf0246c5299b84

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agowic: Set a miniumum FAT16 volume size.
Paulo Neves [Sun, 25 Feb 2018 16:49:26 +0000 (17:49 +0100)]
wic: Set a miniumum FAT16 volume size.

Set a miniumum FAT16 volume size because images are
not valid to parted if this minimum value is not respected.

The value set is determined experimentally forr a logical
sector size of 512. This fixed my local problem but, there
may be better solutions.

Signed-off-by: Paulo Neves <ptsneves@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agowic: partition plugin wrongly assumes it is rootfs
Paulo Neves [Sun, 25 Feb 2018 16:49:25 +0000 (17:49 +0100)]
wic: partition plugin wrongly assumes it is rootfs

The partition plugin is used as the base for other plugins.
One of the methods the plugins use, is the prepare_rootfs
method.

The prepare_rootfs method wrongly assumes that the value
ROOTFS_SIZE from bitbake datastore is relevant to every
invocation of prepare_rootfs, which it clearly is not, for
example in the bootimg-partition case.

This commit adds an optional argument to prepare_rootfs
where a caller can tell prepare_rootfs if it is an actual
rootfs and whether related rootfs information retrieved from
bitbake is valid. The default behavior of this optional
argument is to assume that the invocation is an actual
rootfs, to maintain compatibility with previous
implementations.

Signed-off-by: Paulo Neves <ptsneves@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
7 years agowic: Add post operation hook for SourcePlugin
Parthiban Nallathambi [Tue, 20 Feb 2018 15:49:27 +0000 (16:49 +0100)]
wic: Add post operation hook for SourcePlugin

do_post_partition hook is needed if some operations like security signing
the parition needs to be done. source plugins can make use of this to implement
post operatiosn in do_post_partition. do_post_partition is called after
do_prepare_partition if present.

Signed-off-by: Parthiban Nallathambi <pn@denx.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>