- Jun 07, 2022
-
-
Davide Gardenal authored
When building oniro-image-extra-dev the task do_image_wic returns an error because the size of "/" is over the fixed size. This solves the issue. Signed-off-by:
Davide Gardenal <davide.gardenal@huawei.com>
-
Davide Gardenal authored
Add ROOTFS_PARTITION_SIZE and set it to 2G to fix an error in do_image_wic where the rootfs "/" size is greater than it's limit. Signed-off-by:
Davide Gardenal <davide.gardenal@huawei.com>
-
- Jun 06, 2022
-
-
Pavel Zhukov authored
Signed-off-by:
Pavel Zhukov <pavel.zhukov@huawei.com>
-
- May 19, 2022
-
-
Pavel Zhukov authored
wheel group doesn't exist in oe-core/oniro but systemd is build with wheel group support. This causes ACL warnings during boot process. Signed-off-by:
Pavel Zhukov <pavel.zhukov@huawei.com>
-
- May 11, 2022
-
-
Pavel Zhukov authored
Without bootindex option qemu doesn't respect boot order when booting with EFI and writes wrong boot order information into the ovmf image which breaks boot order permanently. Signed-off-by:
Pavel Zhukov <pavel.zhukov@huawei.com>
-
Zygmunt Krynicki authored
This makes is faster to build images, easier to handle them, e.g. Raspberry Pi imager transparently supports .gz but not .bz2 and makes virtually no difference to the size of the image. Remember that the actual image is already compressed, as it is stored inside the filesystem as a squashfs object. Signed-off-by:
Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
-
- May 10, 2022
-
-
Zygmunt Krynicki authored
This enables configuration pieces required for RAUC verity bundles. Signed-off-by:
Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
-
- May 05, 2022
-
-
The 5.10.109 version of linux-yocto comes with this patch included. Avoid build error on trying to apply this patch on the linux-yocto* recipes. Let the patch only apply to linux-oniro. Fixes #546 Signed-off-by:
Andrei Gherzan <andrei.gherzan@huawei.com>
-
- May 02, 2022
-
-
Bernhard Rosenkränzer authored
Pull in 3 patches for edk2 to make it build with modern compilers. The patches have already landed upstream. Signed-off-by:
Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com> Upstream-Status: Backport
-
- Apr 28, 2022
-
-
Bernhard Rosenkränzer authored
Build Zephyr debug info in DWARF-4 format instead of DWARF-5. The Zephyr test suite uses tools that can't handle DRAWF-5 properly yet (py-elfutils), causing tests to fail if Zephyr has been built with DWARF-5. Signed-off-by:
Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
-
- Apr 25, 2022
-
-
Zygmunt Krynicki authored
Signed-off-by:
Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
-
Zygmunt Krynicki authored
I missed this in the earlier patch-set. I've added a note to the RAUC recipe to allow people to notice this better than by trial and error. Signed-off-by:
Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
-
- Apr 22, 2022
-
-
Zygmunt Krynicki authored
Signed-off-by:
Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
-
Zygmunt Krynicki authored
As we add support for additional boards, doing it by copying and modifying a file with relatively few parts changing got tedious. The change adds half a dozen new variables for selecting the boot loader type, various strings and directories. The defaults are safe, even if unused, for all kinds of boards. The machine-specific overrides tune the bootloader used by each board and provide proper identification strings. Signed-off-by:
Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
-
Zygmunt Krynicki authored
For the moment this allows booting from USB storage. Ideally we would have one config that works for eMMC, nvme, USB and SATA but we're not there yet. Signed-off-by:
Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
-
Zygmunt Krynicki authored
As we add support for additional boards, doing it by copying and modifying a file with relatively few parts changing got tedious. The change adds three new variables - RAUC_{COMPAT,SLOT_A,SLOT_B}, and defines them for the boards supported thus far. Signed-off-by:
Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
-
- Apr 13, 2022
-
-
Zygmunt Krynicki authored
This is useful for the outer squashfs used to deliver a RAUC update bundle. The inner squashfs uses stronger compression. The outer is now using zstd (since a5437196). Having two layers of strong compression makes no sense, as it cannot offer any improvements, and is much heavier on CPU and memory. Signed-off-by:
Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
-
Zygmunt Krynicki authored
Signed-off-by:
Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
-
Zygmunt Krynicki authored
The configuration files are very similar to what is available for Raspberry Pi 4. In general all the files, except for COMPATIBLE setting can become identical over time, as we move to GPT partition identifiers to identify the slots. Signed-off-by:
Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
-
Zygmunt Krynicki authored
This script implements proper A/B update with automatic rollback. Refer to sysota.grub(7) manual page for details. The script should become built-into grub EFI executable but that will be pursued separately. Signed-off-by:
Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
-
Zygmunt Krynicki authored
Those are required by the upcoming grub.cfg boot script. Signed-off-by:
Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
-
Zygmunt Krynicki authored
This allows using sysota with rauc-hawkbit-updater. It works around the issue where r-h-u fails to talk to hawkbit whenever the post-install handler reboots the system. Set the delay to 180 seconds, which should be enough for the updater to finish talking to hawkbit, and then some more. Signed-off-by:
Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
-
Zygmunt Krynicki authored
Signed-off-by:
Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
-
Zygmunt Krynicki authored
This brings in initial support for working with GRUB. The location has changed to Eclipse GitLab instance with the GO_IMPORT of gitlab.com/zygoon/sysota. See the referenced pull request for rationale on the latter part of this change. Signed-off-by:
Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
-
Zygmunt Krynicki authored
Shared linking has caused some problems on x86, where sysotactl would crash on an apparently-stray pointer. This looks like a compiler bug. Shared linking mode causes Go's standard library to be built into a large .so file and all applications link to that with the dynamic linker. Given that sysota is the only Go application in our image and that is has only one binary, this does not bring meaningful savings. In fact, without shared linking, the overall image size is smaller as unused parts of Go stdlib are removed. Signed-off-by:
Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
-
Andrei Gherzan authored
Signed-off-by:
Andrei Gherzan <andrei.gherzan@huawei.com>
-
Andrei Gherzan authored
Signed-off-by:
Andrei Gherzan <andrei.gherzan@huawei.com>
-
Andrei Gherzan authored
This also includes a set of additional small tweaks: 1. formatting and small rewarding 2. explicitly use the kitkstone branch for repo init (this avoids confusion and also saves us from repo edge cases where the default one is ignored) Signed-off-by:
Andrei Gherzan <andrei.gherzan@huawei.com>
-
Pavel Zhukov authored
Signed-off-by:
Pavel Zhukov <pavel.zhukov@huawei.com>
-
- Apr 12, 2022
-
-
Eilís Ní Fhlannagáin authored
Right now, we do a remove in DISTRO_FEATURES, that, while we don't neccessarily support them, due to the finality of :remove we force our end users to not use them either. By moving DISTRO_FEATURES:remove to DEFAULT_DISTRO_FEATURES:remove, we allow end users to still use oniro.conf but add in those removed features. We also move IMAGE_FEATURES from a distro level var to the image. IMAGE_FEATURES should generally be put in image recipes. This also gives end users a way to use Oniro and work around our :remove defaults. Signed-off-by:
Eilís Ní Fhlannagáin <pidge@pidge.org>
-
- Apr 08, 2022
-
-
Add the recipe to `-base-tests` image for kselftest. Add kernel-selftest.bbappend to install the kselftest runner scripts and also make it compatible with libc-musl. Signed-off-by:
Chase Qi <chase.qi@linaro.org>
-
- Apr 05, 2022
-
-
Zygmunt Krynicki authored
Signed-off-by:
Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
-
Zygmunt Krynicki authored
Read-only Oniro images now have space to provision rauc-hawkbit-updater configuration file. The startup of the update service is conditional on the presence of that file. The default configuration file is stored as an example in the read-only image. Signed-off-by:
Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
-
Zygmunt Krynicki authored
This fixes a crash on NULL pointer on startup. Signed-off-by:
Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
-
Zygmunt Krynicki authored
Signed-off-by:
Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
-
- Apr 04, 2022
-
-
Davide Gardenal authored
Signed-off-by:
Davide Gardenal <davide.gardenal@huawei.com>
-
- Mar 25, 2022
-
-
Andrei Gherzan authored
Version 0.28 will come with these patches merged in. This will happen as soon as the relevant upstream merge gets in[1]. [1] meta-zephyr!1 Signed-off-by:
Andrei Gherzan <andrei.gherzan@huawei.com>
-
This saves half of the space used by compressed disk artifacts. I ran into the issue when creating grubenv recovery logic. To my surprise the execution flow ended up in the case where both slots are available and timestamp on the kernel is used to break the tie. Signed-off-by:
Zygmunt Krynicki <zygmunt.krynicki@huawei.com>
-
- Mar 22, 2022
-
-
Andrei Gherzan authored
Make sure we explicitly set up the WKS file for both C61 targets after the target rename. Signed-off-by:
Marta Rybczynska <marta.rybczynska@huawei.com> Signed-off-by:
Andrei Gherzan <andrei.gherzan@huawei.com>
-
- Mar 21, 2022
-
-
Davide Gardenal authored
Move compiler security options from only linux to all kernels Signed-off-by:
Davide Gardenal <davide.gardenal@huawei.com>
-