New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generate image with robust A/B update using mender.io. #39
Comments
It looks like Debian buster (arm64 container, amd64 host, qemu 3.1, systemd 240) currently can not be run within an LXD container (no network, systemd is eating 100% CPU). However, it works if there is no qemu user mode emulation. I will try to analyze this later. For now, I will build a Debian stretch based image. |
Great initiative and overall looks good. Note that supporting a vanilla U-boot might be difficult, even if most of the scripting can be moved to Note that the U-boot fork for RPi is maintained by Mender folks as it is used for mender-convert. If we can establish collaboration we might be able to ease the pain of maintaining that :) |
Many thanks for taking a look at my proposal! My assumption that CONFIG_BOOTCOUNT_LIMIT is a generic U-Boot feature was actually wrong. |
Is there a way to implement this on non-Raspberry Pi devices, like Orange Pi running Armbian? I'll take a look at https://docs.mender.io/system-updates-debian-family/convert-a-mender-debian-image and https://hub.mender.io/t/rockpro64-armbian/770 |
Yes, absolutely. Here is an example for the Compulab IOT-GATE-iMX8. And there is some work in progress for the Variscite i.MX 8 Nano. |
Goal
Provide an edi configuration similar to edi-pi (see also this blog post) with full support for mender.io.
The configuration can be used to generate a Debian image for the Raspberry Pi that allows robust A/B updates of a big fleet of devices. Furthermore the configuration shall also produce a cross compilation environment for faster development.
Sub Goals
Partition Layout
vfat boot partition
The following stuff is on the vfat partition:
1x ext4 data partition
The data partition is shared between the A and the B system. The partition has a fixed size.
2x ext4 system partition (A/B)
The system partitions have the following characteristics:
Design Reasons
The text was updated successfully, but these errors were encountered: