summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* devtool: warn user about multiple layer having the same base nameChen Qi2019-06-281-4/+18
| | | | | | | | | | | | | | | | | | | Currently `devtool finish RECIPE meta' will silently succeed even if there are multiple layers having the same base name of 'meta'. e.g. meta layer from oe-core and meta layer from meta-secure-core. We should at least give user a warning in such case. With the patch, we will get warning like below. WARNING: Multiple layers have the same base name 'meta', use the first one '<PROJ_DIR>/oe-core/meta'. WARNING: Consider using path instead of base name to specify layer: <PROJ_DIR>/oe-core/meta <PROJ_DIR>/meta-secure-core/meta (From OE-Core rev: 2c8740f543c38dbaef3345e40827ef48b3f75405) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass: fix directories setuid and setgid bitsJoël Esponde2019-06-281-1/+2
| | | | | | | | | | | | | | | populate_packages relies on ``mkdir`` to both create a directory and set its permissions. However, ``mkdir`` honors the ``umask`` value. Therefore, some bits may be lost in the operation. In our case, the setgid bit on the directories were lost. This commit fixes this by having a distinct call to create the directory and to set the permissions. (From OE-Core rev: 0f82b53a650e76e0129fae6ce7581a41d042315b) Signed-off-by: Jean-Tiare Le Bigot <jean-tiare.le-bigot@easymile.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: Fix typo in syslog initscriptRichard Purdie2019-06-271-1/+1
| | | | | | | | | The change to ensure the existing processes shut down had a clear copy and paste error. This really fixes syslog to avoid errors on restart. (From OE-Core rev: 9f674a88c781c7092d5b3460922a1579b9fe4bf9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/runtime/syslog: Add delay to test to avoid failuresRichard Purdie2019-06-271-0/+3
| | | | | | | | | | | On a loaded builder we've seen the log message not make it to the log file before the ssh command completes. Add a short delay to try and ensure this does happen. There is unforunately no way to flush syslog in all cases we test. (From OE-Core rev: 66322b689e46520647e2d94d5e3f3ce282a41247) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/runtime/oesyslog: systemd syslog restart doesn't change pidRichard Purdie2019-06-271-2/+5
| | | | | | | | | The systemd-journald process doesn't restart/change the way syslog does, don't test/error in this case. (From OE-Core rev: be48190dca0643df4881624d29c2eae453395919) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/runtime/syslog: Improve test debug messagesRichard Purdie2019-06-271-12/+20
| | | | | | | | | | | | Its useful to test whether the restart command returned an error code and exit early from the test if so. Also add different messages to tell if the syslog processes didn't die or didn't restart. (From OE-Core rev: f19e95b8571a0d8213c4dec0da056e3d243fbbd1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: Improve syslog restart handlingRichard Purdie2019-06-271-1/+21
| | | | | | | | | | | | We're seeing races on the autobuilder where syslogd fails to shut down fast enough to be restarted leading to failures. Add some checks to ensure when restarting that processes exit before being restarted. (From OE-Core rev: 04de384256ad321834cf5e3dbb9a8d3ea2ab66c2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sysklogd: Fix init script racesRichard Purdie2019-06-271-0/+22
| | | | | | | | | | | | | | In testing we're seeing sysklogd fail to restart klogd since the original process hasn't stopped before the new one is started. This means a restart can result in no process running which is clearly not desireable. Add extra code to ensure this works correctly. Busybox start-stop-daemon seems particularly open to this kind of issue, the dpkg version maybe less so if timeout options are used (which we don't use). (From OE-Core rev: dc1fcb61f7d89cd066ace2edc143e7a2d329e033) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oe_syslog.py: Handle syslogd/klogd restart raceJon Mason2019-06-271-9/+59
| | | | | | | | | | | | | | | | syslogd and klogd can occasionally take too long to restart, which causes tests to fail by starting before the log daemons are ready. To work around this problem, poll for up to 30 seconds on the processes to verify the old ones are killed and the new ones are up and running. Similarly, add checks for rsyslogd and systemd-journald to possibly catch issues with those daemons. [YOCTO #13379] (From OE-Core rev: dc73872b828ea271678fa624c15199364a5cba9e) Signed-off-by: Jon Mason <jdmason@kudzu.us> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* target-sdk-provides-dummy: add libperl.so.5 64bitChen Qi2019-06-271-0/+1
| | | | | | | | | | | | | | | With postgresql added to IMAGE_INSTALL, we will get the following error when building for 64bit BSPs. Problem: package postgresql-11.3-r0.corei7_64 requires libperl.so.5()(64bit), but none of the providers can be installed A previous patch has added libperl.so.5 to DUMMY_PROVIDES, but this is not enough. Because for 64bit BSP, it should also provide libperl.so.5()(64bit). (From OE-Core rev: ae1414fcbe41a70a56021c4d240976dae0adad33) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Add support for the lima PACKAGECONFIGAlistair Francis2019-06-271-0/+3
| | | | | | | (From OE-Core rev: 8649c5e36969da061b39db4536d127128382fe15) Signed-off-by: Alistair Francis <alistair@alistair23.me> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* multilib.bbclass: Reduce ALTERNATIVE_PRIORITY for extended recipesRobert Yang2019-06-271-0/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed: MACHINE = "qemux86-64" require conf/multilib.conf MULTILIBS = "multilib:lib32" DEFAULTTUNE_virtclass-multilib-lib32 = "x86" $ bitbake core-image-minimal update-alternatives: libtool has multiple providers with the same priority, please check /path/to/rootfs/usr/lib/opkg/alternatives/libtool for details Both libtool and lib32-libtool have the same priority (as they're the same recipe), so update-alternatives won't deterministically pick a provider. This means you could end up with an image using a 32-bit pkgconfig and 64-bit libtool, for example. Make extended recipes reduce priority by 1 (or 2, 3 ... when there are multiple variants in MULTILIB_VARIANTS) to fix the problem. [YOCTO #13418] (From OE-Core rev: a2f53255ed7fb3657c470cd6a4452d883edd11cc) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve-update-db: Manage proxy if needed.Pierre Le Magourou2019-06-271-2/+9
| | | | | | | | | | If https_proxy environment variable is defined, manage proxy to be able to download meta and json data feeds from https://nvd.nist.gov (From OE-Core rev: 09be21f4d1793b1e26e78391f51bfc0a27b76deb) Signed-off-by: Pierre Le Magourou <pierre.lemagourou@softbankrobotics.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: make postinst run firstly before update-alternativesRobert Yang2019-06-271-28/+34
| | | | | | | | | | | | The update-alternatives.bbclass' postinst script runs firstly before other postinst, but busybox needs set basic tools such as sed command firstly, otherwise, update-alternatives doesn't work, so run busybox' postinst firstly to fix the problem. (From OE-Core rev: 3a035bd0a06a6ded4d0ce7e35a3bce42245727d2) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* update-alternatives.bbclass: run update-alternatives firstly in postinst scriptRobert Yang2019-06-271-2/+5
| | | | | | | | | | | | | | | | | | Recipes like postfix run command newaliases in postinst, but newaliases is installed as newaliases.postfix, it needs run update-alternatives to update it to newaliases, so there was an error when installed postinst on target. Fixed: $ opkg install postfix Configuring postfix. ///var/lib/opkg/info/postfix.postinst: line 4: newaliases: command not found Run update-alternatives firstly will fix the problem. (From OE-Core rev: 52c36dd869c605c0065c17f9ed502a319ce3dd84) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libnotify: Remove obsolete dependency on dbus-glibAdrian Bunk2019-06-271-1/+1
| | | | | | | | | Upstream stopped using it in 2010. (From OE-Core rev: 3583b713884ad7ce39f91b072dc22b8c9730eabd) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cups: Remove unnecessary dependency on dbus-glibAdrian Bunk2019-06-271-1/+1
| | | | | | | (From OE-Core rev: 943e25f41129b9558c78f375ff80ddf1b21919ae) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-dbus: Remove obsolete dependency on dbus-glibAdrian Bunk2019-06-271-1/+1
| | | | | | | | | Upstream stopped using it in 1.2.6. (From OE-Core rev: b9353d6fbcd36a671e02bb849553a3791270c742) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bluez5: Remove obsolete dependency on dbus-glibAdrian Bunk2019-06-271-1/+1
| | | | | | | | | Upstream stopped using it in 2008. (From OE-Core rev: 5a73ba641f2fad8d0afa954e7c1a7d199263fbe0) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mesa: Update 19.1.0 -> 19.1.1Fabio Berton2019-06-272-2/+2
| | | | | | | | | | | | | Mesa 19.1.1 is a bug fix release which fixes bugs found since the 19.1.0 release. For a complete changelog see: https://www.mesa3d.org/relnotes/19.1.1.html (From OE-Core rev: a7c147532e1017bc1d22dd3cd6a2ef2d63e75490) Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* multilib_global: Fix KERNEL_VERSION expansion problemsRichard Purdie2019-06-271-4/+10
| | | | | | | | | | | | KERNEL_VERSION gets expanded at runtime to contain the real kernel version. There is code to ensure the signatures are determinisic but the multilib expansion code breaks this. Exclude the variable from the datastore used for expansion to avoid this. (From OE-Core rev: c068f907fee16477f59b6e5b168208aa4f677544) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* multilib_global: Fix multilib rebuild issueRichard Purdie2019-06-271-2/+1
| | | | | | | | | | | | | | | | | | | Building lttng-modules for a "lib32" multilib, then changing to a "lib64" multilib with "lib32" removed doesn't rebuild lttng-modules. This is due to the multilib pieces in RPROVIDES being added after RecipeParsed which is after the signatures are generated. Changing this to RecipeTaskPreProcess allows the multilib components to be accounted for correctly in the task hashes. This addresses failures on the autobuilder seen in lib64-core-image-sato-sdk builds where lttng-modules was being reused from qemux86 world build's lib32 version. (From OE-Core rev: a8dc13d4e4e34b061be5c2dd71f26cc0ad92a72e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: Stop exporting TARGET_ flags variablesMike Crowe2019-06-271-4/+4
| | | | | | | | | | | | | | | | | | | | Way back in http://lists.openembedded.org/pipermail/openembedded-core/2014-April/210138.html a few of us discussed not exporting TARGET_LDFLAGS. There seemed to be support for this idea, and I modified our tree to not do so. I then seem to have dropped the ball. :( We've been running like that for over five years, and not observed any problems. It seems sensible to stop exporting TARGET_CPPFLAGS, TARGET_CFLAGS and TARGET_CXXFLAGS too. I've successfully compile-tested core-image-minimal and core-image-sato for x86_64 and qemuarm64 with these changes. (From OE-Core rev: 1b1ab93408c3ba72f855b2f4a028f1a917e9b551) Signed-off-by: Mike Crowe <mac@mcrowe.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/buildoptions: check that Fortran code actually cross-compilesRoss Burton2019-06-271-5/+2
| | | | | | | | | | | | | | | Don't just test that we can build the cross-compiler, but test that it actually can cross-compile some Fortran. The quadmath dependency is now handled in gcc-runtime and isn't needed in this test (as per local.conf.sample.extended changes). There's also no need to build libgfortran explicitly, as fortran-helloworld depends on it. (From OE-Core rev: 4b43c655ed5ff8b9d2662730526811220b21ff8c) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* fortran-helloworld: add a very dumb Fortran Hello World for testingRoss Burton2019-06-272-0/+30
| | | | | | | | | | For future runtime testing something more complex is preferred but this is sufficient to exercise the cross compiler. (From OE-Core rev: 7d5f39ca717fa1caea357a4366bbf106386432c0) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* opkg: upgrade to version 0.4.1Alejandro del Castillo2019-06-274-338/+12
| | | | | | | | | | | | | - Drop 0001-libopkg-add-add-ignore-recommends-option.patch - Drop 0001-opkg-add-target-for-testsuite-installation.patch - Drop 0001-regress-issue72.py-resolve-paths-before-comparision.patch - Remove test binaries tests\libopkg_test, leftovers from make dist process (From OE-Core rev: b14c17e9b1992a7f6c9acfa9ee82037325163b31) Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gtk-icon-cache: rename intercept to update_gtk_icon_cacheRoss Burton2019-06-272-3/+4
| | | | | | | | | | | The intercept is called update_icon_cache which is vague: rename to update_gtk_icon_cache to make it clearer what it is for, and add a comment explaining what class caused it to be used. (From OE-Core rev: 3158adbe684890adc56af11e19af872e90e09d41) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mc: update to 4.8.23Oleksandr Kravchuk2019-06-271-2/+2
| | | | | | | (From OE-Core rev: 7ad36194dc42191b4da29fd29fb3869feb8b0d30) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* valgrind: Remove dependency on libx11Adrian Bunk2019-06-271-2/+1
| | | | | | | | | It doesn't seem to be used. (From OE-Core rev: 70fa25399503bd43da28d9d98765d354543c8975) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mdadm: fix systemd service start up failureChangqing Li2019-06-271-1/+2
| | | | | | | | | | | | | | | | 1. mdadm: No mail address or alert command - not monitoring fixed by use option -y to cause all events to be reported through 'syslog'. 2. cannot create pid file: No such file or directory fix by create dir before starting. (From OE-Core rev: d18c937918ec3553cb98743088a37ff080af2491) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cmake: 3.14.1 -> 3.14.5Pascal Bach2019-06-273-2/+2
| | | | | | | | | | | | | Fixes: - A bug with Visual Studio 2019 - An issue with target_link_libraries and PRIVATE - An issue with include_directories (From OE-Core rev: 116e876ffdb32d107271bb35e15a5ad951f64f65) Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* quilt: run-ptest remove Interactive InputChangqing Li2019-06-271-1/+1
| | | | | | | | | | | | | | | | | | | adduser in busybox and adduser under meta-openembeded have different behavior, adduser under meta-openembeded need Interactive Input like below if you manually run ptest. Enter the new value, or press ENTER for the default Full Name []: Room Number []: ... remove the "Interactive Input" by add --gecos "" to align the behavior also it is better for automation without interactive input (From OE-Core rev: dd1fb3acf58d9a8d5194941976cad37f88ab2fdf) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve-check: be idiomaticRoss Burton2019-06-271-8/+9
| | | | | | | | | | Instead of generating a series of indexes via range(len(list)), just iterate the list. (From OE-Core rev: 27eb839ee651c2d584db42d23bcf5dd764eb33f1) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cve-update-db: Use std library instead of urllib3Pierre Le Magourou2019-06-271-6/+4
| | | | | | | | | | | urllib3 was used in this recipe but it was not set as a dependency. As it is not specifically needed, rewrite the recipe with urllib from the standard library. (From OE-Core rev: c0eabd30d7b9c2517f4ec9229640be421ecc8a5e) Signed-off-by: Pierre Le Magourou <pierre.lemagourou@softbankrobotics.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.0: make scsi-debug include scsi core configsBruce Ashfield2019-06-273-3/+3
| | | | | | | | | | | | | | | | Updating the scsi-debug fragment to include the core scsi config options. This allows standalone use of the fragment, since all supporting options will be enabled simply by including the top level config in a BSP. This also removes a configuration warning on qemuarm, since we will no longer have missing / unavailable options during the config audit. (From OE-Core rev: c65826e96a77928938fef69fc0cbc65ec7431cb2) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.0: bsp: add basic xilinx zynqmp supportBruce Ashfield2019-06-273-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Zumeng Chen has added core/basic support for the zynqmp that is bootable using the 5.0 and 5.2-rcX kernels. This makes the fragments available for future refinement and factoring. A bootlog follows: ZynqMP> setenv bootargs console=ttyPS0,115200 root=/dev/mmcblk0p3 rw rootwait earlycon=cdns,mmio,0xFF000000 clk_ignore_unused ip=dhcp ZynqMP> tftpboot 0x10000000 Image; tftpboot 0x11800000 dtb; booti 0x10000000 - 0x11800000 Using ethernet@ff0e0000 device Filename 'Image'. Load address: 0x10000000 Loading: ########### 11.3 MiB/s done Bytes transferred = 16378368 (f9ea00 hex) Using ethernet@ff0e0000 device TFTP from server 128.224.162.211; our IP address is 128.224.162.99 Filename 'dtb'. Load address: 0x11800000 Loading: ## 4.7 MiB/s done Bytes transferred = 19746 (4d22 hex) Booting using the fdt blob at 0x11800000 Loading Device Tree to 0000000007ff8000, end 0000000007fffd21 ... OK Starting kernel ... Booting Linux on physical CPU 0x0000000000 [0x410fd034] Linux version 5.2.0-rc3-yoctodev-standard (oe-user@oe-host) (gcc version 9.1.0 (GCC)) #1 SMP PREEMPT Thu Jun 6 00:53:26 UTC 2019 Machine model: ZynqMP ZCU102 Rev1.0 earlycon: cdns0 at MMIO 0x00000000ff000000 (options '') printk: bootconsole [cdns0] enabled efi: Getting EFI parameters from FDT: efi: UEFI not found. cma: Reserved 16 MiB at 0x000000007ec00000 psci: probing for conduit method from DT. psci: PSCIv1.1 detected in firmware. psci: Using standard PSCI v0.2 function IDs psci: MIGRATE_INFO_TYPE not supported. psci: SMC Calling Convention v1.1 percpu: Embedded 30 pages/cpu s83416 r8192 d31272 u122880 Detected VIPT I-cache on CPU0 CPU features: detected: ARM erratum 845719 Speculative Store Bypass Disable mitigation not required Built 1 zonelists, mobility grouping on. Total pages: 1031940 Kernel command line: console=ttyPS0,115200 root=/dev/mmcblk0p3 rw rootwait earlycon=cdns,mmio,0xFF000000 clk_ignore_unused ip=dhcp Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes) Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes) software IO TLB: mapped [mem 0x7ac00000-0x7ec00000] (64MB) Memory: 4013572K/4193280K available (10748K kernel code, 1210K rwdata, 2764K rodata, 1216K init, 757K bss, 163324K reserved, 16384K cma-reserved) SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 ftrace: allocating 36121 entries in 142 pages rcu: Preemptible hierarchical RCU implementation. rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4. Tasks RCU enabled. rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4 NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 GIC: Adjusting CPU interface base to 0x00000000f902f000 GIC: Using split EOI/Deactivate mode random: get_random_bytes called from start_kernel+0x328/0x4c4 with crng_init=0 arch_timer: cp15 timer(s) running at 99.99MHz (phys). clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x170f8de2d3, max_idle_ns: 440795206112 ns sched_clock: 56 bits at 99MHz, resolution 10ns, wraps every 4398046511101ns Console: colour dummy device 80x25 Calibrating delay loop (skipped), value calculated using timer frequency.. 199.98 BogoMIPS (lpj=399960) pid_max: default: 32768 minimum: 301 LSM: Security Framework initializing Mount-cache hash table entries: 8192 (order: 4, 65536 bytes) Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes) *** VALIDATE proc *** *** VALIDATE cgroup1 *** *** VALIDATE cgroup2 *** ASID allocator initialised with 32768 entries rcu: Hierarchical SRCU implementation. EFI services will not be available. smp: Bringing up secondary CPUs ... Detected VIPT I-cache on CPU1 CPU1: Booted secondary processor 0x0000000001 [0x410fd034] Detected VIPT I-cache on CPU2 CPU2: Booted secondary processor 0x0000000002 [0x410fd034] Detected VIPT I-cache on CPU3 CPU3: Booted secondary processor 0x0000000003 [0x410fd034] smp: Brought up 1 node, 4 CPUs SMP: Total of 4 processors activated. CPU features: detected: 32-bit EL0 Support CPU features: detected: CRC32 instructions CPU: All CPU(s) started at EL2 alternatives: patching kernel code devtmpfs: initialized clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns futex hash table entries: 1024 (order: 4, 65536 bytes) xor: measuring software checksum speed 8regs : 2360.000 MB/sec 32regs : 2706.000 MB/sec arm64_neon: 2018.000 MB/sec xor: using function: 32regs (2706.000 MB/sec) DMI not present or invalid. NET: Registered protocol family 16 cpuidle: using governor ladder hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. DMA: preallocated 256 KiB pool for atomic allocations ��ɥ��ѭ console [ttyPS0] enabled 0xff000000 (irq = 33, base_baud = 6250000) is a xuartps printk: console [ttyPS0] enabled printk: bootconsole [cdns0] disabled printk: bootconsole [cdns0] disabled ff010000.serial: ttyPS1 at MMIO 0xff010000 (irq = 34, base_baud = 6250000) is a xuartps HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages raid6: neonx8 gen() 1518 MB/s raid6: neonx8 xor() 1442 MB/s raid6: neonx4 gen() 1471 MB/s raid6: neonx4 xor() 1409 MB/s raid6: neonx2 gen() 1128 MB/s raid6: neonx2 xor() 1175 MB/s raid6: neonx1 gen() 737 MB/s raid6: neonx1 xor() 887 MB/s raid6: int64x8 gen() 1166 MB/s raid6: int64x8 xor() 763 MB/s raid6: int64x4 gen() 983 MB/s raid6: int64x4 xor() 739 MB/s raid6: int64x2 gen() 683 MB/s raid6: int64x2 xor() 601 MB/s raid6: int64x1 gen() 452 MB/s raid6: int64x1 xor() 462 MB/s raid6: using algorithm neonx8 gen() 1518 MB/s raid6: .... xor() 1442 MB/s, rmw enabled raid6: using neon recovery algorithm vgaarb: loaded SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb media: Linux media interface: v0.10 videodev: Linux video capture interface: v2.00 pps_core: LinuxPPS API ver. 1 registered pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> PTP clock support registered EDAC MC: Ver: 3.0.0 FPGA manager framework clocksource: Switched to clocksource arch_sys_counter *** VALIDATE hugetlbfs *** NET: Registered protocol family 2 tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes) TCP established hash table entries: 32768 (order: 6, 262144 bytes) TCP bind hash table entries: 32768 (order: 7, 524288 bytes) TCP: Hash tables configured (established 32768 bind 32768) UDP hash table entries: 2048 (order: 4, 65536 bytes) UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes) NET: Registered protocol family 1 RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. PCI: CLS 0 bytes, default 64 hw perfevents: no interrupt-affinity property for /pmu, guessing. hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available kprobes: failed to populate blacklist: -22 Please take care of using kprobes. workingset: timestamp_bits=46 max_order=20 bucket_order=0 NFS: Registering the id_resolver key type Key type id_resolver registered Key type id_legacy registered jffs2: version 2.2. �© 2001-2006 Red Hat, Inc. Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246) io scheduler mq-deadline registered io scheduler kyber registered nwl-pcie fd0e0000.pcie: Link is DOWN nwl-pcie fd0e0000.pcie: host bridge /amba/pcie@fd0e0000 ranges: nwl-pcie fd0e0000.pcie: MEM 0xe0000000..0xefffffff -> 0xe0000000 nwl-pcie fd0e0000.pcie: MEM 0x600000000..0x7ffffffff -> 0x600000000 nwl-pcie fd0e0000.pcie: PCI host bridge to bus 0000:00 pci_bus 0000:00: root bus resource [bus 00-ff] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff] pci_bus 0000:00: root bus resource [mem 0x600000000-0x7ffffffff pref] pci 0000:00:00.0: [10ee:d021] type 01 class 0x060400 pci 0000:00:00.0: PME# supported from D0 D1 D2 D3hot pci 0000:00:00.0: PCI bridge to [bus 01-0c] pcieport 0000:00:00.0: PME: Signaling with IRQ 37 xilinx-zynqmp-dma fd500000.dma: ZynqMP DMA driver Probe success xilinx-zynqmp-dma fd510000.dma: ZynqMP DMA driver Probe success xilinx-zynqmp-dma fd520000.dma: ZynqMP DMA driver Probe success xilinx-zynqmp-dma fd530000.dma: ZynqMP DMA driver Probe success xilinx-zynqmp-dma fd540000.dma: ZynqMP DMA driver Probe success xilinx-zynqmp-dma fd550000.dma: ZynqMP DMA driver Probe success xilinx-zynqmp-dma fd560000.dma: ZynqMP DMA driver Probe success xilinx-zynqmp-dma fd570000.dma: ZynqMP DMA driver Probe success cacheinfo: Unable to detect cache hierarchy for CPU 0 brd: module loaded loop: module loaded ahci-ceva fd0c0000.ahci: AHCI 0001.0301 32 slots 2 ports 6 Gbps 0x3 impl platform mode ahci-ceva fd0c0000.ahci: flags: 64bit ncq sntf pm clo only pmp fbs pio slum part ccc sds apst scsi host0: ahci-ceva scsi host1: ahci-ceva ata1: SATA max UDMA/133 mmio [mem 0xfd0c0000-0xfd0c1fff] port 0x100 irq 31 ata2: SATA max UDMA/133 mmio [mem 0xfd0c0000-0xfd0c1fff] port 0x180 irq 31 libphy: Fixed MDIO Bus: probed CAN device driver interface libphy: MACB_mii_bus: probed Generic PHY ff0e0000.ethernet-ffffffff:0c: attached PHY driver [Generic PHY] (mii_bus:phy_addr=ff0e0000.ethernet-ffffffff:0c, irq=POLL) macb ff0e0000.ethernet eth0: Cadence GEM rev 0x50070106 at 0xff0e0000 irq 20 (00:0a:35:04:9a:86) dwc3 fe200000.usb: Failed to get clk 'ref': -2 dwc3 fe200000.usb: Configuration mismatch. dr_mode forced to host xhci-hcd xhci-hcd.0.auto: xHCI Host Controller xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1 xhci-hcd xhci-hcd.0.auto: hcc params 0x0238f625 hci version 0x100 quirks 0x0000000002010010 xhci-hcd xhci-hcd.0.auto: irq 35, io mem 0xfe200000 hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected xhci-hcd xhci-hcd.0.auto: xHCI Host Controller xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2 xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. hub 2-0:1.0: USB hub found hub 2-0:1.0: 1 port detected usbcore: registered new interface driver usb-storage rtc_zynqmp ffa60000.rtc: registered as rtc0 pca953x 0-0020: 0-0020 supply vcc not found, using dummy regulator GPIO line 322 (sel0) hogged as output/low GPIO line 323 (sel1) hogged as output/high GPIO line 324 (sel2) hogged as output/high GPIO line 325 (sel3) hogged as output/high pca953x 0-0021: 0-0021 supply vcc not found, using dummy regulator cdns-i2c ff020000.i2c: 400 kHz mmio ff020000 irq 22 cdns-i2c ff030000.i2c: 400 kHz mmio ff030000 irq 23 i2c i2c-0: Added multiplexed i2c bus 2 i2c i2c-0: Added multiplexed i2c bus 3 i2c i2c-0: Added multiplexed i2c bus 4 i2c i2c-0: Added multiplexed i2c bus 5 pca954x 0-0075: registered 4 multiplexed busses for I2C mux pca9544 at24 6-0054: 1024 byte 24c08 EEPROM, writable, 1 bytes/write i2c i2c-1: Added multiplexed i2c bus 6 i2c i2c-7: of_i2c: modalias failure on /amba/i2c@ff030000/i2c-mux@74/i2c@1/clock-generator@36 i2c i2c-7: Failed to create I2C device for /amba/i2c@ff030000/i2c-mux@74/i2c@1/clock-generator@36 i2c i2c-1: Added multiplexed i2c bus 7 si570 8-005d: registered, current frequency 300000000 Hz i2c i2c-1: Added multiplexed i2c bus 8 si570 9-005d: clock registration failed si570: probe of 9-005d failed with error -17 i2c i2c-1: Added multiplexed i2c bus 9 i2c i2c-10: of_i2c: modalias failure on /amba/i2c@ff030000/i2c-mux@74/i2c@4/clock-generator@69 i2c i2c-10: Failed to create I2C device for /amba/i2c@ff030000/i2c-mux@74/i2c@4/clock-generator@69 i2c i2c-1: Added multiplexed i2c bus 10 i2c i2c-1: Added multiplexed i2c bus 11 i2c i2c-1: Added multiplexed i2c bus 12 i2c i2c-1: Added multiplexed i2c bus 13 pca954x 1-0074: registered 8 multiplexed busses for I2C switch pca9548 i2c i2c-1: Added multiplexed i2c bus 14 i2c i2c-1: Added multiplexed i2c bus 15 i2c i2c-1: Added multiplexed i2c bus 16 i2c i2c-1: Added multiplexed i2c bus 17 i2c i2c-1: Added multiplexed i2c bus 18 i2c i2c-1: Added multiplexed i2c bus 19 i2c i2c-1: Added multiplexed i2c bus 20 i2c i2c-1: Added multiplexed i2c bus 21 pca954x 1-0075: registered 8 multiplexed busses for I2C switch pca9548 ina2xx 2-0040: power monitor ina226 (Rshunt = 5000 uOhm) ina2xx 2-0041: power monitor ina226 (Rshunt = 5000 uOhm) ina2xx 2-0042: power monitor ina226 (Rshunt = 5000 uOhm) ata1: SATA link down (SStatus 0 SControl 330) ina2xx 2-0043: power monitor ina226 (Rshunt = 5000 uOhm) ata2: SATA link down (SStatus 0 SControl 330) ina2xx 2-0044: power monitor ina226 (Rshunt = 5000 uOhm) ina2xx 2-0045: power monitor ina226 (Rshunt = 5000 uOhm) ina2xx 2-0046: power monitor ina226 (Rshunt = 5000 uOhm) ina2xx 2-0047: power monitor ina226 (Rshunt = 5000 uOhm) ina2xx 2-004a: power monitor ina226 (Rshunt = 5000 uOhm) ina2xx 2-004b: power monitor ina226 (Rshunt = 5000 uOhm) ina2xx 3-0040: power monitor ina226 (Rshunt = 2000 uOhm) ina2xx 3-0041: power monitor ina226 (Rshunt = 5000 uOhm) ina2xx 3-0042: power monitor ina226 (Rshunt = 5000 uOhm) ina2xx 3-0043: power monitor ina226 (Rshunt = 5000 uOhm) ina2xx 3-0044: power monitor ina226 (Rshunt = 5000 uOhm) ina2xx 3-0045: power monitor ina226 (Rshunt = 5000 uOhm) ina2xx 3-0046: power monitor ina226 (Rshunt = 5000 uOhm) ina2xx 3-0047: power monitor ina226 (Rshunt = 5000 uOhm) cdns-wdt fd4d0000.watchdog: Xilinx Watchdog Timer at (____ptrval____) with timeout 10s device-mapper: ioctl: 4.40.0-ioctl (2019-01-18) initialised: dm-devel@redhat.com EDAC MC: ECC not enabled cpu cpu0: failed to get clock: -2 cpufreq-dt: probe of cpufreq-dt failed with error -2 sdhci: Secure Digital Host Controller Interface driver sdhci: Copyright(c) Pierre Ossman sdhci-pltfm: SDHCI platform and OF driver helper mmc0: SDHCI controller on ff170000.mmc [ff170000.mmc] using ADMA 64-bit usbcore: registered new interface driver usbhid usbhid: USB HID core driver u32 classifier Actions configured NET: Registered protocol family 10 Segment Routing with IPv6 sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver NET: Registered protocol family 17 can: controller area network core (rev 20170425 abi 9) NET: Registered protocol family 29 can: raw protocol (rev 20170425) can: broadcast manager protocol (rev 20170425 t) can: netlink gateway (rev 20170425) max_hops=1 Key type dns_resolver registered registered taskstats version 1 Btrfs loaded, crc32c=crc32c-generic Key type encrypted registered printk: console [netcon0] enabled netconsole: network logging started rtc_zynqmp ffa60000.rtc: setting system clock to 2019-06-06T03:39:58 UTC (1559792398) macb ff0e0000.ethernet eth0: link up (1000/Full) pps pps0: new PPS source ptp0 macb ff0e0000.ethernet: gem-ptp-timer ptp clock registered. IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready mmc0: Problem switching card into high-speed mode! mmc0: new SDHC card at address 0001 mmcblk0: mmc0:0001 SD16G 14.5 GiB Sending DHCP requests . mmcblk0: p1 p2 p3 , OK IP-Config: Complete: device=eth0, hwaddr=00:0a:35:04:9a:86, ipaddr=xxxxx, mask=255.255.254.0 host=xxx, domain=corp.ad.wrs.com, nis-domain=swamp bootserver=0.0.0.0, rootserver=0.0.0.0, rootpath= clk: Not disabling unused clocks md: Waiting for all devices to be available before autodetect md: If you don't use raid, use raid=noautodetect md: Autodetecting RAID arrays. md: autorun ... md: ... autorun DONE. EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null) VFS: Mounted root (ext4 filesystem) on device 179:3. devtmpfs: mounted Freeing unused kernel memory: 1216K Run /sbin/init as init process random: fast init done systemd[1]: systemd 242-19-gdb2e367+ running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -) systemd[1]: Detected architecture arm64. Welcome to Wind River Linux development 19.23 Update 0! systemd[1]: Set hostname to <xilinx-zynqmp>. random: systemd: uninitialized urandom read (16 bytes read) systemd[1]: Initializing machine ID from random generator. systemd[1]: Failed to bump fs.file-max, ignoring: Invalid argument systemd[1]: /lib/systemd/system/dbus.socket:4: ListenStream= references a path below legacy directory /var/run/, updating /var/run/dbus/system_bus_socket �→ /run/dbus/system_bus_socket; please update the unit f. systemd[1]: /lib/systemd/system/rpcbind.socket:4: ListenStream= references a path below legacy directory /var/run/, updating /var/run/rpcbind.sock �→ /run/rpcbind.sock; please update the unit file accordingly. random: systemd: uninitialized urandom read (16 bytes read) systemd[1]: Listening on Journal Socket (/dev/log). [ OK ] Listening on Journal Socket (/dev/log). random: systemd: uninitialized urandom read (16 bytes read) systemd[1]: Listening on Syslog Socket. [ OK ] Listening on Syslog Socket. systemd[1]: Listening on udev Kernel Socket. [ OK ] Listening on udev Kernel Socket. [ OK ] Listening on udev Control Socket. [ OK ] Created slice User and Session Slice. [ OK ] Listening on initctl Compatibility Named Pipe. [ OK ] Reached target Swap. [ OK ] Created slice system-serial\x2dgetty.slice. [ OK ] Reached target Slices. [ OK ] Listening on Journal Socket. Starting udev Coldplug all Devices... Mounting POSIX Message Queue File System... Mounting Temporary Directory (/tmp)... Starting Journal Service... Starting Remount Root and Kernel File Systems... Mounting Kernel Debug File System... EXT4-fs (mmcblk0p3): re-mounted. Opts: (null) Starting Create list of re�…odes for the current kernel... [ OK ] Started Forward Password R�…uests to Wall Directory Watch. [ OK ] Reached target Remote File Systems. [ OK ] Listening on Network Service Netlink Socket. Starting Apply Kernel Variables... [ OK ] Started Dispatch Password �…ts to Console Directory Watch. [ OK ] Reached target Paths. [ OK ] Created slice system-getty.slice. Mounting Huge Pages File System... [ OK ] Started Journal Service. [ OK ] Mounted POSIX Message Queue File System. [ OK ] Mounted Temporary Directory (/tmp). [ OK ] Started Remount Root and Kernel File Systems. [ OK ] Mounted Kernel Debug File System. [ OK ] Started Create list of req�… nodes for the current kernel. [ OK ] Started Apply Kernel Variables. [ OK ] Mounted Huge Pages File System. Starting Create System Users... Starting Rebuild Hardware Database... Starting Flush Journal to Persistent Storage... [ OK ] Started udev Coldplug all Devices. systemd-journald[148]: Received request to flush runtime journal from PID 1 [ OK ] Started Flush Journal to Persistent Storage. [ OK ] Started Create System Users. Starting Create Static Device Nodes in /dev... [ OK ] Started Create Static Device Nodes in /dev. [ OK ] Reached target Local File Systems (Pre). Mounting /var/volatile... [ OK ] Mounted /var/volatile. [ OK ] Reached target Local File Systems. Starting Create Volatile Files and Directories... Starting Load/Save Random Seed... [ OK ] Started Load/Save Random Seed. [ OK ] Started Create Volatile Files and Directories. Starting Network Time Synchronization... Starting Rebuild Journal Catalog... Starting Update UTMP about System Boot/Shutdown... Starting Run pending postinsts... [ OK ] Started Update UTMP about System Boot/Shutdown. [ OK ] Started Network Time Synchronization. [ OK ] Reached target System Time Set. [ OK ] Reached target System Time Synchronized. [ OK ] Started Rebuild Journal Catalog. [ OK ] Started Run pending postinsts. [ OK ] Started Rebuild Hardware Database. Starting udev Kernel Device Manager... Starting Update is Completed... [ OK ] Started Update is Completed. [ OK ] Started udev Kernel Device Manager. [ OK ] Reached target System Initialization. Starting Console System Startup Logging... [ OK ] Listening on RPCbind Server Activation Socket. [ OK ] Listening on D-Bus System Message Bus Socket. [ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket. [ OK ] Listening on dropbear.socket. [ OK ] Reached target Sockets. [ OK ] Reached target Basic System. [ OK ] Started System Logging Service. [ OK ] Started Dynamic Host Configuration Protocol (DHCP). [ OK ] Started Kernel Logging Service. Starting Login Service... [ OK ] Started D-Bus System Message Bus. [ OK ] Started Xserver startup without a display manager. [ OK ] Started Daily Cleanup of Temporary Directories. [ OK ] Reached target Timers. Starting Telephony service... Starting Network Service... [ OK ] Started Console System Startup Logging. [ OK ] Found device /dev/ttyPS0. [ OK ] Listening on Load/Save RF �…itch Status /dev/rfkill Watch. [ OK ] Started Network Service. Starting Network Name Resolution... [ OK ] Started Login Service. [ OK ] Started Network Name Resolution. [ OK ] Started Telephony service. [ OK ] Reached target Network. Starting Berkeley Internet Name Domain (DNS)... Starting /etc/rc.local Compatibility... Starting Permit User Sessions... Starting Avahi mDNS/DNS-SD Stack... [ OK ] Started /etc/rc.local Compatibility. [ OK ] Started Permit User Sessions. [ OK ] Started Getty on tty1. [ OK ] Started Serial Getty on ttyPS0. [ OK ] Started Avahi mDNS/DNS-SD Stack. [ OK ] Started Berkeley Internet Name Domain (DNS). [ OK ] Reached target Host and Network Name Lookups. Wind River Linux development 19.23 Update 0 xilinx-zynqmp ttyPS0 xilinx-zynqmp login: root root@xilinx-zynqmp:~# uname 0a uname: extra operand '0a' Try 'uname --help' for more information. root@xilinx-zynqmp:~# uname -a Linux xilinx-zynqmp 5.2.0-rc3-yoctodev-standard #1 SMP PREEMPT Thu Jun 6 00:53:26 UTC 2019 aarch64 aarch64 aarch64 GNU/Linux (From OE-Core rev: b0dc58f535a27be6c649dcf336c7dc0cdb23d96b) Signed-off-by: Zumeng Chen <zchen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* local.conf.sample.extended: remove redundant RUNTIMETARGET assignmentRoss Burton2019-06-241-1/+0
| | | | | | | | | | This has been fixed in the GCC recipe, so remove from local.conf.sample.extended. (From meta-yocto rev: f19f3a7a5286cabf42a0f6d0ea8f7841dc043324) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes-bsp/opensbi: Fix the u-boot payload nameAlistair Francis2019-06-241-1/+1
| | | | | | | (From OE-Core rev: abbd86a961357d1de6b9c57d50eb95abe2b57fce) Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ptest-packagelists.inc: add libmodule-build-perl-ptestTim Orling2019-06-241-0/+1
| | | | | | | | | | Now that libmodule-build-perl has moved into oe-core, make sure it is being tested on the autobuilder. (From OE-Core rev: 91c4328e9b8d95a2e1b6d85dd7d266150ed6dd12) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bash: Remove .build files for reproducible buildsJoshua Watt2019-06-241-0/+6
| | | | | | | | | | | | | | | | Bash has an internal "build number" that it tracks and automatically increments ever time a given builds is made from the same sandbox. However, this can make builds non-reproducible in the event that a build directory is reused multiple times. Remove the .build files after every build if reproducible builds have been requested which will reset the build build number for the next build. (From OE-Core rev: 9754be5c22de877bd53226908d03d2eef5751808) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: Reproducible build fixesJoshua Watt2019-06-243-0/+67
| | | | | | | | | | Applies two patches that are required to improve the reproducibility of builds. (From OE-Core rev: 9297cabb0aca8212d3cc74f8d26e43abc02ded87) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: Reformat sysconfigJoshua Watt2019-06-242-0/+28
| | | | | | | | | | | | | | | | | | | | | | | Reformats the sysconfig file when packaging. This file is output by using the python pprint function. This function will wrap long lines at 80 characters by default, and will even split strings at whitespace boundaries to do so, e.g.: 'A': 'B is really' ' long' This causes a problem for reproducibility however because there might be lines of differing lengths depending on the build path. These non-reproducible paths are removed, but their effect on string wrapping from pprint remains. To correct this, reformat the entire sysconfig file by re-printing using pprint with an (effectively) unlimited line length. (From OE-Core rev: ec8a2b310d5f0b42f60898a5c6d239949842b34c) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pigz: bump alternative priorityRoss Burton2019-06-211-1/+1
| | | | | | | | | | | | | As pigz is compatible with gzip, but better performing, if it is installed it should be used by default. Currently gzip has priority of 100 but pigz has priority of 80, so gzip is still used by default. Change the pigz priority to 110 so that it wins of gzip. (From OE-Core rev: 808792122751714de3ba25e463fd8b2709581cfc) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-runtime.inc: create the correct directory before creating the symlinks in itMartin Jansa2019-06-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * since commit b071a1a209556158bcfcc20e3c8bd4b15373767c Author: Changqing Li <changqing.li@windriver.com> Date: Tue Jun 18 15:46:56 2019 +0800 gcc-runtime: fix C++ header mapping for n32/x32 tune gcc-runtime.do_install is failing with: ln: failed to create symbolic link 'work/aarch64-oemllib32-linux-gnueabi/lib32-gcc-runtime/9.1.0-r0/image/usr/include/c++/9.1.0/arm-oe-linux-gnueabi/bits': No such file or directory WARNING: exit code 1 from a shell command. ERROR: Function failed: do_install (log file is located at work/aarch64-oemllib32-linux-gnueabi/lib32-gcc-runtime/9.1.0-r0/temp/log.do_install.31049) There is only empty directory without the -gnueabi suffix: work/aarch64-oemllib32-linux-gnueabi/lib32-gcc-runtime/9.1.0-r0/image/usr/include/c++/9.1.0/arm-oe-linux/ and work/aarch64-oemllib32-linux-gnueabi/lib32-gcc-runtime/9.1.0-r0/image/usr/include/c++/9.1.0/arm-oemllib32-linux-gnueabi/ bits ext * make sure to create correct directory (with -${TARGET_OS suffix instead of -linux suffix) before creating the symlinks in it (From OE-Core rev: 41cbf5dc203ba74b06cb4890e1022f3f02fbd6fd) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go: avoid host contamination by GOCACHERicardo Ribalda Delgado2019-06-214-0/+4
| | | | | | | | | | | | | | | | | | | | | By default GOCACHE is set to $HOME/.cache. Fixes: ERROR: go-cross-dbfp4-1.12.1-r0 do_compile: Function failed: do_compile (log file is located at /workdir/build/tmp/work/x86_64-linux/go-cross-dbfp4/1.12.1-r0/temp/log.do_compile.8120) ERROR: Logfile of failure stored in: /workdir/build/tmp/work/x86_64-linux/go-cross-dbfp4/1.12.1-r0/temp/log.do_compile.8120 Log data follows: | DEBUG: Executing shell function do_compile | Building Go cmd/dist using /workdir/build/tmp/work/x86_64-linux/go-cross-dbfp4/1.12.1-r0/recipe-sysroot-native/usr/lib/go. | failed to initialize build cache at /home/pokyuser/.cache/go-build: mkdir /home/pokyuser/.cache: permission denied | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_compile (log file is located at /workdir/build/tmp/work/x86_64-linux/go-cross-dbfp4/1.12.1-r0/temp/log.do_compile.8120) ERROR: Task (/workdir/repo/poky/meta/recipes-devtools/go/go-cross_1.12.bb:do_compile) failed with exit code '1' NOTE: Tasks Summary: Attempted 23 tasks of which 16 didn't need to be rerun and 1 failed. (From OE-Core rev: 9a6d208b9979035bbfc1def80fb6558db4bddb12) Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* update-rc.d: support enable/disable optionsChangqing Li2019-06-211-24/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * update-rc.d has added support of enable/disable options, which are expected to keep the previous configuration even after upgrade the packages. With support for these options, it will only create start/stop link when there are none, or it will keep the previous configuration. Our preinst uses "-f remove" to remove any links under the /etc/rcrunlevel.d which is conflicting behavior with disable/enable options, so remove it. For example, if a user disabled one service before upgrade, then after upgrade the service could be started. This happens because during preinst, all links have been deleted, then postinst may create the link to start service. With this change, we remove preinst and therefore keep the previous links so that after upgrade, if a link existed for the package, then the postinst will not create new start/stop links. * remove '-f' for postinst. Previously, the keepalived recipe used 'remove' during postinst, so we needed the -f, but now the keepalived recipe has fixed this problem, so it's safe to remove '-f'. [Yocto #12955] (From OE-Core rev: 7981d5261429cfb06030280460086f9af91876d9) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* update-rc.d: update SRCREV and license checksumChangqing Li2019-06-211-2/+2
| | | | | | | | | | | | This pulls in updates to add enable/disable support. The license is unchanged, code just changed to use an SPDX license identifier. (From OE-Core rev: 01df28021baebf6abe25eb5824e0ff45fded88bc) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa: avoid class setup method to run when skipping the whole classChen Qi2019-06-212-0/+10
| | | | | | | | | | | | | | | For now, even if we have specified to skip the whole module/class via command line, e.g., `oe-selftest -R gotoolchain', the class setup method is still run. This at least results in unnecessary builds, and at worst results in ERROR, if the setup method fails. So improve the skipping mechanism to avoid class setup method to run when specified to skip. (From OE-Core rev: b0b79bf65f5e5e65958090a4a88622b42df896bf) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* context.py: avoid skipping tests by meaningless command argumentChen Qi2019-06-211-1/+1
| | | | | | | | | | | Currently `oe-selftest -R a' will skip 'archiver' tests. This is not expected. Fix it so that the '-R' should be followed by actual module/class/test names. (From OE-Core rev: de3b070fc2ddd0b63a324679ec5adbe30142fc22) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dropbear: new feature: disable-weak-ciphersJoseph Reynolds2019-06-212-2/+48
| | | | | | | | | | | | | | | | | | Enhances dropbear with a new feature "disable-weak-ciphers", on by default. This feature disables all CBC, SHA1, and diffie-hellman group1 ciphers in the dropbear ssh server and client. Disable this feature if you need to connect to the ssh server from older clients. Additional customization can be done with local_options.h as usual. Tested: On dropbear_2019.78. Upstream-Status: Inappropriate [configuration] (From OE-Core rev: b11521ce1b1d1f8b4dddf830b41f5ea809730d22) Signed-off-by: Joseph Reynolds <joseph.reynolds1@ibm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>