summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFiles
2016-07-20wic: add systemd-boot option in EFI boot image pluginJianxun Zhang1
The new systemd-boot enabled in OE is the old gummiboot merged into systemd project. Our intention is to replace gummiboot with systemd-boot in OE once every feature based on gummiboot is supported with systemd-boot. Before we can purge gummiboot, we temporarily keep both of the two bootloaders supported. Patch doesn't do replacement for every "gummi" occurrence. We think cleaning can be done in background after we disable people to use gummiboot, so we just keep change small and safe this time. Signed-off-by: Jianxun Zhang <jianxun.zhang@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-20gcc-cross: default linker hash style to sysvChristopher Larson1
We explicitly set the hash style to gnu in our LDFLAGS. Setting the default to this in the toolchain, while convenient, actually hides bugs, as a failure to obey LDFLAGS isn't noticed. By removing this, it's not dissimilar to how we poison the sysroot -- rather than relying on the default, notice right away if somoeone isn't obeying the needed flags. This will result in a failure to obey LDFLAGS causing a GNU_HASH QA failure, which is what's often seen with external toolchains. This brings us all on the same page, and makes sure a failure to obey LDFLAGS is seen early. This is limited to cross, to retain ease of use for SDKs. Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-20gstreamer1.0-plugins-bad: Fix little rectangel appears at the center when ↵Yuqing Zhu2
use squeeze and tunnel effects Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-20gstreamer1.0-plugins-bad: Use the newer texture() function in glcolorconvertYuqing Zhu2
GLES3 deprecates texture2D() and it does not work at all in newer versions than 3.3. The new function can fix it. Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-20gstreamer1.0-plugins-bad: Add glBindFragDataLocation in glshaderYuqing Zhu2
There are some cases where it's needed for binding in/out variables in shaders. Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-20gstreamer1.0-plugins-bad: Don't use the predefined variable name in ↵Yuqing Zhu2
glcolorconvert Using 'sample' as a variable name is an error in GLES3. Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-20gstreamer1.0-plugins-bad: Implement multiple render targets for GLES3Yuqing Zhu2
There are numerous slight differences required between Desktop GL and GLES3 for multiple render targets. Need to realize it. Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-20gstreamer1.0-plugins-bad: Enable gldeinterlace on OpenGL ESYuqing Zhu2
Enable gldeinterlace on OpenGL ES to improve performance. Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-20gettext_0.16.1: remove useless files to avoid sysroot conflictsChen Qi1
Do as the 0.19.6 version do, remove these files to avoid sysroot conflicts with gettext-native-minimal. [YOCTO #9890] Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-20git: 2.8.4 -> 2.9.0Robert Yang2
Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-20sstate.bbclass: make PV to depend on PV variable valueEd Bartosh1
Currently PV is defined in meta/conf/bitbake.conf as a python expression: "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE', False),d)[1] or '1.0'}". As FILE is whitelisted it causes PV to not depend on it. This causes sstate code to not detect that PV changes when recipe filename changes. Making PV to explicitly depend on PV variable value overrides default behaviour. Instead of depending on python expression bitbake depends on evaluated value of PV variable, which should fix the above mentioned issue. [YOCTO #9806] Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-20v86d: Accept aarch64 as build hostKhem Raj2
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-20libunwind: Port to ppc/muslKhem Raj2
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-20webkitgtk: Fix build on ppc with muslKhem Raj2
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-20python{3}-numpy: Predefine of sizeof off_t on mips/mipsel/ppcKhem Raj3
Fixes below errors as seen on musl | In file included from numpy/core/include/numpy/ndarraytypes.h:4:0, | from numpy/core/include/numpy/ndarrayobject.h:18, | from numpy/core/include/numpy/arrayobject.h:4, | from numpy/core/src/multiarray/compiled_base.c:7: | numpy/core/include/numpy/npy_common.h:167:10: error: #error Unsupported size for type off_t | #error Unsupported size for type off_t | ^~~~~ | In file included from numpy/core/include/numpy/ndarraytypes.h:4:0, | from numpy/core/include/numpy/ndarrayobject.h:18, | from numpy/core/include/numpy/arrayobject.h:4, | from numpy/core/src/multiarray/compiled_base.c:7: | numpy/core/include/numpy/npy_common.h:167:10: error: #error Unsupported size for type off_t | #error Unsupported size for type off_t | ^~~~~ Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-20linux-yocto: Enable debug/printk.scc KERNEL_FEATURE on qemuall machines.Aníbal Limón1
We are experimenting some issues in the Autobuilder infraestructure possible due to high I/O loads, in order to provide more information about intervals of times in printk enable by default debug/printk.scc on qemu development images. [YOCTO #9299] Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-20nativesdk-packagegroup-sdk-host: Add wayland-scanner to the SDK native toolchainTom Hochstein1
The build tool wayland-scanner was missing from the native toolchain of the Yocto Project SDK build. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-20neard: upgrade to 0.16Maxin B. John1
0.15 -> 0.16 Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-20libidn: add license per packageJoe Slater1
The idn package is GPLv3 and the rest is LGPLv2.1+ or LGPLv3. Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-20image_types.bbclass: support template .wks.in files for wicChristopher Larson1
These files are treated as the contents of a bitbake variable, so usual bitbake variable references are supported. I considered using another templating mechanism, for example the one used by yocto-layer, but then we'd end up largely mapping metadata variables to template fields anyway, which is a pointless indirection. Let bitbake expand the variables directly instead. This feature lets us, for example, reference ${APPEND} in --append, and avoid hardcoding the serial console tty in the wks file, and let the user's changes to APPEND affect wic the way they do the other image construction mechanisms. The template is read in and set in a variable at parse time, so changes to the variables referenced by the template will result in rebuilding the image. Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-20image_types.bbclass: add intermediate var for WKS_FILE_CHECKSUMChristopher Larson1
This is a bit nicer to work with, and easier to override. Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-20Revert "core-image-sato: add gtk+ for M1"Ross Burton1
We added gtk+ to core-image-sato for M1 solely because the SDK self test was building an application (sudoku) that links to GTK+ 2. Now that sukoku has been replaced with galculator this workaround can be removed. This reverts commit 282d5f7f8573551b94c6b610370db15665cf4bdf. Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-20remove sukokuRoss Burton1
2016-07-20testimage: swap sudoku for galculatorRoss Burton1
Also delete the removal of suduko for qemumips, as galculator builds fine on that hardware now. Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-20oeqa/sdk: remove buildsudoku testRoss Burton1
This application needs GTK+ 2 which we're trying to move away from for Sato images. Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-20linux-yocto/4.1: pinctrl backportsBruce Ashfield3
Integrating the following mainline commits: pinctrl: make pinctrl_register() return proper error code pinctrl: Remove .owner field pinctrl: mediatek: add pinctrl/GPIO/EINT driver for mt8127 pinctrl: mediatek: Add Pinctrl/GPIO driver for mt6397. pinctrl: add imx7d support pinctrl: sirf: add sirf atlas7 pinctrl and gpio support pinctrl: Add Pistachio SoC pin control driver pinctrl: lpc18xx: add the missing group function map pinctrl: lpc18xx: create pin cap lookup helper pinctrl: add lpc18xx pinctrl driver Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-07-20linux-yocto: powerclamp and gpio configuration changesBruce Ashfield6
Integrating the following commits to tweak the default configuration for powerclamp and gpio: features/thermal: make INTEL_POWERCLAMP driver built as module gpio: disable Intel PMIC gpio Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-07-20linux-yocto/4.4: pwm and mei updatesBruce Ashfield2
Backporting upstream mei changes, and two pwm changes from Mika Westerberg's pwm-4.4 branch: pwm: lpss: Prevent on_time_div overflow on lower frequencies pwm: lpss: fix base_unit calculation for PWM frequency mei: don't use wake_up_interruptible for wr_ctrl mei: fix waiting for wr_ctrl for corner cases. mei: don't clean control queues on notify request timeout mei: drop global me_client_index mei: do not pin module if cldrv->probe() failed mei: bus: use scnprintf in *_show mei: fix format string in debug prints mei: fix double freeing of a cb during link reset mei: wd: drop AGAIN the watchdog code from the core mei driver mei: split amthif client init from end of clients enumeration mei: hbm: send immediate reply flag in enum request mei: bus: run rescan on me_clients list change mei: drop reserved host client ids mei: hbm: warn about fw-initiated disconnect mei: fixed address clients for the new platforms mei: fill file pointer in read cb for fixed address client mei: discard replies from unconnected fixed address clients mei: clean write queues and wake waiters on disconnect mei: wake blocked write on link reset mei: drop superfluous closing bracket from write traces mei: bus: fix notification event delivery mei: bus: fix RX event scheduling mei: amthif: interrupt reader on link reset mei: amthif: use rx_wait queue also for amthif client mei: amthif: drop parameter validation from mei_amthif_write mei: amthif: replace amthif_rd_complete_list with rd_completed mei: amthif: allow only one request at a time mei: rename variable names 'file_object' to fp mei: constify struct file pointer mei: amthif: don't drop read packets on timeout mei: amthif: don't copy from an empty buffer mei: call stop on failed char device register mei: fix possible integer overflow issue mei: debugfs: allow hbm features list dump in earlier stages mei: debugfs: adjust active clients print buffer mei: trace pci configuration space io watchdog: mei_wdt: re-register device on event watchdog: mei_wdt: register wd device only if required mei: bus: whitelist the watchdog client watchdog: mei_wdt: add status debugfs entry watchdog: mei_wdt: implement MEI iAMT watchdog driver mei: wd: drop the watchdog code from the core mei driver mei: drop nfc leftovers from the mei driver mei: always copy the read buffer if data is ready mei: prevent queuing new flow control credit. mei: bus: remove redundant uuid string in debug messages Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Eric Ernst <eric.ernst@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2016-07-20linux-yocto/4.4: update to v4.4.14Bruce Ashfield3
Updating the korg -stable release. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-20linux-yocto/4.1: update to 4.1.27Bruce Ashfield3
Integrating the korg -stable release. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-20linux-yocto/config: mei, gpio and usb type cBruce Ashfield3
Merging the following configuration changes into the 4.1 and 4.4 linux-yocto kernel meta data: mei.cfg: mei driver is no longer in staging bsp/intel-common: add keyboard-gpio to intel-common-drivers features/thermal: Enable Intel PMIC thermal feature broxton: Enable USB Type C feature for broxton Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-20linux-yocto/4.4: cpumask: Export cpumask_any_but()Bruce Ashfield2
Backporting a mainline commit to Intel uncore can be completely modular. Signed-off-by: Nilesh Bacchewar <nilesh.bacchewar@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-20linux-yocto/4.1/4.1: mei, usb and extcon changesBruce Ashfield6
Backporting the following mainline changes to the 4.1 and 4.4 kernels: device property: Avoid potential dereferences of invalid pointers device property: convert to use match_string() helper lib/string: introduce match_string() helper device property: fix for a case of use-after-free device property: fwnode->secondary may contain ERR_PTR(-ENODEV) xhci: harden xhci_find_next_ext_cap against device removal xhci: rework xhci extended capability list parsing functions xhci: parse xhci protocol speed ID list for usb 3.1 usage extcon: Redefine the unique id of supported external connectors without 'enum extcon' type extcon: Remove optional print_name() function pointer of extcon_dev extcon: Update the prototype of extcon_register_notifier() with enum extcon extcon: Use capital letter for the name of external connectors extcon: Use the unique id for external connector instead of string extcon: Remove the optional name of extcon device extcon: adc-jack: Remove the unneeded num_cables field extcon: Alter MHL-TA cable name to TA cable name extcon: Unify the dock device names on max8997/77693 extcon: Unify the jig cable names on rt8973 and max14577/77693/77843 extcon: Fix the checkpatch warning and minor coding style issue extcon: Add extcon_get_edev_name() API to get the extcon device name extcon: Modify the device name as extcon[X] for sysfs extcon: Add manufactor name of each extcon device And the following config change: mei.cfg: Add CONFIG_INTEL_MEI_TXE=m Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-20linux-yocto/4.1/4.4: x86, power and usb-c mainline backportsBruce Ashfield6
Updating the 4.1 and 4.4 kernels with mainlin backports for platform/feature support. Also updating the kernel meta data to configure and use those new features. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-19toaster.bbclass: only scan files-in-image.txt if it existsElliot Smith1
We can reach the method in toaster.bbclass which tries to read from the files-in-image.txt file via a build which doesn't create that file (e.g. "bitbake core-image-minimal -c rootfs"). This causes the build to fail with an exception. Check that this file exists before trying to read from it. [YOCTO #9784] Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: bavery <brian.avery@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-07-19toaster.bbclass: remove directory scan logic for detecting artifactsElliot Smith1
toaster.bbclass does a scan of the image deploy and SDK directories when a build finishes. However, this brings no benefit and could be better managed and made easier to modify if moved to toasterui and carried out when the BuildCompleted event occurs. Remove the image scan code from toaster.bbclass, prior to moving it to toasterui and buildinfohelper. Also remove the license manifest update code, as this can also be done from toasterui. The postfuncs for do_populate_sdk are retained, but no longer do the directory scan for SDK artifacts. Instead, they fire an event with the value of the TOOLCHAIN_OUTPUTNAME variable, as this is only accessible at the point when the do_populate_sdk and do_populate_sdk_ext tasks are run. The value of this can then be used by buildinfohelper to find the SDK artifacts produced by a target. [YOCTO #9002] Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: bavery <brian.avery@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-07-12useradd-staticids: use map() instead of imap()George McCollister1
In Python3 the itertools module's imap function has been migrated to the globalname space as map(). Calling itertools.imap() will fail because it no longer exists. Signed-off-by: George McCollister <george.mccollister@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-07-12python3: Add compression to python3-shell dependenciesJussi Kukkonen2
python3-shell needs python3-compression for tarfile. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-12python3-native: Add "io" to rprovidesJussi Kukkonen1
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-12python3: Add dependencies for python3-miscJussi Kukkonen1
http.server requires email.parser. argparse requires codecs and textutils. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-12buildstats-summary: round the floating point percentageChristopher Larson1
This was rounded in python 2, but python 3 changed the default behavior of /. We could switch to the same behavior as previous by switching to // rather than /, but there's value in keeping at least one decimal point, to avoid the misleading case where it says 0% but the reuse is non-zero. Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-12lib/oe/patch: handle encoding differences in patch filesPaul Eggleton1
With Python 3, the encoding of a file is significant; several recipes in OE-Core have patches which are not fully utf-8 decodable e.g. man, lrzsz, and gstreamer1.0-libav, leading to errors when using devtool's modify, upgrade or extract subcommands on these recipes. To work around this, try reading the patch file as utf-8 first and if that fails try latin-1 before giving up. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-12recipetool: create: support specifying a file as the local sourcePaul Eggleton2
It is currently possible to specify a file (e.g. a tarball) on the local disk as the source, but you have to know to put file:// in front of it. There's really no need to force users to jump through that hoop if they really want to do this so check if the specified source is a file and prefix it with file:// if that's the case. Also ensure the same works for "devtool add" at the same time. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-12recipetool: create: fix handling of github URLsPaul Eggleton1
For a while now, Github hasn't been advertising a specific repository URL since cloning the web URL with git works. Armed with this knowledge and fully expecting people to just paste the github URL, we need to handle this situation specially. If it looks like a github URL to the root of a repository then treat it as a git repository instead of a normal https URL to be fetched by the wget fetcher. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-12graph-tool: convert to python3Maxin B. John1
move graph-tool to python3 Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-12scripts/contrib/devtool-stress: exclude more recipes by defaultPaul Eggleton1
These recipes can't be used with devtool because they can't be unpacked in the normal way. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-12scripts/contrib/devtool-stress: skip incompatible recipesPaul Eggleton1
If devtool returns exit code 4 then record the recipes as "skipped" rather than "failed" - these are recipes we know cannot work (usually because they don't provide any source). Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-12devtool: return specific exit code for incompatible recipesPaul Eggleton3
Certain recipes cannot be used with devtool extract / modify / upgrade - usually because they don't provide any source. Return a specific exit code (4) so that scripts such as scripts/contrib/devtool-stress.py know the difference between this and a genuine failure. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-12devtool: reset: allow reset to work if the recipe file has been deletedPaul Eggleton1
We were attempting to open the recipe file unconditionally here - we need to account for the possibility that the recipe file has been deleted or moved away by the user. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2016-07-12devtool: update-recipe: fix --initial-rev optionPaul Eggleton1
In OE-Core revision 7baf57ad896112cf2258b3e2c2a1f8b756fb39bc I changed the default update-recipe behaviour to only update patches for commits that were changed; unfortunately I failed to handle the --initial-rev option which was broken after that point. Rework how the initial revision is passed in so that it now operates correctly. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>