Note that this integration relies on an "standard" U-boot integration,
but the binaries are not built in mender-convert and instead it
relies on fetching pre-built binaries.
Changelog: Support for RockPro64 board
Signed-off-by: Mirza Krak <mirza.krak@northern.tech>
We need to replace binaries for Debian 9.5. Debian 9.5 u-boot does not cooperate with GRUB which is used in converted image.
Signed-off-by: Dominik Adamski <adamski.dominik@gmail.com>
Different names for each release of Debian unables upgrading from one Debian version to another. Unification of names eliminates this problem.
Schema of unification:
/boot/vmlinuz_kernel_version -> /boot/kernel
/boot/dtbs/kernel_version/am335x-boneblack.dtb -> /boot/dtb
Signed-off-by: Dominik Adamski <adamski.dominik@gmail.com>
Previously we have always builded the newest version of the GRUB. It was unstable because we cannot track all changes in GRUB repository. Now we build only checked version of GRUB/
Signed-off-by: Dominik Adamski <adamski.dominik@gmail.com>
Only crucial information is presented to the user as
console output.
More verbose information is stored in the build.log.
Issues: MEN-2172
Changelog: None
Signed-off-by: Adam Podogrocki <a.podogrocki@gmail.com>
Succeeding conversion steps added. Some commands' output silenced.
Still too much output logged from e.g. autotools.
Logging more verbose info to log file still missing.
Issues: MEN-2172
Changelog: None
Signed-off-by: Adam Podogrocki <a.podogrocki@gmail.com>
Two-stage process is needed to build GRUB tools (e.g. grub-mkimage)
for the host and GRUB modules and grub-editenv binary purposed
for ARM architecture.
Issues: MEN-2204
Changelog: None
Signed-off-by: Adam Podogrocki <a.podogrocki@gmail.com>
Earlier GRUB needs to be configured and built twice for ARM and x86
targets separately. Now only one build is necessary.
Signed-off-by: Dominik Adamski <adamski.dominik@gmail.com>
mender-conversion-tool with add-on scripts allow user to:
- shrink an existing embedded Linux image (shorter time of building final .sdimg raw disk image)
- restructure partition table of an existing embedded Linux image to follow Mender layout
- install Mender client related files
- install Grub related files for platforms supporting it
- patch U-Boot for platforms where Grub integration is not feasible (e.g. Raspbian)
- create Mender artifact based on the created .sdimg file
Issues: MEN-1867 / MEN-2037 / MEN-2038 / MEN-2041
Signed-off-by: Adam Podogrocki <a.podogrocki@gmail.com>