[meta-rockchip][PATCH 2/3] IMAGE_FSTYPES: remove ext4
Trevor Woerner
The ext4 IMAGE_FSTYPES does not need to be mentioned explicitly. It will be
automatically generated in cases where it is needed. Signed-off-by: Trevor Woerner <twoerner@...> --- conf/machine/include/rockchip-defaults.inc | 1 - 1 file changed, 1 deletion(-) diff --git a/conf/machine/include/rockchip-defaults.inc b/conf/machine/include/rockchip-defaults.inc index b41c523..0666119 100644 --- a/conf/machine/include/rockchip-defaults.inc +++ b/conf/machine/include/rockchip-defaults.inc @@ -22,4 +22,3 @@ XSERVER = " \ # misc SERIAL_CONSOLES ?= "1500000;ttyS2" -IMAGE_FSTYPES += "ext4" -- 2.30.0.rc0
|
|
[meta-rockchip][PATCH 1/3] conf/machine/include/nanopi-m4.inc: add full include path
Trevor Woerner
Specify the full include path to the rk3399.inc file.
Signed-off-by: Trevor Woerner <twoerner@...> --- conf/machine/include/nanopi-m4.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/machine/include/nanopi-m4.inc b/conf/machine/include/nanopi-m4.inc index 7ca91db..b5251a1 100644 --- a/conf/machine/include/nanopi-m4.inc +++ b/conf/machine/include/nanopi-m4.inc @@ -1,7 +1,7 @@ # Copyright (C) 2021 Blade SAS # Common definitions for all NanoPi M4 RK3399 board variants -require rk3399.inc +require conf/machine/include/rk3399.inc MACHINE_FEATURES += "usbhost serial" -- 2.30.0.rc0
|
|
Re: [meta-rockchip][PATCH] conf/machine/include/rockchip-wic.inc: create
Trevor Woerner
On Fri 2021-06-25 @ 09:54:46 AM, Trevor Woerner via lists.yoctoproject.org wrote:
Create a conf/machine/include/rockchip-wic.inc file to contain all the commonApplied to meta-rockchip master.
|
|
Re: [OE-core] Hardknott (GCC10) Compiler Issues
Zoran
The target system should be independent of buildtools version and the targetEven better, the rootfs built by YOCTO could be used, but anyone can build U-Boot and kernel outside of the YOCTO, using their own cross compilers (I use Fedora 33 ARM cross compilers, since my Linux host is Fedora 33). Then to install all the different components on the SDcard for the target system. And see if the issue repeats itself... Zee _______ On Mon, Jun 28, 2021 at 2:49 PM Richard Purdie <richard.purdie@...> wrote:
|
|
Re: [OE-core] Hardknott (GCC10) Compiler Issues
Zoran
At least seems that GCC 10.2 is not the cause of the problem for my
cannelloni recipe issue: https://github.com/mguentner/cannelloni/issues/35 The same error repeats itself with GCC 11.2 (in hardknott). The issue is most probably optimizing GCC switches and Include paths in further cannelloni commits (after release 1.0.0, which compiles with both 10.2 and 11.1 fine). Best Regards, Zee _______ On Mon, Jun 28, 2021 at 2:49 PM Richard Purdie <richard.purdie@...> wrote:
|
|
Re: [OE-core] Hardknott (GCC10) Compiler Issues
Richard Purdie
On Thu, 2021-06-24 at 21:48 -0700, Chuck Wolber wrote:
All,The issue you describe does sound strange. I was a little unclear about exactly which combinations were passing/failing. Are you saying that some versions of buildtools let the system work but some do not? We now have gcc 11 in master so it would be interesting to know how things worked there and if any regression was fixed. I have also heard reports of issues with bison segfaulting from other sources but I don't have anything I can point to specifically about it. The target system should be independent of buildtools version and the target system should also be binary reproducible so if that were changing through changing buildtools tarball, that would be worrying in itself. P.P.S. For the sake of completeness, I had to add the following files to the buildtools-extendedIt is great to have this list, outside the non-jdk issues are probably issues we should look at fixing in OE-Core. Do you mean binutils above for the dir command? Cheers,
|
|
Re: [qa-build-notification] QA notification for completed autobuilder build (yocto-3.1.9.rc1)
Sangeeta Jain
Hello all,
toggle quoted messageShow quoted text
This is the full report for yocto-3.1.9.rc1: https://git.yoctoproject.org/cgit/cgit.cgi/yocto-testresults-contrib/tree/?h=intel-yocto-testresults ======= Summary ======== No high milestone defects. No new issue found. Thanks, Sangeeta
-----Original Message-----
|
|
[meta-security][PATCH 4/4] initramfs-framework: rename files dir
Fixes:
ERROR: initramfs-framework-1.0-r4 do_fetch: Fetcher failure for URL: 'file://dmverity'. Unable to fetch URL from any source. Signed-off-by: Armin Kuster <akuster808@...> --- .../{initramfs-framework => initramfs-framework-dm}/dmverity | 0 recipes-core/initrdscripts/initramfs-framework.inc | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename recipes-core/initrdscripts/{initramfs-framework => initramfs-framework-dm}/dmverity (100%) diff --git a/recipes-core/initrdscripts/initramfs-framework/dmverity b/recipes-core/initrdscripts/initramfs-framework-dm/dmverity similarity index 100% rename from recipes-core/initrdscripts/initramfs-framework/dmverity rename to recipes-core/initrdscripts/initramfs-framework-dm/dmverity diff --git a/recipes-core/initrdscripts/initramfs-framework.inc b/recipes-core/initrdscripts/initramfs-framework.inc index dad9c96..12010bf 100644 --- a/recipes-core/initrdscripts/initramfs-framework.inc +++ b/recipes-core/initrdscripts/initramfs-framework.inc @@ -1,4 +1,4 @@ -FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" +FILESEXTRAPATHS_prepend := "${THISDIR}/initramfs-framework-dm:" SRC_URI_append = "\ file://dmverity \ -- 2.17.1
|
|
[meta-security][PATCH 3/4] packagegroup-core-security: add sshguard
Signed-off-by: Armin Kuster <akuster808@...>
--- recipes-core/packagegroup/packagegroup-core-security.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-core/packagegroup/packagegroup-core-security.bb b/recipes-core/packagegroup/packagegroup-core-security.bb index e7b6d9b..8e06f30 100644 --- a/recipes-core/packagegroup/packagegroup-core-security.bb +++ b/recipes-core/packagegroup/packagegroup-core-security.bb @@ -40,6 +40,7 @@ RDEPENDS_packagegroup-security-utils = "\ softhsm \ libest \ opendnssec \ + sshguard \ ${@bb.utils.contains_any("TUNE_FEATURES", "riscv32 ", "", " libseccomp",d)} \ ${@bb.utils.contains("DISTRO_FEATURES", "pam", "sssd google-authenticator-libpam", "",d)} \ ${@bb.utils.contains("DISTRO_FEATURES", "pax", "pax-utils packctl", "",d)} \ -- 2.17.1
|
|
[meta-security][PATCH 2/4] ssshgaurd: add packaage
Signed-off-by: Armin Kuster <akuster808@...>
--- recipes-security/sshguard/sshguard_2.4.2.bb | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 recipes-security/sshguard/sshguard_2.4.2.bb diff --git a/recipes-security/sshguard/sshguard_2.4.2.bb b/recipes-security/sshguard/sshguard_2.4.2.bb new file mode 100644 index 0000000..bd7f979 --- /dev/null +++ b/recipes-security/sshguard/sshguard_2.4.2.bb @@ -0,0 +1,11 @@ +SUMARRY=" Intelligently block brute-force attacks by aggregating system logs " +HOMEPAGE = "https://www.sshguard.net/" +LIC_FILES_CHKSUM = "file://COPYING;md5=47a33fc98cd20713882c4d822a57bf4d" +LICENSE = "BSD-1-Clause" + + +SRC_URI="https://sourceforge.net/projects/sshguard/files/sshguard/${PV}/sshguard-${PV}.tar.gz" + +SRC_URI[sha256sum] = "2770b776e5ea70a9bedfec4fd84d57400afa927f0f7522870d2dcbbe1ace37e8" + +inherit autotools-brokensep -- 2.17.1
|
|
[meta-security][PATCH 1/4] initramfs-framework: fix typo in conditional
Signed-off-by: Armin Kuster <akuster808@...>
--- recipes-core/initrdscripts/initramfs-framework_1.0.bbappend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-core/initrdscripts/initramfs-framework_1.0.bbappend b/recipes-core/initrdscripts/initramfs-framework_1.0.bbappend index dc74e01..f5d476e 100644 --- a/recipes-core/initrdscripts/initramfs-framework_1.0.bbappend +++ b/recipes-core/initrdscripts/initramfs-framework_1.0.bbappend @@ -1 +1 @@ -require ${@bb.utils.contains('IMAGE_CLASSES', 'dm-verity', 'initramfs-framework.inc', '', d)} +require ${@bb.utils.contains('IMAGE_CLASSES', 'dm-verity-img', 'initramfs-framework.inc', '', d)} -- 2.17.1
|
|
Re: [meta-rockchip][PATCH v2] console cleanup
Trevor Woerner
On Thu 2021-06-24 @ 08:39:59 AM, Trevor Woerner wrote:
Consolidate all the various console definitions to the commonApplied to meta-rockchip master.
|
|
Re: what's the state of things with pushing the bounds on ASSUME_PROVIDED?
On Fri, Jun 25, 2021 at 4:43 AM Richard Purdie <richard.purdie@...> wrote:
Very strong agreement here. My 2c is that Yocto/OE should be going in that direction even further. One of the significant benefits of the OE build method is eliminating, to the greatest extent possible, the (usually) undetectable influence of variations in the host platforms. Any given distro is probably stable enough, but that does not guarantee a consistent result if we attempted to build the same image on all available stable distros. We might get lucky and actually achieve that, but I would not bet my life on it, particularly if we started using even more native tooling. "Stability is a local construct, not a global one." For our own project, we have taken this as far as practical. We eliminated the third party distro host platform (Ubuntu) about five years ago and built our host platform from Yocto/OE sources. Each new version of our host platform is built from the previous one. ..Ch:W.. "Perfection must be reached by degrees; she requires the slow hand of time." - Voltaire
|
|
Re: Recipe for include-what-you-use and rpath problem
#sdk
On 6/25/21 7:00 AM, Francesco Cusolito wrote:
I was able to make it work correctly enabling |CMAKE_SKIP_RPATH|.this is fine, if you are interested submit it as a patch to include in metadata in meta-python |LICENSE = "NCSA" LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=59d01ad98720f3c50d6a8a0ef3108c88 \ file://iwyu-check-license-header.py;md5=cdc4ab52c0b26e216cbf434649d30403" SRC_URI = "git://github.com/include-what-you-use/include-what-you-use.git;protocol=https;branch=clang_10" PV = "0.14+git${SRCPV}" SRCREV = "0.14" S = "${WORKDIR}/git" DEPENDS = "clang" inherit cmake python3native EXTRA_OECMAKE_append_class-nativesdk = " \ -DCMAKE_SKIP_RPATH:BOOL=ON \ " BBCLASSEXTEND_append = " \ nativesdk \ " |
|
|
Re: Hardknott (GCC10) Compiler Issues
Zoran
GCCVERSION = "9.%"Basically, do NOT use this instruction anywhere. It clearly does NOT work?! I did replace the whole gcc/ in the: poky/meta/recipes-devtools/gcc for hardknott branch: Now I have a gcc_11.1 compiler (from master branch), instead of gcc_10.2. poky/meta/recipes-devtools/gcc [vuser@fedora33-ssd projects_yocto]$ cd bbb-yocto-hardknott/poky/meta/recipes-devtools/gcc [vuser@fedora33-ssd gcc]$ ls -al total 180 drwxr-xr-x. 3 vuser vboxusers 4096 Jun 25 13:50 . drwxr-xr-x. 94 vuser vboxusers 4096 Jun 25 14:45 .. drwxr-xr-x. 2 vuser vboxusers 4096 Jun 25 13:50 gcc -rw-r--r--. 1 vuser vboxusers 800 Jun 25 13:50 gcc_11.1.bb -rw-r--r--. 1 vuser vboxusers 5330 Jun 25 13:50 gcc-11.1.inc -rw-r--r--. 1 vuser vboxusers 4560 Jun 25 13:50 gcc-common.inc -rw-r--r--. 1 vuser vboxusers 4426 Jun 25 13:50 gcc-configure-common.inc -rw-r--r--. 1 vuser vboxusers 66 Jun 25 13:50 gcc-cross_11.1.bb -rw-r--r--. 1 vuser vboxusers 77 Jun 25 13:50 gcc-cross-canadian_11.1.bb -rw-r--r--. 1 vuser vboxusers 6971 Jun 25 13:50 gcc-cross-canadian.inc -rw-r--r--. 1 vuser vboxusers 6383 Jun 25 13:50 gcc-cross.inc -rw-r--r--. 1 vuser vboxusers 73 Jun 25 13:50 gcc-crosssdk_11.1.bb -rw-r--r--. 1 vuser vboxusers 429 Jun 25 13:50 gcc-crosssdk.inc -rw-r--r--. 1 vuser vboxusers 9593 Jun 25 13:50 gcc-multilib-config.inc -rw-r--r--. 1 vuser vboxusers 67 Jun 25 13:50 gcc-runtime_11.1.bb -rw-r--r--. 1 vuser vboxusers 12398 Jun 25 13:50 gcc-runtime.inc -rw-r--r--. 1 vuser vboxusers 271 Jun 25 13:50 gcc-sanitizers_11.1.bb -rw-r--r--. 1 vuser vboxusers 4407 Jun 25 13:50 gcc-sanitizers.inc -rw-r--r--. 1 vuser vboxusers 208 Jun 25 13:50 gcc-shared-source.inc -rw-r--r--. 1 vuser vboxusers 113 Jun 25 13:50 gcc-source_11.1.bb -rw-r--r--. 1 vuser vboxusers 1468 Jun 25 13:50 gcc-source.inc -rw-r--r--. 1 vuser vboxusers 8598 Jun 25 13:50 gcc-target.inc -rw-r--r--. 1 vuser vboxusers 4924 Jun 25 13:50 gcc-testsuite.inc -rw-r--r--. 1 vuser vboxusers 143 Jun 25 13:50 libgcc_11.1.bb -rw-r--r--. 1 vuser vboxusers 5175 Jun 25 13:50 libgcc-common.inc -rw-r--r--. 1 vuser vboxusers 1785 Jun 25 13:50 libgcc.inc -rw-r--r--. 1 vuser vboxusers 151 Jun 25 13:50 libgcc-initial_11.1.bb -rw-r--r--. 1 vuser vboxusers 2020 Jun 25 13:50 libgcc-initial.inc -rw-r--r--. 1 vuser vboxusers 68 Jun 25 13:50 libgfortran_11.1.bb -rw-r--r--. 1 vuser vboxusers 2574 Jun 25 13:50 libgfortran.inc [vuser@fedora33-ssd gcc]$ Waiting for the compilation results (still compiles). Zee _______ On Fri, Jun 25, 2021 at 10:15 AM Zoran via lists.yoctoproject.org <zoran.stojsavljevic=gmail.com@...> wrote: I have no idea if this is possible in the current YOCTO development stage:WARNING: preferred version 11.% of gcc-runtime not available (for item libg2c)
|
|
Re: Recipe for include-what-you-use and rpath problem
#sdk
Francesco Cusolito
I was able to make it work correctly enabling
|
|
[meta-rockchip][PATCH] conf/machine/include/rockchip-wic.inc: create
Trevor Woerner
Create a conf/machine/include/rockchip-wic.inc file to contain all the common
wic/wks things for easy inclusion by any MACHINEs that use wic for their image creation. NOTE: the wic image type of rock-pi-e changed from "wic.xz" to "wic" which matches all the other meta-rockchip MACHINEs that use wic The following variables were checked before and after to make sure they remain correct/sensible: - IMAGE_FSTYPES - WKS_FILE_DEPENDS - IMAGE_BOOT_FILES - RK_CONSOLE_BAUD - RK_CONSOLE_DEVICE - RK_BOOT_DEVICE - SERIAL_CONSOLES - WICVARS Build-tested for all currently-defined MACHINEs. Boot-tested on the following boards to make sure they continue to boot to a console correctly (core-image-base): - tinker-board - rock64 - rock-pi-4b - rock-pi-e - nanopi-m4-2gb Signed-off-by: Trevor Woerner <twoerner@...> --- conf/machine/firefly-rk3288.conf | 13 +---------- conf/machine/include/nanopi-m4.inc | 11 --------- conf/machine/include/rk3328.inc | 1 + conf/machine/include/rk3399.inc | 1 + conf/machine/include/rock-pi-4.inc | 11 --------- conf/machine/include/rockchip-defaults.inc | 14 ----------- conf/machine/include/rockchip-wic.inc | 27 ++++++++++++++++++++++ conf/machine/include/tinker.inc | 13 +---------- conf/machine/rock-pi-e.conf | 10 -------- conf/machine/rock64.conf | 11 --------- conf/machine/vyasa-rk3288.conf | 13 +---------- 11 files changed, 32 insertions(+), 93 deletions(-) create mode 100644 conf/machine/include/rockchip-wic.inc diff --git a/conf/machine/firefly-rk3288.conf b/conf/machine/firefly-rk3288.conf index 2a5f0ba..138e840 100644 --- a/conf/machine/firefly-rk3288.conf +++ b/conf/machine/firefly-rk3288.conf @@ -7,20 +7,9 @@ #http://www.t-firefly.com/en/ require conf/machine/include/rk3288.inc +require conf/machine/include/rockchip-wic.inc KERNEL_DEVICETREE = "rk3288-firefly.dtb" UBOOT_MACHINE = "firefly-rk3288_defconfig" WKS_FILE ?= "firefly-rk3288.wks" -IMAGE_FSTYPES += "wic wic.bmap" - -WKS_FILE_DEPENDS ?= " \ - mtools-native \ - dosfstools-native \ - virtual/bootloader \ - virtual/kernel \ - " -IMAGE_BOOT_FILES ?= "\ - ${KERNEL_IMAGETYPE} \ - ${KERNEL_DEVICETREE} \ - " diff --git a/conf/machine/include/nanopi-m4.inc b/conf/machine/include/nanopi-m4.inc index 8a7c1d9..7ca91db 100644 --- a/conf/machine/include/nanopi-m4.inc +++ b/conf/machine/include/nanopi-m4.inc @@ -10,14 +10,3 @@ KERNEL_DEVICETREE = "rockchip/rk3399-nanopi-m4.dtb" RK_BOOT_DEVICE = "mmcblk1" WKS_FILE ?= "rock-pi-4.wks" -IMAGE_FSTYPES += "wic wic.bmap" - -WKS_FILE_DEPENDS ?= " \ - mtools-native \ - dosfstools-native \ - virtual/bootloader \ - virtual/kernel \ - " -IMAGE_BOOT_FILES ?= "\ - ${KERNEL_IMAGETYPE} \ - " diff --git a/conf/machine/include/rk3328.inc b/conf/machine/include/rk3328.inc index 5b11868..b0cafb5 100644 --- a/conf/machine/include/rk3328.inc +++ b/conf/machine/include/rk3328.inc @@ -8,6 +8,7 @@ DEFAULTTUNE ?= "cortexa53-crypto" require conf/machine/include/soc-family.inc require conf/machine/include/tune-cortexa53.inc require conf/machine/include/rockchip-defaults.inc +require conf/machine/include/rockchip-wic.inc KBUILD_DEFCONFIG ?= "defconfig" KERNEL_CLASSES = "kernel-fitimage" diff --git a/conf/machine/include/rk3399.inc b/conf/machine/include/rk3399.inc index 9f9f474..79e83e2 100644 --- a/conf/machine/include/rk3399.inc +++ b/conf/machine/include/rk3399.inc @@ -8,6 +8,7 @@ DEFAULTTUNE ?= "cortexa72-cortexa53-crypto" require conf/machine/include/soc-family.inc require conf/machine/include/tune-cortexa72-cortexa53.inc require conf/machine/include/rockchip-defaults.inc +require conf/machine/include/rockchip-wic.inc KBUILD_DEFCONFIG ?= "defconfig" KERNEL_CLASSES = "kernel-fitimage" diff --git a/conf/machine/include/rock-pi-4.inc b/conf/machine/include/rock-pi-4.inc index a3e60c7..92fc330 100644 --- a/conf/machine/include/rock-pi-4.inc +++ b/conf/machine/include/rock-pi-4.inc @@ -5,16 +5,5 @@ require conf/machine/include/rk3399.inc RK_BOOT_DEVICE = "mmcblk1" WKS_FILE ?= "rock-pi-4.wks" -IMAGE_FSTYPES += "wic wic.bmap" - -WKS_FILE_DEPENDS ?= " \ - mtools-native \ - dosfstools-native \ - virtual/bootloader \ - virtual/kernel \ - " -IMAGE_BOOT_FILES ?= "\ - ${KERNEL_IMAGETYPE} \ - " MACHINE_EXTRA_RRECOMMENDS += "kernel-modules" diff --git a/conf/machine/include/rockchip-defaults.inc b/conf/machine/include/rockchip-defaults.inc index b0346c9..b41c523 100644 --- a/conf/machine/include/rockchip-defaults.inc +++ b/conf/machine/include/rockchip-defaults.inc @@ -23,17 +23,3 @@ XSERVER = " \ # misc SERIAL_CONSOLES ?= "1500000;ttyS2" IMAGE_FSTYPES += "ext4" - -# use the first-defined <baud>;<device> pair in SERIAL_CONSOLES -# for the console parameter in the wks files -RK_CONSOLE_BAUD ?= "${@d.getVar('SERIAL_CONSOLES').split(';')[0]}" -RK_CONSOLE_DEVICE ?= "${@d.getVar('SERIAL_CONSOLES').split(';')[1].split()[0]}" - -# boot device (sd-card/emmc) -RK_BOOT_DEVICE ??= "mmcblk0" - -WICVARS_append = " \ - RK_BOOT_DEVICE \ - RK_CONSOLE_BAUD \ - RK_CONSOLE_DEVICE \ - " diff --git a/conf/machine/include/rockchip-wic.inc b/conf/machine/include/rockchip-wic.inc new file mode 100644 index 0000000..0ee8c0e --- /dev/null +++ b/conf/machine/include/rockchip-wic.inc @@ -0,0 +1,27 @@ +# common meta-rockchip wic/wks items + +IMAGE_FSTYPES += "wic wic.bmap" +WKS_FILE_DEPENDS ?= " \ + mtools-native \ + dosfstools-native \ + virtual/bootloader \ + virtual/kernel \ + " +IMAGE_BOOT_FILES = " \ + ${KERNEL_IMAGETYPE} \ + ${@bb.utils.contains('KERNEL_IMAGETYPE', 'fitImage', '', '${KERNEL_DEVICETREE}', d)} \ + " + +# use the first-defined <baud>;<device> pair in SERIAL_CONSOLES +# for the console parameter in the wks files +RK_CONSOLE_BAUD ?= "${@d.getVar('SERIAL_CONSOLES').split(';')[0]}" +RK_CONSOLE_DEVICE ?= "${@d.getVar('SERIAL_CONSOLES').split(';')[1].split()[0]}" + +# boot device (sd-card/emmc) +RK_BOOT_DEVICE ??= "mmcblk0" + +WICVARS_append = " \ + RK_BOOT_DEVICE \ + RK_CONSOLE_BAUD \ + RK_CONSOLE_DEVICE \ + " diff --git a/conf/machine/include/tinker.inc b/conf/machine/include/tinker.inc index e851b59..eaeb564 100644 --- a/conf/machine/include/tinker.inc +++ b/conf/machine/include/tinker.inc @@ -1,15 +1,4 @@ require conf/machine/include/rk3288.inc +require conf/machine/include/rockchip-wic.inc WKS_FILE ?= "tinker-board.wks" -IMAGE_FSTYPES += "wic wic.bmap" - -WKS_FILE_DEPENDS ?= " \ - mtools-native \ - dosfstools-native \ - virtual/bootloader \ - virtual/kernel \ - " -IMAGE_BOOT_FILES ?= "\ - ${KERNEL_IMAGETYPE} \ - ${KERNEL_DEVICETREE} \ - " diff --git a/conf/machine/rock-pi-e.conf b/conf/machine/rock-pi-e.conf index 38362a0..3fdbb5e 100644 --- a/conf/machine/rock-pi-e.conf +++ b/conf/machine/rock-pi-e.conf @@ -15,13 +15,3 @@ PREFERRED_PROVIDER_virtual/bootloader = "u-boot" UBOOT_MACHINE = "rock-pi-e-rk3328_defconfig" WKS_FILE = "rock-pi-e.wks" -IMAGE_FSTYPES += "wic.xz wic.bmap" -WKS_FILE_DEPENDS = " \ - mtools-native \ - dosfstools-native \ - virtual/bootloader \ - virtual/kernel \ - " -IMAGE_BOOT_FILES ?= " \ - ${KERNEL_IMAGETYPE} \ - " diff --git a/conf/machine/rock64.conf b/conf/machine/rock64.conf index acda018..93e68e0 100644 --- a/conf/machine/rock64.conf +++ b/conf/machine/rock64.conf @@ -16,16 +16,5 @@ KERNEL_DEVICETREE = "rockchip/rk3328-rock64.dtb" RK_BOOT_DEVICE ?= "mmcblk1" WKS_FILE ?= "rock-pi-e.wks" -IMAGE_FSTYPES += "wic wic.bmap" - -WKS_FILE_DEPENDS ?= " \ - mtools-native \ - dosfstools-native \ - virtual/bootloader \ - virtual/kernel \ - " -IMAGE_BOOT_FILES ?= "\ - ${KERNEL_IMAGETYPE} \ - " KBUILD_DEFCONFIG = "defconfig" diff --git a/conf/machine/vyasa-rk3288.conf b/conf/machine/vyasa-rk3288.conf index c92c821..3e1f395 100644 --- a/conf/machine/vyasa-rk3288.conf +++ b/conf/machine/vyasa-rk3288.conf @@ -6,6 +6,7 @@ #@DESCRIPTION: Amarula Vyasa is Rockchip RK3288 SOC based Single board computer with fully supported opensource software. require conf/machine/include/rk3288.inc +require conf/machine/include/rockchip-wic.inc KERNEL_IMAGETYPE = "uImage" KERNEL_DEVICETREE = "rk3288-vyasa.dtb" @@ -15,15 +16,3 @@ UBOOT_MACHINE = "vyasa-rk3288_defconfig" RK_BOOT_DEVICE = "mmcblk2" WKS_FILE ?= "vyasa-rk3288.wks" -IMAGE_FSTYPES += "wic wic.bmap" - -WKS_FILE_DEPENDS ?= " \ - mtools-native \ - dosfstools-native \ - virtual/bootloader \ - virtual/kernel \ - " -IMAGE_BOOT_FILES ?= "\ - ${KERNEL_IMAGETYPE} \ - ${KERNEL_DEVICETREE} \ - " -- 2.30.0.rc0
|
|
Re: The do_populate_sdk is finishing OK even when there are errors present in the build
Fabio Berton
Hi Richard! Ok, I'll prepare a patch, do more tests on my side and if everything works I'll send the patch to the OE-core list. Is there any specific test, or just populate_sdk with core-image-base? Thanks!
On Fri, Jun 25, 2021 at 8:48 AM Richard Purdie <richard.purdie@...> wrote: On Thu, 2021-06-24 at 17:40 -0300, Fabio Berton wrote:
|
|
Re: The do_populate_sdk is finishing OK even when there are errors present in the build
Richard Purdie
On Thu, 2021-06-24 at 17:40 -0300, Fabio Berton wrote:
Hi all!It would probably be worth an experiment to see if we really do need the attempt_only option set there any more. I'd hope it isn't needed now... It is probably worth testing a patch on the autobuilder, assuming your local tests with that pass. We'd need to check the different package backends are ok with that. Cheers, Richard
|
|
Re: what's the state of things with pushing the bounds on ASSUME_PROVIDED?
Richard Purdie
On Thu, 2021-06-24 at 07:50 -0400, Robert P. J. Day wrote:
i asked about this once upon a time, so i thought i'd follow up ...Quite often things aren't as simple as they first seem: Elfutils has a history of interesting changes between versions so having our builds use a consistent version is good. Some recipes build libs as well as binaries, e.g. the compression tools. Its relatively easy to check a binary is present, it is harder to check the right -devel headers are present. That is a solvable problem but again, version consistency is good. If you require a HOSTTOOLS bin but our own lib, you can get version mismatches. We do patch some utilities for 'reasons' and having those patches missing can be a pain and cause weird errors. Reproducibility is also a concern, particularly if different versions of tools like flex/bison generated different code. I also wonder who is going to support testing all these different options and handle the resulting build failures and bugs being raised? This list isn't definitive. In summary, I see a lot of problems for what amounts to not much speed gain. Particularly when we have a mechanism like sstate available which allows binary reuse. Cheers, Richard
|
|