Bruce Ashfield [Fri, 10 Sep 2021 14:07:55 +0000 (10:07 -0400)]
linux-yocto/5.13: update to v5.13.13
Updating linux-yocto/5.13 to the latest korg -stable release that comprises
the following commits:
7aeadb5bb82a Linux 5.13.13 2ff626b14003 fs: warn about impending deprecation of mandatory locks a57b2a703e44 io_uring: fix xa_alloc_cycle() error return value check 515b6124df6a hugetlb: don't pass page cache pages to restore_reserve_on_error 371fb63d0926 kfence: fix is_kfence_address() for addresses below KFENCE_POOL_SIZE 9690e6ffac0b mm/hwpoison: retry with shake_page() for unhandlable pages 59e5c9ecdeb0 mm,hwpoison: make get_hwpoison_page() call get_any_page() e4e8c58cc78e mm: memcontrol: fix occasional OOMs due to proportional memory.low reclaim 2d1704c3fe30 riscv: Fix a number of free'd resources in init_resources() 8c5beac92d0e ASoC: intel: atom: Fix breakage for PCM buffer address setup 8f4eb032a019 ALSA: hda/realtek: Limit mic boost on HP ProBook 445 G8 59734f7eaaa4 PCI: Increase D3 delay for AMD Renoir/Cezanne XHCI 00609919ec4d powerpc/32s: Fix random crashes by adding isync() after locking/unlocking KUEP 33bd5804ac66 powerpc/32s: Refactor update of user segment registers efe40fdb6d30 powerpc/32s: Move setup_{kuep/kuap}() into {kuep/kuap}.c 534a0bc7c87a usb: typec: tcpm: Fix VDMs sometimes not being forwarded to alt-mode drivers 21d6e237bcc2 s390/pci: fix use after free of zpci_dev fe2edb82e5be ALSA: hda/via: Apply runtime PM workaround for ASUS B23E 41f0262ffb44 tracing: Apply trace filters on all output channels f7c707f8ec18 btrfs: prevent rename2 from exchanging a subvol with a directory from different parents ddd7fff18986 mmc: sdhci-iproc: Set SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN on BCM2711 f41b4c30fb73 mmc: sdhci-iproc: Cap min clock frequency on BCM2711 70063522ee90 opp: Drop empty-table checks from _put functions 30392f88dace ALSA: hda/realtek: Enable 4-speaker output for Dell XPS 15 9510 laptop da8495661fe9 io_uring: only assign io_uring_enter() SQPOLL error in actual error case 501449420a42 io_uring: fix code style problems 606f36948a9a ipack: tpci200: fix memory leak in the tpci200_register d09bfebbdf22 ipack: tpci200: fix many double free issues in tpci200_pci_probe c1001de019ef slimbus: ngd: reset dma setup during runtime pm c8f6e68a95c2 slimbus: ngd: set correct device for pm 28b55e58b864 slimbus: messaging: check for valid transaction id e0e46e209e9d slimbus: messaging: start transaction ids from 1 instead of zero 65a4722bb931 tracing / histogram: Fix NULL pointer dereference on strcmp() on NULL event name 0ce48083d843 tracing: define needed config DYNAMIC_FTRACE_WITH_ARGS 2152ee71c164 ALSA: hda - fix the 'Capture Switch' value change notifications 8681e95da50b cfi: Use rcu_read_{un}lock_sched_notrace 82d1ea87b9d5 arm64: clean vdso & vdso32 files 03c33905ee88 clk: qcom: gdsc: Ensure regulator init state matches GDSC state 95e5238a2fba clk: imx6q: fix uart earlycon unwork 2fcb62673120 mmc: sdhci-msm: Update the software timeout value for sdhc 87762c77c39f mmc: mmci: stm32: Check when the voltage switch procedure should be done fffcf7fc898a mmc: dw_mmc: Fix hang on data CRC error 7179eac5556e iommu/dma: Fix leak in non-contiguous API b89542f4a60b net: dpaa2-switch: disable the control interface on error path 5d547d83abb2 Revert "flow_offload: action should not be NULL when it is referenced" 260b1eb312a0 iavf: Fix ping is lost after untrusted VF had tried to change MAC ea1cf8a6d966 i40e: Fix ATR queue selection 1d9d64cad2fe PCI/sysfs: Use correct variable for the legacy_mem sysfs object f21adfddafdf r8152: fix the maximum number of PLA bp for RTL8153C 5809f8d9b7c0 r8152: fix writing USB_BP2_EN dedbf29c6b36 mptcp: full fully established support after ADD_ADDR 828c3a32238c mptcp: fix memory leak on address flush 11c79e1615a4 net: mscc: ocelot: allow forwarding from bridge ports to the tag_8021q CPU port 751f4b539afb drm/amd/display: Use DCN30 watermark calc for DCN301 e0f2d91e0869 drm/i915: Tweaked Wa_14010685332 for all PCHs 678b67771cef drm/i915: Skip display interruption setup when display is not available 936eca018fee iommu/vt-d: Fix incomplete cache flush in intel_pasid_tear_down_entry() 4e4f3cb41d68 net: usb: asix: refactor asix_read_phy_addr() and handle errors on return cf4c1661c40e ovs: clear skb->tstamp in forwarding path 9581895b37fe net: mdio-mux: Handle -EPROBE_DEFER correctly b2973b87ba11 net: mdio-mux: Don't ignore memory allocation errors 0e805b74cd13 sch_cake: fix srchost/dsthost hashing mode ac161cf77818 ixgbe, xsk: clean up the resources in ixgbe_xsk_pool_enable error path 7af09aeddbae net: qlcnic: add missed unlock in qlcnic_83xx_flash_read32 39af3583c8fb mac80211: fix locking in ieee80211_restart_work() 0de9c4de5ca1 virtio-net: use NETIF_F_GRO_HW instead of NETIF_F_LRO 9213ce667258 vrf: Reset skb conntrack connection on VRF rcv a5607b1d8e34 bnxt_en: Add missing DMA memory barriers 020761f49efb bnxt_en: Disable aRFS if running on 212 firmware 1a2798f36805 ptp_pch: Restore dependency on PCI 010d7ad77e2d net: 6pack: fix slab-out-of-bounds in decode_data 47d43f06fd87 soc: fsl: qe: fix static checker warning 5eb70221eb03 bnxt: count Tx drops 40c767494e15 bnxt: make sure xmit_more + errors does not miss doorbells 781279257968 bnxt: disable napi before canceling DIM 7edc1a0deca8 bnxt: don't lock the tx queue from napi poll a89ba11b263b bpf: Clear zext_dst of dead insns 3d7f5031f870 drm/mediatek: Add component_del in OVL and COLOR remove function e5f25a6ea31a drm/mediatek: Add AAL output size configuration 88e35118e7c9 vdpa/mlx5: Fix queue type selection logic c903a1fd0968 vdpa/mlx5: Avoid destroying MR on empty iotlb 29236481a883 vDPA/ifcvf: Fix return value check for vdpa_alloc_device() 080d65ba644f vp_vdpa: Fix return value check for vdpa_alloc_device() 434887c6ac41 vdpa_sim: Fix return value check for vdpa_alloc_device() 83f6738578b3 vhost: Fix the calculation in vhost_overflow() dcd6c72344f3 bus: ti-sysc: Fix error handling for sysc_check_active_timer() 8a821b88b1a6 vhost-vdpa: Fix integer overflow in vhost_vdpa_process_iotlb_update() 6caaf9fcb7b4 virtio: Protect vqs list access b380dfb298da dccp: add do-while-0 stubs for dccp_pr_debug macros 5238de0459c0 cpufreq: armada-37xx: forbid cpufreq for 1.2 GHz variant ed6b6c758b67 soc: fsl: qe: convert QE interrupt controller to platform_device b39db8c4397d mtd: rawnand: Fix probe failure due to of_get_nand_secure_regions() dd53a5f93b2e mt76: fix enum type mismatch c442bd5a0e20 arm64: dts: qcom: sdm845-oneplus: fix reserved-mem ae19ca1cb3f0 arm64: dts: qcom: msm8994-angler: Disable cont_splash_mem 1c4678cb01ee cpufreq: arm_scmi: Fix error path when allocation failed 731825e59e1d iommu: Check if group is NULL before remove device 02491c3d81ef arm64: dts: qcom: msm8992-bullhead: Fix cont_splash_mem mapping aa9cac63e49c arm64: dts: qcom: msm8992-bullhead: Remove PSCI 6fed550393b8 arm64: dts: qcom: c630: fix correct powerdown pin for WSA881x 73bb2572339d mtd: rawnand: Add a check in of_get_nand_secure_regions() 85f5d3d0bc2e kyber: make trace_block_rq call consistent with documentation a6488cc30f01 drm/amd/display: workaround for hard hang on HPD on native DP a4ebe05cd99e drm/amd/display: Fix Dynamic bpp issue with 8K30 with Navi 1X 5fd92907a473 spi: cadence-quadspi: Fix check condition for DTR ops d6080ac32e3e perf/x86: Fix out of bound MSR access cae49c93c71c net: usb: lan78xx: don't modify phy_device state concurrently d45f37c6120e net: usb: pegasus: Check the return value of get_geristers() and friends; e5f45fdefd8d ARM: dts: nomadik: Fix up interrupt controller node names 56dcfd2e0145 qede: fix crash in rmmod qede while automatic debug collection 0620a81e8040 drm/amdgpu: fix the doorbell missing when in CGPG issue for renoir. c6751ce1a2a4 scsi: core: Fix capacity set to zero after offlinining device 87820c748fda scsi: core: Avoid printing an error if target_alloc() returns -ENXIO 7bbfccc78e0e scsi: scsi_dh_rdac: Avoid crash during rdac_bus_attach() f57f3722788e scsi: megaraid_mm: Fix end of loop tests for list_for_each_entry() fa3c19ceaa8b scsi: pm80xx: Fix TMF task completion race condition c589360bd3a9 dmaengine: of-dma: router_xlate to return -EPROBE_DEFER if controller is not yet available d09867c795c3 ARM: dts: am43x-epos-evm: Reduce i2c0 bus speed for tps65218 38df50afe852 net: xfrm: Fix end of loop tests for list_for_each_entry 1718285e1419 spi: spi-mux: Add module info needed for autoloading 7c6e26d59bfb dmaengine: usb-dmac: Fix PM reference leak in usb_dmac_probe() fcd998a0536e dmaengine: xilinx_dma: Fix read-after-free bug when terminating transfers d9aee1535e7b USB: core: Fix incorrect pipe calculation in do_proc_control() 08fb58a2c3dc USB: core: Avoid WARNings for 0-length descriptor requests 261d195d5fe6 io_uring: Use WRITE_ONCE() when writing to sq_flags e8daa0dd99c9 mtd: cfi_cmdset_0002: fix crash when erasing/writing AMD cards
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Wed, 8 Sep 2021 22:45:54 +0000 (23:45 +0100)]
pseudo: Update with fcntl and glibc 2.34 fixes
Pull in the following changes:
* ports/linux/guts: Add closefrom support for glibc 2.34
* pseudo_client: Make msg static in pseudo_op_client
* ports/linux/guts: Add close_range wrapper for glibc 2.34
* pseudo_client: Do not pass null argument to pseudo_diag()
* test-openat: Consider device as well as inode number
* test: Add missing test-statx test case
* fcntl: Add support for fcntl F_GETPIPE_SZ and F_SETPIPE_SZ
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop 0001-tests-regression-disable-the-tools-live-tests.patch
(mass-disabling of ptests) and replace that with more targeted fixes:
- a patch that adds explicit sleeps where races due to too tight timings
were observed (not a proper fix; upstream needs to figure out how
to sync explicitly and reliably)
- LD_LIBRARY_PATH so that helper binaries are able to find their
custom libraries they're linked with (we strip rpath from them
for reproducibility)
- set pgrep location explicitly as it used unconditionally
on target, but auto-detected (incorrectly) on the host
- enable kmod as it is available in target images
- correct various missing scripts, binaries, and inhibit stripping
where that is expected.
License-Update: license info consolidated in LICENSE Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Mon, 6 Sep 2021 14:36:13 +0000 (15:36 +0100)]
create-spdx: handle CLOSED license
The special CLOSED license means that this is closed source code with
no other licensing assertions. It's not a generic license in oe-core,
and not a SPDX license, so transform it to NONE explicitly.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Robert Yang [Tue, 7 Sep 2021 09:17:04 +0000 (17:17 +0800)]
assimp: Remove it
Remove it since it has license issues:
* scripts/StepImporter/schema_ifc2x3.exp
Copyright by: International Alliance for Interoperability, 1996-2005 All rights
reserved. No part of this documentation may be reproduced, stored in a
retrieval system, or transmitted in any form or by any means, without the prior
written permission of the owner
* test/models-nonbsd/X/dwarf-Read-Me.txt
RESTRICTIONS: This model pack is available for use in freeware, shareware,
commercial games/software with the following restrictions:- **You may not
sell/re-sell this model pack or claim it as your own. ***You may not
redistribute this pack in some other model pack through a website or on a
compilation CD of any kind, without my written consent. Psi
http://www.psionic3d.co.uk
* test/models-nonbsd/B3D/turtle.source.txt
Copyright 2004, Psionic Design e-mail: psionic@blueyonder.co.uk Used with
permission. RESTRICTIONS: This model pack is available for use in freeware,
shareware, commercial games/software with the following restrictions:- **You
may not sell/re-sell this model pack or claim it as your own. ***You may not
redistribute this pack in some other model pack through a website or on a
compilation CD of any kind, without my written consent.
And no recipes depend on it, so remove it.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
conf/mips: mips16e: prepend override to MACHINEOVERRIDES
Add the tune specific override to MACHINEOVERRIDES and not OVERRIDES as
is done for all other tune include files.
Also prepend it instead of appending so that it's among the leftmost
overrides in MACHINEOVERRIDES and has a lower precedence compared to
other MACHINEOVERRIDES added later (which usually are added via a =.
(prepend)).
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Repo-wide replacement to use newer variable to represent systemd
system unitdir directory.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Robert P. J. Day [Sun, 15 Aug 2021 08:54:57 +0000 (04:54 -0400)]
image_types_wic.bbclass: alphabetize list of WICVARS
It's way easier to scan a list of variables if they're sorted one per
line.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Mon, 6 Sep 2021 12:49:26 +0000 (13:49 +0100)]
flex: Add CVE-2019-6293 to exclusions for checks
CVE is effectively disputed - yes there is stack exhaustion but no bug and it
is building the parser, not running it, effectively similar to a compiler ICE.
Upstream no plans to address and there is no security issue.
https://github.com/westes/flex/issues/414
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Mon, 6 Sep 2021 08:57:31 +0000 (09:57 +0100)]
utils: Drop obsolete oe_machinstall function
This function does something similar to the bitbake fetcher file search
paths and is an old remnant of how this could have once been handled. There
are no users in OE-Core and we'd always prefer the fetcher to handle this now
as it handles signatures correctly. The direct OVERRIDES reference would
likely break any user of the function. Remove it to be safe and ensure it
isn't being used anywhere.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
vim: Add packageconfig for sound notification support
vim uses libcanberra to implement sound, currently its ok for target
since we have captured dependencies in recipe sysroot but things go a
bit out of control when building vim-native, where configure starts to
poke at host system and if it find libcanberra then silently enables it
lets make it consistent
This allows extra space to be added after the last partition and is
especially useful when free space is needed for ex: adding partitions on
first boot with ex: systemd-repart[1] and the image is tested in QEMU.
If systemd is built with fdisk support[1] and the openssl and cryptsetup
PACKAGECONFIG are enabled, systemd-homed[1] is automatically enabled.
The org.freedesktop.home1.conf file was forgotten, so this commit adds
the file and make enabling homed a explicit choice.
systemd-homed.service and systemd-homed-activate.service have a Also= on
each other, so "systemctl" has been fixed to handle the circular
dependency.
userdb isn't strictly speaking needed for homed but "systemctl" can't
handle the missing unit file and upstream recommend enabling both[3].
[1] Automatically enabled if the fdisk dependency is installed which it
is as util-linux is pulled in by systemd
[2] https://www.freedesktop.org/software/systemd/man/systemd-homed.service.html
[3] https://github.com/systemd/systemd/commit/871dc8d644eef7542a5330f84c25b1db2617317c
Signed-off-by: Kristian Klausen <kristian@klausen.dk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Fri, 3 Sep 2021 16:00:33 +0000 (17:00 +0100)]
create-spdx: don't duplicate license texts in each package
Instead of putting the full license text for non-SPDX licenses into the
recipe and every package, use links to the recipe from the packages if
possible.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Martin Jansa [Fri, 3 Sep 2021 11:55:21 +0000 (13:55 +0200)]
default-distrovars.inc: Set BBINCLUDELOGS to empty to disable printing failed task output multiple times
* the output is shown 3 times with default configuration and 5 times when --verbose
is being used with knotty, there might be other use-cases where we actually need
this, but until the logging is resolved better, setting this to empty looks like
more reasonable option (considering that e.g. log.do_compile from chromium-x11
can be over 50MB long, generating 150MB+ cooker log)
* more details in:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=14542
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Fri, 3 Sep 2021 13:24:59 +0000 (14:24 +0100)]
recipetool/create_buildsys_python: treat BSD as BSD-3-Clause
The PyPI license classifiers include "OSI Approved: BSD", which does not
specify which of the many variations of BSD license it actually means.
The generic "BSD" license in the oe-core set is actually BSD-3-Clause.
>From a random sample of ten PyPI modules that use "BSD", they are all
BSD-3-Clause. As we expect the recipe maintainer to verify the license
anyway, and this matches the previous license text, explicitly set the
license to BSD-3-Clause.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Fri, 3 Sep 2021 13:24:54 +0000 (14:24 +0100)]
shadow-sysroot: sync license with shadow
This recipe is just a single data file from shadow, but as we can't
easily tell what license that specific file is under just copy the full
license statement.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Fri, 3 Sep 2021 13:24:48 +0000 (14:24 +0100)]
xinetd: correct LICENSE
The xinetd license is superficially BSD-like, but it isn't BSD. Now that
we have the full SPDX license set in oe-core, use the specific xinetd
license.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Fri, 3 Sep 2021 13:24:47 +0000 (14:24 +0100)]
lsof: add upstream check
Upstream has moved to GitHub. Whilst it's now too late to upgrade to
the latest release, we can add upstream check variables so that we get
notified we're out of date.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
With the previously added general git repo fallback rule the server
specific fallback mirrors for git.savannah.gnu.org and
git.yoctoproject.org are redundant. Remove them.
Signed-off-by: Daniel Wagenknecht <dwagenknecht@emlix.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
mirrors.bbclass: provide additional rule for git repo fallbacks
Git hosting servers that require a slightly different URL when accessing
repositories via https protocol instead of the git native protocol
are not uncommon (servers using cgit as web UI). Provide a general rule
to try HOST/git/PATH via https as git repo fallback.
Signed-off-by: Daniel Wagenknecht <dwagenknecht@emlix.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
readline: correct pkg-config dependency for termcap
readline uses ncurses for terminal capabilities database, but it fails to
specify it correctly in the pkg-config .pc file, resulting in:
Requires.private: termcap
As ncurses by default provides newer terminfo instead of termcap, there's
no termcap.pc in the system and pkg-config fails when linking with readline:
readline.pc X-> termcap.pc
Help configure script to set pkg-config to use ncurses for the correct
terminal capabilities database:
Requires.private: ncurses
This fixes pkg-config dependency chain:
readline.pc -> ncurses.pc -> tinfo.pc
Signed-off-by: Denys Dmytriyenko <denis@denix.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
classes/create-spdx: Collect all task dependencies
Stop filtering the runtime dependencies based on do_create_sdpx (makes
it only pick up things in DEPENDS) and instead include all task
dependencies that are not the current PN. This allows other dependency
methods to be picked up correctly, for example the dependency on the
kernel used by kernel modules.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
classes/create-spdx: Add special exception for Public Domain license
The Public Domain license (PD) needs a special exception in the license
processing since there is no common license text to be extracted for
these licenses.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
classes/create-spdx: Fix file:// in downloadLocation
file:// URIs should not be included as the downloadLocation. Instead,
loop until a non-file:// URI is found, or set the location to
NOASSERTION if none is found
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Licenses reported in the SPDX documents should be either:
A) A valid SPDX identifier cross referenced from the SPDX license
database
B) A "LicenseRef" to a license described in the SPDX document
The licensing code will now add a placeholder extracted license with
corresponding "LicenseRef" for any licenses that are not matched to the
SPDX database
Parenthesis in the license expression are now handled correctly
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
classes/create-spdx: extend DocumentRef to include name
This will create a more uniq DocumentRef, which will allow
the individual spdx files to be merged into a single SBOM
file reflecting the image. Do the same with the runtime dependencies
also
Adds a class as a first attempt to create SPDX SBoM documents during the
build. This initial work was influenced by [meta-doubleopen][1],
although almost completely rewritten.
Adds extended package data which is encoded as JSON which allows it to
encode more structure than the "flat" package data files. The extended
data might be much larger than the standard package data, so it is not
read by default and instead requires
oe.packagedata.read_subpkgdata_extended() to be called
Currently, the file sizes and ELF debug sources are saved off into the
extended package data
mesa: enable crocus driver for older intel graphics
See here for the full story:
https://www.phoronix.com/scan.php?page=news_item&px=Intel-Crocus-Default-Gallium3D
Once crocus does become the default over i965, upstream is likely to retire
classic pre-gallium drivers altogether, which (with the exception of
i965, superseded by crocus) are all for retrocomputing hardware.
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Martin Jansa [Thu, 2 Sep 2021 06:45:16 +0000 (08:45 +0200)]
rust: remove unused patches
* 0001-nfc-Fix-missing-include.patch was only used in 1.51.0 version recently removed
* 0001-rustc_target-Fix-dash-vs-underscore-mismatches-in-op.patch was only used in 1.49.0 version in meta-rust
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Wed, 1 Sep 2021 14:28:26 +0000 (15:28 +0100)]
rust-common: Hack around LD_LIBRARY_PATH issues on centos7
When building cargo-native on centos7 with buildtools tarball installed,
we see failures:
/bin/sh: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by /home/pokybuild/yocto-worker/reproducible-centos/build/build-st/tmp/work/x86_64-linux/cargo-native/1.54.0-r0/recipe-sysroot-native/usr/lib/libtinfo.so.5)
We also see this for libstd-rs once cargo-native is fixed.
The reason for this is that the wrapper script
cargo-native/1.54.0-r0/wrapper/target-rust-ccld has /bin/sh as it's
interpreter and cargo calls this with LD_LIBRARY_PATH set to include the
recipe-sysroot-native. The host /bin/sh links to libtinfo from the host
but it finds the version in the sysroot which needs a newer libc. This
results in the above error since the loader is an older libc and the two
are incompatible.
Our ccld wrapper calls gcc/ld which don't need the LD_LIBRARY_PATH
variable set. We can't patch this out the source since we're using
a prebuilt binary to generate a new cargo binary so this is impossible
to bootstrap.
Instead, put a binary wrapper into place which removes LD_LIBRARY_PATH
from the environment before calling the original wrapper (left in shell
as it is simpler to maintain).
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Wed, 1 Sep 2021 10:37:38 +0000 (11:37 +0100)]
cargo: Apply uninative fix to snapshot as with rust
Also add the interpreter relocation trick from uninative to the prebuilt
cargo binary to match rust-native, just in case that causes other problems
later too.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Marek Vasut [Mon, 30 Aug 2021 13:00:31 +0000 (15:00 +0200)]
weston: Add rdp PACKAGECONFIG
Weston has RDP backend support. This can be used e.g. for screen mirroring.
Add PACKAGECONFIG so it can be enabled by the user. By default, this is not
enabled, to retain the old behavior of the recipe.
Below is an example testcase of using the RDP backend for screen mirroring,
i.e. two devices display the same content across ethernet link, input on
either is passed across the link.
- Add the following to weston.ini:
[core]
modules=screen-share.so
screen-share=true
[screen-share]
command=/usr/bin/weston --backend=rdp-backend.so --shell=fullscreen-shell.so --no-clients-resize --rdp-tls-cert=/path/to/board.crt --rdp-tls-key=/path/to/board.key --no-config
- Generate keys on the board (the board.key and board.crt above):
$ winpr-makecert -rdp -path /path/to/
- Restart weston on the board. To start screen sharing, press
Ctrl-Alt-S
on the keyboard (see weston compositor/screen-share.c).
- Connect to the weston using freerdp, e.g.:
$ xfreerdp /v:192.168.1.300
Signed-off-by: Marek Vasut <marex@denx.de> Cc: Joshua Watt <JPEWhacker@gmail.com> Cc: Khem Raj <raj.khem@gmail.com> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Wed, 1 Sep 2021 16:57:03 +0000 (17:57 +0100)]
ptest: allow the ptest-packagelists.inc warning to be disabled
ptest.bbclass has a sanity check that all recipes in oe-core which
inherit ptest are also listed in the ptest-packagelists.inc file, and
the build fails if this is not the case.
Whilst this is a laudable goal, it is over-zealous as if the recipe has
a bbappend in another layer which inherits ptest, the build will fail.
By changing the combination of anonymous Python and bb.error() to a
recipe-scope QA test, this can be handled with the other sanity checks
and bbappends can skip the test if desired.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
systemd-repart[1] is useful for partitioning the disk:
"systemd-repart grows and adds partitions to a partition table, based on
the configuration files described in repart.d(5)."[1]
openssl is required by repart, so it can be enabled like so:
PACKAGECONFIG += "openssl repart"
Ross Burton [Wed, 1 Sep 2021 15:32:01 +0000 (16:32 +0100)]
mesa: fix build on Arm V5 with soft float
Since 80923e8d ("util/format: Add some NEON intrinsics-based
u_format_unpack.") upstream the build fails on Arm platforms which use
the soft-float ABI, such as qemuarmv5:
arm_neon.h:31:2: error: #error "NEON intrinsics not available with the
soft-float ABI. Please use -mfloat-abi=softfp or -mfloat-abi=hard"
Take a patch from upstream to check the ABI being used before trying to
use NEON instructions.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make the SPL suffix configurable via SPL_SUFFIX variable to support SPL
binaries with suffix. The suffix is optional and empty per default. The
delimiter in front of the suffix is added automatically if the suffix
is not empty. A new variable SPL_BINARYFILE contains the binary file
name inclusive optional delimiter and suffix and the old variable
SPL_BINARYNAME contains only the name of the binary without directory,
delimiter and specified suffix. This behavior is backward compatible
with empty SPL_SUFFIX variable.
Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Make the license more accurate by specifying the specific variant of BSD
license instead of the generic one. This helps with SPDX license
attribution as "BSD" is not a valid SPDX license.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>